Questions tagged [rvm]

RVM (Ruby Version Manager) is a command line tool which allows users to install, manage and work with multiple Ruby environments from interpreters to sets of gems easily in the various Unix-like systems (such as Linux and Mac OS X).

Ruby Version Manager (RVM) is written by Wayne E. Seguin. RVM is a tool that lets you have multiple independent Ruby installations on the same machine. You can switch between them using a single command. This is wonderful, because you can experiment with new versions of Ruby while still keeping the old ones on your system.

RVM allows users to deploy each project with its own completely self-contained and dedicated environment — from the specific version of Ruby all the way down to the precise set of required gems to run the application.

A lot of questions are answered on the RVM site.

See Also

4104 questions
635
votes
13 answers

How to remove RVM (Ruby Version Manager) from my system

How can I remove RVM (Ruby Version Manager) from my system?
lucianosousa
  • 8,144
  • 4
  • 21
  • 25
537
votes
1 answer

How to Uninstall RVM?

Possible Duplicate: How to remove rvm (ruby version manager) from my system? How can I uninstall (or reinstall) RVM on Ubuntu 9.10? I messed up my current installation.
conbask
  • 9,741
  • 16
  • 57
  • 94
277
votes
26 answers

SSL Error When installing rubygems, Unable to pull data from 'https://rubygems.org/

I am trying to do the Michael Hartl tutorial. When I attempt to install rails 3.2.14 in my gemset, I get the following issue: $ gem install rails -v 3.2.14 ERROR: Could not find a valid gem 'rails' (= 3.2.14), here is why: Unable to download data…
tpw
  • 2,829
  • 3
  • 13
  • 8
268
votes
15 answers

Can't install Ruby under Lion with RVM – GCC issues

Most questions regarding this problem are due to missing Xcode; I have Xcode 4.2 installed. Install attempt: rvm install 1.9.3 Installing Ruby from source to: /Users/jamie/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your…
Jamie Schembri
  • 6,047
  • 4
  • 25
  • 37
241
votes
22 answers

rvm installation not working: "RVM is not a function"

I just installed RVM, but can't make it work. I have such line at the end of my .profile file: [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" I tried to run source .profile and restarting terminal, but still, when I run rvm use…
amorfis
  • 15,390
  • 15
  • 77
  • 125
241
votes
25 answers

rmagick gem install "Can't find Magick-config"

I get the error shown below when attempting to install the rmagick gem. I am on Snowleopard 10.6 using RVM, Ruby 1.9.2-head and Rails 3.05. Responses to similar questions recommended installing ImageMagick, which I successfully did. Other suggested…
Joe
  • 3,352
  • 3
  • 20
  • 19
235
votes
5 answers

Use rvmrc or ruby-version file to set a project gemset with RVM?

I use RVM, the Ruby Version Manager to specify a Ruby version and a set of gems for each of my Rails projects. I have a .rvmrc file to automatically select a Ruby version and gemset whenever I cd into a project directory. After installing RVM…
Daniel Kehoe
  • 10,952
  • 6
  • 63
  • 82
214
votes
15 answers

RVM is not a function, selecting rubies with 'rvm use ...' will not work

List the ruby versions console:~$ rvm list rvm rubies ruby-2.0.0-p481 [ i686 ] # => - current # =* - current && default # * - default Try to use a specific version of ruby console:~$ rvm use 2.0.0 RVM is not a function, selecting rubies with…
user3678471
  • 2,373
  • 2
  • 17
  • 18
195
votes
9 answers

How to resolve "gpg: command not found" error during RVM installation?

I have a new mac pro (OS X 10.9.5) that I get to set up from scratch. I want to install RVM and the first thing it says to do is: Install mpapis public key (might need gpg2 and or sudo) gpg --keyserver hkp://keys.gnupg.net --recv-keys…
JDillon522
  • 19,046
  • 15
  • 47
  • 81
183
votes
35 answers

how to solve "ruby installation is missing psych" error?

I used rvm to install ruby 1.9.3. even though it was successfully installed, it complained about libyaml. and now every time i wanna install a gem (say rails) this warning shows up: It seems your ruby installation is missing psych (for YAML output).…
Pouya
  • 2,067
  • 3
  • 18
  • 16
173
votes
3 answers

Installed Ruby 1.9.3 with RVM but command line doesn't show ruby -v

Here's the console output: sergio@sergio-VirtualBox:~$ rvm list rvm rubies ruby-1.9.3 [ i386 ] sergio@sergio-VirtualBox:~$ rvm use 1.9.3 Using /usr/share/ruby-rvm/gems/ruby-1.9.3 sergio@sergio-VirtualBox:~$ ruby -v The program 'ruby' can be…
Only Bolivian Here
  • 35,719
  • 63
  • 161
  • 257
172
votes
6 answers

Install autoreconf on OS X v10.7 (Lion)?

I'm attempting to re-install Ruby 1.9.3 with a patch that will allow me to use ruby-debug. When following the instructions and running rvm reinstall 1.9.3 --patch debug --force-autoconf It runs through and after applying the patch spits out: rvm…
Brian
  • 7,204
  • 12
  • 51
  • 84
171
votes
5 answers

ZSH complains about RVM __rvm_cleanse_variables: function definition file not found

When using the latest ZSH and RVM on Mac OS X 10.7.4 ZSH complains about this: __rvm_cleanse_variables: function definition file not found
Tyler Brock
  • 29,626
  • 15
  • 79
  • 79
153
votes
8 answers

Removing all installed Gems and starting over

I recently started learning Ruby and Ruby on Rails, and have watched a plethora of getting started materials. I have been finding lately that I keep getting errors where gems won't install or they will be installed but they can't be used for some…
Dave Long
  • 9,569
  • 14
  • 59
  • 89
146
votes
5 answers

How do RVM and rbenv actually work?

I am interested in how RVM and rbenv actually work. Obviously they swap between different versions of Ruby and gemsets, but how is this achieved? I had assumed they were simply updating symlinks, but having delved into the code (and I must admit my…
superluminary
  • 47,086
  • 25
  • 151
  • 148
1
2 3
99 100