Topic: Configuring RVM / Passenger (on OS X)

Topic type:

Any additional information regarding configuring Kete to work work with Ruby Version Manager

Note: This section notes have only been tested in Mac OS 10.7.x (Lion).  I'm also currently using Server version: Apache/2.2.21

 

I've found that when installed Kete using Ruby Version Manager there are some issues with environment variables, in particular paths.

Although the paths appear correct in the RVM user environment (type env from shell - to see the PATH= line) when Kete is loaded by Passenger there are some missing paths.

To correct this problem I've added the following information to my virtual host:

SetEnv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/sbin:$PATH

If you follow the other instructions for installing Kete and configuring apache then add this line - you should find Kete is correctly configured.

See: Configure Kete with Apache2 and Passenger

 

 

Discuss This Topic

There are 0 comments in this discussion.

join this discussion

Tags

Creative Commons Attribution-Noncommercial-Share Alike 3.0 New Zealand License
Configuring RVM / Passenger (on OS X) by ctoynbee is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 New Zealand License