I'm using gvim and rails.vim and getting the following error when attempting to run :Rake
from within a migration:
:!rake db:migrate VERSION=20100427002644 2>&1| tee /tmp/v436868/11
/bin/bash/: rake: command not found
I'm not sure how to troubleshoot this. What can I do to fix this?
Edit:
If i run rake --version
from the terminal it works fine.