Code: Select all
pi@raspberrypi ~ $ ruby -v
ruby 2.2.1p85 (2015-02-26 revision 49769) [armv6l-linux-eabihf]
pi@raspberrypi ~ $ /usr/bin/ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [arm-linux-eabihf]
pi@raspberrypi ~ $ irb
irb(main):001:0> RUBY_VERSION
=> "2.2.1"
pi@raspberrypi ~ $ /usr/bin/irb
irb(main):001:0> RUBY_VERSION
=> "1.9.3"
Ruby has no inbuilt GUI tools so there would be nothing to put in to the menus of your desktop environment. As long as you have a terminal program, you have everything you need to run Ruby.metalj wrote:I tried sudo apt-get install ruby 2.0.0 and it installed something but when I tried ruby -v it said it was the old version and it was not listed in the GUI where the python stuff is under languages.
The instructions Peter has give above are really as fool proof as they get. As mentioned before there are tools to allow you to manage multiple Ruby environments, but they are probably much more than you need. Take a look at ruby-install https://github.com/postmodern/ruby-install which might make installing the latest version of Ruby a little easier.metalj wrote:then there might be a fool proof step by step I can follow. I'm real new at this stuff and I appreciate your help.
http://www.ruby-lang.orgDDSSK13 wrote:I got ruby up on my raspberry pi, what now. Any good books or websites?
Thanks!B.Goode wrote:http://www.ruby-lang.orgDDSSK13 wrote:I got ruby up on my raspberry pi, what now. Any good books or websites?
http://learnrubythehardway.org
i just try http://shoesrb.com/ Shoes http://shoes.mvmanila.com/public/shoes/ ... hf.installDDSSK13 wrote:I got ruby up on my raspberry pi, what now. Any good books or websites?