I understand that rvm allows us to run multiple versions of ruby. Are ruby gems installed to a specific version of ruby? Say I upgraded to the latest version of ruby 2.1.1 and want to use that as my default, do I have to reinstall the ruby gems from the earlier version of ruby to this version?
Asked
Active
Viewed 78 times
3 Answers
2
If you use rvm install
, you will have to install your gems anew. If you use rvm upgrade
, the gems will be migrated if possible.

Amadan
- 191,408
- 23
- 240
- 301
0
Check out the RVM documentation:
RVM creates a new completely separate gem directory for each version of ruby. In addition you can separate this further and have a set of gems per project/application/gerbil color... see the gemsets for more details on using sets of gems. [...]

donsteffenski
- 477
- 3
- 15
0
rvm --default use <RUBYVERSION>
For example,
rvm --default use 2.1.1
You can check this. And check out RVM Documentation too.

Community
- 1
- 1

Amrit Dhungana
- 4,371
- 5
- 31
- 36