On Jan 6, 9:43 pm, Lee Smith <autige...@gmail.com> 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 Jones
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.