On Tue, Oct 21, 2008 at 5:43 PM, Berger, Daniel <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm currently running a version of Ruby without readline support (yep,
> Windows). When I run a "gem install" I get this:
>

Hmn....

> 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
>

Look awkward, since I didn't had readline early while bootstrapping
the new one-click and it worked fine. I just did a grep through the
sources and couldn't find a reference to require 'readline' directly,
neither usage of Readline.

Maybe something went south on that gem?
-- 
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams
_______________________________________________
Rubygems-developers mailing list
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to