ohho ohho - 1 year ago 112
Ruby Question

How does ruby-install work?

After installation of multiple rubies by ruby-install, how to use a specific installation of ruby? Should a ruby be accessed by absolute path, or depends on some environment path like


Answer Source

You can use postmodern's chruby to change the current Ruby:

chruby 1.9
 * ruby-1.9.3-p429

It also supports auto-switching based on a .ruby-version file.