Hi,
Linux 2.6.18 CentOS release 5.4 (Final) Virtualmin version 3.76 Pro
Trying to install Redmine, I followed this HOWTO : http://www.virtualmin.com/documentation/id,ruby_on_rails_and_virtualmin
In part "Installing Rails" of it, the script outputs "gem" problems.
I tried a lot of fixes and tips without success until I try this procedure (maybe not complete here) :
Activate a new repository for yum and update Ruby to 1.8.6 (required for gem mysql) (Follow instructions on http://www.centos.org/modules/newbb/viewtopic.php?topic_id=11821)
Install rubygems 1.3.5 from sources: (Follow instructions on http://articles.slicehost.com/2009/4/7/centos-ruby-on-rails)
Update with "gem" tool and install rails
More about "gem" on http://docs.rubygems.org/read/chapter/3#page13
Install should be ok and you can log in as admin.
Hope this help.
*** LOCAL GEMS ***
actionmailer (2.3.5) actionpack (2.3.5) activerecord (2.3.5) activeresource (2.3.5) activesupport (2.3.5) builder (2.1.2) camping (1.5.180) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) fastthread (1.0.7) gem_plugin (0.2.3) markaby (0.5) metaid (1.0) mongrel (1.1.5) mysql (2.8.1) rack (1.1.0, 1.0.1) rails (2.3.5) rake (0.8.7) sources (0.0.1) test-spec (0.10.0)