Questions tagged [rvm]

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.

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.

Some of the features are:

  • Install multiple ruby interperters / versions
  • Manage sets of gems
  • Perform operations over installed interpreters / gemsets
    • run commands against multiple ruby environments
  • simple switching between Ruby environments
  • isolation of Ruby environments on the same system, even the same log-in.
  • written in Bash
    • available on all #nix systems

Many other useful features.

You can find the RVM team (mpapis, wayneeseguin) on IRC, usually in #rvm on irc.freenode.net and you can find the source code at

This projects page and repository:

78 questions
2
votes
1 answer

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 root/application files will live in their home directory…
prodigitalson
  • 213
  • 3
  • 9
2
votes
1 answer

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 version: GNU bash, version 3.00.16(1)-release…
aaronbartell
  • 121
  • 3
2
votes
2 answers

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 okay for me to start over?
Howard
  • 2,135
  • 13
  • 48
  • 72
2
votes
1 answer

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. "gem install rails" worked fine on my system ruby…
omnilinguist
  • 121
  • 3
2
votes
2 answers

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 https://rvm.beginrescueend.com/install/rvm), all apt repository…
Allyl Isocyanate
  • 299
  • 1
  • 4
  • 9
2
votes
1 answer

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 nginx.conf looks like: http { passenger_root…
Adam Lassek
  • 492
  • 1
  • 9
  • 18
2
votes
2 answers

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 .rvmrc to toggle calls made from the application.…
Trip
  • 205
  • 4
  • 9
2
votes
1 answer

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, etc installed. When I configure nginx to serve the…
2
votes
2 answers

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 * * * * munin bash -c 'source /usr/local/lib/rvm…
rausch
  • 302
  • 2
  • 10
1
vote
0 answers

jenkins on Ubuntu 14.04 and rael-gc RVM repo - bundle not found?

I'm trying to get jenkins running on a worker node for testing some Rails projects on Ubuntu 14.04. I've installed RVM per these docs. When I launch a build from the Jenkins "master", the console output from the node build produces the output below.…
Server Fault
  • 3,714
  • 12
  • 54
  • 89
1
vote
1 answer

Saltstack Cannot Find Bundle

Maybe I don't understand how cmd is working, but here is some of the config I am using. This used to be a jruby install but we are moving to MRI, hence the jruby username: /home/jruby/tmp/rvm-install.tgz: file.managed: - source:…
Du3
  • 111
  • 1
1
vote
1 answer

How do I get puppet master to listen on IPv6?

So I have a RHEL 7 server on an internal network with IPv6, and I am able to SSH into it via IPv6 and it is also serving DNS to other hosts over IPv6. I have noticed that puppet master bind to IPv4 only: $ netstat -n -l | grep 8140 tcp 0 …
Machoke
  • 115
  • 8
1
vote
3 answers

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 to run rails: I've a railsup script in…
dsp_099
  • 43
  • 1
  • 1
  • 8
1
vote
1 answer

Starting command on boot with correct user env vars

I am attempting to create a start-up script that will run this command on boot for my ubuntu 12.04 server: bundle exec thin -R config.ru start -p 3030 When I run it as a regular user it works just fine, the thin web server starts and I can access my…
joshmmo
  • 113
  • 6
1
vote
0 answers

nginx passenger_root not accepting valid passenger gem location

I am trying to add passenger_root and passenger_ruby to my nginx.conf file, but when i try and restart NGINX I get the message: Starting nginx: nginx: [alert] Unable to start the Phusion Passenger watchdog because its executable…
Joel Grannas
  • 111
  • 1
  • 4