RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.

learn more… | top users | synonyms

15
votes
4answers
5k views

Is it possible to skip .rvmrc confirmation?

We are using RVM for managing Ruby installations and environments. Usually we are using this .rvmrc script: #!/bin/bash if [ ! -e '.version' ]; then VERSION=`pwd | sed 's/[a-z/-]//g'` echo ...
5
votes
4answers
2k views

Is it possible to install precompiled Ruby versions with RVM?

I'm using EC2 and sometimes launch servers that I want to use only for a short time. Usually I want to install some version or versions of Ruby on them, and for this RVM is very convenient -- if it ...
4
votes
5answers
10k views

How to fix “ruby installation is missing psych (for YAML output).” on CentOS?

After rvm installation on CentOS 5.8: [rails@localhost ~]$ rvm -v rvm 1.16.17 [rails@localhost ~]$ which ruby ~/.rvm/rubies/ruby-1.9.3-p286/bin/ruby [rails@localhost ~]$ ruby -v ruby 1.9.3p286 ...
4
votes
7answers
2k views

Install RVM with ansible

I am attempting to install rvm with ansible on a centos-based vagrant box. The command I am running is: vars: user: "foo" - name: install rvm action: command sudo -u $user bash ...
4
votes
5answers
2k views

RVM not picking up /etc/gemrc

in a system wide RVM .... heres my /etc/gemrc --- gem:--no-ri --no-rdoc heres the system gem env GEM PATHS: - /usr/lib/ruby/gems/1.9.1 - /home/${USER}/.gem/ruby/1.9.1 GEM ...
4
votes
1answer
344 views

How to Install RVM and RUBY to the specific user in the salt-minion

I am using Ubuntu 12.04 for salt-master and salt-minion.When i try to install a package in the salt-minion using salt, it installs only in the system specific. But i need to install in the user ...
3
votes
1answer
1k views

Setting PassengerDefaultRuby in Apache2

I'm experiencing a server error, which tells me that it cannot detect essential gems such as rake. Research suggests that there's a miscommunication between Phusion Passenger and RVM. RVM recommends ...
3
votes
1answer
124 views

Is it normal to have a Ruby process always running in Ubuntu?

I'm running Ubuntu 10.10 with Apache2, RVM (For Ruby) and Passenger (mod_rails). When I look at the "top" application, I always notice the same Ruby process consuming about 1/4 of the memory on my ...
2
votes
2answers
634 views

What does “referrer” mean in my webserver logs?

My servers have been crashing recently. I am running two nginx servers on one shared server using Ruby Version Manager to tackle gem dependencies. Everything was going fairly smooth after I setup an ...
2
votes
1answer
1k views

gem environment and $GEM_PATH not updating when using rvm

I'm trying to upgrade ruby and rails gem on a server with cPanel, to do this I installed rvm and I successfully installed different versions of ruby... great stuff! Having a problem though, the ...
2
votes
2answers
1k views

How do I run Munin plugins written in Ruby, using RVM?

I try to run some Munin plugins written in Ruby. I would like to use RVM, so Munin needs to know where to find Ruby. I tried to change the line calling munin-cron in the cron file as follows: */5 * * ...
2
votes
1answer
343 views

Can't find installed module on modulepath

I'm attempting to use the maestrodev/rvm module when provisioning a virtual machine with Vagrant, but am running into a problem when attempting to include rvm. I keep getting Error: Could not find ...
2
votes
1answer
515 views

Error when trying to install RVM on my VPS

I'm working on deploying my first rails app to my mediatemple(dv) and i'm first trying to install RVM using this command: bash -s stable < <(curl -s ...
2
votes
2answers
2k views

How to install RVM for single user in Ubuntu without hosing permissions?

I'm trying to setup RVM to execute in single user mode on Ubuntu, but can't without opening up permissions make, configure etc. Any suggestions? RVM installed via bash < <(curl -s ...
2
votes
1answer
3k views

How can I point Passenger to the correct Gem files when using RVM Gemsets on Ubuntu? Bundler::GemNotFound

I have a Ubuntu server (10.04) with nginx, and Passenger. I've installed RVM on it, and I have a global gemset with Passenger 3.02 installed. My application is within another gemset which has rails, ...
2
votes
1answer
1k views

How do I get Apache's www-data to recognize RVm?

Problem: Apache/Passenger don't recognize RVM I have a multi-user install of RVM, per the canonical instructions: http://beginrescueend.com/rvm/install/ I then edited /etc/profile.d/rvm.sh to ...
2
votes
1answer
82 views

IBMi bash upgrade

I am trying to install rvm in PASE on IBMi (v7.1) but it is failing because it states bash version 3.2.25 is required. Running bash --version via CALL QP2TERM states I am running the following ...
2
votes
2answers
623 views

Is removing ~/.rvm/ all I needed to perform a clean re-install

I have installed ruby and gems under ~/.rvm/, now I want to re-install all the stuffs agaain. Are there any modifications/links live outside of this folder? So, by just removing the folder ~/.rvm/ is ...
1
vote
2answers
2k views

Capistrano error “bundle: not found”

I'm trying to deploy octopress on a VPS but getting this error bundle: not found but bundle is installed! Full error. $ cap deploy * 2013-07-20 18:08:55 executing `deploy' * 2013-07-20 18:08:55 ...
1
vote
1answer
820 views

Best practice for setting up RVM, Passenger/Apache with multiple Rubies and running as specific users?

My goal is to run ruby applications under different server users with potentially different versions of ruby. So i would have users that serve as the "hosting account" essentially. Document ...
1
vote
2answers
512 views

How do you configure rvmsudo using chef?

I am using the chef-rvm cookbook by fnichol to perform a system wide installation of Ruby via RVM with the rvm::system recipe. I.e. In my run list, I have (with no additional attributes set): ...
1
vote
2answers
418 views

Apache & Nginx on Ubuntu 10.10

I'm running Ubuntu 10.10 with three apache virtual hosts. I just followed this tutorial to set up Rails 3 on Ubuntu using PAssenger and nginx. Everything is running fine except rails/nginx. When I ...
1
vote
2answers
794 views

Best Practice: RVM w/ Multiple Nginx-Passsenger Standalone Servers Running One App per Server

I'm wondering what would be the best approach to hosting multiple Rails applications where each application has a different gemset and may possibly use a different version of Ruby. I'm thinking of ...
1
vote
2answers
1k views

Syntax error when starting Rails server, RVM could be the issue?

I am getting the following error when trying to start my Rails application in production for the first time: /var/www/railsapp/config/initializers/session_store.rb:3: syntax error, unexpected ':', ...
1
vote
2answers
242 views

ruby or rvm ruby in Production web server

Currently our production server runs in system ruby. Passenger handles our rails apps. Should I move to handling my entire ruby stuff using rvm? What advantage can rvm give me in a production ...
1
vote
1answer
433 views

zlib error on gem install rails after rvm version switch

(Debian squeeze) rvm version: 1.10.0 I have just installed ruby 1.9.2-p290 using "rvm install 1.9.2" and made it default. However, I am getting this error when trying to install rails using rubygems. ...
1
vote
1answer
464 views

rvm fails to install any ruby

RVM gives me an error during installation of any version of ruby. Let's take for example ree-1.8.7-head rasfast@rasfast-home:~$ rvm install ree-1.8.7-head Installing Ruby from source to: ...
1
vote
1answer
259 views

Trouble installing Heroku taps gem using RVM

I tried to install the taps gem on my rvm, but got the following result: larson:~ larson$ rvm gem install taps Successfully installed taps-0.3.23 1 gem installed Installing ri documentation for ...
1
vote
1answer
743 views

Passenger is preventing Bundler from seeing my git gems

I'm attempting to deploy a Rails 3.1 application to an Ubuntu 11.04 server running nginx-1.0.0 and passenger-3.0.7 I have a system-level RVM install at /usr/local/rvm/gems/ruby-1.9.2-p180 My ...
1
vote
3answers
555 views

How to start Rails from a shell script on Debian?

I don't really have any need to mess with passenger or capistrano at the moment. I simply want to run rails on boot on port 3000. I've attempted to replicate this tutorial for node as much as I could ...
1
vote
1answer
524 views

Linode Debian + rvm + nginx + Unicorn kills master at boot or doesn't start unicorn

I'm a new Linode/Linux user running Debian 6. I'm trying to get my Unicorn server to start at boot, but for some reason it is not, and I'm not able to track down any error message. Nginx is starting ...
1
vote
1answer
1k views

Installing Passenger on ubuntu for ruby 1.9 and rails 3, problem with rvm

I am installing passenger on a Ubuntu server 10.04.2. following this tutorial. When I arrive to the step to install nginx rvmsudo passenger-install-nginx-module I have the following error: Your ...
0
votes
2answers
1k views

.bashrc not loaded, .bash_profile exists

In a ubuntu terminal my .bashrc isn't available until I run: source ~/.bashrc I have a ~/.bash_profile with contents: [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # ...
0
votes
2answers
231 views

Skipping a “Press certain key to continue” in a bash script

I'm installing RVM for Ruby with the following command: curl -L https://get.rvm.io | sudo su myuser -c "bash -s stable --rails" I specifically need it to be installed under that user - and it will ...
0
votes
2answers
608 views

Using RVM in Puppet manifests

I'm currently digging deeper into Puppet and with several manifests I encounter problems regarding the installed ruby version or rubygems. I would guess that others probably also run in such problems. ...
0
votes
2answers
41 views

Running startup shell script for ruby application as other user (not root)

I have installed RVM using 'user01' on Ubuntu 14.04 and user01 can start my rails application as expected. I, however, want to start this application following system start-up. I am trying to use the ...
0
votes
1answer
110 views

What's the current, “correct” way to bundle gems for a Rails app with system-wide RVM-installed Ruby?

I got ruby installed system-wide by doing: \curl -sSL https://get.rvm.io | sudo bash -s stable and then: sudo /usr/local/rvm/bin/rvm install 2.0.0 I'm still not positive that was actually ...
0
votes
1answer
148 views

Fix Solaris 11 GNU tools location for RVM

I am trying to install RVM on a Solaris 11 system, the curl -sSL https://get.rvm.io | bash -s stable went through, but when I actually try to use rvm, it simply stats "ERROR: Missing GNU tools: grep ...
0
votes
1answer
198 views

Capistrano Shell Environment Errors

I'm trying to get capistrano working with rvm and passenger standalone. I had it working at one point, then capistrano suddenly started complaining about missing the bundle command. When I remove ...
0
votes
2answers
302 views

mysql gem broken in debian testing?

I've been trying all night, and so far have been unable to compile the mysql gem for ruby on my Debian Testing 64Bit system. I believe it is because I have the openssl v1.0.0 library installed. Here ...
0
votes
1answer
749 views

multi-user rvm gem install failure when called from CloudFormation::Init

I've taken an Amazon Linux AMI (based on CentOS) and installed RVM (1.10.3) to it in multi-user fashion (see {1} below). I used that to install ruby 1.9.3-p125, rubygems 1.8.17, and bundler 1.1 as ...
0
votes
1answer
75 views

Recommended way to install rubygems [closed]

There are server way to install rubygems Using apt-get: apt-get install rubygems1.8 Using rvm: bash -s stable < <(curl -s ...
0
votes
1answer
132 views

Puppet: stage main not found?

I'm trying to use this RVM puppet module, but puppet is complaining that it can't find Stage[main]: Could not find stage main specified by Class[Rvm] at /etc/puppet/modules/rvm/manifests/system.pp:3 ...
0
votes
2answers
251 views

Can't succesffully install RVM in Ubuntu 11

I've installed RVM before in Debian and OSX without any problems, but doing it in Ubuntu is driving me crazy. I´ve tried different tutorials, this is the last of them. I think everything goes ...
0
votes
2answers
277 views

Install ruby 1.9.2 on debian production server

I have a problem install ruby 1.9.2 on debian using rvm. The install goes fine, and when i type rvm use 1.9.2 then it says: Using /usr/local/rvm/gems/ruby-1.9.2-p180 but when I type ...
0
votes
1answer
132 views

ruby-1.8.6-p144 on Ubuntu 10.04 [RVM]

wopi@wopi-desktop:~/.rvm/src$ cat /etc/issue Ubuntu 10.04.2 LTS rvm install ruby-1.8.6-p114 gives me errors: https://gist.github.com/814261 How I can install it ?
0
votes
3answers
1k views

Capistrano + Nginx + Passenger = 403

I asked this over at stackoverflow as well, but still haven't received any answers that have helped me to solve this problem. I have spent almost a week at this point trying to solve the issue, and ...
0
votes
0answers
9 views

`rvm list remote` not showing binaries for Ubuntu 14.04 box [migrated]

I'm trying to provision a dev box with rvm on Ubuntu 14.04 (via Vagrant and Ansible). I've installed rvm: gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3 \curl -sSL https://get.rvm.io | ...
0
votes
0answers
172 views

Upgraded to Ruby version 2.1.2, passenger still on 1.9.3

I installed Ruby 2.1.2 using RVM, and changed the nginx.conf file with the appropriate passenger_ruby and passenger_root paths, but my Rails application is still running on Ruby 1.9.3. Why is my Rails ...
0
votes
0answers
10 views

RVM Ruby installation fault on Debian based Voyage Linux [duplicate]

I have big problem with installation of RVM Ruby 2.1 installation on my Debian based Voyage Linux (it runs on embedded board with AMD Geode CPU - compatible with at least i586). I was trying many ...