H
Han Holl
Hello,
After upgrading to ruby-1.8.2 my gem-based rails no longer ran.
It boiled down to the following:
irb(main):014:0>
Dir.glob("{/usr/lib/ruby/gems/1.8/gems/activerecord-1.0.0/lib,.} \
/active_record/vendor/simple.rb{,.rb,.so}").delete_if{|f| \
File.directory?(f)}.size > 0
ArgumentError: string contains null byte
from (irb):14:in `directory?'
from (irb):14
from (irb):14:in `delete_if'
from (irb):14
from :0
irb(main):015:0>
In the ML I've seen someone with this problem who tried to install a gem.
The problem arises from the .rb in simple.rb.
Cheers,
Han Holl
After upgrading to ruby-1.8.2 my gem-based rails no longer ran.
It boiled down to the following:
irb(main):014:0>
Dir.glob("{/usr/lib/ruby/gems/1.8/gems/activerecord-1.0.0/lib,.} \
/active_record/vendor/simple.rb{,.rb,.so}").delete_if{|f| \
File.directory?(f)}.size > 0
ArgumentError: string contains null byte
from (irb):14:in `directory?'
from (irb):14
from (irb):14:in `delete_if'
from (irb):14
from :0
irb(main):015:0>
In the ML I've seen someone with this problem who tried to install a gem.
The problem arises from the .rb in simple.rb.
Cheers,
Han Holl