Skip to content

Instantly share code, notes, and snippets.

@warnergodfrey
Last active December 14, 2015 13:38
Show Gist options
  • Save warnergodfrey/5094790 to your computer and use it in GitHub Desktop.
Save warnergodfrey/5094790 to your computer and use it in GitHub Desktop.
Installing Ruby on Raspberry Pi

Introduction

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.

Installation Steps

  1. 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

  2. Increase your /tmp size (requires reboot)

sudo echo 'RAMTMP=no' >> /etc/default/rcS
sudo reboot
  1. Install ruby
rbenv install 1.9.3-p327
  1. remove the RAMTMP option when you have finished
@leucos
Copy link

leucos commented Nov 8, 2013

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 :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment