0

I have a local and production rails app running. Having problems, so I did a diff and found amoung many things, but the most curious was that the gemspec was different! For the same gemspec: action-mailer-3.0.13.gemspec I have different code!

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.

4

1 回答 1

0

我不认为这是一个问题。这两个脚本实际上是相同的,除了第二个中的 s.files 部分。%{some_string} 只是在 ruby​​ 中创建字符串的另一种方式......

于 2013-05-22T20:23:04.993 回答