command:
sudo apt-get install ruby-full
open up a shell and type irb and hit enter
irb
then u will geta prompt like this
irb(main):001:0>
first program in ruby
Hello world in ruby:
irb(main):001:0> "Hello World" => "Hello World"
No comments:
Post a Comment