I have JRuby and Git for windows installed. I then installed Ruby 2.3 x64 using RubyInstaller. I then installed the x64 devkit. I installed the json gem and it ran correctly. Running rake --version
gives me the error:
bash: /c/Ruby23-x64/bin/rake: C:/Users/Justin/Projects/rubyinstaller/sandbox/ruby23_mingw/bin/ruby.exe: bad interpreter: Permission denied
My name is not Justin, there are no users on my computer or network named Justin, and I don't even have any friends named Justin. What is causing this issue?
Go into the bin folder of your ruby installation and edit the rake file. Change the first line from #!C:/Users/Justin/Projects/rubyinstaller/sandbox/ruby23_mingw/bin/ruby.exe
to #!ruby.exe
or the absolute path your ruby executable if its not in your PATH.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With