From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0 Description of problem: On line 18, the file /usr/lib/ruby/1.8/rdoc/parsers/parse_rb.rb references "irb/slex", which is not contained in the ruby-libs RPM. When installing Ruby 1.8.2 from the source, this file is present in /usr/local/lib/ruby/1.8/irb/slex.rb. Version-Release number of selected component (if applicable): ruby-libs-1.8.2-1.FC3.0 How reproducible: Always Steps to Reproduce: 1. up2date ruby 2. Download and install rubygems 0.8.1 from the source. 3. Run "gem install rails" Actual Results: /usr/lib/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require__': No such file to load -- irb/slex (LoadError) from /usr/lib/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require' from /usr/lib/ruby/1.8/rdoc/parsers/parse_rb.rb:18 from /usr/lib/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require__' from /usr/lib/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require' from /usr/lib/ruby/1.8/rdoc/rdoc.rb:8 from /usr/lib/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require__' from /usr/lib/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require' from /usr/lib/site_ruby/1.8/rubygems/doc_manager.rb:42:in `generate_rdoc' from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:167:in `execute' from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:166:in `each' from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:166:in `execute' from /usr/lib/site_ruby/1.8/rubygems/command.rb:49:in `invoke' from /usr/lib/site_ruby/1.8/rubygems/cmd_manager.rb:90:in `process_args' from /usr/lib/site_ruby/1.8/rubygems/cmd_manager.rb:63:in `run' from /usr/lib/site_ruby/1.8/rubygems/gem_runner.rb:9:in `run' from /usr/bin/gem:11 Additional info:
will be fixed in 1.8.2-3. you need to install rdoc package which separated out. hopefully the updated package for FC3 will be available soon.
Actually, the file is not in the rdoc package, but in irb-1.8.2-1.FC3.0. When I install this, everythings works fine. But a file from the ruby-libs-1.8.2-1.FC3.0 RPM should not reference a file from a different RPM without this being reflected in the RPM dependency information.
Yes, that's right. I mean I didn't want to make the dependency of ruby-libs to irb for this issue. so you will need to install rdoc (and irb which it requires) for rubygems in the next release of ruby package.
should be fixed in 1.8.2-1.FC3.1 which is now available for the updates.