Questions tagged [passenger]

Passenger is an application server for Rack, Node.js, and WSGI applications that can be run standalone or as an Apache or Nginx module.

Phusion Passenger is an application server for Rack, Node.js, and WSGI applications that can be run standalone or as an Apache or Nginx module.

3603 questions
29
votes
2 answers

Relationships between Rubygems, Bundler, and RVM

Following current best practices, what is the proper role for each of these? Based on my limited understanding of Bundler and RVM, it seems that they--like Rubygems--have their own install locations for gems. Plus, for each one, there's the option…
rlkw1024
  • 6,455
  • 1
  • 36
  • 65
29
votes
2 answers

Update new Django and Python 2.7.* with virtualenv on Dreamhost (with passenger)

Dreamhost is a great host for small project. And it's also Django friendly hosting. Everything good except python and Django version is a little bit out of date. Well it's a whole day of work to figure out how to update Python 2.7.3, Django 1.4 on…
James
  • 13,571
  • 6
  • 61
  • 83
28
votes
1 answer

The website is under heavy load + ROR

We are running a website with ROR on CentOS 6 with 2 web server and 1 database server. Some times it shows message "The website is under heavy load"... Can some plese help you what to check here. We are using Passenger 4.0.21 with Ruby 1.8.7 and …
Rahul Kumar
  • 666
  • 2
  • 7
  • 13
27
votes
5 answers

Unable to start the Phusion Passenger watchdog?

I have done a Phusion Passenger setup on Ubuntu 10.04, with Apache2. Whenever I restart the Apache server I got the following error message, and the Rails application is not running. [error] *** Passenger could not be initialized because of this…
suvankar
  • 1,548
  • 1
  • 20
  • 28
26
votes
2 answers

How do I set up a Sinatra app under Apache with Passenger?

Let's say I have the simplest single-file Sinatra app. The hello world on their homepage will do. I want to run it under Apache with Phusion Passenger, AKA mod_rails. What directory structure do I need? What do I have to put in the vhost conf…
kch
  • 77,385
  • 46
  • 136
  • 148
26
votes
2 answers

Passenger hosted Rails app *painfully* slow, but the server is a beast

I have been working to deploy a relatively large Rails app (Rails 2.3.5) and recently doing some load testing we discovered that the throughput for the site is way below the expected level of traffic. We were running on a standard 32bit server, 3GB…
Matthew Savage
  • 3,794
  • 10
  • 43
  • 53
25
votes
2 answers

Capistrano to deploy rails application - how to handle long migrations?

So I am using Capistrano to deploy a rails application to my production server (apache+passenger) and at the moment deployment usually goes along the lines: $cap deploy $cap deploy:migrations It got me wondering, let's say my db:migrations took a…
Clinton
  • 3,638
  • 3
  • 26
  • 33
25
votes
4 answers

We're sorry, but something went wrong. - with Rails, Apache, Passenger

I have Rails 3.2.3 with Apache and Passenger. I have a project working in development mode. When I switch the project to production mode (Passenger standard) it gives me an HTTP Error 500: We're sorry, but something went wrong. This happens even…
Michael Stark
  • 635
  • 2
  • 9
  • 17
24
votes
3 answers

unicorn request queuing

We just migrated from passenger to unicorn to host few rails apps. Everything works great but we notice via New Relic that request are queuing between 100 and 300ms. Here's the graph : I have no idea where this is coming from here's our unicorn…
Mike
  • 5,165
  • 6
  • 35
  • 50
24
votes
10 answers

Phusion Passenger Error: You have activated rack 1.2.1, but your Gemfile requires rack 1.2.2

I'm trying to run a Ruby on Rails app on a Dreamhost shared server. All is well so far except one weird bug I have not been able to unravel. Sometimes when I visit the web app, I get presented with a Phusion Passenger error saying, You have…
aren55555
  • 1,677
  • 1
  • 20
  • 34
24
votes
5 answers

Nginx and passenger dependencies issue (Digital Ocean Deployment)

Im trying to follow this guide https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-passenger-and-nginx-on-ubuntu-14-04 When I want to continue with the tutorial after running this command: sudo apt-get install…
Sebas Mardini
  • 241
  • 1
  • 2
  • 4
22
votes
2 answers

Passenger: cannot load such file rubygems/builder

I was trying to install passenger with Apache2 and ruby 2.0, and I had this line of error when I am doing: passenger-install-apache2-module Error: -------------------------------------------- Compiling and installing Apache 2 module... cd…
SwiftMango
  • 15,092
  • 13
  • 71
  • 136
21
votes
4 answers

Rails Passenger problem with Apache2

I'm trying to setup a ruby on rails server on ubuntu10.10 with apache2 and mod_rails (Phusion Passenger). I already installed ruby 1.9.2-p0 and rails 3.0.8 and installed Passenger with the passenger-install-apache2-module and the passenger gem…
Andre Schweighofer
  • 2,759
  • 1
  • 26
  • 25
21
votes
3 answers

Where is the Phusion Passenger config file?

Where is the Apache module installed for Phusion Passenger? I want to adjust some of the config values found in "Configuring Phusion Passenger". I don't know where this config file is. I've installed everything like the documentation says for Nginx.
NatGordon
  • 956
  • 2
  • 10
  • 17
21
votes
3 answers

Nginx unknown directive for passenger_root

I'm running into an error when I try to restart the server. I don't know how to fix this. deploy@user:~$ sudo nginx -s reload nginx: [emerg] unknown directive "passenger_root" in /etc/nginx/nginx.conf:66 I added these lines to the nginx…
Papouche Guinslyzinho
  • 5,277
  • 14
  • 58
  • 101