craig duncan
11/29/2004 4:59:00 PM
Mauricio Fernández wrote:
>On Mon, Nov 29, 2004 at 05:57:52AM +0900, Iwan van der Kleyn wrote:
>
>
>>usr/local/lib/site_ruby/1.8/rubygems/loadpath_manager.rb:63:in
>>`directory?': string contains null byte (ArgumentError) from
>>/usr/local/lib/site_ruby/1.8/rubygems/loadpath_manager.rb:63:in
>>`search_loadpath'
>>
>>
>[...]
>
>
>>Does anyone have any clue?
>>
>>
>
>Thu Nov 25 10:14:26 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
>
> * dir.c (push_braces): do not reuse buffer strings. [ruby-core:03806]
>
>
>
What this cryptic response means is that a bug was introduced in 1.82.
This has been fixed in CVS (which i guess means version 1.9.0). But,
unfortunately, the debian 1.8.2 package hasn't been updated with the fix
yet. What i did was download the (stable) 1.8.1 release from
ruby-lang.org and compile it. Unfortunately, even though i changed the
paths in config.h (RUBY_LIB, RUBY_SITE_LIB, ...) to correspond with the
proper Debian locations, make install _still_ put some things in the
wrong places (my intention was to overwrite the existing debian-supplied
ruby stuff). Anyway, some manual moving of things around will get it to
work. Maybe the best solution would be to pin to debian-stable for ruby
stuff. That's not really so great either, though. We're too close to
the bleeding edge with rails right at the moment (because after the
update, a number of things had changed between old and new
rails-generated files, also).