0

Ruby IDE

Can someone tell me a ruby ​​ide or can I use the Solo Learn even ?

15th Nov 2016, 2:33 AM
Yuri Pedro Caetano de Queiroz
Yuri Pedro Caetano de Queiroz - avatar
3 Respostas
+ 4
You could use SoloLearn's programming playground, or you could also use Notepad++ (my programming go-to)
15th Nov 2016, 2:35 AM
Keto Z
Keto Z - avatar
+ 3
If you use linux, you can use the terminal for everything in the way of an IDE. Using the linux command line (Ubuntu and Debian derivatives), first install Ruby: sudo apt-get install ruby Next, check the ruby version: ruby -v Then, to start coding, use nano to create your program file: nano project_name.rb This brings up a terminal text editor that highlights the different areas of yor code in different colours. For example, on mine, all comment code is cyan, commands are green and arguments are purple. When you are done, you can use ctrl - x to leave nano. Remember to save your file. To execute your code (as interpreted) you would use the command prompt by typing: ruby project_name.rb If all goes well, youre now running your program from within the console. Im still learning this myself, but the Ruby packages come with a Ruby terminal where you can enter your code and see the result line by line. Right now im not sure how to compile code yet, as i havent had any interest in trying it out just yet.
16th Nov 2016, 6:57 AM
Christopher Rees
Christopher Rees - avatar
0
Thanks Keto, i'm a noob in ruby haha
15th Nov 2016, 2:39 AM
Yuri Pedro Caetano de Queiroz
Yuri Pedro Caetano de Queiroz - avatar