Hi --

On Sun, 26 Aug 2007, SASADA Koichi wrote:

> Hi,
>
> David A. Black wrote:
>> I'm not sure if it's something I'm doing wrong, or something that's
>> changed in the code, but I'm getting this (on Fedora 5):
>>
>> rubypal:~$ /usr/local/lib/ruby-svn/bin/ruby -ve 'Fiber.yield'
>> ruby 1.9.0 (2007-08-26 patchlevel 0) [i686-linux]
>> -e:1:in `method_missing': undefined method `yield' for Fiber:Class
>> (NoMethodError)
>>         from -e:1:in `<main>'
>> rubypal:~$ /usr/local/lib/ruby-svn/bin/ruby -ve 'Fiber.new {}.resume'
>> ruby 1.9.0 (2007-08-26 patchlevel 0) [i686-linux]
>> -e:1:in `method_missing': undefined method `resume' for
>> #<Fiber:0xb7eb4224> (NoMethodError)
>>         from -e:1:in `<main>'
>
> add "require 'fiber'" at first.

OK -- thanks. I saw that the Fiber class was there already, so I
didn't think of require'ing.


David

-- 
* Books:
   RAILS ROUTING (new! http://www.awprofessional.com/title/0321509242)
   RUBY FOR RAILS (http://www.manning.com/black)
* Ruby/Rails training
     & consulting:  Ruby Power and Light, LLC (http://www.rubypal.com)