Skip to content

Instantly share code, notes, and snippets.

@chaffeqa
Created September 7, 2011 19:23
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 chaffeqa/1201461 to your computer and use it in GitHub Desktop.
Save chaffeqa/1201461 to your computer and use it in GitHub Desktop.
Shoulda-matchers second step
Projects/Gems/shoulda-matchers[master]% bundle exec rake
(in /Users/chaffeqa/Projects/Gems/shoulda-matchers)
>> bundle install --gemfile=/Users/chaffeqa/Projects/Gems/shoulda-matchers/gemfiles/3.0.3.gemfile
Fetching source index for http://rubygems.org/
Using rake (0.8.7)
Installing abstract (1.0.0)
Installing activesupport (3.0.3)
Installing builder (2.1.2)
Using i18n (0.6.0)
Installing activemodel (3.0.3)
Installing erubis (2.6.6)
Installing rack (1.2.3)
Installing rack-mount (0.6.14)
Installing rack-test (0.5.7)
Installing tzinfo (0.3.29)
Installing actionpack (3.0.3)
Installing mime-types (1.16)
Installing polyglot (0.3.2)
Installing treetop (1.4.10)
Installing mail (2.2.19)
Installing actionmailer (3.0.3)
Installing arel (2.0.10)
Installing activerecord (3.0.3)
Installing activeresource (3.0.3)
Using bundler (1.0.18)
Using appraisal (0.3.8)
Using bcat (0.6.1)
Using ffi (1.0.9)
Using childprocess (0.2.2)
Using diff-lcs (1.1.3)
Using json (1.5.4)
Using gherkin (2.4.18)
Using term-ansicolor (1.0.6)
Using cucumber (0.10.7)
Using rdiscount (1.6.8)
Using rspec-core (2.6.4)
Using rspec-expectations (2.6.0)
Using rspec-mocks (2.6.0)
Using rspec (2.6.0)
Using aruba (0.4.5)
Using columnize (0.3.4)
Using rbx-require-relative (0.0.5)
Using linecache (0.46)
Using mocha (0.9.12)
Using thor (0.14.6)
Installing railties (3.0.3)
Installing rails (3.0.3)
Using rspec-rails (2.6.1)
Using ruby-debug-base (0.10.4)
Using ruby-debug (0.10.4)
Using shoulda-matchers (1.0.0.beta3) from source at /Users/chaffeqa/Projects/Gems/shoulda-matchers
Using sqlite3 (1.3.4)
Using sqlite3-ruby (1.3.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
>> bundle install --gemfile=/Users/chaffeqa/Projects/Gems/shoulda-matchers/gemfiles/3.1.0.rc1.gemfile
Fetching source index for http://rubygems.org/
Using rake (0.8.7)
Using multi_json (1.0.3)
Installing activesupport (3.1.0.rc1)
Installing bcrypt-ruby (2.1.4) with native extensions
Using builder (3.0.0)
Using i18n (0.6.0)
Installing activemodel (3.1.0.rc1)
Using erubis (2.7.0)
Using rack (1.3.2)
Using rack-cache (1.0.3)
Using rack-mount (0.8.3)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.0.0)
Using tzinfo (0.3.29)
Installing actionpack (3.1.0.rc1)
Using mime-types (1.16)
Using polyglot (0.3.2)
Using treetop (1.4.10)
Installing mail (2.3.0)
Installing actionmailer (3.1.0.rc1)
Installing arel (2.1.4)
Installing activerecord (3.1.0.rc1)
Installing activeresource (3.1.0.rc1)
Using bundler (1.0.18)
Using appraisal (0.3.8)
Using bcat (0.6.1)
Using ffi (1.0.9)
Using childprocess (0.2.2)
Using diff-lcs (1.1.3)
Using json (1.5.4)
Using gherkin (2.4.18)
Using term-ansicolor (1.0.6)
Using cucumber (0.10.7)
Using rdiscount (1.6.8)
Using rspec-core (2.6.4)
Using rspec-expectations (2.6.0)
Using rspec-mocks (2.6.0)
Using rspec (2.6.0)
Using aruba (0.4.5)
Installing coffee-script-source (1.1.2)
Installing execjs (1.2.4)
Installing coffee-script (2.2.0)
Using columnize (0.3.4)
Using rack-ssl (1.3.2)
Using thor (0.14.6)
Installing railties (3.1.0.rc1)
Installing jquery-rails (1.0.13)
Using rbx-require-relative (0.0.5)
Using linecache (0.46)
Using mocha (0.9.12)
Installing rails (3.1.0.rc1)
Using rspec-rails (2.6.1)
Using ruby-debug-base (0.10.4)
Using ruby-debug (0.10.4)
Installing sass (3.1.7)
Using shoulda-matchers (1.0.0.beta3) from source at /Users/chaffeqa/Projects/Gems/shoulda-matchers
Using sqlite3 (1.3.4)
Using sqlite3-ruby (1.3.3)
Installing uglifier (1.0.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
(in /Users/chaffeqa/Projects/Gems/shoulda-matchers)
>> BUNDLE_GEMFILE=/Users/chaffeqa/Projects/Gems/shoulda-matchers/gemfiles/3.0.3.gemfile bundle exec /Users/chaffeqa/.rvm/gems/ruby-1.8.7-p352@global/bin/rake spec cucumber
(in /Users/chaffeqa/Projects/Gems/shoulda-matchers)
.............................................................................................................................................................................................................................................................
Finished in 5.27 seconds
253 examples, 0 failures
$ cd /Users/chaffeqa/Projects/Gems/shoulda-matchers/tmp/aruba
$ rails new testapp
/Users/chaffeqa/.rvm/gems/ruby-1.8.7-p352@shoulda-matchers/gems/bundler-1.0.18/lib/bundler/definition.rb:14:in `build': /Users/chaffeqa/Projects/Gems/shoulda-matchers/Users/chaffeqa/Projects/Gems/shoulda-matchers/gemfiles/3.0.3.gemfile not found (Bundler::GemfileNotFound)
from /Users/chaffeqa/.rvm/gems/ruby-1.8.7-p352@shoulda-matchers/gems/bundler-1.0.18/lib/bundler.rb:136:in `definition'
from /Users/chaffeqa/.rvm/gems/ruby-1.8.7-p352@shoulda-matchers/gems/bundler-1.0.18/lib/bundler.rb:124:in `load'
from /Users/chaffeqa/.rvm/gems/ruby-1.8.7-p352@shoulda-matchers/gems/bundler-1.0.18/lib/bundler.rb:107:in `setup'
from /Users/chaffeqa/.rvm/gems/ruby-1.8.7-p352@shoulda-matchers/gems/bundler-1.0.18/lib/bundler/setup.rb:17
F-----F-----------------------------
(::) failed steps (::)
tmp/aruba/testapp is not a directory. (RuntimeError)
features/rails_integration.feature:5:in `When I generate a new rails application'
Failing Scenarios:
cucumber features/rails_integration.feature:34 # Scenario: generate a rails application and use matchers in Test::Unit
2 scenarios (1 failed, 1 skipped)
30 steps (1 failed, 29 skipped)
0m0.270s
rake aborted!
Cucumber failed
(See full trace by running task with --trace)
bundle exec rake 54.69s user 2.10s system 79% cpu 1:11.13 total
Projects/Gems/shoulda-matchers[master]%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment