sandro/specjour

undefined method preload_spec=

jackdempsey opened this issue · 3 comments

For some reason I'm seeing this when trying to use specjour:

.rvm/gems/ree-1.8.7-2010.02/gems/specjour-0.3.1/lib/specjour/dispatcher.rb:164:in set_up_manager': undefined methodpreload_spec=' for #Specjour::Manager:0x102f6ac18 (NoMethodError)

Just doing basic specjour commands as listed in the readme. Anyone ever seen this?

Do you have multiple versions of the gem installed or are you distributing to another computer with a mismatched version number?

hey Sandro,

I think it might be multiple versions of the gem installed. I just cleaned out some gems and don't see that issue anymore, just some deprecation warnings:

~/xxxxxxx specjour prepare
Looking for managers...
No listeners found on this machine, starting one...


DEPRECATION WARNING: you are using a deprecated constant that will
be removed from a future version of RSpec.

internal:lib/rubygems/custom_require:29:in `require'

  • Rspec is deprecated.
  • RSpec is the new top-level module in RSpec-2

Cool. Thanks for letting me know about the deprecation warning. I haven't tested specjour against the latest version of rspec for quite some time. I'll fix it in the new year.