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
2
votes
1 answer

Discourse bluepill to use rbenv

In official discourse repository there's a discourse.pill file for bluepill gem and it uses rvm. Because I'm using rbenv I need that script to use rbenv (and I'm bad at environment stuff). How I can convert this script, probably only this snippet…
megas
  • 21,401
  • 12
  • 79
  • 130
2
votes
2 answers

How to compile Ruby with Readline support?

I'm running Linux Mint 15 which is based on Ubuntu 13.10. I installed Ruby with RVM. I'm trying to run Rails and I get the following error: You're running a version of ruby with no Readline support Please `gem install rb-readline` or recompile…
Mike Glaz
  • 5,352
  • 8
  • 46
  • 73
2
votes
1 answer

Ruby installation results in Terminal opening as cat

I tried to install Ruby on my computer. I used About.com guide. The terminal opens with the label cat at the top (after briefly flashing login, find, and bash), and it won't run anything I type. I think this is the result of step 6 of the guide,…
2
votes
2 answers

Why does it take a long time to change directories after installing RVM

I just installed RVM and it seems the cd command is taking an extra couple of seconds, why is this happening? Is there any way to fix this?
Sam Saffron
  • 128,308
  • 78
  • 326
  • 506
2
votes
0 answers

Fail to install libsqlite3-dev (rvm requirements)

I've just moved to Ubuntu 12.10 from Win7. Because Ruby development is a kind of pain on Win. But I get stuck on a first step on Ubuntu also. First I got rvm as it described on rvm web site: \curl -L https://get.rvm.io | bash -s And then this $…
2
votes
1 answer

Want To Ignore Messages About Gemfile Selection the Ruby Version

I have recently upgraded all of my Rails applications to Rails 4.0.0 Ruby 2.0.0. I am working on a Mac Mini Server running OS X Server (Mountain Lion). I have the following statements in my Gemfile. ruby "2.0.0" #ruby-gemset=mygemsetname When I…
2
votes
2 answers

rvm on OS 10.9 a few problems: second export path to .bash_profile, missing 2.0 path, and missing files

1) I have this error every time I load a new bash terminal -bash: /etc/profile.d/sm.sh: No such file or directory -bash: /etc/profile.d/rvm.sh: No such file or directory I saw this previously asked question with the answer to simply delete the…
MCB
  • 2,021
  • 1
  • 18
  • 32
2
votes
2 answers

ruby-2.0.0-p247 is not installed

I've just updated to the latest Mac OS Maverick and now when opening apps in the terminal I'm hit with the following message(s). Any idea on how to solve this? Thx in advance! ruby-2.0.0-p247 is not installed. To install do: 'rvm install…
Sonny Black
  • 1,585
  • 4
  • 23
  • 41
2
votes
1 answer

rvm and Capistrano not working together: rvm_bin_path setting not taking effect

I am trying to set up Capistrano deployment for my Rails project. The server uses rvm. I need the script to run bundle install, hence the need for rvm to work with Capistrano. When I run "cap production deploy," I get this -- any ideas why? INFO…
Chad Johnson
  • 21,215
  • 34
  • 109
  • 207
2
votes
1 answer

Ruby installation exited with Error running 'requirements_osx_port_update_system ruby-2.0.0-p247',

I was installing ruby on my mac with os x 10.8.5 using following command: $ \curl -L https://get.rvm.io | bash -s stable --ruby and all of sudden I got following errors: Error running 'requirements_osx_port_update_system ruby-2.0.0-p247', please…
aakpro
  • 1,538
  • 2
  • 19
  • 53
2
votes
2 answers

rvm cookbook fails installing ruby within vagrant

I've been running into issues when trying to run the rvm::user recipe from fnichol/chef-rvm. I'm using chef along with a Vagrant box. rvm installs fine, but every time chef tries to install a ruby, it fails with this error: WARN: Failed to install…
dhulihan
  • 11,053
  • 9
  • 40
  • 45
2
votes
3 answers

ubuntu 12.04 ruby 2.0 rails: Could not find 'thread_safe'

im installing rails on ubuntu 12.04. installed manualy, using this method: How do I install ruby 2.0.0 correctly on Ubuntu 12.04? then: gem update --system gem install rails now if i run command "rails" the output is as…
SviesusAlus
  • 429
  • 4
  • 12
2
votes
2 answers

Is RVM supposed to update `.ruby-version` or am I meant to edit it manually?

I upgraded to Ruby 2.0, but when I am in my project directory, entering rvm use 2.0 followed by rvm list shows 2.0 is selected, but my .ruby-version file is unchanged. Is this supposed to be the case and I should edit the file manually, or have I…
Matt Gibson
  • 14,616
  • 7
  • 47
  • 79
2
votes
2 answers

How to undo bundle install?

I am working on an Octopress blog, so I set up a separate gemset and did rvm use gemset octopress. It all worked fine. However, I opened a new ZSH tab (I'm on OS X Mountain Lion, if that's relevant) and it fell back to the previous gemset I was…
Alexander Popov
  • 23,073
  • 19
  • 91
  • 130
2
votes
4 answers

ERROR: RVM Ruby not used, run `rvm use 1.9.1` first

I am using Ubuntu 12.04 and installed ruby using rvm. I have recently upgraded ruby from 1.9.3 to 2.0.0. When I displays ruby version it shows 2.0.0. $ ruby -v ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux] When I try to start the solr…
Jithin
  • 2,594
  • 1
  • 22
  • 42