Project

General

Profile

Redmine on Centos Application error

Added by Tadas A almost 13 years ago

Hi, i'm new to ruby and redmine. I have request in my work to install and run redmine, but i got stuck. I downloded redmine from svn and made everything like in Tutorial for CentOS.
Now i get this erros on apache error log:

[Wed Feb 08 09:19:11 2012] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Feb 08 09:19:20 2012] [error] [client 193.219.160.107] Missing the Rails 2.3.14 gem. Please `gem install -v=2.3.14 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comm ent out RAILS_GEM_VERSION to use the latest version installed.
[Wed Feb 08 09:19:20 2012] [error] [client 193.219.160.107]
[Wed Feb 08 09:19:20 2012] [error] [client 193.219.160.107] Premature end of script headers: dispatch.cgi

Rails 2.3.14 gem installed.

Tnak you for help


Replies (1)

RE: Redmine on Centos Application error - Added by Tadas A almost 13 years ago

I have managed to run Redmine using ruby script/server -e production, but it still don't work when i shutdown production server.
Maybe someone can say where i can look for a problem.

For me helped this.

I had to add the following to http.conf so,

vi /etc/httpd/conf.d/passenger.conf
Add

LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11
PassengerRuby /usr/local/bin/ruby

Now it run.

    (1-1/1)