Answer the question
In order to leave comments, you need to log in
Why does Ruby throw an error when running a file?
Why does Ruby throw an error when running a file? Installed RailsInstaller. Everything was fine before. Plus, I give this file permission rb, and he sees it as a notepad
. What's the problem?
Answer the question
In order to leave comments, you need to log in
First, there should be no spaces in the file name. Rather, you should have an error like there is no such hello file or directory. Since you are trying to run the hello file and pass the world.rb argument to it.
Secondly, you have some nonsense with the rubegms gem. Have you installed Ruby correctly?
Or are you trying to include rubygems in code?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question