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
1 answer

Nginx can't find PCRE library on Ubuntu Server

I have been trying to get my Passenger and Nginx setup to work with php files but I am having problems with the PCRE regular expressions library. Install all went fine so I'm assuming it found the libraries at that point but now when I include a…
user105912
0
votes
1 answer

mod-redmine && mod-passenger: Passenger refuses to load (here: Redmine) after rewrite uri. Where to put RailsBaseURI?

i've a working Redmine-instance at /var/lib/redmine. (Redmine configuration is not the issue) ln -s /var/lib/redmine/public /var/www/redmine chown -R www-data:www-data /var/www/redmine echo "RailsBaseURI /redmine" >…
0
votes
1 answer

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
1 answer

Using PCRE 8.20 with Nginx 1.0.11 and Passenger

I downloaded and extracted the nginx source to ~/nginx-1.0.11, then downloaded PCRE 8.20 directly since the latest version of the Passenger installer can't download it automatically. I did the typical ./configure, make, sudo make install for PCRE…
Adam
  • 3
  • 2
0
votes
1 answer

Setting up Passenger + Nginx on Arch

I'm trying to setup passenger and nginx on Arch, but I can't seem to get the nginx server to even start. I've followed the guide found here: https://wiki.archlinux.org/index.php/Nginx#Ruby_Integration_.28Ruby_on_Rails_and_Rack-based.29 under option…
Noah Clark
  • 547
  • 4
  • 10
  • 20
0
votes
1 answer

Can I compile Passenger (mod_rails/mod_rack) to make a statically linked Apache httpd?

I prefer to disable httpd dynamic module loading on my production server. I've been using mod_jk linked statically into httpd for quite a long time and it proved to be stable. Now I would like to add Ruby Passenger (mod_rails/mod_rack) to my…
Oleg Mikheev
  • 153
  • 1
  • 1
  • 7
0
votes
1 answer

Error installing nginx with passenger-install-nginx-module on ubuntu 11.10 & rails 3.1.0

Here is the error message from installing nginx with passenger-install- nginx-module (rvmsudo). The nginx is 1.0.6 installed under /opt/nginx (default). gem install passenger successfully prior. /usr/bin/ld:…
user938363
  • 97
  • 2
  • 11
0
votes
1 answer

mod_rewrite rules for non-default page cache directory for Rails application with distinction between mobile directory and www directory

My Question is similar (almost the same) to another question asked here: but with a twist. Does anybody have some working Apache mod_rewrite rules that enable Phusion Passenger (mod_rails) to use a non-default location for the page cache within…
0
votes
1 answer

IE Ajax Request times out even though server is responding

This is a repost of the following SO question because I'm pretty convinced that this is a networking/server issue, and not something wrong with my code. https://stackoverflow.com/questions/7842530/ie-9-30-second-ajax-post-requests Here's the gist:…
0
votes
1 answer

nginx/passenger waits if post data exceeds content-length

I have an nginx 1.0.6 server set up in front of a Ruby on Rails application using Passenger. I have noticed some strange behaviour when making POST requests. Consider this little code snippet: http://pastie.org/2803941 I make two identical POST…
0
votes
1 answer

newer nginx (1.0.6) is not running on ubuntu server

Installed nginx 0.8.54 with apt-get from ubuntu repo. Executing command "passenger-install-nginx-module" installed nginx 1.0.6 (I believe). After restart however, nginx -v still shows version 0.8.54. How to fire up the nginx 1.0.6? Here is the error…
user938363
  • 97
  • 2
  • 11
0
votes
1 answer

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 manage this situation with Passenger module for…
0
votes
1 answer

Ruby/Passenger stops working after update to OpenSSL

Someone has run a yum update on the CentOS box (Linux 2.6.28.1-xxxx-std-ipv4-32 #2 SMP Fri Jan 30 09:55:02 UTC 2009 i686 i686 i386 GNU/Linux) that runs a Ruby on Rails app (Redmine) served with Passenger (Phusion Passenger version 3.0.7). As a…
François Beaune
  • 133
  • 1
  • 1
  • 6
0
votes
1 answer

multiple PassengerRoot?

how do you define multiple passengeroot - my gemsets are different so something like this: PassengerRuby /Users/david/.rvm/wrappers/ruby-1.9.2-p290@rpgweb/ruby PassengerRuby /Users/david/.rvm/wrappers/ruby-1.9.2-p290@eweds/ruby And obviously that…
David
  • 167
  • 1
  • 1
  • 8
0
votes
1 answer

Running a command before the Rails server starts under Apache

I'm currently running Apache with Passenger and a Rails 3.1 application. In my environment setup, I need to start sunspot - rake sunspot:solr:start RAILS_ENV=production - before I run the server. Since the server starts auto-magically when Apache…
user82250