Skip to content

Instantly share code, notes, and snippets.

@carlhuda
Created January 4, 2010 22:26
Show Gist options
  • Save carlhuda/268918 to your computer and use it in GitHub Desktop.
Save carlhuda/268918 to your computer and use it in GitHub Desktop.
[carlhuda@Carlhudas-iMac bundler (env_bundle_refactor)]$ spec -c spec/bundler/directory_spec.rb -e 'Faking gems with directories with a simple directory structure stubbing out a gem with a directory -- 1 can bundle --cached'
F
1)
NoMethodError in 'Faking gems with directories with a simple directory structure stubbing out a gem with a directory -- 1 can bundle --cached'
undefined method `filename' for #<Bundler::Environment:0x1017309e0>
/Users/carlhuda/Developer/Source/bundler/tmp/bundled_app/Gemfile:3:in `evaluate'
/Users/carlhuda/Developer/Source/bundler/spec/support/helpers.rb:43:in `build_manifest'
/Users/carlhuda/Developer/Source/bundler/spec/support/helpers.rb:41:in `chdir'
/Users/carlhuda/Developer/Source/bundler/spec/support/helpers.rb:41:in `build_manifest'
/Users/carlhuda/Developer/Source/bundler/spec/support/helpers.rb:48:in `install_manifest'
./spec/bundler/directory_spec.rb:13:
Finished in 0.417209 seconds
1 example, 1 failure
[carlhuda@Carlhudas-iMac bundler (env_bundle_refactor)]$ spec -c spec/bundler/directory_spec.rb -e 'Faking gems with directories with a simple directory structure stubbing out a gem with a directory -- 1 can bundle --cached' --backtrace
F
1)
NoMethodError in 'Faking gems with directories with a simple directory structure stubbing out a gem with a directory -- 1 can bundle --cached'
undefined method `filename' for #<Bundler::Environment:0x101735a80>
/Users/carlhuda/Developer/Source/bundler/lib/bundler/dsl.rb:135:in `_find_directory_source'
/Users/carlhuda/Developer/Source/bundler/lib/bundler/dsl.rb:117:in `_handle_vendored_option'
/Users/carlhuda/Developer/Source/bundler/lib/bundler/dsl.rb:104:in `gem'
/Users/carlhuda/Developer/Source/bundler/tmp/bundled_app/Gemfile:3:in `evaluate'
/Users/carlhuda/Developer/Source/bundler/lib/bundler/bundle.rb:37:in `initialize'
/Users/carlhuda/Developer/Source/bundler/lib/bundler/bundle.rb:14:in `new'
/Users/carlhuda/Developer/Source/bundler/lib/bundler/bundle.rb:14:in `load'
/Users/carlhuda/Developer/Source/bundler/spec/support/helpers.rb:43:in `build_manifest'
/Users/carlhuda/Developer/Source/bundler/spec/support/helpers.rb:41:in `chdir'
/Users/carlhuda/Developer/Source/bundler/spec/support/helpers.rb:41:in `build_manifest'
/Users/carlhuda/Developer/Source/bundler/spec/support/helpers.rb:48:in `install_manifest'
./spec/bundler/directory_spec.rb:13:
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:70:in `instance_eval'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:70:in `eval_each_fail_fast'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:70:in `each'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:70:in `eval_each_fail_fast'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_hierarchy.rb:17:in `run_before_each'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:103:in `run_before_each'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:124:in `before_each_example'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:39:in `execute'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.9/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:
Finished in 0.415167 seconds
1 example, 1 failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment