I’m tired of the complications that tools like bundler and rvm inject
into my system and my workflow. I don’t want 4 billion gems installed
globally. I don’t want to have
rake slow down for no good reason. I
don’t want rvm to regress on undefined variables over and over and
over (and I don’t want to report it anymore when it does). I want as
much simplicity as I can afford and still be able to get my job done.
I’ve found pretty good balance using rbenv (only when needed) and by
using this 45 line shell function
ohmygems (aliased to
I still have my system-level gems as my previous GEM_HOME gets moved into GEM_PATH so things like minitest and autotest are always available. But now I have private gems that are incredibly easy to switch around and only rely on simple environment variables to manage.
To go back to normal, simply run
gem install ohmygemsIf you want to hack on ohmygems, clone it from GitHub:
git clone git://github.com/seattlerb/ohmygems