Using Passenger

  • Follow the instructions here, remembering to execute the commands as root (i.e. use sudo ahead of each one).

  • Paste the three lines the passenger installer gives you into /etc/apache2/httpd.conf, and after those lines, add:

    Include /private/etc/apache2/apps/*.conf

  • cd into your Blueprint folder and run sudo rake servers:apache:vhost_config. It'll walk you through the process of creating a Blueprint-specific apache configuration file:

  • 'Main domain' is the URL you want to access Blueprint at locally. I use blueprint.passenger (make sure to point 127.0.0.1 at blueprint.passenger in your etc/hosts file).

  • 'Rails env' should be 'development'
  • 'Is an SSL vhost?' will most likely be 'no'
  • 'File path' will be something like /etc/apache2/apps/blueprint.passenger.conf, assuming you have a folder in /etc/apache2 called apps - create one if you don't.

  • When this is done, you need to restart apache: sudo apachectl restart. One hopes that at this point, it works; if it does, you should be able to access Blueprint at your chosen URL - for example, http://blueprint.passenger.

User notes

(You can add notes to this page using the form below.)


Only the note field is required.

Preview or