Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Railscasts Episode #122: Passenger in Development


  sudo gem install passenger
  sudo passenger-install-apache2-module
  mate /etc/apache2/httpd.conf
  sudo apachectl graceful
  mate /etc/hosts
  tail -f log/development
  touch tmp/restart.txt

Passenger Pref Pane

Apache Config

  LoadModule passenger_module /Library/Ruby/Gems/1.8/gems/passenger-2.0.2/ext/apache2/
  PassengerRoot /Library/Ruby/Gems/1.8/gems/passenger-2.0.2
  PassengerRuby /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

  NameVirtualHost *:80

  <VirtualHost *:80>
    ServerName railscasts.local
    DocumentRoot "/Users/rbates/code/railscasts/public"
    RailsEnv development
    RailsAllowModRewrite off
    <directory "/Users/rbates/code/railscasts/public">
      Order allow,deny
      Allow from all

Hosts Config railscasts.local
Something went wrong with that request. Please try again.