Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Redmine Issues
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message

Joined: 20 Aug 2006
Posts: 36

PostPosted: Sat Oct 06, 2012 7:12 pm    Post subject: Redmine Issues Reply with quote

I just want to say what I had to do to get redmine working...

This is using the emerge redmine

First redmine needs to be installed with LDAP or ruby behind the screens will look for it but error.

/etc/init.d/redmine start
and etc still doesn't seem to do anything, also /etc/init.d/redmine stop fails

at this point you can run redmine by going into /var/lib/redmine and putting in - ruby script/server webrick -e production
and it will be available at http://localhost:3000/

however to get it to work with apache is a little more complicated...

I installed these mods for apache -


you might only need passenger

then edit /etc/conf.d/apache2 and add in -D PASSENGER

Now add this to your /etc/apache2/vhosts.d/00_default_vhost.conf

<VirtualHost *:80>
DocumentRoot /var/lib/redmine/public/
ErrorLog /var/log/apache2/redmine_error_log

<Directory "/var/lib/redmine/public/">
Order allow,deny
Allow from all
AllowOverride all

You also need to go into /var/lib/redmine and do - chmod 755 -R *
or there will be a file that has permission access issues

Now if you connect to your site from and only from the link it should show redmine...

You may also have to do -
Update the config/environment.rb file to force the rails environment to production, simply uncomment this line at the start of the file:
ENV['RAILS_ENV'] ||= 'production'

I also tried the cgi route to use redmine with apache and that failed miserably.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum