ryanb / ruby-warrior

Game written in Ruby for learning Ruby.
MIT License
3.83k stars 838 forks source link

Running `rspec`, `rake spec`, and `rake rspec` all fail #64

Closed stefanlance closed 11 years ago

stefanlance commented 11 years ago

Here's the output of rspec:

stefan@stefan-lap:~/code/ruby-warrior$ rspec
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mocha/standalone (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_mocha.rb:23:in `rescue in <top (required)>'
    from /var/lib/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_mocha.rb:14:in `<top (required)>'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:343:in `mock_with'
    from /home/stefan/code/ruby-warrior/spec/spec_helper.rb:6:in `block in <top (required)>'
    from /var/lib/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core.rb:107:in `configure'
    from /home/stefan/code/ruby-warrior/spec/spec_helper.rb:5:in `<top (required)>'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/stefan/code/ruby-warrior/spec/ruby_warrior/abilities/attack_spec.rb:1:in `<top (required)>'
    from /var/lib/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in `load'
    from /var/lib/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in `block in load_spec_files'
    from /var/lib/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in `each'
    from /var/lib/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in `load_spec_files'
    from /var/lib/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:22:in `run'
    from /var/lib/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:in `run'
    from /var/lib/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in `block in autorun'

Here's the output of rake spec:

stefan@stefan-lap:~/code/ruby-warrior$ rake spec
rake aborted!
cannot load such file -- rspec
/home/stefan/code/ruby-warrior/Rakefile:2:in `<top (required)>'
(See full trace by running task with --trace)

Here's the output of rake rspec:

stefan@stefan-lap:~/code/ruby-warrior$ rake rspec
rake aborted!
cannot load such file -- rspec
/home/stefan/code/ruby-warrior/Rakefile:2:in `<top (required)>'
(See full trace by running task with --trace)
stefanlance commented 11 years ago

See https://github.com/ryanb/ruby-warrior/issues/66