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

Ruby on Rails Server options

The whole issue of setting up a development server for my Ruby on Rails application confuses me. There are WEBrick, Mongrel, Passenger, Apache, Nginx and many more I am sure, and I don't really understand the different roles they play. I started off…
pingu
  • 8,719
  • 12
  • 50
  • 84
149
votes
18 answers

cannot load such file -- bundler/setup (LoadError)

I'm setting Rails 4 application with Ruby 2.0, but I'm getting "Web application could not be started" and get this trace: cannot load such file -- bundler/setup (LoadError) …
Mr_Nizzle
  • 6,644
  • 12
  • 55
  • 85
88
votes
7 answers

Slow initial server startup when using Phusion Passenger and Rails

To jump on the band-wagon of Phusion Passenger we've setup a staging server for a small rails app to test things out. So far it has been very nice to use, it makes installing/configuring and deploying apps a breeze. The problem is the site we're…
tsdbrown
  • 5,038
  • 3
  • 36
  • 40
74
votes
6 answers

Is it possible to put binary image data into html markup and then get the image displayed as usual in any browser?

It's an important security issue and I'm sure this should be possible. A simple example: You run a community portal. Users are registered and upload their pictures. Your application gives security rules whenever a picture is allowed to be displayed.…
Joern Akkermann
  • 3,542
  • 8
  • 33
  • 41
70
votes
9 answers

"Incomplete response received from application" from nginx / passenger

I tried to deploy my rails app on nginx and ubuntu via capistrano like the tutorial on the page https://gorails.com/deploy/ubuntu/14.04. but at the end i get an error message: Incomplete response received from application in my browser. this is…
juicy
  • 865
  • 2
  • 8
  • 7
67
votes
3 answers

When to restart and not reload Nginx?

When is it necessary to restart nginx and reload will not suffice? Does it make a difference if an extension like passenger is used? Should the service be restarted if it consumes too much memory. Any other reasons for restarting Nginx, particularly…
deepak
  • 7,230
  • 5
  • 24
  • 26
47
votes
6 answers

Rails 3: Passenger can't find git gems installed by bundler

Rails 3.0.0, Passenger 2.2.15: Create a new Rails project Add gem 'paperclip', :git => 'git://github.com/lmumar/paperclip.git', :branch => 'rails3' to your Gemfile Do bundle install Everything OK, starting with rails/script server & accessing also…
junique
  • 901
  • 1
  • 10
  • 11
42
votes
2 answers

Phusion Passenger (for Dummies!)

I'm an experienced LAMP developer moving into Rails. I have a very stupid question to ask: what the hell does Phusion Passenger do? I've read a lot of documentation, I've Googled, I've read Wikipedia, I've read Stack Overflow. I've even installed…
Chris Allen Lane
  • 6,334
  • 5
  • 25
  • 31
40
votes
3 answers

Why should I care about RVM's Gemset feature when I use Bundler?

I just don't get it. I thought, Bundler was developed to resolve version conflicts between gems. So that I just have to require "bundler/setup" and everything is fine, knowing that Bundler will load the correct versions of all my gems and their…
t6d
  • 2,595
  • 3
  • 26
  • 42
36
votes
2 answers

What is optimal value for Phusion passenger PassengerMaxRequestQueueSize

I know this depends on the box hardware, but for example if there are set 100 processes, the default queue is also 100. Does it makes sense to increase PassengerMaxRequestQueueSize to 200 or 300? Probably this depends on free memory. Thoughts? The…
kode
  • 1,058
  • 1
  • 14
  • 27
36
votes
1 answer

uninitialized constant ActionDispatch::Session::EncryptedCookieStore (NameError)

i'm on rails 4 with passenger. everything was working great until i did a bundle just now. now i'm hitting the following error: Web application could not be started uninitialized constant ActionDispatch::Session::EncryptedCookieStore (NameError) …
yee379
  • 6,498
  • 10
  • 56
  • 101
35
votes
4 answers

How can I find Phusion Passenger version?

How can I find my Phusion Passenger version? is there a command i can run from the terminal?
leonel
  • 10,106
  • 21
  • 85
  • 129
32
votes
9 answers

Nginx configuration leads to endless redirect loop

So I've looked at every sample configuration I could find and yet every time I try and view a page that requires ssl, I end up in an redirect loop. I'm running nginx/0.8.53 and passenger 3.0.2. Here's the ssl config server { listen 443 default…
brianthecoder
  • 477
  • 1
  • 4
  • 7
30
votes
6 answers

How to avoid nginx "upstream sent too big header" errors?

I'm running nginx, Phusion Passenger and Rails. I am running up against the following error: upstream sent too big header while reading response header from upstream, client: 87.194.2.18, server: xyz.com, request: "POST /user_session HTTP/1.1",…
netflux
  • 3,648
  • 6
  • 37
  • 40
29
votes
7 answers

Error while loading shared libraries: 'libpcre.so.0: cannot open shared object file: No such file or directory'

I just installed Passenger 3.0.11 and nginx and got this error: Starting nginx: /opt/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory
user908798
  • 688
  • 4
  • 12
  • 16
1
2 3
99 100