# Importing gems to another machine

**URL:** <https://www.ruby-forum.com/t/importing-gems-to-another-machine/186399>\
**Category:** Rails\
**Created:** [April 6, 2010, 2:07pm UTC](https://www.ruby-forum.com/t/importing-gems-to-another-machine/186399 "2010-04-06T14:07:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gandhi-tush](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/5daacb/32.png) [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Post date:** [April 6, 2010, 2:07pm UTC](https://www.ruby-forum.com/t/importing-gems-to-another-machine/186399/1 "2010-04-06T14:07:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gandhi-tush](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/5daacb/32.png) [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Post date:** [April 6, 2010, 2:29pm UTC](https://www.ruby-forum.com/t/importing-gems-to-another-machine/186399/2 "2010-04-06T14:29:14Z")

</div>

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/](http://andyjeffries.co.uk/)#rubyonrails #mysql #jquery  
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS  
Company number: 5452840
