Jourdein

I code, I experienced, I blog and I share my enthusiasm

RSS
people

Passenger, Rails and XAMPP on Mac

I’ve successfully setup my Rails on Passenger. It was not a swift tasks as I was trying to setup it on ‘my’ XAMPP.

I had XAMPP all the way since I’ve started development on PHP. Don’t want to install different Apache server just to setup Passenger. Because of that, I took 1 full day of my life to finally have a functional Rails with Passenger on Apache in XAMPP.

(assuming you had Rails with Mongrel and XAMPP already)

  1. Install gem Passenger
  2. Download XAMPP dev (this is the key for success!)
  3. Run passenger install script
  4. Modify Apache .conf file

(you’re ready to go)

Add some miscellaneous (that’ll make your life easier)

  1. Download and install Passenger Preference Pane

1. Install gem Passenger

$ sudo gem install passenger

2. Download XAMPP Developer

XAMPP Developer package for Mac

3. Run passenger install script for Apache

$ sudo passenger-install-apache2-module

(No. 4 step is given at the end of module installation above)

Download & install Passenger Preference Pane here

Leave a Reply