When I run spec from the command prompt on my rails app.
$ spec spec
I get the following error:
/Library/Ruby/Site/1.8/rubygems.rb:335:in `bin_path': can't find executable spec for rspec-2.0.0.beta.22 (Gem::Exception) from /usr/bin/spec:19
However when I run
$ rake spec
The tests run fine.
What's the issue?