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 ...

learn more… | top users | synonyms (1)

2
votes
1answer
2k views

How to tell how Apache might be broken and preventing the ruby passenger module from installing

I'm installing a ruby on rails application to a Ubuntu 14.04 server. As part of it, I need to install the passenger module for Apache. When I go to run the "passenger-install-apache2-module" I receive ...
2
votes
3answers
6k views

Redmine install not working and displaying directory contents - Ubuntu 10.04

I've gone through the steps to set up and install the redmine project tracking web app on my VPS with Apache2 but I'm running into a situation where instead of displaying the redmine app, I just see ...
0
votes
2answers
1k views

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 ...
2
votes
3answers
1k views

Proper Passenger + Apache Permissions to fix error “No such file or directory - config/environment.rb”

I am having a problem with Passenger not being able to start due to an apparently common issue in which Passenger claims: No such file or directory - config/environment.rb. I have searched the web ...
0
votes
2answers
2k views

500 error with deploying rails application via apache2+passenger

I finally completed my own app, so the only work left is deploying the app. I'm using Ubuntu 10.04 and apache2(installed by apt-get), so I'm trying to deploy through passenger. I installed passenger ...
1
vote
1answer
1k views

Package issue with Ubuntu 10.10 and passenger requirements

I'm trying to get Passenger working with Ubuntu 10.10 (Maverick Meerkat), and I'm running into a problem. It seems that the Passenger installer is not recognizing the virtual package. I'm getting ...
0
votes
1answer
1k views

Why is rails application always running in development mode?

I created rails application, and everything appears to be working fine, but I can't seem to figure out how to run the application in production mode. I specified in the example.com.conf (Apache ...
0
votes
1answer
52 views

Let's encrypt allows only one vhost per file on ubuntu/apache

Currently I am trying to set up let's encrypt on my Ubuntu 16.04 server. I am using Apache 2.4.18 as my webserver and also passenger. I am using the following command to generate my certs and to ...
1
vote
1answer
3k views

Rails program is not being run on apache + passenger - only directory listing

I have successfully installed Phusion passenger + Apache 2 + Rails 3.1 program + git on a linux Debian 6. I ran passenger-install-apache2-module and followed the configuration instructions. I followed ...
2
votes
1answer
1k views

How to setup Proxy Cache with Nginx and Passenger

I use Nginx and Passenger for my rails application. I want to use proxy cache to cache my pages. However, every request go direct to my rails application. I don't know what wrong with my configuration....
0
votes
0answers
1k views

Apache 2.4 & Phusion Passenger generating 403 Error

I'm trying to setup a Rails application (Project Fedena) on the following Server configuration. I am using the virtual host configuration below. I get a 403 when I visit the IP/Domain. There's only ...
0
votes
1answer
1k views

Rails 3 passenger nginx application spawner server error on Synology NAS

Question updated, please read UPD2. I'm trying to deploy app through passenger nginx module on DS710+ (ruby 1.9.2p0 installed). There is syntax error relative to has_and_belongs_to_many_association....
0
votes
0answers
42 views

Installing Apache Passenger 2.2.2 module fails

I'm attempting to install a Passenger 2.2.2 module (from a gem) (Centos 6.7 + Apache 2.2.15)- attempting to install/compile this module fails as shown below: RubyGems Environment: - RUBYGEMS VERSION:...
0
votes
1answer
16 views

After commenting out virtualnameHost on passenger_vhosts.conf my apache2 is only resolving to one domain

I have to hosts (domains) that i have added on the passenger_vhosts.conf. I had namevirtualhost*:80 on my conf file and i was able to resolve for two domain, after updating my apache2 the ...
1
vote
2answers
2k views

Configure in Apache two Ruby on Rails apps in the same Server with same IP

I previously ran an two Ruby and Rails applications, one of them by using rails console command, the another one using Apache trough Phusion Passenger. Both applications ran in same IP, the only ...
0
votes
0answers
78 views

Message from application: cannot load such file — puppet/util/command_line (LoadError)

I have configured puppet with passenger (using - https://docs.puppet.com/guides/passenger.html AND http://www.olindata.com/blog/2014/09/setup-puppet-master-passenger-and-apache-centos ). [root@a-...
0
votes
2answers
35 views

nginx permission issue serving static file - RedHat 7 SELinux issue

This is a new installation which I followed the passenger+nginx guide. This will eventually be a rails site, but for now I am trying to get static files to serve, and am unable to figure out the ...
0
votes
0answers
32 views

Trouble with Passenger in multiuser RVM environment

I have Passenger 5.0.28 installed as a gem, and configured with NGiNX 1.9.15. In other environments where I didn't have to set up multi-user for RVM this works fine, but now I'm having trouble getting ...
0
votes
0answers
32 views

Running Rails apps on subdomain with Apache and mod_rewrite WITHOUT VirtualHost

I am host a number of domains on Apache (Ubuntu). I am not using VirtualHost for all the domains, I am using mod_rewrite (and a custom RewriteMap to boot) to map domains and subdomains to a variety ...
3
votes
4answers
124 views

how can we run multiple applications with different domain & port numbers in apache

I Have two applications running on my server with domains x.abc.com admin.x.abc.com x.abc.com is running on port 80 admin.x.abc.com is running on port 8080 I can able to access x.abc.com from ...
0
votes
1answer
7 views

Passenger Standalone Throws Nginx 404

I have a script that starts a passenger standalone server for my rails app on boot. When I run this script from the command line it works as expected. However when its run by rc.local or crontab it ...
0
votes
0answers
117 views

403 Forbidden error on Ubuntu + Apache2 + Passenger Rails server

Just started a server on Linode, with Ubuntu 14, Apache and Passenger. Deployed a rails app with capistrano, configured and enabled the site, but it launchs a 403 error when attempting to access: ...
1
vote
0answers
27 views

Making SSL work for a Ruby on Rails application with shared hosting [closed]

My problem: getting my Ruby on Rails app to run on JustHost shared server with SSL. The individual pieces work separately on the shared server: I have set up my app to work through the host's ...
0
votes
0answers
38 views

My wordpress/MYSQL is consumming way too much memory, how do i act on it?

I have a Ubuntu server running apache + mysql + PHP +postgres + passenger Mysql is often crashing, putting wordpress out of service. I asked the question here : Wordpress + PHP+ apache +mysql, mysql ...
2
votes
4answers
8k views

puppet master REST API returns 403 when running under passenger works when master runs from command line

I am using the standard auth.conf provided in puppet install for the puppet master which is running through passenger under Nginx. However for most of the catalog, files and certitifcate request I get ...
-1
votes
3answers
3k views

Rails application only showing Nginx default page [closed]

I am having problems with my Rails application that will use Nginx and Passenger. I've already deployed the application and have setup the nginx config file as such: server { listen 80; ...
3
votes
2answers
3k views

How to change the temporary upload directory nginx/passenger?

When a user uploads /tmp/stream* files are created during the upload. How do I can I change the temporary upload directory from: /tmp to: /home/user/tmp Running: nginx 0.8.53 Phusion ...
1
vote
1answer
78 views

Deploying Rails App on Elastic Beanstalk - Is WEBrick automatically replaced by passenger?

Quick Question: I develop a ruby on rails application on my laptop. Rails has WEBrick installed as an out of the box APPLICATION server. I deploy my app on amazon web services elastic beanstalk. I ...
1
vote
1answer
1k views

Passenger complains about Apache permissions despite 777

I installed Redmine on Fedora 18. The installation works when tested with webrick, as explained in the official HowTo. Now I want to use Passenger and Apache to host Redmine. What I get is: ...
4
votes
5answers
3k views

Passenger 2.2.4, nginx 0.7.61 and SSL

Has anyone had any luck configuring Passenger and nginx with SSL? I've spent hours trying to get this configuration working as I'd like, using what few resources there are out there on the net, and I ...
0
votes
2answers
104 views

Skip passenger instance stop on apache2 reload

When apache reloads cofig files all instances of passenger are stopped and must be spawned again, it creates a problem, because spawn of rails application isn't fast process. Is there any workaround ...
0
votes
0answers
149 views

Nginx Using KiB of shared memory for push module in

I'm setup nginx with passenger on a ubuntu 14.04 and the nginx is throwing 403 Forbidden error I checked the permissions and it is all ok. I checked the nginx conf and it seems ok user root; ...
0
votes
0answers
17 views

How can i monitor puma using graphite?

How can I monitor puma (rails web server) in my ubuntu 14.04 server using graphite? If not graphite , what other alternative can be used ? I have tried to monitor it as a process using the process ...
1
vote
1answer
30 views

Rails + Passenger + Nignx + Modules

I try to install Rails + Passenger + Nginx + Modules but I got an error when installer start compiling Nginx: sh ./configure --prefix='/opt/nginx' --with-http_ssl_module --with-...
1
vote
1answer
6k views

Cannot checkout session because a spawning error occurred

I'm trying to get my Rails app working on my VPS. I've deployed my project, created the database and migrated it. But when I visit the page I get a message: We're sorry, but something went wrong. We'...
0
votes
2answers
379 views

State of the art deploying Rails applications with git

I'm looking to group together the information on the current best practices for deploying a Rails application on a server I run (rather than, say, Heroku). The application is developed by multiple ...
0
votes
1answer
93 views

Pointing Custom Domain to Server on Nginx

I have my server up and running on an Azure Ubuntu 14.04 virtual machine. It is working great. Now I want to point my custom domain to it so that users can visit my website by going to www.example.com ...
0
votes
0answers
42 views

Nginx + Passenger: limit_req_zone not working

I have nginx + passenger installed on the server. In the nginx.conf file, I have the following configuration: http { .... limit_req_zone $binary_remote_addr zone=delta:10m rate=2r/m; ... ...
0
votes
0answers
38 views

How to stop NGINX spawning new instances

So a bit of background, I'm running a little web app using just in-memory data. It's about 20 rows all-in so I've removed the database to speed things up. Just recently I deployed it on a Raspberry ...
0
votes
0answers
18 views

Conditionally change url/host header being passed to passenger based app on nginx

I have a Sinatra app running with nginx/passenger. In particular occasions I want to change the url Sinatra receives to a mapped variable. I saw passenger_set_header, but it seems to throw an error in ...
3
votes
1answer
2k views

Setting PassengerDefaultRuby in Apache2

I'm experiencing a server error, which tells me that it cannot detect essential gems such as rake. Research suggests that there's a miscommunication between Phusion Passenger and RVM. RVM recommends ...
0
votes
1answer
57 views

nginx not passing any requests to rails 2.3 via passenger

I'm upgrading to a new linode with Debian. I installed rvm, ruby enterprise edition, passenger, nginx (via passenger), rails 2.3 lts. My app works with script/server. I got nginx to serve static files....
1
vote
1answer
99 views

Nginx+Passenger serving assets on sub uri

I'm serving a Rails application under a sub-uri like https://projects.mydomain.com/app1/ But my assets are not loading. here is my nginx config : location ~ ^/app1(/.*|$) { root /srv/www/app1/...
1
vote
1answer
134 views

Deploying multiple apps on a single server with Phusion Passenger

I am currently running a simple Meteor.js application on a server using Phusion Passenger + Nginx. What I would like to do is to configure it so that I have one main app on www.example.com and ...
1
vote
0answers
55 views

nginx passenger, setting the umask

I was wondering how to set the umask for nginx or passenger or both processes. A search seems to only bring up Apache. Any help would be very much appreciated! (This is on Debian.)
0
votes
0answers
21 views

Rails app deployments not showing minor view changes until apache restarted

I'm using Phusion Passenger to run a rails application using apache2 on a linux machine. I'm deploying it using capistrano3. When I perform a deployment from my local development machine, the ...
0
votes
2answers
1k views

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 ...
0
votes
1answer
78 views

Installing passenger on ClearOS

I have ClearOS distro istalled on a server (should be centos 7 based distro) and i want to use phusion passenger on it. But when i try to install it i run into this error: Error: Package: ...
1
vote
1answer
506 views

Hosting redmine server using apache2 in ubuntu

I am trying to run redmine+gitolite server using apache in an Ubuntu machine. I followed the instructions given here with the following server config file: <VirtualHost *:80> ServerName ...
-1
votes
1answer
134 views

Apache Phusion Passenger Not Responding

I am new to setting up Rails with Apache and Phusion Passenger. I am using Centos 6.5 on EC2 server. I followed this tutorial to start rails on server with apache and Phusion Passenger. All ...