VOOZH about

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

⇱ RVM: Ruby Version Manager - 'rvm gemset create' - Creating 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  >  Creating

Creating gemsets

Gemsets must be created before being used. To create a new gemset for the current ruby, do this:

$ rvm 2.1.1
$ rvm gemset create teddy
Gemset 'teddy' created.

You can also create multiple gemsets in a single command.

$ rvm 2.1.1
$ rvm gemset create teddy rosie
Gemset 'teddy' created.
Gemset 'rosie' created.

Alternatively, if you prefer the shorthand syntax offered by rvm use, employ the --create option like so:

rvm use 2.1.1@teddy --create

If you would like to create gemsets automatically when used, export this flag in your ~/.rvmrc or /etc/rvmrc file:

rvm_gemset_create_on_use_flag=1
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