phusion-passenger

i'm using passenger with apache and it cannot find my locally installed gems

if i use ./script/server my app runs fine but when i try to it it through passenger on apache it gives me Missing the Rails 2.3.5 gem. if i vendorize rails it seems that it finds it but then it fails for missing gems even though they are in vendor/gems. ideally, i would not want to vendorize rails or gems for such a reason, but woul...

Ruby on Rails and RVM: Problem including external gems in my Gemfile (Rails 3)

When I try to include an external gem in my Gemfile (e.g. from github), my RVM doesn't recognize the external gem. It keeps telling me to run "bundle install" even after already doing. For example, when I log into shell and do a "bundle check", I see that all "dependencies are satisfied" but in my browser, Passenger tells me that my gem...

Where is the Phusion Passenger config file

Where is the apache module installed for Phusion Passenger. I want to adjust some of the config values here - http://www.modrails.com/documentation/Users%20guide%20Apache.html#_configuring_phusion_passenger and I don't know where this config file is. I've installed everything like this doc says for nginx. ...

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: Warning: DocumentRoot [/home/deploy/my_app/public] does not exist [ OK ] The directory most certainly does exist. Here are some important ...

How do I restart phusion passenger?

rails@george:/srv/fsg_distro$ sudo passenger-status *** Phusion Passenger: no passenger_native_support.so found for the current Ruby interpreter. Compiling one... # mkdir -p /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby/ruby-1.8.7-x86_64-linux # cd /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby/ruby-1.8.7-x86_64-linux # /usr...

Why does Passenger 3.0 with nginx crash on startup(?) then 403s?

On Ubuntu with REE 1.8.7, with nginx 0.8.53 manually compiled with the Passenger 3 module doc installed as per the docs, I get an error in the nginx error log when nginx starts: Unable to start the Phusion Passenger watchdog because it encountered the following error during startup: Unable to start the Phusion Passenger logging agent: a...

Nginx and passenger 3.0.0 on mac - why does it fail on startup?

I've been trying to set up nginx 0.8.53 and passenger 3.0.0 on my dev environment - osx snow leopard and REE. I manually compiled nginx with the passenger module linked in. When I tried running passenger, it had a problem - ENV['PATH'] appeared to be null, so the split on it when call PlatformInfo.find_command raised an exception. It ...

Rails 3, OmniAuth and passenger throws RoutingError

I'm trying to build a new rails 3 app from scratch using OmniAuth. Currently I just have a completely empty app, where I've added omniauth to the Gemfile, and added a omniauth.rb in config/initializers that looks like this: Rails.application.config.middleware.use OmniAuth::Builder do provider :facebook, 'APP_ID', 'APP_SECRET' end (E...