<div><br></div>I'm trying to build out a redmine system. It looks like everything is right but when I hit the main page I get this:<div><br></div><div><h2 style="font-family:'Times New Roman'">Application error</h2>
<span style="font-family:'Times New Roman';font-size:medium">Rails application failed to start properly</span>
</div><div><span style="font-family:'Times New Roman';font-size:medium"><br></span></div><div><br></div><div>In the error log I'm getting this:</div><div><div>[Tue May 08 17:19:04 2012] [error] [client 10.1.250.2] Premature end of script headers: dispatch.cgi</div>
<div>[Tue May 08 17:19:07 2012] [error] [client 10.1.250.2] /usr/bin/env:</div><div>[Tue May 08 17:19:07 2012] [error] [client 10.1.250.2] ruby</div><div>[Tue May 08 17:19:07 2012] [error] [client 10.1.250.2] : Permission denied</div>
<div>[Tue May 08 17:19:07 2012] [error] [client 10.1.250.2]</div><div>[Tue May 08 17:19:07 2012] [error] [client 10.1.250.2] Premature end of script headers: dispatch.cgi</div><div><br></div><div>When I log into the system as www-date user and do "which ruby" it can't find ruby which is here:</div>
<div><div><br></div><div>/usr/local/rvm/rubies/ruby-1.8.7-p358/bin/ruby</div></div><div><br></div><div>I tried going into my vhost definition and putting this:</div><div><br></div><div><div> SetEnv ruby /usr/local/rvm/rubies/ruby-1.8.7-p358/bin/ruby</div>
</div><div><br></div><div>Putting an alias for ruby, linking ruby in /usr/bin and /usr/local/bin did not help.</div><div><br></div><div>Any one have any ideas?</div><div> Robert</div><div><br></div><div><br></div>-- <br>
:wq!<br>---------------------------------------------------------------------------<br>Robert L. Harris<br><br>DISCLAIMER:<br> These are MY OPINIONS With Dreams To Be A King,<br> ALONE. I speak for First One Should Be A Man<br>
no-one else. - Manowar<br>
</div>