Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Ruby on Hypriot OS

Steps to install

  1. Install pre-requisite packages

    sudo apt update
    sudo apt install -y gcc make ruby-build
    
  2. Install rbenv

    git clone https://github.com/rbenv/rbenv.git ~/.rbenv
    cd ~/.rbenv && src/configure && make -C src
    echo 'export PATH="$HOME/.rbenv/bin:$PATH"\neval "$(rbenv init -)"' >> ~/.bash_profile
    
  3. Install ruby-build

    git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.