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

Run two different Rails application on one dedicated server

I have one dedicated server with below configurations i3 - Dual Core - 3.06Ghz H/T 16GB RAM 500GB SATA2 Now I want to execute two different Rails application on one dedicated server. A both application are different but they are using common…
AMIC MING
  • 6,306
  • 6
  • 46
  • 62
16
votes
1 answer

There is no tmp/restart.txt file in Rails app

I use Passenger to start my Rails app, but after I started Nginx, Rails app works fine, but I can't find any restart.txt file under tmp dir. Is it to be created automatically by Passenger or manual? If automatically why doesn't it exist?
ywenbo
  • 3,051
  • 6
  • 31
  • 46
16
votes
4 answers

apache says my DocumentRoot directory doesn't exist

I am using Phusion Passenger to deploy a rails application using apache2 on CentOS 5.5. For some reason, I keep getting this message when I start up apache: > service start httpd Starting httpd: Warning: DocumentRoot [/home/deploy/my_app/public]…
muirbot
  • 2,061
  • 1
  • 20
  • 29
16
votes
1 answer

How do I setup ssl on a rails 4 app? (nginx + passenger)

I have a staging rails app running with passenger on nginx. I want to secure the connections with SSL. I have read a lot of resources online but I have yet to make it run on SSL. So far, my server block on nginx.conf is: server { listen 80; …
user1584575
  • 731
  • 3
  • 10
  • 20
16
votes
2 answers

How to Install PCRE Development Headers on Mac OSX

I just upgraded my MacBook Pro to Mavericks and my local Ruby on Rails development environment isn't running straight off the bat, when I visit localhost I see It works! and remembered I needed to start Phusion Passenger, so when I run passenger…
martincarlin87
  • 10,848
  • 24
  • 98
  • 145
16
votes
4 answers

Where is a log file of passenger

My rails application doesn't response for the address I configured in nginx (No data response. Error 324 (net::ERR_EMPTY_RESPONSE)). Now I'm trying to figure out what the problem could be. Nginx log has per request: libc++abi.dylib: terminate called…
static
  • 8,126
  • 15
  • 63
  • 89
16
votes
4 answers

Recommendations (and Differences) between different Ruby on Rails Production Web Servers

Very soon I plan on deploying my first Ruby on Rails application to a production environment and I've even picked a webhost with all the managed server and Capistrano goodness you'd expect from a RoR provider. The provider allows for Mongrel, Thin,…
Ash
  • 24,276
  • 34
  • 107
  • 152
16
votes
4 answers

Passenger: internal server error

I installed Apache, Passenger and Sinatra and deployed an app. It gives error when trying to access: An error occurred while starting up the preloader: it did not write a startup response in time. Application root /var/www/html/test Environment…
SwiftMango
  • 15,092
  • 13
  • 71
  • 136
15
votes
2 answers

Passenger and Nginx or Passenger Standalone only?

Excuse me if my question may seem inappropriate but i was unable to find any information regarding my question. I am currently choosing a production web server for my rails app, Passenger seems to fit my needs perfectly, although there is a small…
Vitali
  • 690
  • 9
  • 29
15
votes
5 answers

standard way to disable X-powered-by header in Passenger?

I couldn't find any way to disable Passenger's X-Powered-By header: X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.11 Is it possible to do that without modifying its sources and removing headers on the HTTP server level?
Oleg Mikheev
  • 17,186
  • 14
  • 73
  • 95
15
votes
6 answers

Installing Passenger when Nginx is already installed; Possible?

Rather a simple question I believe, is it possible to install passenger when nginx is already installed on your webserver? If the answer is Yes, I already performed these actions: At this very moment I already have nginx installed (for my PHP…
user191766
15
votes
2 answers

ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT)

I am using Ruby 1.9.2, Rails 3.0.4/3.0.5 and Phusion Passenger 3.0.3/3.0.4. My templates are written in HAML and I am using the MySQL2 gem. I have a controller action that when passed a parameter that has a special character, like an umlaut, gives…
Pan Thomakos
  • 34,082
  • 9
  • 88
  • 85
15
votes
1 answer

Apache's limit to POST request size

Is there any limit of the POST request size in apache? What is the default value of this limit and is there any way to increase it? If it matters, Rails application is started on this server using passenger.
roman
  • 5,100
  • 14
  • 44
  • 77
14
votes
2 answers

Passenger on Windows

Is there any way to get Passenger running on a Windows machine? It doesn't appear so, but it seems like many Stackoverflow'ers have used Passenger a lot and I was wondering if its possible.
Ash
  • 24,276
  • 34
  • 107
  • 152
14
votes
7 answers

is mod_rails or Phusion Passenger finally the answer to Ruby on Rails Deployment?

I read from some books that Phusion Passenger is the answer to easy Ruby on Rails deployment. But my friend said that first there was Apache + bunch of Mongrels, and then lighttpd, and then nginx, and now Passenger, and it seems endless... he also…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740