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
FreakNigh
n00b
n00b


Joined: 20 Aug 2006
Posts: 27

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 -

www-apache/mod_fcgid
www-apache/mod_ruby
www-apache/passenger

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>
ServerName 127.0.0.1
ServerAdmin jimbob@gmail.com
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
</Directory>
</VirtualHost>

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 http://127.0.0.1/ it should show redmine...

You may also have to do -
Quote:
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