From: Robert Heller Date: 2006-11-01T09:50:10+09:00 Subject: Re: Rails install problem??? At Wed, 1 Nov 2006 08:53:04 +0900 Nate Wiger wrote: > > Robert Heller wrote: > > I just installed ruby on my CentOS 4.4 system, using yum: > > > > sauron.deepsoft.com% rpm -qa | grep ruby > > ruby-devel-1.8.1-7.EL4.6 > > ruby-mode-1.8.1-7.EL4.6 > > ruby-libs-1.8.1-7.EL4.6 > > ruby-tcltk-1.8.1-7.EL4.6 > > ruby-docs-1.8.1-7.EL4.6 > > ruby-1.8.1-7.EL4.6 > > > > I then install RubyGems 0.9.0, which went OK (no error messages). > > > > I then used gem to install rails and got this: > > I hit this too. The ri/rdoc are separate rpms for CentOS. Use yum to > install rdoc. OK, I installed irb (I could not find any RPMs relating to 'rdoc'). Now it does this: sharky.deepsoft.com% sudo gem install rails --include-dependencies Bulk updating Gem source index for: http://gems.rubyforge.org Successfully installed rails-1.1.6 Successfully installed rake-0.7.1 Successfully installed activesupport-1.3.1 Successfully installed activerecord-1.14.4 Successfully installed actionpack-1.12.5 Successfully installed actionmailer-1.2.5 Successfully installed actionwebservice-1.1.6 Installing ri documentation for rake-0.7.1... lib/rake.rb:905:18: unexpected token: '#' Installing ri documentation for activesupport-1.3.1... Installing ri documentation for activerecord-1.14.4... Installing ri documentation for actionpack-1.12.5... lib/action_controller/code_generation.rb:77:31: unexpected token: '#' lib/action_controller/code_generation.rb:168:31: unexpected token: '#' Installing ri documentation for actionmailer-1.2.5... Installing ri documentation for actionwebservice-1.1.6... Installing RDoc documentation for rake-0.7.1... lib/rake.rb:905:18: unexpected token: '#' Installing RDoc documentation for activesupport-1.3.1... Installing RDoc documentation for activerecord-1.14.4... ERROR: While executing gem ... (NoMethodError) undefined method `find_module_named' for nil:NilClass > > -Nate > > > -- Robert Heller -- 978-544-6933 Deepwoods Software -- Linux Installation and Administration http://www.deepsoft.com/ -- Web Hosting, with CGI and Database heller@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk