Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rgenerate , env: ruby.exe: No such file or directory error #352

Open
crokobit opened this issue Oct 9, 2014 · 2 comments
Open

Rgenerate , env: ruby.exe: No such file or directory error #352

crokobit opened this issue Oct 9, 2014 · 2 comments

Comments

@crokobit
Copy link

crokobit commented Oct 9, 2014

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.

@tpope
Copy link
Owner

tpope commented Oct 9, 2014

Assuming you're not on Windows, sounds like your binstub has a screwed up shebang line.

@maxcodes
Copy link

Same problem here, but trying to run :Rails console on zsh. I have a clean install of Thoughtbot's laptop script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants