Created
April 20, 2017 23:44
-
-
Save mctaylorpants/4f542cacaa63e030c366c9c729956bf0 to your computer and use it in GitHub Desktop.
bundler local spec failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Bundler.setup load order orders the load path correctly when there are dependencies | |
Failure/Error: | |
expect(load_path).to start_with( | |
"/gems/rails-2.3.2/lib", | |
"/gems/activeresource-2.3.2/lib", | |
"/gems/activerecord-2.3.2/lib", | |
"/gems/actionpack-2.3.2/lib", | |
"/gems/actionmailer-2.3.2/lib", | |
"/gems/activesupport-2.3.2/lib", | |
"/gems/rake-10.0.2/lib" | |
) | |
expected ["/usr/local/Cellar/rbenv/1.1.0/rbenv.d/exec/gem-rehash", "/gems/rails-2.3.2/lib", "/gems/activeresou...ons/2.2.4/lib/ruby/2.2.0", "/Users/alextaylor/.rbenv/versions/2.2.4/lib/ruby/2.2.0/x86_64-darwin16"] to start with "/gems/rails-2.3.2/lib", "/gems/activeresource-2.3.2/lib", "/gems/activerecord-2.3.2/lib", "/gems/actionpack-2.3.2/lib", "/gems/actionmailer-2.3.2/lib", "/gems/activesupport-2.3.2/lib", and "/gems/rake-10.0.2/lib" | |
Commands: | |
$ /Users/alextaylor/.rbenv/versions/2.2.4/bin/ruby -I/Users/alextaylor/code/bundler/bundler/lib:/Users/alextaylor/code/bundler/bundler/spec -r/Users/alextaylor/code/bundler/bundler/spec/support/artifice/fail.rb -rsupport/hax /Users/alextaylor/code/bundler/bundler/exe/bundle install --retry 0 --no-color | |
Fetching source index from file:/Users/alextaylor/code/bundler/bundler/tmp/gems/remote1/ | |
Resolving dependencies... | |
Fetching rake 10.0.2 | |
Installing rake 10.0.2 | |
Fetching activesupport 2.3.2 | |
Installing activesupport 2.3.2 | |
Using bundler 1.14.6 | |
Fetching actionmailer 2.3.2 | |
Installing actionmailer 2.3.2 | |
Fetching actionpack 2.3.2 | |
Installing actionpack 2.3.2 | |
Fetching activerecord 2.3.2 | |
Installing activerecord 2.3.2 | |
Fetching activeresource 2.3.2 | |
Installing activeresource 2.3.2 | |
Fetching rails 2.3.2 | |
Installing rails 2.3.2 | |
Bundle complete! 1 Gemfile dependency, 8 gems now installed. | |
Use `bundle info [gemname]` to see where a bundled gem is installed. | |
# $? => 0 | |
$ /Users/alextaylor/.rbenv/versions/2.2.4/bin/ruby -I/Users/alextaylor/code/bundler/bundler/lib -e " require 'rubygems' | |
require 'bundler' | |
Bundler.setup | |
puts \$LOAD_PATH | |
" | |
/Users/alextaylor/code/bundler/bundler/lib | |
/usr/local/Cellar/rbenv/1.1.0/rbenv.d/exec/gem-rehash | |
/Users/alextaylor/code/bundler/bundler/tmp/gems/system/gems/rails-2.3.2/lib | |
/Users/alextaylor/code/bundler/bundler/lib/gems/bundler-1.14.6/lib | |
/Users/alextaylor/code/bundler/bundler/tmp/gems/system/gems/activeresource-2.3.2/lib | |
/Users/alextaylor/code/bundler/bundler/tmp/gems/system/gems/activerecord-2.3.2/lib | |
/Users/alextaylor/code/bundler/bundler/tmp/gems/system/gems/actionpack-2.3.2/lib | |
/Users/alextaylor/code/bundler/bundler/tmp/gems/system/gems/actionmailer-2.3.2/lib | |
/Users/alextaylor/code/bundler/bundler/tmp/gems/system/gems/activesupport-2.3.2/lib | |
/Users/alextaylor/code/bundler/bundler/tmp/gems/system/gems/rake-10.0.2/lib | |
/Users/alextaylor/.rbenv/versions/2.2.4/lib/ruby/site_ruby/2.2.0 | |
/Users/alextaylor/.rbenv/versions/2.2.4/lib/ruby/site_ruby/2.2.0/x86_64-darwin16 | |
/Users/alextaylor/.rbenv/versions/2.2.4/lib/ruby/site_ruby | |
/Users/alextaylor/.rbenv/versions/2.2.4/lib/ruby/vendor_ruby/2.2.0 | |
/Users/alextaylor/.rbenv/versions/2.2.4/lib/ruby/vendor_ruby/2.2.0/x86_64-darwin16 | |
/Users/alextaylor/.rbenv/versions/2.2.4/lib/ruby/vendor_ruby | |
/Users/alextaylor/.rbenv/versions/2.2.4/lib/ruby/2.2.0 | |
/Users/alextaylor/.rbenv/versions/2.2.4/lib/ruby/2.2.0/x86_64-darwin16 | |
# $? => 0 | |
# ./spec/runtime/setup_spec.rb:158:in `block (3 levels) in <top (required)>' | |
Finished in 39.14 seconds (files took 0.63409 seconds to load) | |
61 examples, 1 failure | |
Failed examples: | |
rspec ./spec/runtime/setup_spec.rb:137 # Bundler.setup load order orders the load path correctly when there are dependencies |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment