How to Install Redmine 1.4 with cPanel 11.32

The reason I repost this article is because my previous article is old enough and I still can see the demand on this task.

– Ruby On Rails 1.8.x enabled, please downgrade to 1.8.7, 1.9.2 or 1.9.3 if your are running higher than that. To check the Ruby version, type “ruby -v” from shell.
– Shell Access(SSH) enabled
– MySQL Enabled
– Rubygems <= 1.8

1. Install gem rails version 2.3.14(exact version), from SSH shell, run

gem install rails -v=2.3.14

2. Install gem rack version 1.1.3, from SSH shell, run

gem install rack -v=1.1.3

3. Install gem rubygems 1.8.23(or higher version, not >= 1.8), from SSH shell, run


If it is not working, refer to
4. Create MySQL database from your cPanel and I assume that you are using the database as detail below.
Database Name: mickgenie_redmine
Username: mickgenie_redmine
Password: StR0NgPa$$w0Rd

Installation Step:
1. Log into the cPanel, click on Ruby On Rails.
2. In the App Name, enter Redmine, environment session select Production and create the App.
3. Click on Create Rewrite button and enter the subdomain or path that needed, then save it.
4. Download Redmine from RubyForce.
5. Upload through File Manager according to the path that you created from the Ruby On Rails.
6. Extract the file to the RoR Apps.
7. Install bundler gem by enter,

gem install bundler

8. Now, run the following command to install all the required gem from Redmine,

bundle install --without development test postgresql

9. Rename the in config/database.yml.example to config/database.yml.
10. Open the database.yml file and look for the production section.
11. Modify the production section as detail below.
adapter: mysql
database: mickgenie_redmine
host: localhost
username: mickgenie_redmine
password: StR0NgPa$$w0Rd

(These information is create as above).
12. Create session store secret.

rake generate_session_store

13. Create the database structure.

RAILS_ENV=production rake db:migrate

14. Create default data.

RAILS_ENV=production rake redmine:load_default_data

15. You have done the installation, just go to cPanel and start the mongrel.

Final Step:
You may now log into Redmine with detail below,
Username: admin
Password: admin

Published by

Mick Genie

Mick Genie is the founder of and working at ExaBytes Network Sdn Bhd and WPWebHost web host company. He is expertise in Windows and Linux environment especially web hosting related information, tips and trick as well as the IT Information.

9 thoughts on “How to Install Redmine 1.4 with cPanel 11.32”

  1. Any ideas on why the rewrite wouldn’t be working for me? The url:12001 works fine but not the rewrite. I’ve just recreating, restarting the app etc. I just get nothing.



  2. Hi,
    Is it possible to install Redmine to cPanel hosting which is without shell?
    Main problem I’m having is with rake command. Is there any alternatives, like executing ruby script in browser or something?

  3. So far Redmine do not have web based installation step and installation need to go through shell.

    When you having problem when running rake mean that your server missing ruby component that needed by Redmine.

    1. Hi,
      thanks for reply.

      No problem with rake, everything it installed, I just don’t have access to ssh, that’s.

      Probably will need to look for other hosting options

  4. Hi, when I get to step 8 of your instructions (bundle install –without development test) I get the following error:

    -bash: bundle: command not found

    I have tried to google this issue but haven’t had much luck. One finding said to update the $PATH

    Which I did but am now getting this error:

    /usr/lib64/ruby/site_ruby/1.8/rubygems.rb:926:in `report_activate_error’: Could not find RubyGem bundler (>= 0) (Gem::LoadError)
    from /usr/lib64/ruby/site_ruby/1.8/rubygems.rb:244:in `activate_dep’
    from /usr/lib64/ruby/site_ruby/1.8/rubygems.rb:236:in `activate’
    from /usr/lib64/ruby/site_ruby/1.8/rubygems.rb:1307:in `gem’
    from /home5/pixelfli/ruby/gems/bin/bundle:18

    and I don’t know how to fix it but I can’t continue…

    1. I have the exact same problem. Did you find a solution?


      gem environment
      RubyGems Environment:
      – RUBYGEMS VERSION: 1.8.24
      – RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]
      – INSTALLATION DIRECTORY: /home/devhouse/ruby/gems
      – RUBY EXECUTABLE: /usr/bin/ruby
      – EXECUTABLE DIRECTORY: /home/devhouse/ruby/gems/bin
      – ruby
      – x86_64-linux
      – GEM PATHS:
      – /home/devhouse/ruby/gems
      – :update_sources => true
      – :verbose => true
      – :benchmark => false
      – :backtrace => false
      – :bulk_threshold => 1000
      – “gempath” => []
      – “gem” => “–remote –gen-rdoc –run-tests”
      – “gemhome” => “/home/devhouse/ruby/gems”
      – “rdoc” => “–inline-source –line-numbers”

Comments are closed.