Find file History
Pull request Compare This branch is even with ryanb:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


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