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

0
votes
0answers
17 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
1answer
51 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
0answers
8 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 ...
-1
votes
2answers
622 views

Install ruby by rvm

I try to install ruby 2.1.1 by RVM and I receive following error: vmamaev@vmamaev:~$ rvm install ruby-2.1.1 ruby-2.1.1 - #removing src. Searching for binary rubies, this might take some time. No ...
4
votes
1answer
277 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 ...
0
votes
1answer
480 views

rvm ruby install failing setting paths

I've never used Ruby before so this and the surrounding terminology is new to me; I'm only doing the install so I have a base to run a specific application. I need Ruby 1.9.3, as I understand it I ...
0
votes
1answer
109 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 ...
2
votes
1answer
272 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 ...
1
vote
3answers
483 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 ...
0
votes
1answer
585 views

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 ...
0
votes
1answer
193 views

Passenger + RVM returns 502 for ruby 1.8.7 (passenger_root lies in ruby 1.9.3)

I'm using Passenger + RVM + Nginx, and my Rails applications which are configured for Ruby 1.9.3 work fine, but those for 1.8.7 always return a 502 error. Can anyone spot the trouble? My config is as ...
0
votes
0answers
1k views

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 ...
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 ...
0
votes
1answer
171 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 ...
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
votes
2answers
34 views

Bundler won't install

I'm in a strange situation, I install bundler in my RVM gemset, it sais it installed correctly, but when I try to run it asks me to to install bundler again: here is a transcript of my terminal ...
0
votes
1answer
32 views

RVM autolibs for rubies in production environments

In production, once I was used to add some utility packages (like curl, ssl etc.) to the RVM distribution before installing rubies, just to be sure that no missing libs requirements warning or errors ...
0
votes
1answer
135 views

RVM Not Finding Library

I am running CentOS 5.9 and installed RVM on it. However, whenever I run rvm requirements or rvm install 1.9.3, I get: --> Processing Dependency: libyaml-0.so.1()(64bit) for package: libyaml-devel ...
1
vote
1answer
709 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 ...
0
votes
2answers
217 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
2answers
955 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
1answer
247 views

RVM installation + ssh

I have installed RVM (ruby version manager) on a production server (with CentOS). I have installed it as a user (e.g. foobar) and not as root. (Is this a bad idea?) Now everything works correctly ...
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 ...
-1
votes
2answers
252 views

rvm doesn't install in centos without root privileges [closed]

I trying to install RVM using deployer user that doesn't had root privileges ant I getting this error: bash: line 439: ./scripts/install: Permission denied Any help? Thank you!
1
vote
2answers
493 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): ...
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 ...
3
votes
5answers
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 ...
0
votes
1answer
224 views

Error Installing ruby with RVM Single User mode on Arch Linux

I've just installed RVM on ArchLinux x64 in single user mode via the recommended install script curl -L https://get.rvm.io | bash -s stable I've also installed all the requirements listed in rvm ...
-1
votes
1answer
433 views

RVM Mixed Mode - Local Gem Installation

This thing is driving me nuts. I've installed RVM on a CentOS server; I followed the mixed mode instructions perfectly. https://rvm.io/rvm/install/ When I try to do a "gem install" from a user ...
0
votes
2answers
567 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
225 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
1answer
160 views

Easy way to launch several rails apps on the server

I have several rails applications on my server. Each application uses its own rvm gemset. I'm using Thin as web server for each application, this servers installs as a gem separately for each ...
1
vote
2answers
405 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 ...
0
votes
1answer
733 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 ...
1
vote
2answers
790 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 ':', ...
2
votes
1answer
477 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 ...
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
128 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 ...
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
583 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 ...
0
votes
1answer
426 views

RVM permission denied on Ubuntu 11.10

I've been through all tutorials and solved problems I can find about RVM. There's something wrong with permissions. There are no rubies installed, and when I try to install one: "permission denied". I ...
1
vote
2answers
221 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 ...
0
votes
1answer
350 views

How to fix RVM exhausting Virtual Memory on VPS?

I'm trying to install ruby via RVM on an Ubuntu VPS with only 512 MB memory. When running rvm install 1.9.3 I get the error: ERROR: Error running 'make ', please read ...
0
votes
1answer
375 views

Apache 2, Passenger 3 and RVM setup

I want to setup a RoR server with Apache2 + Passenger3 + RVM, These are my configurations # Passenger Apache Integartion LoadModule passenger_module ...
0
votes
1answer
134 views

PHP, Rails 2 and Rails 3 on the same server, on production mode

I am setting up a new web server (ubuntu 10.04 LTS), I want to get run on production mode: PHP, Rails 2.3.X and Rails 3, and each one should be accessible from diferent path, ex: ...
0
votes
1answer
186 views

rvm for Jenkins under Tomcat 6

I've got Jenkins running under Tomcat 6. It's running as user tomcat6, with a home directory of /usr/share/tomcat6. I would like to install rvm for this user so I can use it for testing, but I can't ...
0
votes
1answer
67 views

rvm “default” version implementation

According to the official site (http://beginrescueend.com/rubies/default/), the "default" setting of rvm controls the ruby version that is loaded "when you open a new terminal shell". I am wondering, ...
0
votes
1answer
62 views

rvm doesn't revert back to system ruby

I'll let the shell log explain itself: root:~# rvm current system root:~# which ruby /usr/bin/ruby root:~# rvm use 1.9.2 Using /root/.rvm/gems/ruby-1.9.2-p290 root:~# rvm current ruby-1.9.2-p290 ...
1
vote
1answer
392 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. ...