Tagged Questions
0
votes
0answers
12 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
0answers
11 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
...
0
votes
1answer
32 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
45 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
0answers
83 views
Amazon OpsWorks custom cookbook RVM
I'm trying to install RVM with Amazon OpsWorks using this cookbook. I want rvm to run under the user tomcat6, so I included the recipe rvm::user with the correct attributes.
The error I'm getting is:
...
0
votes
0answers
33 views
Start resque with monit default config
I am trying to start resque with Monit and monitor it. I modified the default config so it will look for my user ruby etc, but monit wont even write to its log that its starting it.
check process ...
-1
votes
2answers
92 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
286 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
6k 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 ...
0
votes
1answer
161 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
209 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
171 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 ...
1
vote
2answers
309 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
526 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
990 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 ':', ...
0
votes
1answer
71 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 ...
2
votes
1answer
664 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
217 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
340 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 ...
0
votes
1answer
139 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
44 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
50 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
300 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
482 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 ...
0
votes
2answers
251 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
...
1
vote
1answer
347 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: ...
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 ...
1
vote
1answer
228 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 ...
3
votes
3answers
988 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 ...
3
votes
1answer
104 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 ...
0
votes
1answer
123 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 ?
12
votes
4answers
4k 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 ...
2
votes
2answers
966 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 * * ...
4
votes
4answers
1k 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 ...

