[英]Different gemspec code
I have a local and production rails app running. 我正在运行本地和生产Rails应用程序。 Having problems, so I did a diff and found amoung many things, but the most curious was that the gemspec was different!
有问题,所以我做了一个比较,发现很多事情,但是最奇怪的是gemspec是不同的! For the same gemspec: action-mailer-3.0.13.gemspec I have different code!
对于相同的gemspec: action-mailer-3.0.13.gemspec我有不同的代码!
My local one has: 我的本地人有:
s.name = "actionmailer"
s.version = "3.0.13"
s.description = "Email on Rails. Compose, deliver, ....
s.email = "david@loudthinking.com"
s.homepage = "http://www.rubyonrails.org"
and the exact same from production has: 与生产完全相同的是:
s.name = %q{actionmailer}
s.version = "3.0.13"
s.description = %q{Email on Rails. Compose, deliver ...
s.email = %q{david@loudthinking.com}
s.files = ["CHANGELOG", "README.rdoc", "MIT-LICENSE", "lib/action_m...
s.homepage = %q{http://www.rubyonrails.org}
So am wondering what is going on here? 所以想知道这里发生了什么吗? Any ideas?
有任何想法吗?
Edit: Also 编辑:也
Mine: s.rubygems_version = "1.8.24"
Prd: s.rubygems_version = %q{1.5.1}
I think there is the clue in this, Maybe time to read up on this gemspec thing. 我认为这可能是个线索,也许是时候阅读有关gemspec的内容了。
I don't think this is a problem. 我认为这不是问题。 Both scripts are actually same, apart from the s.files part in the second.
除了第二个脚本中的s.files部分,这两个脚本实际上是相同的。 %{some_string} is just another way how you can make a string in ruby...
%{some_string}只是您可以在ruby中制作字符串的另一种方式...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.