[rspec-users] Autospec with RSpec 2 beta for Rails 3

DEfusion david.spurr at gmail.com
Wed Mar 17 12:30:57 EDT 2010


> > Do you have RUBYOPT=rubygems in your environment?
>
> No, should I or shouldn't I?

Okay I added that, should have done that before my last post, now I
get a different issue, the same one Gabriel posted in the comments on
the blog post :

/usr/lib/ruby/1.8/optparse.rb:1445:in `complete': invalid option: -O
(OptionParser::InvalidOption)
        from /usr/lib/ruby/1.8/optparse.rb:1443:in `catch'
        from /usr/lib/ruby/1.8/optparse.rb:1443:in `complete'
        from /usr/lib/ruby/1.8/optparse.rb:1282:in `parse_in_order'
        from /usr/lib/ruby/1.8/optparse.rb:1249:in `catch'
        from /usr/lib/ruby/1.8/optparse.rb:1249:in `parse_in_order'
        from /usr/lib/ruby/1.8/optparse.rb:1243:in `order!'
        from /usr/lib/ruby/1.8/optparse.rb:1334:in `permute!'
        from /usr/lib/ruby/1.8/optparse.rb:1355:in `parse!'
        from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.4/lib/
rspec/core/command_line_options.rb:22:in `parse'
        from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.4/lib/
rspec/core/command_line_options.rb:13:in `parse'
        from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.4/lib/
rspec/core/runner.rb:29:in `run'
        from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.4/lib/
rspec/core/runner.rb:13:in `autorun'
        from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.4/bin/
rspec:2


More information about the rspec-users mailing list