[rspec-users] spec.opts

James Hughes hughes.james at gmail.com
Tue Feb 13 14:21:39 EST 2007


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.

/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


More information about the rspec-users mailing list