Ruby | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Ruby

i asked but no answer how i run the code in ruby ??

31st Mar 2017, 3:34 PM
Esraa Awad Alhaj Naem
Esraa Awad Alhaj Naem - avatar
5 Answers
+ 6
First you need to download Ruby (Suppose you have an IDE if you dont try downloading Notepad++) After it go to Command Prompt and type in ruby Path/yourcode.rb If you have an existing save.rb code on Documents then it should be like this ruby Documents\save.rb
1st Apr 2017, 2:08 PM
MrCoder
MrCoder - avatar
+ 5
First make a code and then at a bottom right corner you can see a "Run" button and click it :D
1st Apr 2017, 1:00 AM
MrCoder
MrCoder - avatar
+ 5
My pleasure ( ゚▽゚)/
2nd Apr 2017, 1:19 AM
MrCoder
MrCoder - avatar
+ 2
no not in sololearn i mean in my computer
1st Apr 2017, 1:47 PM
Esraa Awad Alhaj Naem
Esraa Awad Alhaj Naem - avatar
+ 2
thank you that helpful☺
1st Apr 2017, 3:54 PM
Esraa Awad Alhaj Naem
Esraa Awad Alhaj Naem - avatar