Skip to content

Instantly share code, notes, and snippets.

@tbrosman
Last active December 27, 2015 15:49
Show Gist options
  • Save tbrosman/7350939 to your computer and use it in GitHub Desktop.
Save tbrosman/7350939 to your computer and use it in GitHub Desktop.
Issue running rspec for fluentd logger.

After cloning both the fluent-logger-ruby and fluentd vendor repos, I run bundle install followed by rspec and see the following:

vagrant@precise64:/vagrant/fluent-logger-ruby$ rspec
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- fluent/load (LoadError)
        from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /vagrant/fluent-logger-ruby/spec/fluent_logger_spec.rb:11:in `<top (required)>'
        from /var/lib/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:896:in `load'
        from /var/lib/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:896:in `block in load_spec_files
'
        from /var/lib/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:896:in `each'
        from /var/lib/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:896:in `load_spec_files'
        from /var/lib/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:22:in `run'
        from /var/lib/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
        from /var/lib/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
@tbrosman
Copy link
Author

tbrosman commented Dec 2, 2013

Fixed by running bundle exec rspec instead: fluent/fluent-logger-ruby#10 (comment)

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