I was on the default gemset on rvm. I then did a bundle install, and it did not install any gems since all of them had been installed.
I then switched to the global gemset; did a bundle install, and it started installing gems.
List of gemsets are:
root@dev:/home/karan/realestate# rvm gemset list
gemsets for ruby-2.0.0-p195 (found in /usr/local/rvm/gems/ruby-2.0.0-p195)
(default)
=> global
I thought that the global and the default had the same gemset folder.
Best Answer
Global is documented at rvm site - http://rvm.io/gemsets/global :
As for
default
it is just the gemset when you do not specify a gemset name, this is why it is listed in brackets inrvm gemset list
:Where for both
(default)
andrvm-site
all gems fromglobal
will be available.You can select the
default
gemset by skipping the gemset name:or to switch to
default
of the current ruby - in case other was used:To access any gemset temporarily you can use:
This is especially useful for managing gems installed in
global
gemset - so those that will be available in all other gemsets of that ruby.