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/

480 questions
12
votes
1 answer

Different ways to restart Apache?

I've got an Apache question here. For my entire career as a developer, I've been restarting Apache like this: sudo /etc/init.d/apache2 restart I just today deployed my first Rails application, but I was having trouble getting Apache to restart on…
Chris Allen Lane
  • 333
  • 3
  • 12
11
votes
1 answer

Where do Passenger logs go?

I have a Rails application running on CentOS with Apache/Passenger, and I have a little problem: I don't have any logs for my Rails Application, What am I missing? This is my apache conf : ServerAdmin info@domain.com …
Awea
  • 225
  • 1
  • 3
  • 9
10
votes
3 answers

How to run Gollum using mod_rails and Apache in a shared hosting environment (e.g. Dreamhost)?

Gollum is GitHub's new wiki engine written in Ruby. Deployed locally it uses a Sinatra instance to provide a web interface. Is it possible to run it in a shared hosting environment such as Dreamhost using Apache and mod_rails (Phusion Passenger)?
Kenners
  • 113
  • 2
  • 6
9
votes
3 answers

Is it possible to use Shibboleth 2 with Nginx + Passenger?

Do you know if it is possible to use Nginx with Shibboleth?
dimus
  • 305
  • 1
  • 3
  • 7
8
votes
2 answers

What are the pros and cons of using Nginx over Apache with Rails when using Passenger

Passenger recently got support for Nginx, what are the pros and cons of it over Apache as a web server for Rails applications?
Theo
  • 2,505
  • 2
  • 18
  • 10
7
votes
3 answers

Proper Passenger + Apache Permissions to fix error "No such file or directory - config/environment.rb"

I am having a problem with Passenger not being able to start due to an apparently common issue in which Passenger claims: No such file or directory - config/environment.rb. I have searched the web high and low and this appears to be a permissions…
acoustic_north
  • 171
  • 1
  • 2
7
votes
2 answers

Firefox and Chrome keeps forcing HTTPS on Rails app using nginx/Passenger

I've got a really weird problem here where every time I try to browse my Rails app in non-SSL mode Chrome (v16) and Firefox (v7) keeps forcing my website to be served in HTTPS. My Rails application is deployed on a Ubuntu VPS using Capistrano,…
Steve
  • 71
  • 1
  • 3
7
votes
2 answers

Apache2 server does not start cannot pen shared object file

I am working with Apache and Passenger for a Rails project. And a during a restart I got the following error Cannot load /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so into server:…
sid__
  • 299
  • 2
  • 4
  • 7
7
votes
1 answer

How to monitor passenger with monit

I want to set up monit to monitor passenger but everything I've found so far has basically said just monitor your website using monit. If possible I'd like to monitor passenger directly so I have more control over it.
DEfusion
  • 287
  • 3
  • 9
6
votes
1 answer

Is there a backend-aware load balancer for Rails/Passenger?

We have 3 Ruby on Rails applications (A, B and C) installed on a number of application servers. Our front end is HAProxy, backend is Apache + Phusion Passenger. Originally we had all 3 Rails apps installed on each application server, but this setup…
6
votes
1 answer

Rails with phusion passenger and wordpress

We had a site developed using on ruby on rails. It had Website Web services for mobile app Admin panel to manage data. We started using wordpress to manage site content. We have finished development, have to move to production now. This is the…
Venu
  • 215
  • 1
  • 7
6
votes
2 answers

Passenger + nginx: application doesn't run in production mode

I'm using Passenger + Nginx to run a Rails app. If i use "rails_env development;" the application works fine. But if i run in production mode, i get "We're sorry, but something went wrong.". I did ran db:migrate for production and i can access the…
Fernando
  • 1,129
  • 6
  • 23
  • 32
6
votes
2 answers

How to set up Apache with Passenger (mod_rails) on Mac OS X?

I'm an iOS developer, so I have very little experience with Apache and RoR, and it's the first time I'm trying to use Mac OS X as server. http://rubyonrails.org/deploy recommends using Phusion Passenger (mod_rails) with Apache. So that's what I'm…
Erik B
  • 181
  • 1
  • 1
  • 10
6
votes
2 answers

What should my Nginx rewrite rules be for Rails with Passenger for page caching in a subdirectory?

I'm using Nginx 0.7.64, Passenger 2.2.9, Rails 2.3.5. I have my page caching directory set to /public/cache, and I'd like to be able to serve cached pages when requested over HTTP, but always hit the Rails app when requested over HTTPS. The bulk of…
Ian Terrell
  • 171
  • 1
  • 8
5
votes
1 answer

Apache+Passenger not serving the root of the Sinatra application

Since the last Fusion Passenger update, all my Sinatra applications have stopped working on the following env: Apache (2.4.17), Phusion Passenger (5.0.21). Everything was working as expected before updating the passenger middleware. The problem is,…
Kami
  • 1,414
  • 12
  • 25
1
2 3
31 32