installing redmine ROR on centos

I just did a dance of success and my co-worker said he never saw anything like that in the workplace.  Anyway, we still use a excel spreadsheet to track our projects, so last night I decided to install redmine and see if that would work for us.  Redmine is a project management tool that runs on the Ruby on Rails stack.  I haven't done much with ROR, but I am pragmatic and this seemed to fit my needs.  I don't have my java blinders on!

Getting it installed was a little difficult.  Redmine recommends Ruby 1.8.7, Rails 2.2 and these are not in the yum repo for centos.  I downloaded and installed ruby from source

wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7.tar.gz
gunzip ruby-1.8.7.tar.gz
tar xvf ruby-1.8.7.tar.gz
cd ruby-1.8.7
./configure
make
make install

I tried starting up redmine:

cd /usr/local/ror/redmine-0.8.4

[root@rhoderunner redmine-0.8.4]# ruby script/server webrick -e production
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- zlib (MissingSourceFile)

To fix this:

cd /usr/local/ror/ruby-1.8.7/ext/zlib
ruby extconf.rb --with-zlib-include=/usr/include --with-zlib-lib=/usr/lib
make
make install

I tried starting it up again:

[root@rhoderunner redmine-0.8.4]# ruby script/server webrick -e production
=> Booting WEBrick...
/usr/local/ror/redmine-0.8.4/vendor/rails/railties/lib/initializer.rb:229:in `require_frameworks': no such file to load -- openssl (RuntimeError)

This time:

yum install openssl openssl-devel
cd /usr/local/ror/ruby-1.8.7/ext/openssl
make
make install
cd /usr/local/ror/redmine-0.8.4
ruby script/server webrick -e production

 

SUCCESS!

Here is where I did my dance.

 

 

 

 

Comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.