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
83
votes
14 answers

Why can't I install Rails on Lion using RVM?

I'm running into issues trying to install Rails on OS X Lion using RVM. So far, I have done the following: Installed Mac OS X Lion Version 10.7 (Build 11A459e). Installed XCode 4.1 Developer Preview 5. Installed RVM. Installed a 1.8.7 version of…
Michael Jerome
  • 1,601
  • 1
  • 12
  • 6
78
votes
8 answers

Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources

I'm attempting to install jekyll and I've encountered an error. I'm running Mac OS X 10.11.4 (El Capitan). $gem install jekyll ERROR : While executing gem ... (Gem::Exception) Unable to require openssl, install OpenSSL and rebuild ruby…
Chars Davy
  • 1,553
  • 3
  • 14
  • 14
76
votes
7 answers

Why Bundle Install is installing gems in vendor/bundle?

Whenever I do bundle install all of the gems get installed at app_dir/vendor/bundle path and consumes loads of disk space. I also tried installing gems where it should get installed i.e gemsets while development by this: bundle install…
Amandeep Singh Bhamra
  • 1,133
  • 1
  • 8
  • 15
75
votes
5 answers

How to solve "/usr/bin/env: ruby_executable_hooks: No such file or directory"?

I just deploy jekyll in a vps, and config git post-receive hook on it. When I push blog update to vps from my laptop, I run into this error: remote: /usr/bin/env: ruby_executable_hooks: No such file or directory I searched for a while, and tried…
Nan Ma
  • 1,065
  • 1
  • 8
  • 11
73
votes
10 answers

Library not loaded: /opt/local/lib/libssl.1.0.0.dylib (LoadError)

I just discovered I can no longer gem push … any more and some digging led me to a need to update my RVM SSL certs. I ran rvm osx-ssl-certs status all but that gave…
Dave Sag
  • 13,266
  • 14
  • 86
  • 134
73
votes
4 answers

How to install RVM system requirements without giving sudo access for RVM user

On my Debian server I have a user called "deployer" that does not have sudo access, and has RVM installed. When installing Ruby using "deployer", like 1.9.3, it triggers a task to install dependencies "Installing requirements for debian, might…
Vitaliy Yanchuk
  • 1,463
  • 1
  • 11
  • 22
70
votes
4 answers

How do I rename a gemset?

Is there an RVM command to simply rename a gemset? I couldn't find it on the RVM site.
Jason Galvin
  • 1,313
  • 1
  • 12
  • 10
69
votes
7 answers

JVM version manager

Is there Ruby Version Manager equivalent for the Java world? I'm looking for tool which allow me to easily download and install a new JVMs and switch between them. For example: jvm install jvm list //will list installed JVMs on my…
luacassus
  • 6,540
  • 2
  • 40
  • 58
66
votes
8 answers

Error installing Rmagick on Mountain Lion

I have seen other people with the same issue of installing RMagick on Mountain Lion However none of the suggested solutions have allowed me to successfully install rmagick. Here is the error message I am…
tomciopp
  • 2,602
  • 2
  • 31
  • 60
64
votes
4 answers

Rubygems, Bundler and RVM confusion

I read "Relationships between Rubygems, Bundler, and RVM" before asking it again. Well, there are many questions like this, but people who answered say they work with Rubygems, RVM and Bundler, and they have not explained how each of these work in…
Anand
  • 10,310
  • 24
  • 90
  • 135
63
votes
4 answers

Xcode - configure: error: no acceptable C compiler found in $PATH

rebuilding a mac from scratch. Installed xcode and rvm then trying to install rubies but they are all giving me: Error running ' ./configure --prefix=/Users/durrantm/.rvm/rubies/ruby-1.9.3-p125 --enable-shared --disable-install-doc --with-libyaml…
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497
62
votes
7 answers

RVM equivalent for PHP?

I can't seem to find a way to switch versions of PHP quickly. Is there something equivalent to ruby version manager for php? I need to switch between 5.3 and 5.2 on OS X.
johmas
  • 669
  • 1
  • 5
  • 5
61
votes
3 answers

Rails 5.2.0 with Ruby 2.5.1 console - `warning:` `already` initialized constant FileUtils::VERSION

I'm currently experiencing an issue with my new rails application, more specifically: Rails 5.2.0 Ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17] rvm 1.29.4 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin…
vchar
  • 956
  • 1
  • 11
  • 15
60
votes
17 answers

Ruby and "You must recompile Ruby with OpenSSL support or change the sources in your Gemfile"

Using rvm I upgraded my ruby to 1.9.3-p392, also added 2.0.0, anytime I try to use this version when I run my bundle command I get this error. Could not load OpenSSL. You must recompile Ruby with OpenSSL support or change the sources in your Gemfile…
covard
  • 1,667
  • 2
  • 18
  • 33
60
votes
5 answers

Mountain Lion rvm install 1.8.7 x11 error

After update to Mountain Lion, I tried install 1.8.7, and I got error. X11 file not found, I installed Xquarkz, but nothing changed. Whats wrong? Fail to find [tclConfig.sh, tkConfig.sh] Use MacOS X Frameworks. Find Tcl/Tk libraries. Make…
user1344853
  • 689
  • 1
  • 7
  • 8