Phusion Passenger Error ruby rack application could not be started redmine centos 6.2

Summary: In this post i tried to explain how to resolve Ruby On Rails issue for Redmine Installation CentOS Server . phusion-passenger-problem-ruby-rack-application-could-not-be-started-redmine-centos-6-2.

Procedure of the issue and its solutions are listed below.

Error: ruby rack application could not be started.
These are the possible causes:

  • There may be a syntax error in the application’s code. Please check for such errors and fix them.
  • A required library may not installed. Please install all libraries that this application requires.
  • The application may not be properly configured. Please check whether all configuration files are written correctly, fix any incorrect configurations, and restart this application.
  • A service that the application relies on (such as the database server or the Ferret search engine server) may not have been started. Please start that service.

Further information about the error may have been written to the application’s

log file.Please check it in order to analyze the problem.


Step-1: In terminal I try to run

gem update

Step-2: I checked the ruby version.
which ruby

will print you the ruby running directory.

ruby -v

will print the version of ruby.

Step-3: The important step is to install passenger-module-apache2 run the command.


press enter.


successfully installed.

let say your redmine is directory is /var/www/html/redmine/ then configure the virtualhost in httpd.conf


# !!! Be sure to point DocumentRoot to ‘public’!
DocumentRoot /var/www/html/redmine/public

# This relaxes Apache security settings.
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews

Also include the following line in your httpd.conf file.

LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.13/

PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.13
PassengerRuby /usr/bin/ruby


and then run the command

/etc/init.d/httpd restart

and open your browser

you will have the redmine screen in front of you.

Leave a Reply

Your email address will not be published. Required fields are marked *