[Rails] Re: Gems between two different machines
Hi, I have used gemsonrails(*gemsonrails*.rubyforge.org) plugin which helps us to freeze gems to a rails application. By this you can run your rails application with just ruby installed on any new machine -NAYAK On Mon, Jan 5, 2009 at 11:58 PM, jschank johnosch...@gmail.com wrote: Thanks for the reply. Freezing the gems is certainly possible, but what about using gems outside of rails? Basically I'm just wondering if there is a really simple way to keep two or more machines in sync with the same versions of various gems. Aside from tediously listing the gems on one machine, and then installing the missing ones on the other. And vice-versa. John --~--~-~--~~~---~--~~ 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-talk@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 -~--~~~~--~~--~--~---
[Rails] Re: Gems between two different machines
Thanks for the reply. Freezing the gems is certainly possible, but what about using gems outside of rails? Basically I'm just wondering if there is a really simple way to keep two or more machines in sync with the same versions of various gems. Aside from tediously listing the gems on one machine, and then installing the missing ones on the other. And vice-versa. John --~--~-~--~~~---~--~~ 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-talk@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 -~--~~~~--~~--~--~---
[Rails] Re: Gems between two different machines
Are you using Rails 2 ? Then you should add the gems into you application .. rake gems # List the gems that this rails application depends on rake gems:build # Build any native extensions for unpacked gems rake gems:install # Installs all required gems for this application. rake gems:refresh_specs # Regenerate gem specifications in correct format. rake gems:unpack # Unpacks the specified gem into vendor/gems. rake gems:unpack:dependencies # Unpacks the specified gems and its dependencies into vendor/gems rake rails:freeze:gems# Lock this application to the current gems (by unpacking them into vendor/rails) rake rails:unfreeze # Unlock this application from freeze of gems or edge and return to a fluid use of system gems --~--~-~--~~~---~--~~ 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-talk@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 -~--~~~~--~~--~--~---