Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Problem running ruby.exe #483
First of all, before I begin, thank you so much for Babun. It's such an incredible tool that is so easy to use!
I'm fairly new to coding so please excuse me if I'm doing something stupid, but I seem to be having a problem with Ruby. I followed the instructions on http://xjlin0.github.io/tech/2015/04/14/babun-the-new-cygwin-for-ruby-rails-sinatra-and-nodejs/ to install Ruby and the installation ran perfectly without any errors. However, when I type ruby -v or gem -v the command is ignored and it skips to a new line. I've checked to make sure that my environment variables are set up to include babun and cygwin and they are. I then went into the cygwin/bin folder to find the ruby.exe file and I tried to run it to see if there was a problem there. When I did that, it gave me an error saying:
"The procedure entry point getcontext could not be located in the dynamic link library C:\Users\Scott.babun\cygwin\bin\cygruby220.dll"
However, the cygruby220.dll file IS in that folder.
Do you have any advice on how I could solve this?
Have you tried installing ruby the usual way (http://rubyinstaller.org/), making sure its added to your path, then trying to do ruby -v?
In my case I had ruby installed before ever installing babun and ruby -v gives me my version as it should.. most likely due to it already being in my PATH.
I also notice something strange about the error you posted, it should be:
A backslash is getting removed.. so of course it can't find it, there is no directory named "Scott.babun" :P
Maybe something in the code that trips up upon finding a backslash (escape character) before a "."?