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

これは問題ではないと思います。2 番目の s.files 部分を除いて、両方のスクリプトは実際には同じです。%{some_string} は、Ruby で文字列を作成する別の方法です...

于 2013-05-22T20:23:04.993 に答える