Importing gems to another machine

Hi,
I am working on an application which has around 70 gems installed. My
problem is my coulig also wants to up the application.
Is there any way to just import my gems to his machine? and application
gets up and running, Otherwise he has to install all gems.

Can anyone help me out?

Thanks,
Tushar

If you’ve used config.gem in your environment.rb file, it’s as simple
as:

rake gem:install

If you haven’t I’d recommend going that route anyway rather than trying
to
copy files over, libraries for native gems (e.g. MySQL) may not be in
the
same place or the same version. It’s much safer to have your Rails app
know
it’s dependencies and be able to install them.

Cheers,

Andy


Andy J.
http://andyjeffries.co.uk/ #rubyonrails #mysql #jquery
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS
Company number: 5452840

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs