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

how do I run jruby in jenkins on ubuntu

I'm having an issue with executing a bash script from within jenkins. I have the shell command checked and my inputs are as follows: rvm use jruby-1.7.4 export JRUBY_OPTS=--1.8 jruby -S cucumber FYI: those 3 commands are exactly what I type in the…
Matt Westlake
  • 3,499
  • 7
  • 39
  • 80
2
votes
1 answer

Requirements OS X Brew libs install error

I am trying to make a clean install from RVM to my MacBook and I have a lot of work with the RVM requirements. I started to install separately, but I have this error: $ rvm requirements Installing requirements for osx, might require sudo…
Stanmx
  • 455
  • 5
  • 15
2
votes
0 answers

RVM not changing ruby version on cd (with bash-it)

I've installed bash-it recently and I noticed it broken RVM. When I enter a project directory, the ruby version is not changed (not matter if I use .rvmrc or .ruby-version). However, when I enter a project directory and then open a new tab/window in…
mrzasa
  • 22,895
  • 11
  • 56
  • 94
2
votes
1 answer

Installing Ruby 2.0.0 using RVM with errors in configure

I am currently running on Ruby 1.9.3p134 and trying to install Ruby 2.0.0 using RVM, however I keep running into the errors below. I am running on OSX 10.7.5: Error running 'env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include…
daphsta
  • 25
  • 3
2
votes
3 answers

Execute without `bundle exec` via rubygems-bundler

I have a standard gem scaffold, and in inside the bin directory I have a simple executable (bin/do_things.rb): #!/usr/bin/env ruby require 'my_gem' MyGem::doThings() The gem hasn't been installed via gem install, so running bin/do_things.rb without…
Dan
  • 1,729
  • 1
  • 18
  • 25
2
votes
1 answer

Could not install ruby 1.9.2 with RVM

Google was not very useful trying to find what is wrong. rvm install ruby-1.9.3-p392 Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p392. Continuing with compilation. Please read…
Tony
  • 10,088
  • 20
  • 85
  • 139
2
votes
0 answers

using zsh shell to install ruby-2.0.0-195 doesn't work

sorry this is my first time to post my question here. I am currently using zsh shell and I keep having trouble with installing ruby. While I run rvm install ruby-2.0.0-p195, it shows the error message as following, ➜ ~ rvm install…
Cheng Lun Chen
  • 105
  • 1
  • 7
2
votes
1 answer

Capistrano is throwing a NoMethodError

I've been using Ruby's Capistrano deployment tool for a few years and never had much problems with it at all. Now, after upgrading Ruby to 2.0, I started getting all kinds of errors making it impossible for me to deploy. I've since totally…
rhodesjason
  • 4,904
  • 9
  • 43
  • 59
2
votes
1 answer

Ruby cannot find nokogiri/nokogiri

I'm using RVM and previously RBENV on OSX. I have my gems installed relative to my project path in ./gems I am using the aws-sdk and attempting to use the s3 client results in a LoadError from nokogiri/nokogiri. Specifically the error…
nullfox
  • 597
  • 1
  • 4
  • 16
2
votes
2 answers

Error with rails after update to 4.0.0.rc1

recently I have updated to rails 4.0.0.rc1 and I have been experiencing a few errors. I am currently using RVM as well. After creating a rails 4 app and running 'rails s' or 'rspec rails' i got the error -…
Josh Leeb-du Toit
  • 639
  • 1
  • 7
  • 13
2
votes
1 answer

Call ruby script from another user not using rvm

When I need to run a script from my linux user "user1", I do the following commands (right after login with "user1"): rvm use 1.9.3 cd /var/proj ruby main.rb When developing this script, I have created a bundle with bundle install, reading my…
Luc
  • 16,604
  • 34
  • 121
  • 183
2
votes
1 answer

rvm, associate a gemset to a project

Is it possible to associate a project (that is the root directory of a ruby project) with a certain gemset? I thought that rvm gemset use mytestgemset would do that, but it is temporary and just exiting and entering again restores the original…
AgostinoX
  • 7,477
  • 20
  • 77
  • 137
2
votes
1 answer

Make rvm switch to system ruby on osx

I have a project that needs to use the system installed version of Ruby on OSX (1.8.7). My default rvm ruby is set to 2.0.0p0 and I want to keep it that way. Using RVM 1.19.6 (latest?) From everything that I've read I should be able to simply…
batkuip
  • 1,480
  • 3
  • 15
  • 25
2
votes
1 answer

Error installing caldecott on Ubuntu

In Ubuntu 12.10 when I run the following command gem install caldecott I get the following error message Building native extensions. This could take a while... ERROR: Error installing caldecott: ERROR: Failed to build gem native extension. …
Luís Ramalho
  • 10,018
  • 4
  • 52
  • 67
2
votes
1 answer

Error installing linecache19

I've been trying to run bundle install. What follows is a series of commands I entered and the relevant snippets of the error messages. bundle update An error occurred while installing linecache (0.46), and Bundler cannot continue. Make sure that…
Rose Perrone
  • 61,572
  • 58
  • 208
  • 243
1 2 3
99
100