Hi,

I'm currently running a version of Ruby without readline support (yep,
Windows). When I run a "gem install" I get this:

C:\>gem install win32-ipc
Successfully installed win32-ipc-0.5.1
1 gem installed
Installing ri documentation for win32-ipc-0.5.1...
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no
 to load -- readline (LoadError)
        from
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from
C:/ruby/lib/ruby/gems/1.8/gems/rdoc-2.2.1/lib/rdoc/ri/display.rb:6
        from
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original
        from
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from
C:/ruby/lib/ruby/gems/1.8/gems/rdoc-2.2.1/lib/rdoc/ri/driver.rb:7
        from
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original
        from
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:58:in
`update_ri_cache
        from
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:123:
in `e
        from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:136:in
`invoke'
        from
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:105:in
`process_ar
        from
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:75:in `run'
        from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in
`run'
        from C:/ruby/bin/gem:24

The gem appears to have installed successfully, so for now I've just
been ignoring these errors. However, I'm curious about the relationship
between rubygems and readline. What does rubygems need with readline
exactly? And can it live without it?

If it _can_ live without it, I think we should consider a more elegant
way to deal with the LoadError.

Regards,

Dan


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.
_______________________________________________
Rubygems-developers mailing list
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to