Ruby Version Manager

From Infogalactic: the planetary knowledge core
Jump to: navigation, search


Ruby Version Manager
Developer(s) Wayne E. Seguin, Michal Papis
Stable release 1.27.0 / March 28, 2016 (2016-03-28)
Written in Bash, Ruby[1]
Operating system Unix-like
License Apache License 2.0
Website rvm.io

Ruby Version Manager, often abbreviated as RVM, is a unix-like software platform designed to manage multiple installations of Ruby on the same device. [2]

The entire ruby environment including the Ruby interpreter, installed RubyGems, and documentation is partitioned. The different versions can then be switched between to enable a developer to work on several projects with different version requirements. In addition to MRI, the standard Ruby interpreter, RVM functions as an installer for various other implementations of Ruby. These include JRuby, mruby, MacRuby, IronRuby, Maglev, Rubinius, Ruby Enterprise Edition, Topaz, and GoRuby (an interpreter optimized for code golf. In addition, RVM supports the installation of patched versions of MRI.

RVM provides features for organization of Ruby gems through "gemsets", collections of gems separated by a namespace and associated Ruby installation. Gemsets can be associated with directories/projects through the use of the RVM proprietary .rvmrc file. An alternative to using the .rvmrc (and the general puropose although user-specific .jrubyrc) file and its format is use of the .ruby-version and .ruby-gemset files, which are compatible with other ruby version managers, such as RBenv and chruby. Additionally, using .rvmrc requires trusting to prevent execution of unauthorized code, while .ruby-version does not. [3]

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. https://rvm.io/workflow/projects

External Links

<templatestyles src="Asbox/styles.css"></templatestyles>