For the life of me I can't get the CLI specs to run alongside the normal API specs on Travis. In fairness the CLI folder does represent a completely separate code base with its own Gemfile. I guess the usual scenario is to put the CLI into a separate repo, but I want to avoid that, I like having just one centralised repo.
/home/travis/build/tombh/peas/cli/spec/spec_helper.rb:3:in `require': cannot load such file -- webmock/rspec (LoadError)
from /home/travis/build/tombh/peas/cli/spec/spec_helper.rb:3:in `<top (required)>'
from /home/travis/build/tombh/peas/cli/spec/cli_spec.rb:1:in `require'
from /home/travis/build/tombh/peas/cli/spec/cli_spec.rb:1:in `<top (required)>'
from /home/travis/build/tombh/peas/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/configuration.rb:896:in `load'
from /home/travis/build/tombh/peas/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/configuration.rb:896:in `block in load_spec_files'
from /home/travis/build/tombh/peas/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/configuration.rb:896:in `each'
from /home/travis/build/tombh/peas/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/configuration.rb:896:in `load_spec_files'
from /home/travis/build/tombh/peas/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:22:in `run'
from /home/travis/build/tombh/peas/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run'
from /home/travis/build/tombh/peas/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun'
For the life of me I can't get the CLI specs to run alongside the normal API specs on Travis. In fairness the CLI folder does represent a completely separate code base with its own Gemfile. I guess the usual scenario is to put the CLI into a separate repo, but I want to avoid that, I like having just one centralised repo.
The error I keep getting is;