I
Iwan van der Kleyn
Hi there,
Bit too Rail specific perphaps, but I'm very much a newbie so maybe that
will give me some slack
After an update of Debian (testing) today, which seemed to update a
whole bunch of ruby related packages, I've got both Gem and Rails
(locally installated) crashing on me. Stacktrace:
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'
The offending line is
result =
Dir.glob("{#{($LOAD_PATH).join(',')}}/#{file}{,.rb,.so}").delete_if {
|f| File.directory?(f)}.size > 0
it seems to crash on the file
/usr/lib/ruby/gems/1.8/gems/activerecord-1.1.0/lib/active_record/vendor/simple.rb
But as fas as I can see the filename doesn't contain any null-bytes.
On another machine I didn't perform the upgrade and there everyting
works as before.
Does anyone have any clue?
Regards,
Iwan
Bit too Rail specific perphaps, but I'm very much a newbie so maybe that
will give me some slack
After an update of Debian (testing) today, which seemed to update a
whole bunch of ruby related packages, I've got both Gem and Rails
(locally installated) crashing on me. Stacktrace:
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'
The offending line is
result =
Dir.glob("{#{($LOAD_PATH).join(',')}}/#{file}{,.rb,.so}").delete_if {
|f| File.directory?(f)}.size > 0
it seems to crash on the file
/usr/lib/ruby/gems/1.8/gems/activerecord-1.1.0/lib/active_record/vendor/simple.rb
But as fas as I can see the filename doesn't contain any null-bytes.
On another machine I didn't perform the upgrade and there everyting
works as before.
Does anyone have any clue?
Regards,
Iwan