Last Updated: February 25, 2016
·
8.42K
· bontojr

Install Ruby on Raspberry Pi with Raspbian

To install Ruby on running version of Raspbian just type:

$ sudo apt-get install curl build-essential git
$ sudo apt-get install libreadline6-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
$ curl -L https://get.rvm.io | bash -s stable --ruby

I suggest to skip 2.0 installation and install 1.9.3:

$ rvm install 1.9.3