Help Installing Redmine on Centos 5.3 gem install passenger

Added by Eric Guzman over 9 years ago

Folks:

Im following "HowTo install Redmine on CentOS 5" located here: http://www.redmine.org/wiki/redmine/HowTo_install_Redmine_on_CentOS_5

Im getting stuck at:

Install Passenger¶

gem install passenger

Im getting following error:

# gem install passenger
ERROR: Loading command: install (LoadError)
no such file to load -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand

Versions installed so far:

[root@server1 ~]# gem -v
1.3.7
[root@server1 ~]# ruby -v
ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]

Any help would be much appreciated.

Replies (7)

RE: Help Installing Redmine on Centos 5.3 gem install passenger - Added by Sam Moses over 9 years ago

Eric, did you get this resolved? I'm following the same recipe and getting the same error.

RE: Help Installing Redmine on Centos 5.3 gem install passenger - Added by Granny Smith over 9 years ago

Hi lads,

I'm struggling to install latest Redmine (1.1.2) on Centos also; found a couple of other articles which may help with the above, in particular www.how-to-linux.com/2010/04/how-to-install-redmine-0-9-3-on-centos-update-including-apache-and-svn-configuration/.

I'd be delighted if you could post the steps back here if you do succeed!

Cheers,

Granny Smith

RE: Help Installing Redmine on Centos 5.3 gem install passenger - Added by Eric Guzman over 9 years ago

I regret to say I gave up with CentOS. I tried Debian using the following tutorial:
[[http://madpropellerhead.com/random/20100820-installing-redmine-on-debian-with-apache]]

It installed straight forward.

RE: Help Installing Redmine on Centos 5.3 gem install passenger - Added by Van Nam Nguyen about 9 years ago

I am trying install 1.1.2 on Centos 5.6 but not success too. Anyone have experience with Centos can give me a methode?

RE: Help Installing Redmine on Centos 5.3 gem install passenger - Added by Granny Smith about 9 years ago

Hi Van Nam,

I eventually did get 1.1.2 working with Centos, but it took days! A couple of misc thoughts in case of help:

  • I think my main difficulties were down to getting the correct versions of all things Ruby; I was using 'thin' for version control but was also using a Gemfile bundle. I think they clashed - I turned off the bundle and it worked.
  • Got Redmine working on Webrick first before trying to get it working on Centos
  • DocumentRoot in the conf file should point to the /public directory of where it is installed

Best of luck!

Granny Smith

RE: Help Installing Redmine on Centos 5.3 gem install passenger - Added by Van Nam Nguyen about 9 years ago

Thank Granny Smith for the answer, but i took 2 day without success , stop at "bundle install" step. Can you give me more details(step by step)? I think the Wiki must be rewrite. I am waiting the answer from you!

RE: Help Installing Redmine on Centos 5.3 gem install passenger - Added by Van Nam Nguyen about 9 years ago

After 5 day Google and check all Redmine install guide i had success install Redmine 1.1.2 on Centos 5.6 VPS. Also thanks to Granny Smith had give me 1 way(but i use passenger not thin). So i post here if can help someone.
I install 1.1.2 with standard guide http://www.redmine.org/wiki/redmine/HowTo_install_Redmine_on_CentOS_5, except i dont use Bundle. The key to success is: "gem install passenger -v=2.2.15","passenger-install-apache2-module"

(1-7/7)