Why in addition to the Bundler should I use gemet RVM for specific applications?

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?

+5
source share
4 answers

I use gemsets in addition to bundler because of the following:

  • ( )
  • bundle exec ( binstubs)
  • , gem.
  • ( )

, , , !

+2

, rvm, 2. RVM , , . Rails 2 Gemfile, bundle exec . RVM gem , Gemfile . , gem, ruby, Gemfile, .

, . , , Gemfiles, , , gemsets. ,

+2

RVM gemsets - , .

gemsets, (, gist).

, gemsets , RVM :

echo "export rvm_ignore_gemsets_flag=1" >> ~/.rvmrc
+1

'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.

+1
source

All Articles