0
votes
1answer
186 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
980 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
158 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
1answer
655 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
551 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
1answer
158 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
787 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 ...
0
votes
1answer
373 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 ...
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 ...
0
votes
1answer
408 views

How to use Passenger (apache2 module) with 2+ Rails apps using each one different gemsets

Let's suppose I want to host 2 rails apps in the same server. I'd use RVM (installed as multiuser) and two different gemsets; suppose gemsetA for appA and gemsetB for appB. What's the best way to ...
0
votes
1answer
399 views

Passenger on cPanel WHM, centOS 5.6 with RVM

I'm trying to install passenger on cPanel controlled VPS, but running into problems with permissions. I installed all required dependencies as a root user and i'm running command: [johnny@server1 ~]$ ...
1
vote
1answer
711 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 ...
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 ...
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
1answer
2k views

Installing Passenger in MacOS X using Brew and RVM

#Install RVM bash <<( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) #Install ruby 1.9.2 rvm install 1.9.2 # Set as default rvm --default 1.9.2 # Install passenger in the ...
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, ...
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 ...