[rspec-users] spec.opts

aslak hellesoy aslak.hellesoy at gmail.com
Tue Feb 13 16:01:47 EST 2007


On 2/13/07, James Hughes <hughes.james at gmail.com> wrote:
> Hi,
>
> Just built the gem from trunk for the first time and ran into an issue
> with the generated spec.opts file (rev. 1493). Moving the file out of
> the way fixed the problem. I'm not on windows, so this is not a
> win32console gem issue as per the README.
>

You have to tell us the steps to reproduce this.
It's odd that the spec.opts file is part of the backtrace.

> /usr/lib/ruby/gems/1.8/gems/rspec-0.8.0/lib/spec/expectations/sugar.rb:13:in
> `call': undefined local variable or method `colour' for
> #<Object:0xb7d289f0> (NameError)
>         from /usr/lib/ruby/gems/1.8/gems/rspec-0.8.0/lib/spec/expectations/sugar.rb:13:in
> `_method_missing'
>         from /usr/lib/ruby/gems/1.8/gems/rspec-0.8.0/lib/spec/expectations/sugar.rb:9:in
> `method_missing'
>         from ./spec/spec.opts:1
>         from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:489:in
> `load'
>         from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:343:in
> `new_constants_in'
>         from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:489:in
> `load'
>         from /usr/lib/ruby/gems/1.8/gems/rspec-0.8.0/lib/spec/runner/command_line.rb:22:in
> `run'
>         from /usr/lib/ruby/gems/1.8/gems/rspec-0.8.0/lib/spec/runner/command_line.rb:16:in
> `run'
>         from /usr/lib/ruby/gems/1.8/gems/rspec-0.8.0/bin/spec:4
>         from /usr/bin/spec:18
>
>
> James Hughes
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list