rspec / rspec-rails

RSpec for Rails 6+
https://rspec.info
MIT License
5.18k stars 1.03k forks source link

rspec-rails 2.8.1 rake tasks unnecessarily called #502

Closed DougPuchalski closed 12 years ago

DougPuchalski commented 12 years ago

Using Rails 3.1.3 and rspec-rails 2.8.1. Any call to rake appears to invoke "spec".

dchelimsky commented 12 years ago

I can't reproduce this with a fresh rails 3.1.3 app. Did you upgrade from an older version? Also, what version of Ruby and what OS?

DougPuchalski commented 12 years ago

Thanks. It appears that this is related to rbenv + zsh combination. Command line arguments are not being passed in using the rake shim.

DougPuchalski commented 12 years ago

Incidentally if anybody else has this issue, be sure to include the command in quotes, i.e.

zsh$ bundle exec "rake db:migrate"

number5 commented 11 years ago

thanks @aceofspades