so as far as I know to start a .rb programm I have to type ruby xy.rb in
the cmd but it doesnt recognize ruby as a command so I cant open it.
someone have an idea why that is?
Are you on windows?
On Linux it is very simple, you must install ruby. Perhaps it is already
available.
You need to give some more information, how did you install ruby?
Btw, “ruby xy.rb” won’t open it per se, it will execute/evaluate the
content of that .rb file.
Kamil Mila wrote in post #1185496:
so as far as I know to start a .rb programm I have to type ruby xy.rb in
the cmd but it doesnt recognize ruby as a command so I cant open it.
someone have an idea why that is?
Maybe ruby is not in your PATH. Either update your path, or type the
full path to ruby every time you invoke it.
BTW, this question is actually unrelated to Ruby. It is the same for
every program: Either you have it in your PATH, or you type the path.
Oh you need ruby! I had notepad++ and thought it worked with that as
well. Sorry I’m a newbie… But thanks for the answer. Btw would you
recommend installing Linux or should I keep windows till I know some
more?