[ale] OT: ruby/redmine/apache
Robert L Harris
robert.l.harris at gmail.com
Tue May 8 19:24:38 EDT 2012
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:
Application error Rails application failed to start properly
In the error log I'm getting this:
[Tue May 08 17:19:04 2012] [error] [client 10.1.250.2] Premature end of
script headers: dispatch.cgi
[Tue May 08 17:19:07 2012] [error] [client 10.1.250.2] /usr/bin/env:
[Tue May 08 17:19:07 2012] [error] [client 10.1.250.2] ruby
[Tue May 08 17:19:07 2012] [error] [client 10.1.250.2] : Permission denied
[Tue May 08 17:19:07 2012] [error] [client 10.1.250.2]
[Tue May 08 17:19:07 2012] [error] [client 10.1.250.2] Premature end of
script headers: dispatch.cgi
When I log into the system as www-date user and do "which ruby" it can't
find ruby which is here:
/usr/local/rvm/rubies/ruby-1.8.7-p358/bin/ruby
I tried going into my vhost definition and putting this:
SetEnv ruby /usr/local/rvm/rubies/ruby-1.8.7-p358/bin/ruby
Putting an alias for ruby, linking ruby in /usr/bin and /usr/local/bin did
not help.
Any one have any ideas?
Robert
--
:wq!
---------------------------------------------------------------------------
Robert L. Harris
DISCLAIMER:
These are MY OPINIONS With Dreams To Be A King,
ALONE. I speak for First One Should Be A Man
no-one else. - Manowar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20120508/5414d5ab/attachment-0001.html
More information about the Ale
mailing list