Integrate cucumber/rspec in existing app, broken

I have a deployed app that I am trying to do some testing on. In the
RSPEC book it said to do this:

script/generate cucumber --rspec --webrat

I did it and now I cannot start my app, here is the error:

No such file or directory … config/environments/test rake
gems:install.rb (Errno::ENOENT)

No idea why it is trying to do a rake from the directory, Ideas?