Using Passenger preferences
You can use Phusion Passenger to run Ruby on Rails and Rack applications on the Apache web server included with Mac OS X.
Preference | Explanation |
---|---|
Address | The address to use for viewing the application in a web browser, e.g. “myapp.local”. |
Aliases | Alternative addresses for the application as a space separated list, e.g. “admin.myapp.local assets1.myapp.local assets2.myapp.local”. |
Folder | The top level folder containing the application files. (RAILS_ROOT) |
Run in… | The environment you want to run the application in. |
Drag an application folder from the Finder and drop it on the source list to add a new application. Drag an application from the source list and drop it on a text editor or into the terminal to further customize the Apache configuration.
Restart an application by selecting it in the source list and clicking the ‘Restart’ button.