+ 8

How to install Ruby on PC!

I have come across many people who can't install ruby in PC so decided to make this . Linux Ubuntu-Debian : sudo apt install ruby-full (for version 1.9) sudo apt install ruby (for latest 2.3) Windows : using ruby installer (download from official site) to open ruby console type "irb" on command line to get help from ruby doc .. let's assume you need help on "puts" . type "ri puts" on command line . enjoy ruby .

15th Jan 2017, 12:13 PM
Sun
Sun - avatar
4 Respostas
+ 7
*Decides not to follow this guide* *Computer explodes* *Regrets*
15th Jan 2017, 12:43 PM
Hatsy Rei
Hatsy Rei - avatar
+ 5
Ayy is what I need
15th Jan 2017, 12:29 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 2
Ruby 1.9 is quite old already. I'd recommend you 2.3. Browse bundler.io and follow the instructions. For windows you have few options... personally i dont recommend using ruby on windows.
17th Jan 2017, 8:46 AM
Mariano Giagante
Mariano Giagante - avatar
0
Actually the best way to install ruby on linux/mac is through rvm or rbenv. As for Windows you can stick to ruby installer
3rd May 2017, 6:51 PM
Mariano Giagante
Mariano Giagante - avatar