Skip to content

Instantly share code, notes, and snippets.

@luislavena
Created August 21, 2010 01:39
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 luislavena/541595 to your computer and use it in GitHub Desktop.
Save luislavena/541595 to your computer and use it in GitHub Desktop.
user@ubuntu:~/projects/oss/bun dler$ rspec -fs spec/install/gems/simple_case_spec.rb:11
running `gem install builder rake fakeweb --no-rdoc --no-ri`
Run filtered using {:line_number=>11}
bundle install with gem sources
Exception `LoadError' at /home/user/.rvm/rubies/ruby-1.8.7-p302/bin/ruby:0 - No such file or directory -- dler/spec/support/../../lib
/home/user/.rvm/rubies/ruby-1.8.7-p302/bin/ruby: No such file or directory -- dler/spec/support/../../lib (LoadError)
the simple case
Exception `LoadError' at /home/user/.rvm/rubies/ruby-1.8.7-p302/bin/ruby:0 - No such file or directory -- dler/lib
/home/user/.rvm/rubies/ruby-1.8.7-p302/bin/ruby: No such file or directory -- dler/lib (LoadError)
prints output and returns if no dependencies are specified (FAILED - 1)
with a gem that installs multiple platforms
doing bundle install foo
when prerelease gems are available
when prerelease gems are not available
when BUNDLE_PATH or the global path config is set
when passing in a Gemfile via --gemfile
when requesting a quiet install via --quiet
when disabling system gems
when loading only the default group
when a gem has a YAML gemspec
when the gem has an architecture in its platform
bundler dependencies
Finished in 0.8891 seconds
1 example, 1 failure
1) bundle install with gem sources the simple case prints output and returns if no dependencies are specified
Failure/Error: out.should =~ /no dependencies/
expected: /no dependencies/,
got: "" (using =~)
Diff:
@@ -1,2 +1,2 @@
-/no dependencies/
+""
# ./spec/install/gems/simple_case_spec.rb:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment