Questions tagged [phusion-passenger]

Phusion Passenger (originally called mod_rails or mod_rack) is a Rails application server designed for easy deployment and low maintenance hosting of Rack apps, including Rails, Sinatra, Camping, and other ruby-based web development micro-frameworks. Passenger supports both Apache and NGinx webservers and is written in C++.

More about Phusion Passenger: http://www.modrails.com/

482 questions
0
votes
2 answers

Website running on subdomain, how to redirect root to other domain?

I have a Ruby on Rails application running at subdomain (e.g. mydomain.com/site) on nginx with Passenger. Basically what I want it to do is keep application running at subdomain (mydomain.com/site) and redirect domain's root (mydomain.com) to…
Kreeki
  • 103
  • 4
0
votes
1 answer

Nginx with Passenger setup problems

I'm trying to setup nginx webserver with Passenger support for Ruby on Rails application on Ubuntu 10.04 (on sub URI). All went fine until I tried to access the server/application from the browser. My instalation of nginx is in location /opt/nginx #…
Kreeki
  • 103
  • 4
0
votes
1 answer

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 global gemset rvm @global gem install passenger …
Nerian
  • 157
  • 2
  • 10
0
votes
1 answer

Redmine on Apache2 with Passenger issue

I installed Redmine and run it in Apache2 with the Passenger module. Apache2 boots, Passenger module gets loaded and the Redmine welcome page is shown, however when trying to login or navigate to other parts of the Redmine site, the browser keeps…
nkr1pt
  • 281
  • 1
  • 8
0
votes
1 answer

Host Ruby on Rails Tracks on Apache2

I'm having problems getting Tracks to be hosted via Apache2 on Ubuntu 10.04. I've followed several tutorials, but none work. I've got the Tracks git repo in /var/lib/tracks and a symbolic link to /var/lib/tracks/public in /var/www.I've installed…
E-rich
  • 137
  • 1
  • 1
  • 8
0
votes
5 answers

Configure Apache with Ruby on Rails

I'm trying to install Tracks roughly following this guide while trying to configure Apache, but I get the following error when trying to restart Apache: /etc/init.d/apache2: 1: RailsBaseURI: not found My current virtual host configuration…
E-rich
  • 137
  • 1
  • 1
  • 8
0
votes
3 answers

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 I'm just not making any headway. It seems that this…
0
votes
1 answer

ROR + Passenger: Memory consumption

I am optimizing my VPS where I unfortunately have to run ROR under passenger. I've set it up so that it shutdown all application instances after 1 minute idle time, but there is still substancial amount of memory consumed by the following parts,…
BarsMonster
  • 724
  • 4
  • 12
  • 26
0
votes
1 answer

Passenger on Debian failed with "only ET_DYN and ET_EXEC can be loaded"

I tried to install passenger using rvm and ruby 1.9.2 on my debian lenny/sid today, but i get this error: apache2: Syntax error on line 295 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/conf.d/passenger.conf: Cannot load…
bitboxer
  • 201
  • 2
  • 8
0
votes
1 answer

Nginx + Passenger running a RoR app is returning 401 when 302 is expected

I've got a RoR app running on Passenger on top of Nginx. I'm using devise for my authentication method and have a link that gets sent in an email to users that requires authentication to view. If a user clicks the link from Outlook, and IE is the…
DBruns
  • 103
  • 4
0
votes
1 answer

Apache2 SSL And Passenger Configuration Issue

I have the following virtual hosts configuration blocks. DocumentRoot /var/www/html/TestApp/public/ Allow from all Options -MultiViews …
0
votes
2 answers

Phusion passenger fails with: uninitialized constant Object::Rails

I am deploying my app with capistrano/passenger/nginx. The deployment goes well. However, the app dies when I try to load it: Error message: uninitialized constant Object::Rails The last line of the backtrace…
Mike
  • 121
  • 3
0
votes
1 answer

What is this phusion wrapper script doing?

if [[ -s "/usr/local/rvm/environments/ree-1.8.7-2010.02" ]] ; then source "/usr/local/rvm/environments/ree-1.8.7-2010.02" exec ruby "$@" else echo "ERROR: Missing RVM environment file: '/usr/local/rvm/environments/ree-1.8.7-2010.02'" >&2 …
Blankman
  • 2,891
  • 10
  • 39
  • 68
0
votes
1 answer

Configuration issue with nginx, passenger & Ruby on Rails "no such file to load -- config/environment"

I recently got a Linode and followed a guide on how to set up Ruby On Rails with Nginx on Debian 5. Everything seems to be setup properly (no errors or issues following that guide). I've uploaded the Ruby application I was working on locally,…
jyoseph
  • 133
  • 1
  • 7
0
votes
2 answers

Capistrano requiring root password to deploy - bad

I'm using Capistrano to deploy to my VPS (ubuntu, on Linode) and it seems to be requiring my root user's password to complete part of the deployment. This is not good as I see it. (I'm rolling with nginx and Passenger.) I have recursively chown'd…
anxiety
  • 111
  • 3