Hi all!!
I want to copy my Rails Application to another computer. How can i
make all the gems and plug-ins used in my computer available to the
other computer without having to install each one seperatly again???
Is there a way to see only the gems and plugins used in my app not the
gems i see when i run e.g gem-list command???
Thanx in advance
Kostas L.
Ok thanx Litwin i’ll give it a try!
Just saw this. Would like to know what is Litwin’s answer?
Yes please!
On Mon, Sep 21, 2009 at 11:55 AM, Sijo Kg
@Litwin: if i specify the gems in the environment.rb file, when i
transfer the application
and run gems:install all these gems will install automatically to the
machine??
Thanx
@xiexie11: i dont want only to see the gems used from the app, i want
to know how to make them available when i transfer the app to another
computer
Thanx
@xiexie11: i dont want only to see the gems used from the app, i want
to know how to make them available when i transfer the app to another
computer
Thanx
If one of your gem is compiled, then you’ll run in troubles if the
target computer is not the same as the source computer.
If you just want to see what your app is using and you haven’t used
config gem with the versions set, you can use the console and run:
Rails.configuration.gems.sort{|a,b| a.specification.name <=>
b.specification.name}.collect{|g| “#{g.specification.name} - #
{g.specification.version}”}