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
Step-2: I checked the ruby version.
will print you the ruby running directory.
will print the version of ruby.
Step-3: The important step is to install passenger-module-apache2 run the command.
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’!
# This relaxes Apache security settings.
# MultiViews must be turned off.
Also include the following line in your httpd.conf file.
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.13/
and then run the command
and open your browser
you will have the redmine screen in front of you.