How to run Redmine 3.4.1 with Apache 7

Added by Chung Ley 3 months ago


I am new to Redmine and installed Redmine 3.4.1 on my Linux box running Ruby 2.4.1 and Rails 4.2.8. I ran into issues trying to following the instruction (HowTo_configure_Apache_to_run_Redmine) for getting Apache/Passenger to run Redmine.

For instance, it asked to change the require line within public/dispatch.cgi to point to the dispatcher.rb from the rails gem. The documentation reference /usr/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/dispatcher.rb as an example.

I used the "gem environment" to find out where my gem is installed and look inside where I thought the rails gem is installed:
I don't see a lib folder there, but a "guides" subfolder. I then did a find on that folder to look for dispatcher.rb; but it failed to return anything.

I am sorry, but I am also new to ruby and rails as well; so I am not sure if this is because my gems path is incorrect or my install has issue or because there is something else... Can someone give me a hand/directions?

Here is the information on my environment.

[<user>@<server> redmine-3.4.1]$ RAILS_ENV=production bin/about

sh: darcs: command not found
sh: hg: command not found
sh: bzr: command not found
  Redmine version                3.4.1.stable
  Ruby version                   2.4.1-p111 (2017-03-22) [x86_64-linux]
  Rails version                  4.2.8
  Environment                    production
  Database adapter               Mysql2
  Subversion                     1.6.19
  Cvs                            1.12.13
  Git                            2.13.0
Redmine plugins:
  no plugin installed

[<user>@<server> redmine-3.4.1]$ uname -a
Linux <server> 2.6.32-642.6.2.el6.x86_64 #1 SMP Mon Oct 24 10:22:33 EDT 2016 x86_64 GNU/Linux

My apache/tomcat is 7.0.72

Thanks and Regards,