I use RVM to manage my local Ruby and Bundler installations to manage application dependency.
Some people recommend using a separate RVM gemset for each application, while some seem to think that this is not necessary.
So, what are the benefits of using a separate Gemset RVM for each application when I use the Bundler? What are the risks of not doing this?
I use gemsets in addition to bundler because of the following:
bundle exec
, , , !
, rvm, 2. RVM , , . Rails 2 Gemfile, bundle exec . RVM gem , Gemfile . , gem, ruby, Gemfile, .
, . , , Gemfiles, , , gemsets. ,
RVM gemsets - , .
gemsets, (, gist).
gist
, gemsets , RVM :
echo "export rvm_ignore_gemsets_flag=1" >> ~/.rvmrc
'globalcache' rvm-, fast/globalcache_comment_test.sh Gemfile .
It will also reduce network traffic at rubygems.org. The initial loading of the global network, not withstanding.