Basics of RVM (Ruby Version Manager) By: Mayank Jani, RoR Developer, Codal Inc
RVM (Ruby Version Manager) is a commandline tool that manages multiple Ruby versions for your applications on a single device. When different applications are using different versions of Ruby, RVM becomes extremely valuable. It allows an eager developer to switch between projects that require different versions of Ruby. This is a common problem that developers face, and RVM is a great solution to this issue.
RVM was developed by Wayne E. Seguin and Michal Papis and in October 2007. RVM is supported into unixlike operating systems and it is written into Bash and Ruby.
Installing RVM: Public Key Install: $ gpg keyserver hkp://keys.gnupg.net recvkeys 409B6B1796C275462A1703113804BB82D39DC0E3 RVM Install: $ \curl sSL https://get.rvm.io | bash s stable Features of RVM: ● Manages multiple Ruby versions ● Less configurations ● Easy installations ● Can manage gems using gemsets ● .rvmrc file or .rubyversion and .rubygemset files concept ● Can run rubies in multiple terminals Ruby Commands: To check available Ruby versions: $ rvm list known To install specific Ruby version: $ rvm install [ruby version] # $ rvm install 2.1