vim-rails
vim-rails copied to clipboard
Rgenerate , env: ruby.exe: No such file or directory error
I use rvm. rails 4.0.3, ruby 2.0.0 First, when I use Rgenerate command, It shows error "/bin/bash: bin/rails: Permission denied". I solved it by this " http://stackoverflow.com/questions/19463908/whenever-cron-not-working-permission-denied ". Then, After command "chmod u+x bin/rails", It shows "env: ruby.exe: No such file or directory error" after command Rgenerate. How can I solve this? Thanks.
Assuming you're not on Windows, sounds like your binstub has a screwed up shebang line.
Same problem here, but trying to run :Rails console
on zsh. I have a clean install of Thoughtbot's laptop script.