Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to install the Redmine on my CentOs 5 following the instructions on this link:

I've reached until the "Configure Apache to host the documents" step without errors. At this step there's another link to succeed.
At basic steps on the 5th step there is a need to edit the rails path, but on the proposed path I dont have rails.

Do you have any idea where can I find it?

share|improve this question

migrated from Jan 8 '12 at 11:22

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

man, solved?

If not, try that (sorry about formatting on copying from solution page to here...):

install redmine (project management tool) on centos 5.4 with postgres backend

  • prerequisites * enable the epel yum repository * installed postgresql database (I’m using the latest 8.4 provided from pgdg repository)

  • install some packages

    yum install ruby ruby-devel ruby-libs ruby-irb ruby-rdoc ruby-postgres rubygems
    gem install rails
  • create user/db

    su postgres
    createuser -P redmine (no superuser, can create databases)
    psql -U redmine postgres
    postgres#>create database redmine;
  • download latest stable redmine from

    cd /opt
    tar -xvzf redmine-0.8.7.tar.gz
  • edit ruby database configuration

    cd redmine-0.8.7
    cp config/database.yml.example config/database.yml
    vi config/database.yml
  • modify the settings to your recently created database


    adapter: postgresql

    database: redmine

    host: localhost

    username: redmine


    encoding: utf8

  • create a session store (for storing session cookies)

    rake config/initializers/session_store.rb
  • create the database structure for your configured database in the “production” section

    RAILS_ENV=production rake db:migrate
  • populate the tables with some initial data

    RAILS_ENV=production rake redmine:load_default_data
  • set some file permissions (assumption: you’ll run redmine as user redmine)

    cd /opt/redmine-0.8.7
    sudo chown -R redmine:redmine files log tmp public/plugin_assets
    sudo chmod -R 755 files log tmp public/plugin_assets
  • adjust your mailserver settings

    cp config/email.yml.example config/email.yml
    vi config/email.yml
  • ...insert your mailserver/credentials and method of sending emails

  • start the webserver as the user you “enabled” in the previous step

    ruby script/server webrick -e production
  • the builtin web-server will start.

  • Now you can point your browser to http://localhost:3000 and you’ll see the welcome page, click “sign in” and type credentials “admin”/”admin”.

  • now you are logged in.

  • As this admin user you can start creating users, projects, issues, ….

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .