On Wed, Sep 8, 2010 at 7:48 AM, Nikolaj Andersen <[email protected]> wrote: > I also tried to install Icarus verilog on a different computer
I highly recommend using GPL Cver instead of Icarus Verilog for Ruby-VPI. > counter_spec.rb:27:in `load_test': undefined method `setup' for > Spec::Example::ExampleGroup::Subclass_2:Class (NoMethodError) > > I played around with it and changed 'setup do' --> 'before :each'. Now it > runs without any complaints, but I'm not very familiar with RSpec so I don't > know if the two lines actually do the same thing? Good find! Yes, RSpec had a setup() method some years ago, but it was later changed to before(:each) as you discovered.
