On Jul 30, 2010, at 3:09 AM, Rainer Kuhn wrote:
group :development, :test do
Don’t know how to build task ‘IdontExist’
(See full trace by running task with --trace)
Interesting. I see the same behaviour, but it’s not what you think it
is. Try “rake spec:models” and you’ll get the “Don’t know how to build”
error. I added a “raise” statement to the top of the rspec.rake file
(i.e. the first line - raises if the file is even loaded) and it raises
if I include rspec in the :development group, but not in the :test
I then pulled rspec completely out of the Gemfile and, lo and behold,
still no error on “rake spec” - just does nothing.
Doesn’t solve this issue, but does verify that RSpec won’t be able to
solve it. It’ll have to come from either users getting used to the idea
of putting rspec-rails in the :development group, or a change to Rails.
ps - I moved your response from the top to the bottom. Please post
inline or at the bottom so readers can follow the thread: