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
1
vote
0 answers

Ruby Passenger Root:Root User

I have the following problem with passenger Permission denied @ rb_sysopen I have only root user in server and install all with root user. Config Passenger server { listen 80; server_name localhost; passenger_enabled on; …
1
vote
0 answers

Sidekiq killed when passenger receive multiple requests

I have a rails app which deployed on ec2 instance with nginx and passenger. For background job, i had used sidekiq with redis. I have 1 gb memory on server. I also have set max_pool_size to 1 for passenger in nginx config, and also set sidekiq…
1
vote
2 answers

Passenger not working Mac OS X 10.6

I have a fair amount of experience installing and using mod_rails on Apache; it's been a nicely-working development environment on my Mac for a couple years now. I just upgraded to a new MacBook Air, and I have tried to replicate my environment on…
Aaron Vegh
  • 5,217
  • 7
  • 48
  • 75
1
vote
1 answer

Nginx only serving static files for a Sinatra application

I'm trying to run ruby (sinatra) script under the Nginx. My folder structure is: /www (775) /www/public (775) /www/public/img.jpg (644) /www/app.rb (775) /www/index.html (775) My nginx.conf is: worker_processes 1; events { worker_connections …
o..o
  • 1,789
  • 5
  • 31
  • 59
1
vote
3 answers

Sinatra application running on Dreamhost suddenly not working

My Sinatra application was running fine on Dreamhost until a few days ago (I'm not sure precisely when it went bad). Now when I visit my app I get this error: can't activate rack (~> 1.1, runtime) for ["sinatra-1.1.2"], already activated rack-1.2.1…
jbrennan
  • 11,943
  • 14
  • 73
  • 115
1
vote
1 answer

Ruby on Rails invalid byte sequence in UTF-8

I run my ruby app in development on my webserver and everything works fine. As soon as I deploy it to the production webserver, whichs runs with passenger I get the following error: I, [2017-07-27T13:15:14.594740 #26105] INFO -- :…
1
vote
1 answer

How can I run two run two passenger servers behind one apache instance?

In order to run passenger behind apache, these two directives are needed: PassengerRoot PassengerDefaultRuby These two have a 'server config' context according to documentation here. Which means Apache is only able to set one ruby version and one…
Rorchackh
  • 2,113
  • 5
  • 22
  • 38
1
vote
1 answer

How do I run Yardoc Server via Passenger?

I know that I can use ProxyPass to serve up my yardoc server instance but since yard uses Rack, shouldn't it be possible to run yard via Passenger? How would I go about setting this up? The Passenger Docs describe a public directory and a config.ru…
Montana Harkin
  • 399
  • 5
  • 13
1
vote
1 answer

Passenger loads fastthread gem from system instead of bundler

I'm getting this error: * Exception Gem::LoadError in PhusionPassenger::Railz::ApplicationSpawner (You have already activated fastthread 1.0.1, but your Gemfile requires fastthread 1.0.7. Consider using bundle exec.) (process 27484) in production. …
Ngan
  • 377
  • 2
  • 11
1
vote
1 answer

Multiple rails apps nginx passenger config

I used this guide to setup server. Here are my configs: nginx/nginx.conf user www-data; worker_processes auto; pid /run/nginx.pid; events { worker_connections 768; # multi_accept on; } http { ## # Basic Settings ## sendfile on; tcp_nopush…
alexxero
  • 93
  • 10
1
vote
1 answer

Multiple rails apps on single IP (nginx + passenger)

I'm looking for the way to serve multiple rails apps on one server. I uploaded one of the apps and it works just fine. But as soon as I create nginx configuration for a new app, it crashes first one. I can't find an appropriate guide for this. If…
alexxero
  • 93
  • 10
1
vote
1 answer

$GEM_HOME and $GEM_PATH are wrongly set in Passenger

I am trying to setup a rails(v4.2.6) application using Passenger(v5.1.4)+Nginx in a docker container. I used official ruby 2.3.1 as base image. Following is my nginx file for site server { server_name example.local; listen 4000; access_log…
Sujan Adiga
  • 1,331
  • 1
  • 11
  • 20
1
vote
1 answer

How can I avoid this Passenger error when using Paperclip in Rails?

I frequently get this error in my Apache error_log when attempting to upload an image. It happens virtually every other request. It is so dependable that if you click "submit" twice on the image upload page, the second request works: [ pid=53580…
RubyRedGrapefruit
  • 12,066
  • 16
  • 92
  • 193
1
vote
1 answer

Python Passenger WSGI Not Running on Shared Host

so I'm on StableHost shared hosting and I am using cPanel to setup a python application (super simple flask app). The issue is, whilst everything gets setup fine, for some reason the Passenger webapp server isn't running or picking it up at all, so…
Jakob
  • 1,129
  • 9
  • 24
1
vote
2 answers

Is there a good resource for data on Ruby Enterprise Edition usage in the wild?

We're having great results with the Phusion stack (Passenger and Ruby Enterprise Edition) in house, but I haven't been able to find much in the way of data on their use in the wild, particularly REE. I'd love something akin to WWR's High Profile…
Abie
  • 10,855
  • 6
  • 32
  • 39
1 2 3
99
100