I’m thinking about unpacking the gems that my app uses. If my
development box has exactly the gem versions I want to unpack, do I
still need to specify each gem’s version in config/environment.rb?
config.gem “paperclip”, :version => ‘2.3.1.1’
Thanks for any help.
i think this is alway do,because rails instanse must check gem is
install
compelet.
2010/1/7 Lee S. [email protected]
rake freeze rails may resolved yours problem
On Jan 6, 9:43Â pm, Lee S. [email protected] wrote:
I’m thinking about unpacking the gems that my app uses. Â If my
development box has exactly the gem versions I want to unpack, do I
still need to specify each gem’s version in config/environment.rb?
config.gem “paperclip”, :version => ‘2.3.1.1’
Thanks for any help.
If the versions installed on your dev machine are what you want, you
won’t need to specify the version. The gems:unpack code grabs whatever
version is loaded when it’s run. The versions in vendor/gems will be
preferred regardless of what’s installed on your production machine.
–Matt J.
Thanks Matt. That’s exactly what I wanted to confirm.