I’m new to learning programming and actually just started with Ruby. So
far i can say it is very easy and understandable but i do have a small
problem and i hope you can help me out here. I will try and explain it
in the best possible way.
…btw, im using windows 7
I downloaded Start command prompt to do some basics in whilst learning.
Later i was told to download Sublime Text 3 for my laptop and then use
them to work with each other and run commands.
In the command prompt i entered mkdir learn_ruby
then, cd learn_ruby to open the directory, which it did.
Then i wanted to create a new file by entering
D:\Users\Jacus\learn_ruby>touch ruby_program.rb but it won’t except it.
It tells me ‘touch’ is not recognized as an internal or external
command,operable program or batch file.
My question is , what did i do wrong above to create a new file?
The other thing is, when i’m in Sublime and i press open file, i can go
and search for the directory of this folder (learn_ruby) but there is no
file there, probably because i can’t create it.
Now, i need the command prompt for ruby to work together with Sublime so
i can try and write something and see the outcome.
For example in Sublime i would write perhaps puts “hello” and then try
execute the file in command prompt, but nothing happens.
Please give me some advice on this so i can move on with my learning
here. Please remember i’m new to programming, so be gentle with me
Im also open to suggestions with using different software programs if
you think differently.
Thanks for the help and support. Appreciate it!