cheat sheets.

$ cheat rbenv
DEFAULT

Sets the default ruby version in all your shells (just for your user, not
system-wide)

  rbenv global 1.9.2-p290


PROJECT

This sets the ruby version for the current directory. Typically used to set a
ruby version for a particular project.

  rbenv local ree-1.8.7-2011.03

And then you might want to do...

  git add .rbenv-version
  git commit -m"specify the ruby version for this project"


TEMPORARY

You can also set the ruby version for a particular session. so maybe you want to
switch your ruby to a different version and then cd all over the place with wild
abandon while the ruby version stays the same:

  rbenv shell jruby-1.6.4


INSTALL A RUNTIME

Install a ruby runtime (requires installing ruby-build first. easy and highly
recommended!)

  rbenv install 1.9.3-p0
Version 3, updated 29 days ago.
. o 0 ( | previous | history | revert to | current | diff )
( add new | see all )