0
A good way to debug Ruby in Windows. (Not a question)
First, I had some trouble debugging Ruby because Interactive Ruby would only install Interactive Ruby. Meaning it will only use one line of code and it is not able to execute an RB or any other Ruby file. However, there is this application for Windows called "Cygwin". Go to cygwin.com and don't install the portable version, because it will be in a tar.gz file and have no executable file. Make sure to include the Ruby debugger. Now open Cygwin terminal and drag the Ruby file in. (Read the comment)
3 Respuestas
0
Thank you for sharing!
0
At the very beginning where it has the file, type Ruby.
0
For example, I would put this into cygwin: "ruby
/cygdrive/c/Users/PortillTech/Documents/HelloWorld.rb