yarv-dev-en:297
From: Vikas <ruby-forum-incoming andreas-s.net>
Date: Mon, 14 May 2007 16:28:32 +0200
Subject: [yarv-dev-en:297] Re: "require 'mathn'" broken in YARV?
Anyone found the solution yet.... Yarv does not work if we use mathn... any inputs... Thanks M. Edward (Ed) Borasky wrote: > I'm trying to test my Matrix Benchmark with YARV. The first line of the > benchmark is "require 'mathn'". This gives the following: > > export PATH=/home/yarv-ruby/bin/:$ORIGPATH > ruby -v MatrixBenchmark.rb > ruby 2.0.0 (Base: Ruby 1.9.0 2006-04-08) [i686-linux] > YARVCore 0.4.1 Rev: 519 (2006-07-12) [opts: [direct threaded code] > [inline method cache] ] > /home/yarv-ruby/lib/ruby/2.0/mathn.rb:19:in `remove_method': method > `gcd2' not defined in Integer (NameError) > from /home/yarv-ruby/lib/ruby/2.0/mathn.rb:19:in > `<class:Integer>' > from /home/yarv-ruby/lib/ruby/2.0/mathn.rb:17:in `<top > (required)>' > from MatrixBenchmark.rb:1:in `require' > from MatrixBenchmark.rb:1:in `<main>' > > > It runs fine without the "mathn", though. -- Posted via http://www.ruby-forum.com/. -- ML: yarv-dev-en quickml.atdot.net Info: http://www.atdot.net/~ko1/quickml
152 2006-08-20 04:40 [znmeb cesmail.net ] "require 'mathn'" broken in YARV? -> 297 2007-05-14 23:28 ┗[ruby-forum-incoming ]