tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ruby18-rbtree broken



On Wed, Aug 27, 2008 at 08:10:45PM +0200, Dieter Baron wrote:
> hi,
> 
> with current pkgsrc, ruby18-rbtree cannot be loaded:
> 
> $ ruby18 /usr/pkg/lib/ruby/gems/1.8/gems/rbtree-0.2.0/test.rb
> /usr/pkg/lib/ruby/gems/1.8/gems/rbtree-0.2.0/test.rb:1:in `require':
> no such file to load -- rbtree (LoadError)
>         from /usr/pkg/lib/ruby/gems/1.8/gems/rbtree-0.2.0/test.rb:1
> 
> line 1 of test.rb:
> require "rbtree"

You missed an option while you use a rubygem 
(http://www.rubygems.org/read/chapter/3#page70):

: ruby18 -rubygems /usr/pkg/lib/ruby/gems/1.8/gems/rbtree-0.2.0/test.rb
Loaded suite /usr/pkg/lib/ruby/gems/1.8/gems/rbtree-0.2.0/test
Started
..................................................../usr/pkg/lib/ruby/gems/1.8/gems/rbtree-0.2.0/test.rb:201:
 warning: block supersedes default value argument
.....F..........................
Finished in 0.306074 seconds.

  1) Failure:
test_inspect(RBTreeTest) 
[/usr/pkg/lib/ruby/gems/1.8/gems/rbtree-0.2.0/test.rb:491]:
<"#<Proc:0x080fd400@/usr/pkg/lib/ruby/gems/1.8/gems/rbtree-0.2.0/test.rb:483>"> 
expected to be =~
</#<Proc:\w+(@test.rb:\d+)?>/>.

84 tests, 281 assertions, 1 failures, 0 errors


It would be nice if all tests passes, but ...

Bernd



Home | Main Index | Thread Index | Old Index