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
48
votes
8 answers

Error while installing Nokogiri (1.6.7) on El Capitan

One of my developers have updated Nokogiri, and when pulling the updated Gemfile my bundle install fails. ➜ my-project git:(master) bundle install Fetching source index from https://rubygems.org/ Using rake 10.4.2 Using i18n 0.7.0 Using json…
Cjoerg
  • 1,271
  • 3
  • 21
  • 63
47
votes
16 answers

troubles with RVM and OpenSSL

Trying to set up a new macbook for a colleague. Not going well. First I install OpenSSL: Heathers-MacBook-Pro:~ heather$ rvm pkg install openssl Fetching openssl-1.0.1c.tar.gz to…
phil swenson
  • 8,564
  • 20
  • 74
  • 99
46
votes
10 answers

RVM installed by Ruby not working?

I installed RVM using the single instruction mentioned at the RVM website (using git). Then I installed Ruby version 1.9.2 and 1.8.7 using: rvm install 1.9.2 rvm install 1.8.7 However, I cannot find the Ruby binary. When I try to execute the…
YD8877
  • 10,401
  • 20
  • 64
  • 92
45
votes
5 answers

Installing RVM: "Requirements installation failed with status: 1."

Here is the last thing I saw before the command prompt: Searching for binary rubies, this might take some time. Found remote file https://rvm.io/binaries/osx/10.9/x86_64/ruby-2.1.1.tar.bz2 Checking requirements for osx. About to install Homebrew,…
Drewdavid
  • 3,071
  • 7
  • 29
  • 53
44
votes
4 answers

How do I recompile a ruby with RVM?

I installed Ruby 1.9.3 with RVM, and it works fine. I then made some changes in a ruby C source file, and I want to recompile and re-install it so I can use the changes. I haven't found any kind of rvm recompile command however.
Dogweather
  • 15,512
  • 17
  • 62
  • 81
44
votes
8 answers

Can't install Ruby Enterprise Edition with RVM on OSX Lion

Here is what I have done so far. Clean install of OS X Lion Downloaded and installed latest version of Xcode from the App Store. Installed Git Installed Homebrew Installed RVM I am now trying to install Ruby Enterprise Edition for a project with…
Faraaz Khan
  • 701
  • 2
  • 8
  • 13
44
votes
2 answers

Fresh Installs of RVM and Ruby 2.1.1 - dyld library/pathing error

I have been trying to install RVM and Ruby 2.1.1 onto my new Mac (OS 10.9.2), and everything seems to be going well until I try to install any version of Ruby. My input $ rvm reinstall 2.1 So far so good... ruby-2.1.1 - #removing…
Dylan
  • 1,026
  • 1
  • 10
  • 20
43
votes
8 answers

Received Warning message "Path set to RVM" after updating ruby version using rvm

Recently I tried to update my ruby version due to a warning message (see below). Now I get the following warning message when I start my iterm2: Warning: PATH set to RVM ruby but GEM_HOME and/or GEM_PATH not set, see: …
echo
  • 900
  • 1
  • 9
  • 17
42
votes
3 answers

Should I check in `.ruby-gemset` and/or `.ruby-version`?

I've just updated RVM, and in place of the old .rvmrc, it auto-created .ruby-gemset and .ruby-version. I've always had .rvmrc files with contents like rvm use --create default@project_name. However, .ruby-version contains the specific Ruby version…
Nathan Long
  • 122,748
  • 97
  • 336
  • 451
41
votes
5 answers

RVM, where is Ruby 3.0.0?

I want to download the latest Ruby release(version 3.0.0), using RVM but I am faced with the following error when running rvm install 3.0.0: Unknown ruby interpreter version (do not know how to handle): 3.0.0 I have also tried 3 & 3.0, but gives…
grizzthedj
  • 7,131
  • 16
  • 42
  • 62
40
votes
2 answers

Disable RVM or use Ruby which was installed without RVM?

For rails application I had installed Ruby 1.8.7 and Rails 2.3.11. And it was working fine. After that I have installed RVM and REE. So while running ruby script/server it's using REE. But now I want to use the older Ruby 1.8.7 which was installed…
krunal shah
  • 16,089
  • 25
  • 97
  • 143
40
votes
3 answers

Why should I care about RVM's Gemset feature when I use Bundler?

I just don't get it. I thought, Bundler was developed to resolve version conflicts between gems. So that I just have to require "bundler/setup" and everything is fine, knowing that Bundler will load the correct versions of all my gems and their…
t6d
  • 2,595
  • 3
  • 26
  • 42
40
votes
8 answers

Error running 'requirements_osx_brew_libs_install...' on Mac 10.7

Trying to install brew on a last generation Macbook Pro and keep getting the following error: Error running 'requirements_osx_brew_libs_install autoconf automake libtool pkg-config apple-gcc42 libyaml readline libxml2 libxslt libksba openssl…
user1883951
  • 401
  • 1
  • 4
  • 3
39
votes
3 answers

How do I install Ruby gems when using RVM?

I set up RVM and used it to install Ruby and a few other libraries. As I was going through various tutorials and set-ups of other technologies like Rails, I began getting confused about what I should do via RVM and what I should just do as the…
Genadinik
  • 18,153
  • 63
  • 185
  • 284
38
votes
5 answers

python: what's the difference between pythonbrew and virtualenv?

I am new to python and I am planning to learn django. I had a bit of experience with ruby (not rails) and I am familiar with RVM however I don't understand the difference between pythonbrew and virtualenv. I know pythonbrew is a mimic of RVM but I…
Jeff
  • 13,079
  • 23
  • 71
  • 102