Developed by Wayne E. Seguin, RVM is based on the idea that you can easily install, manage, and work with multiple Ruby environments from interpreters to sets of gems.

learn more… | top users | synonyms

7
votes
2answers
9k views

How can I fix a Broken Pipe error?

I recently reinstalled RVM (following the instructions at http://rvm.io) after a fresh install of Ubuntu 12.10 when I got an SSD Drive. Now, when I type: type rvm | head -1 I receive the following ...
5
votes
1answer
3k views

How to install rvm on Mac OS x 10.8.x. rvm: command not found after rvm installation

I downloaded command line tools for Mac OSx. Checked for git version. Then tried to install rvm: MacBook-Pro:~ Tom$ curl -L https://get.rvm.io | bash -s stable % Total % Received % Xferd ...
4
votes
2answers
3k views

Why can't I set the default Ruby version in Ubuntu?

I'm trying to set my Ruby version to be 1.9.2, but I can't change it from the system Ruby installation. What am I doing wrong? My terminal output is: $ rvm list rvm rubies => ruby-1.9.2-p180 [ ...
4
votes
1answer
1k views

How do you run a shell command/script automatically when entering/cd-ing a directory on Snow Leopard?

Apologies if the answer to this is obvious, but I haven't been able to find one yet (perhaps because I'm searching with the incorrect terminology). I am on a Mac running Snow Leopard and I would like ...
4
votes
2answers
216 views

Why does bash sometimes think my $HOME isn't the correct directory?

Like the title says it seems that bash sometimes misidentifies my $HOME. This cropped up after a seemingly unique series of events that I will now replay in broad strokes. Running OS X 10.6 with ...
3
votes
1answer
2k views

How to rebuild all my Ruby gems?

I ran into an apparently known issue with the native C compiler on OS X 10.8 not building Ruby gems correctly, so I installed GCC as suggested. How do I have rvm rebuild all of the already-installed ...
3
votes
2answers
407 views

How do I keep background jobs from telling me they're done

In RVM (Ruby Version Manager) you can create .rvmrc files for a per-project basis. This handles basic ruby version and library (gem) management. This script is automatically executed when you cd into ...
3
votes
2answers
1k views

Unknown ruby interpreter version

I have a MacBook Pro, running Mavericks, but I'm not too acquainted with its inner workings. I'm just a humble CS student. After installing Ruby 1.9.3 and Rails 4.0.0, I get this annoying message ...
2
votes
1answer
883 views

How to create a GEM_HOME for rvm?

I'm learning how to set up different versions of ruby with different versions of rails using rvm. Here's a link for the instructions http://beginrescueend.com/gemsets/basics/. It says Let's say, ...
2
votes
3answers
1k views

Can not install Jruby using RVM

When I run one of the following commands: rvm install jruby-1.7.3 or rvm install jruby I get the following message: Searching for binary rubies, this might take some time. Installing ...
2
votes
3answers
423 views

Rails - Installation Error

I had used below mentioned commands to install rails in ubuntu 12.10 sudo apt-get update sudo apt-get install curl \curl -L https://get.rvm.io | bash -s stable source ~/.rvm/scripts/rvm rvm ...
2
votes
1answer
270 views

Can't find sqlite3 in this ruby/rails version using rvm

I installed rvm and am using 1.9.2 with rails 3.05. I was able to create a new application but once I moved into the directory and tried to start the server ("rails s"), I got this error message ...
2
votes
1answer
16 views

Where did my command (Heroku) go?

I expect to be schooled on this but have exhausted my Google searches and scant knowledge of how OS X finds a command. I've been using heroku for years and for some reason today I get the result: ...
2
votes
0answers
157 views

Why does RVM Ruby require libksba?

The rvm requirements says I should install "libksba" before installing Ruby 1.9.3. Why? How can I tell if I already have "libksba" installed? I'm running Mountain Lion 10.8.2 and Xcode 4.5 ...
2
votes
1answer
411 views

rvm problems syntax error near unexpected token `fi'

Whenever I cd or use rvm commands this shows up: -bash: /usr/local/rvm/scripts/initialize: line 80: syntax error near unexpected token `fi' -bash: /usr/local/rvm/scripts/initialize: line 80: ` ...
1
vote
3answers
301 views

How to install rvm as user jenkins?

I am following these steps to setup a Jenkins server on an Ubuntu EC2 instance. Everything is fine until I get to this step: As you can see (at the end of the output) I am being asked for the ...
1
vote
2answers
686 views

How do I run a rake task in cron under a different user?

I'm trying to run a backup script on ubuntu. My problem is that I'm trying to do this using the postgres user account that I setup on ubuntu. I believe having this account run the cron jobs is best ...
1
vote
2answers
720 views

Issues Installing jRuby with RVM

I'm running into an issue installing jRuby 1.7.0 with RVM on my Ubuntu 12.04.1 system. It seems RVM is messing up my $PATH because it's unable to find commands that are already installed on my system. ...
1
vote
1answer
1k views

libxslt is missing installing Nokogiri with RVM

It's been one month I'm trying to install the Nokogiri gem on Fedora 16 to run a friend's Rails project. I installed Ruby with RVM. Using gem install nokogiri returns libxslt is missing. please ...
1
vote
1answer
1k views

How to set a gemset as default in RVM?

I'm using RVM in my OS X machine, I use ruby 1.9.2 by default with RVM. Each time I create a terminal session I have to type "rvm gemset use rails_app", to use my gemset … I would like "rails_app" ...
1
vote
2answers
2k views

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

I am trying to install Discourse as explained here but the command # Use installed ruby as default rvm use 2.0.0 --default results in this: discourse@ubuntu:~$ rvm use 2.0.0 --default RVM is ...
1
vote
1answer
493 views

“Git: command not found” error while installing RVM on OS X

Working from my command line on Mac OS X Snow Leopard in directory /Users/michael, I did the installation line recommended by the RVM site: bash < <(curl -s ...
1
vote
2answers
214 views

Combined sudo su deploy command doesn't work, does when separate

I have this command: ubuntu@ip-10:~$ sudo su deploy -c 'rvm install 1.9.3' bash: rvm: command not found I also tried: ubuntu@ip-10:~$ sudo su deploy -c 'source /home/deploy/.bashrc && rvm ...
1
vote
2answers
2k views

Load RVM environment in Screen and ZSH

This topic has been driving me nuts for a while now, and I'd like to be able to figure out what's going wrong. I use zsh with screen in my terminal, and have been for a while. However, for whatever ...
1
vote
2answers
425 views

Getting errors trying to install RVM on Mac OS X

What else can I try? user15:~ durrantm$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) user15:~ durrantm$ cat .bash_profile [[ -s "$HOME/.rvm/scripts/rvm" ]] && . ...
1
vote
1answer
1k views

rvm doesnt work when specifiying the path…?

when typing in the path to the rvm it doesnt work $which rvm /usr/local/bin/rvm $ruby -v ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] $/usr/local/bin/rvm use 1.8.7 Using ...
1
vote
1answer
315 views

Installing ruby 1.9.1 on OS X with RVM, getting error I can't make sense of

I'm trying to update my ruby install on Leopard to at least 1.9.1. I found a tutorial that tells me how to do it with RVM and I get as far as downloading, configuring and compiling the version I want, ...
1
vote
1answer
270 views

Installing Ruby with RVM in Ubuntu 14.04

I installed RVM using the following command \curl -L https://get.rvm.io | bash -s stable Then I restarted the terminal and executed this commands source ~/.rvm/scripts/rvm rvm requirements rvm ...
1
vote
0answers
547 views

-bash: __rvm_add_to_path: command not found

As soon as I log in to my server with ssh I get the message: Last login: Wed Jul 17 16:13:07 2013 from foo.bar.net -bash: __rvm_add_to_path: command not found How can I fix that problem? My website ...
1
vote
2answers
642 views

Installing Vagrant alongside RVM isntalled Ruby

How do I install vagrant alongside a specific version of ruby installed using RVM? I have both 1.8.7 and 1.9.3p429 installed. After using RVM to set my default to 1.9.3 I no longer have vagrant ...
1
vote
1answer
172 views

Bash and Ubuntu Commands

I have a problem with bash currently. I have Ubuntu 10.04 installed on a server I ssh into to do Rails development and something happened and now I am unable to use RVM as it is installed. The error I ...
1
vote
1answer
50 views

how to undo rvm set stable?

I installed a rvm 2.0.0 and everything was ok Then I made by mistake rvm get head Then to correct that I added rvm get stable But now when I try to rvm install 2.0.0-study (same error on rvm install ...
1
vote
0answers
298 views

Remove all Ruby from Ubuntu

I'm trying to start a new project with RadiantCMS, but I'm having lots of problems , because in the server are 2 different Ruby Installations. the First one , was installed following the next tut: ...
1
vote
1answer
4k views

How to run bash script from windows using plink on linux

I'm trying to run a simple bat file from windows that will run a bash script on linux machine. The bash script is located on the linux machine. For example: I'm trying to run this bat file from ...
1
vote
0answers
321 views

Issues with RVM and new terminal instances

So I started having issues with my terminal sessions for some reason that I'm not fully aware of how to fix. This is the terminal output that I get when I start up any new session now. RVM doesn't ...
0
votes
2answers
269 views

How can I undo rm -rf $HOME/.rvm*

What does rm -rf $HOME/.rvm* mean? I ran it on my VPS server in Ubuntu Terminal by accident and now I'm having all sorts of problems with my ruby application. How can I undo it? Or what do I need to ...
0
votes
3answers
2k views

Load login shell inside user cronjob

I'm trying to run a rake task using a scheduled cronjob. My crontab looks something like this: 0 1 * * 1-7 /bin/bash -l -c "cd ~/jobs/rake && rake reports:create >> ...
0
votes
3answers
8k views

Why am I getting “rvm: command not found” on Ubuntu?

I am trying to set up Siri Proxy, and I come up to the steps: rvmsudo rvm install 1.9.3 rvm use 1.9.3 --default rvmsudo gem install eventmachine CFPropertyList httparty json uuidtools But I can't ...
0
votes
1answer
29 views

Error in Terminal when I open it

Last login: Wed Jun 12 15:15:00 on ttys000 -bash: Downloading: command not found -bash: Upgrading: command not found -bash: RVM: command not found -bash: RVM: command not found -bash: Upgrade: command ...
0
votes
1answer
1k views

Using rvm within a bash script on CentOS 6.2

I'm trying to write a script that does goes through all the steps for installing and setting up a graylog2 server and web interface on CentOS 6.2. Here is the section that I'm having trouble with: ...
0
votes
1answer
541 views

Redcar Install through RVM

I am trying to install Redcar on Ubuntu using RVM. I have read countless articles about it and i still get this error message. I followed this article in particular. ...
0
votes
1answer
67 views

Issue with RVM conflicting with Brew?

Please bare with me as I am not an expert on bash. In fact I'm fairly new to OSX < 1 year. I ultimately would like your help to get my system configured optimally, thus removing unnecessary tools. ...
0
votes
1answer
58 views

Ruby and RVM: Unexpected version number

I am using osx 10.8.4 and has brew installed. I followed the ruby/rvm installation instruction here: http://octopress.org/docs/setup/rvm/ rvm install 1.9.3 rvm use 1.9.3 rvm rubygems latest It ran ...
0
votes
1answer
236 views

Possible Homebrew and Rubie issues after the installation of RVM on Mountain Lion

I've installed RVM via the line offered on the rvm.io homepage: curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled In order of the installation process RVM automatically ...
0
votes
1answer
1k views

How to get Ruby, when called from a shell script, to see RVM default Ruby

my ruby prog: #echoHW.rb while 1 < 2 sleep(10) puts "hey!" end the bash(?) script that calls it: #echoHW.sh ruby -v ruby echoHW.rb "$@" & I installed rvm, trying both "single user" ...
0
votes
1answer
656 views

Problems installing ruby 1.9.3 on Snow Leopard

I am trying to install ruby 1.9.3 (I am running xCode 4.2) with the following command: rvm install 1.9.3 --with-gcc=clang Fetching yaml-0.1.4.tar.gz to /Users/myusername/.rvm/archives Extracting ...
0
votes
5answers
200 views

Bash: Switching from user to root causes issues with prompt

I am on a Mac, running Snow Leopard (if it matters). I am customizing my bash prompt to display things that get pulled from user specific places. For example, I am using Ruby Version Manager to manage ...
0
votes
1answer
50 views

Move rvm/gems or make available to root

On a CentOS 6 server I accidentally installed rvm and a bunch of gems as non-root user. Everything is running well, however I'll need to run rvm scripts as super user later. I'd like to fix my ...
0
votes
0answers
21 views

Homebrew and RVM bickering

Homebrew requires /usr/local/bin to appear before other binary directories in PATH RVM wants to be sourced last The bottom part of my .zshrc: Alternative 1: export PATH=/usr/local/bin:$PATH [[ -s ...
0
votes
1answer
56 views

How to keep both 32bit and 64bit RVM rubies

I am using 32bit and 64bit Ubuntus on different machines, and I have a single portable USB HDD which I keep my /home on. I have problems with locally installed RVM, as different architectures require ...