VOOZH about

URL: http://rvm.io/gemsets/exporting

⇱ RVM: Ruby Version Manager - 'rvm gemset export' - Exporting gemsets


👁 RVM Logo
Support
RVM is maintained by community of volunteers, report issues to RVM issues tracker.
If you can help or wish to become one of the maintainers - just start helping. You can find more RVM related projects at RVM Github organization.
Donation
Love RVM? Help us maintain RVM, a donation can help with it. Want to help in other way, want to be a sponsor?
contact: Michal Papis
Sponsors
👁 Fastly
Carbon Ads
Documentation  >  Gemsets  >  Exporting Gemsets

Managing gemsets

You can not only use completely separate gemsets per application/project/etc... you can also export and load them very easily, too.

To export a gemset, assuming a project called 'teddy' running on Ruby 2.1.1:

$ rvm 2.1.1@teddy do gemset export

creates an 'teddy.gems' file.

Alternatively, if you already have a ruby selected

rvm gemset export

creates a 'default.gems' file.

You can specify the gemset filename prefix, also

rvm gemset export teddy.gems

A subtle difference with the above command is to leave off the '.gems' which will export the gems for the gemset named 'mygemsetname'

rvm gemset export teddy
RVM Documentation Index | RVM Blog
RVM Interpreters Rubies
Gemsets Set Actions Workflow Deployment
Integration
Packages Presentations Help & Support Quality Assurance Development Credits
∞ Copyright © 2009-2011 Wayne E. Seguin © 2011-2017 Michal Papis © 2016-2017 Piotr Kuczynski ∞ Built with Nanoc ∞ Cached by Fastly ∞ Tested by Travis CI