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

Can't get Flask running using Passenger WSGI on Dreamhost shared hosting

I'm trying to get a Flask "hello world" application working on a Dreamhost shared server, following the instructions on their wiki, but I'm not having any luck. My Flask application is the "hello world" one from the Flask quickstart guide: from…
Dave Hollingworth
  • 3,670
  • 6
  • 29
  • 43
12
votes
2 answers

Why is this permissions error occurring with mod_passenger.so?

I'm setting up a production RHEL 6 server with RVM and Passenger. I've gotten through installing RVM (to my home dir), installing Passenger, and adding the required lines to httpd.conf: LoadModule passenger_module…
Ethan
  • 57,819
  • 63
  • 187
  • 237
12
votes
1 answer

What's the difference between Rack and Passenger?

I'm trying to deploy a Sinatra app to Dreamhost and it says the following: Since DH supports Passenger, which in turn supports Rack-based ruby applications, DH does indeed support Sinatra. I'm having difficulty parsing that statement -…
Yen
  • 2,176
  • 3
  • 19
  • 27
12
votes
3 answers

Is it possible to change Passenger Ruby version without recompiling?

I tried changing the default ruby command to 1.9.2 but Passenger keeps running 1.8.7 Is Passenger compiled with Ruby embedded?
Zequez
  • 3,399
  • 2
  • 31
  • 42
12
votes
1 answer

Ruby on Rails 3 + Apache2 + Phusion Passenger: Bundler::GemNotFound exception

I'm trying to deploy a Rails app on an Apache2 server by using Phusion Passenger. While everything works well locally, I am getting the infamous "Bundler::GemNotFound" error while deploying: Could not find abstract-1.0.0 in any of the sources…
Régis B.
  • 10,092
  • 6
  • 54
  • 90
12
votes
2 answers

Running Rails+Passenger+Devise from a subdirectory?

I have a server A which proxies all traffic on /rails to server B. So I setup this virtual host, and most things work...okay. link_to is broken and generates urls to /users as opposed to /rails/users, but I can work around that. If I set…
Stefan Kendall
  • 66,414
  • 68
  • 253
  • 406
12
votes
3 answers

Rails/Passenger/Node.js: ExecJS "Could not find a JavaScript runtime"

I'm trying to use Node.js as the JavaScript runtime for my Rails application. I'm using the Phusion Passenger module with Nginx as my web server on Ubuntu 12.0.4. Every time I visit my Rails application I get an error page that appears to be…
Adam
  • 1,755
  • 20
  • 31
12
votes
1 answer

remove : '/etc/apt/sources.list.d/passenger.list'

m using Rails and each time I'm generate a command (i.e. rails generate scaffold Article) I'm having this output at the end of the scaffold: ~/Documents/programming/rails_book/beginning_rails_3/blog3_2_11$ body:text published_at:datetime…
Papouche Guinslyzinho
  • 5,277
  • 14
  • 58
  • 101
12
votes
2 answers

Rails 4 - Background Image Appears in Localhost but not in production

I recently rewrote one of my Rails 3.2.13 applications to use Rails 4. I used twitter-bootstrap-rails 2.1.2 in my Rails 3 application. When I rewrote the Rails 4 version it started using version 2.2.8. I'm using Phusion Passenger 4.0.20 on my…
12
votes
1 answer

Amazon Linux stack installing Phusion Passenger

I'm trying to install Phusion Passenger to launch a RoR app on an AWS stack with Amazon Linux 64 bit. When Passenger checks for required software I'm getting the following error: Curl development headers with SSL support... not found I tried…
CV-Gate
  • 1,162
  • 1
  • 10
  • 19
12
votes
0 answers

Capistrano, Passenger and Nginx - How do they work together?

I'm currently using Capistrano, Passenger and Nginx with my Rails application, but still, I'm confused on how it all works together. Here's what I know so far: Nginx is a web server that responds to requests, like Apache but more…
gerky
  • 6,267
  • 11
  • 55
  • 82
11
votes
1 answer

Rails 3.1 application deployment tutorial

I'm looking for a good deployment tutorial for a Rails 3.1.1 application on a server. And by good I actually mean complete. The reason I'm posting this question is that although there are tons of tutorials out there on the web (google, blogs, books,…
Victor Blaga
  • 1,822
  • 4
  • 19
  • 28
11
votes
3 answers

Setting up Rails app on Apache with passenger - Rails doesn't seem to load

I am trying to set up Rails on a Ubuntu instance by following along with documentation such as https://help.ubuntu.com/community/RubyOnRails. I am trying to set up the app from the Rails Getting Started page here:…
Episcopus
  • 165
  • 1
  • 1
  • 8
11
votes
2 answers

After ruby update to 2.5.0, require 'bundler/setup' raise exception

Call rake from rails app after ruby 2.5.0 update, does not work. $ rake Traceback (most recent call last): 22: from ./bin/rake:4:in `
' 21: from ./bin/rake:4:in `require_relative' 20: from…
Exsemt
  • 1,048
  • 10
  • 22
11
votes
6 answers

How to limit Phusion Passenger memory usage?

Is there a way to limit the amount of memory Phusion Passenger uses when serving up your app? My host comes by and kills the process after I get a bunch of traffic and so I end up serving up blank pages. Is there anything I can do to say "hey don't…
joebob
  • 143
  • 1
  • 8