Autospec failing on new install

(Alec Joy) #1

This is a development system setup with the advanced developer guide.

after installing all dependencies and gems, and setting up the db, tried to run autospec to make sure everything was setup right. Got this:

/home/user/.rvm/gems/ruby-2.1.3/gems/rspec-core-2.99.2/lib/rspec/core/deprecation.rb:20:in 'warn_deprecation: undefined method ‘configuration’ for RSpec: Module (NoMethodError)
…/home/user/.rvm/gems/ruby-2.1.3/gems/rspec-core-2.99.2/exe/autospec:3: in ‘<top (required)>’
…/home/user/.rvm/gems/ruby-2.1.3/bin/autospec:23:in ‘load’
…/home/user/.rvm/gems/ruby-2.1.3/bin/autospec:23:in ‘’
… /home/user/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:in ‘eval’
…/home/user/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:in ‘’

this sort of seems like an error unrelated to discourse itself but googling the error message only turned up 1 thread from 2010 which was unhelpful in solving the issue so I am hoping someone else has encountered this error and can point me in the right direction.

Here’s the thread I found just in case someone more knowledgable than i can see something I missed

(Jens Maier) #2


bundle exec rspec && bundle exec rake plugin:spec && bundle exec rake qunit:test

At least that’s what’s run for Discourse’s CI tests. :slight_smile: