**[UPDATE]** Management is much simpler with Bundler. I just use the default gemset provided with each version of Ruby. All my gems go together. Bundler selects the appropriate gems for the current project. Nice.
In the brave new world of bundler and rvm, I have been looking for a way to manage my global gems.
The latest iteration is working pretty good.
rvm provides `~/.rvm/gemsets/global.gems`, but this only runs when a ruby is first installed. I need to manage my day by day changes.
bundle install --gemfile=~/Gemfile.global
Simple enough. But very helpful.
Today I started playing with ruby 1.9.2. Some of the gems in Gemfile.global aren't quite ready yet.
I started editing a copy, named `Gemfile.global19`, but that seemed like folly.
Enter `group "1.8"`.
For 1.8, use `bundle install --without "1.9" --gemfile=~/Gemfile.global`
For 1.9, use `bundle install --without "1.8" --gemfile=~/Gemfile.global`
Note: a symbol, which is a number (:1.8), causes problems. Use a string ("1.8").
Seeing the Gemfile might help:
group :irb do
group '1.8' do
gem 'ruby-debug' # highline is not 1.9 compatible. highline1.9 is.
group '1.9' do