Skip to content

Instantly share code, notes, and snippets.

@andrewspiers
Created February 27, 2014 05:08
Show Gist options
  • Select an option

  • Save andrewspiers/9244721 to your computer and use it in GitHub Desktop.

Select an option

Save andrewspiers/9244721 to your computer and use it in GitHub Desktop.
beaker-rspec?
root@wheezy71:/vagrant/modules/postgresql# RS_SET=debian-73-x64 rspec spec/acceptance
/usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- beaker-rspec/spec_helper (LoadError)
from /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /vagrant/modules/puppetlabs-postgresql/spec/spec_helper_acceptance.rb:1:in `<top (required)>'
from /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /vagrant/modules/puppetlabs-postgresql/spec/acceptance/client_spec.rb:1:in `<top (required)>'
from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:746:in `load'
from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:746:in `block in load_spec_files'
from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:746:in `map'
from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:746:in `load_spec_files'
from /usr/lib/ruby/vendor_ruby/rspec/core/command_line.rb:22:in `run'
from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:69:in `run'
from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:10:in `block in autorun'
@israelriibeiro
Copy link
Copy Markdown

I had that problem today. I just added in my Gemfile:
gem 'beaker'
gem 'beaker-rspec'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment