Project

General

Profile

Issue with Redmine running on Apache 2

Added by Steve Malek over 10 years ago

Hello all,

I have successfully installed redmine and have ran it using the webrick web server via the excellent tutorial.
I than went on to install apache 2.2.22 web server and it installed fine.
I added a virtual host for redmine see below:

<VirtualHost *:80>
ServerName redmine.peyman.com
ServerAdmin
DocumentRoot /home/peyman/redmine-2.3/public/
ErrorLog /var/log/redmine/redmine_error_log
RailsBaseURI /
RailsEnv production

#If you are using mod_fcgid and are going to upload files larger than
#131072 bytes you should consider adding the following line
#that allows to upload files up to 20 mb
#MaxRequestLen 20971520

Redirect 404 /favicon.ico
<Location /favicon.ico>
ErrorDocument 404 "No favicon"
</Location>

<Directory "/home/peyman/redmine-2.3/public/">
Options Indexes ExecCGI FollowSymLinks
Order allow,deny
Allow from all
AllowOverride all
</Directory>
</VirtualHost>

(sorry I had issues using the inline code)

Now if I have a standard index.html within the public folder of redmine it shows up, however if I remove it I get an error regarding "Ruby on Rails application could not be started.
Error message:
Redmine requires Bundler. Please install it with `gem install bundler`."

I have already installed Bundler gem on the machine, so I am not sure why that error is thrown.

I am not sure at this point what needs to be done. I have looked at several tutorials but to no avail.

I have attached an image of the error I receive.

If anyone has any advice or recommendations I appreciate it greatly.
If you need me to post further info, please let me know.

Thank you!

Peyman