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
3 answers

Passenger error: No such file or directory - config/environment.rb

I installed Redmine on MacOSX Server 10.6.8 according to this installation description. So far everything works fine: When I start webrick the server serves the Redmine pages. The gems and redmine are installed under the user "redmine". After that…
0
votes
1 answer

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 application. Each server runs on different port. Main…
Riateche
  • 99
  • 4
0
votes
1 answer

Nginx - Passenger - Rails 3.2 not responding

I am struggeling to get my rails 3.2 app running on a nginx - passenger - ruby 1.9.3 setup. here is what I already did: installed passenger gem installed rvmsudo passenger-install-nginx-module I added this to my nginx conf at…
alex
  • 93
  • 1
  • 6
0
votes
2 answers

How to install Phusion Passenger using RVM on Rackspace server?

I am getting ready to start hosting my own Ruby applications. I already have RVM installed on my production server. Now I would like to install Passenger. I have Ruby 1.9.2 set as the default. I installed the passenger gem and ran…
Andrew
  • 3,453
  • 9
  • 33
  • 36
0
votes
1 answer

Rails on Dreamhost dedicated alongside existing PHP apps

I'm a developer, and don't have much administration experience. The client wants to host a Rails 3.2 app on his Dreamhost dedicated server (running Debian) which already hosts a bunch of other sites (all have the same IP). I'm fine to go with…
0
votes
1 answer

Apache/Passenger and cpulimit

I run a ruby on rails site that processes email - the email is dumped directly into the web app via a POST from postfix. At times I can get a burst of email coming in causing a prolonged surge in CPU usage making my VPS provider understandable…
0
votes
1 answer

Ruby on Rails/Passenger with Apache2 - setting up sub domains

I'm trying to configure Apache2 and mod_passenger so I can have one site at the root of the server example.com/ and another totally different rails instance at example.com/second. My context looks like this so far:
0
votes
2 answers

Timeouts somewhere on our stack (haproxy, nginx, rails, memcached)

We have some timeouts that are driving me crazy, under virtually no load (probably a couple people hitting the servers per minute). We use nginx to redirect non-SSL to SSL, terminate the SSL, and then reverse proxy the request to haproxy which sends…
VNO
  • 121
  • 5
0
votes
2 answers

Apache Passenger displaying my Rails application contents?

I have installed mod_rails (phusion passenger) for Apache on Ubuntu 11.10. Ruby and Rails are running fine, and so does mod_rails. I have setup a site on dev.localhost, which is my ruby app. The app is called my_project which resides in…
0
votes
1 answer

mod_rails. Apache + Nginx. After installing passenger Apache doesn't start

I've installed Nginx for optimizing the speed of Apache requests. For some weeks everything was fine, all my sites had started to fly indeed. BUT, I've decided to install passenger, and has broken my Apache. It's not starting... So, I think it's…
Cfyzz
  • 1
0
votes
2 answers

Nginx + Passenger = Slow response

I'm running nginx 1.0.4 with Passenger 3.0.11 and Rails applications and I've noticed that on every request I made, it takes about 5 seconds to respond for the first request, if I reload it, after the first request completes, it's fast but if I wait…
Kleber S.
  • 131
  • 5
0
votes
1 answer

Rails application dying slowly on Mac Lion 10.7.2 with Phussion

I've asked this question over at stackoverflow, but I thought someone here might have insight as well. I've recently deployed my first Rails application on a Mac mini running Lion 10.7.2 with Apache and Phusion Passenger. It's a quad core machine…
0
votes
1 answer

Django returns 502 error when user apps are added

I've configured a Debian 6 server with nginx, Passenger, and MySQL to run Django, and was running through the Django tutorial with everything going swimmingly until I tried to turn on the admin interface. Now it returns a 502 bad gateway whenever I…
futuraprime
  • 101
  • 2
0
votes
3 answers

How do I make nginx start (user install with passenger) on boot?

I have installed nginx on my Ubuntu 10.04 box. With passenger 3. Now I've got everything setup correctly; how do I ensure that nginx will start on boot everytime?
0
votes
1 answer

Phusion Passenger without RVM

Usually I use RVM + Passenger for my rails applications. Recently, however, I needed to use Passenger without RVM. And I'm confused about gem location. What's the location of gems that Passenger without RVM uses? The system gems or what? If I do…
Sam Kong
  • 883
  • 1
  • 8
  • 10