Skip to content

Instantly share code, notes, and snippets.

@antono
Created October 7, 2010 02:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antono/614473 to your computer and use it in GitHub Desktop.
Save antono/614473 to your computer and use it in GitHub Desktop.
Failures:
1) Bundler::GemHelper tasks gem management release releases
Failure/Error: @helper.release_gem
# ./lib/bundler/gem_helper.rb:132:in `sh'
# ./lib/bundler/gem_helper.rb:101:in `clean?'
# ./lib/bundler/gem_helper.rb:97:in `guard_clean'
# ./lib/bundler/gem_helper.rb:60:in `release_gem'
# ./spec/other/gem_helper_spec.rb:112:in `block (4 levels) in <top (required)>'
2) bundle install with gem sources when locked and installed with --without regenerates the environment.rb if install is called twice on a locked repo
Failure/Error: out.should == "1.0"
expected: "1.0",
got: "" (using ==)
# ./spec/install/gems/locked_spec.rb:39:in `block (3 levels) in <top (required)>'
3) bundle install with explicit source paths expands paths
Failure/Error: should_be_installed("foo 1.0")
expected: #<Gem::Version "1.0">,
got: #<Gem::Version ""> (using ==)
Diff:
@@ -1,2 +1,2 @@
-Gem::Version.new("1.0")
+Gem::Version.new("")
# ./spec/support/matchers.rb:38:in `block in should_be_installed'
# ./spec/support/matchers.rb:33:in `each'
# ./spec/support/matchers.rb:33:in `should_be_installed'
# ./spec/install/path_spec.rb:46:in `block (2 levels) in <top (required)>'
4) bundle install with git sources switching sources doesn't explode when switching Path to Git sources
Failure/Error: should_be_installed "foo 1.0", "bar 1.0"
expected: #<Gem::Version "1.0">,
got: #<Gem::Version ""> (using ==)
Diff:
@@ -1,2 +1,2 @@
-Gem::Version.new("1.0")
+Gem::Version.new("")
# ./spec/support/matchers.rb:38:in `block in should_be_installed'
# ./spec/support/matchers.rb:33:in `each'
# ./spec/support/matchers.rb:33:in `should_be_installed'
# ./spec/install/git_spec.rb:483:in `block (3 levels) in <top (required)>'
Finished in 1019.06 seconds
449 examples, 4 failures, 6 pending
bundle install with explicit source paths
fetches gems
supports pinned paths
supports relative paths
/home/antono/Code/ruby/bundler/lib/bundler/source.rb:355:in `load_spec_files': The path `~/../libs/foo-1.0` does not exist. (Bundler::PathError)
from /home/antono/Code/ruby/bundler/lib/bundler/source.rb:362:in `local_specs'
from /home/antono/Code/ruby/bundler/lib/bundler/definition.rb:341:in `block in converge_locked_specs'
from /home/antono/Code/ruby/bundler/lib/bundler/definition.rb:330:in `each'
from /home/antono/Code/ruby/bundler/lib/bundler/definition.rb:330:in `converge_locked_specs'
from /home/antono/Code/ruby/bundler/lib/bundler/definition.rb:145:in `resolve'
from /home/antono/Code/ruby/bundler/lib/bundler/definition.rb:93:in `specs'
from /home/antono/Code/ruby/bundler/lib/bundler/definition.rb:137:in `specs_for'
from /home/antono/Code/ruby/bundler/lib/bundler/definition.rb:126:in `requested_specs'
from /home/antono/Code/ruby/bundler/lib/bundler/environment.rb:23:in `requested_specs'
from /home/antono/Code/ruby/bundler/lib/bundler/runtime.rb:11:in `setup'
from /home/antono/Code/ruby/bundler/lib/bundler.rb:100:in `setup'
from -e:1:in `<main>'
expands paths (FAILED - 3)
installs dependencies from the path even if a newer gem is available elsewhere
works
supports gemspec syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment