Skip to content

Commit 95bbd60

Browse files
few fixes for readme
1 parent 041a99c commit 95bbd60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.mkd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,17 @@ the PATH variable, in your Rails environment. This requirement has been known t
140140
To address this problem in the Apache + Passenger configuration, one possible solution is to do the following:
141141

142142
**(1)** Create a new file: /usr/local/bin/ruby18env, with the following code, modifying the PATH shown below to include all relevant directories:
143+
143144
#!/bin/sh
144145
export PATH="/usr/local/lib/ruby/gems/1.8/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
145146
[path_to_your_ruby_executable, e.g. /usr/local/bin/ruby18] $*
146147

147148
**(2)** Make this file executable:
149+
148150
chmod 755 /usr/local/bin/ruby18env
149151

150152
**(3)** In your httpd.conf file, replace (or add) your PassengerRuby directive with:
153+
151154
PassengerRuby /usr/local/bin/ruby18env
152155

153156

0 commit comments

Comments
 (0)