[ale] OT: ruby/redmine/apache

Leam Hall leamhall at gmail.com
Tue May 8 19:36:38 EDT 2012


Hey Robert,

Is Ruby even installed on the machine in a normal location? Can you 
install it? It looks like your session can't find it. The other issue is 
the permission denied might mean you didn't make your script executable 
by the web app user.

Leam


On 05/08/2012 07:24 PM, Robert L Harris wrote:
>
> 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
>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo


More information about the Ale mailing list