I had issues installing ruby using rbenv on the raspberry pi. Half way through the install, the pi would power down with no trace of what caused the error. I guessed that it was due to /tmp space issues.
-
Follow instructions to install ruby using 'rbenv' (except for the steps to increase your /tmp size): http://blog.pedrocarrico.net/post/29478085586/compiling-and-installing-ruby-on-the-raspberry-pi-using
-
Increase your /tmp size (requires reboot)
sudo echo 'RAMTMP=no' >> /etc/default/rcS
sudo reboot
- Install ruby
rbenv install 1.9.3-p327
- remove the RAMTMP option when you have finished
sudo echo 'RAMTMP=no' >> /etc/default/rcS
can't work. You want :echo 'RAMTMP=no' | sudo tee -a /etc/default/rcS
The link is now : http://blog.pedrocarrico.net/post/29478085586/compiling-and-installing-ruby-on-the-raspberry-pi-using
In the end, I had no success with the intructions :(