10
votes
2answers
3k views

How does Phusion Passenger reuse threads and processes?

I am setting up an Apache2 webserver running multiple Ruby on Rails web applications with Phusion Passenger. I know that Passenger spawns Ruby processes for handling requests. I have the following ...
10
votes
4answers
13k views

Configuring Ruby On Rails App in a subdirectory under Apache

I've got apache2.2 on windows. I'm trying to serve both subversion (/svn) and redmine (/redmine). I have svn running fine with this config: <Location /svn> DAV svn SVNParentPath ...
8
votes
1answer
4k views

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

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: ...
5
votes
3answers
6k views

Unable to start the Phusion Passenger watchdog

I have done a phusion passenger setup in ubuntu 10.04, with apache2. Whenever i restart apache server i got following error message, and rails application are not running. [error] *** Passenger could ...
5
votes
4answers
2k views

Installing Apache Passenger , Ruby Development Headers Not Found

I have a RoR app that needs to be hosted on Apache, so I have been trying to install Apache Passenger. When I run the following command: sudo passenger-install-apache2-module I get: Checking for ...
5
votes
2answers
2k views

Require ruby gems in rails controller

require 'rubygems' require 'mechanize' agent = Mechanize.new page = agent.get("http://google.com/") This simple script works ok. But if I'am trying to add require 'rubygems' and require ...
5
votes
1answer
3k views

Apache/Rails/Passenger Displaying Site Index?

I have a Rails app that I have successfully tested with Mongrel and Webkit. Now I want to test deployment. I set up a VMWare Image using Ubuntu 8.04. I have installed Rails following this method ...
5
votes
3answers
2k views

Can I run LAMP and Rails from the same Apache instance?

We have a RedHat box with Apache2, PHP5 and MySQL 5 for much of our development. Now, we have a Rails client, and we need to set up a Rails app on the same server. Can we install Ruby and the Rails ...
5
votes
3answers
314 views

Rails 3.2 - assets precompile, but not display in production mode with Apache

Edit: Turns out my initial question is no longer accurate - the issue isn't directly related to the dataTables gem, I believe it's to do with my Apache2 configuration. I seem to have an issue with ...
4
votes
3answers
3k views

Rails Passenger problem with Apache2

I'm trying to setup a ruby on rails server on ubuntu10.10 with apache2 and mod_rails (Phusion Passenger). I already installed ruby 1.9.2-p0 and rails 3.0.8 and installed Passenger with the ...
4
votes
3answers
2k views

Rails3 application behind a Proxy

I'm trying to setup a Rails 3 application behind an Apache2 webserver which is acting as a proxy. The Apache webserver is running on port 8080, and if I make a call to the http://ip:8080, I see the ...
4
votes
3answers
695 views

Rails with passenger only runs in development

Hey, I have a problem on one of our webservers. I'll try to explain it as clear as possible, but I'm not 100% aware of all the configuration of the server. There are 2 sites running next to eachother ...
4
votes
2answers
220 views

How do I figure out why my rails 3 app, using mod_rails, is so slow?

I've developed a small Rails app, using Rails 3.0.0 and Ruby 1.9.2. During test, on my personal computer, it's performance is fine. I put it on my VPS for production, using Apache and mod_rails, and ...
3
votes
3answers
3k views

My Rails 3 site won't start on Ubuntu/Apache2/Passenger

This server runs on Ubuntu 10.04, particularly on Linode VPS. Passenger Error: A source file that the application requires, is missing. It is possible that you didn't upload your application files ...

1 2 3 4 5 9
15 30 50 per page