Skip to content

Instantly share code, notes, and snippets.

@owainlewis
Last active February 15, 2025 07:24
Show Gist options
  • Select an option

  • Save owainlewis/cf40d0e55108beb17c5293a4e68f8c91 to your computer and use it in GitHub Desktop.

Select an option

Save owainlewis/cf40d0e55108beb17c5293a4e68f8c91 to your computer and use it in GitHub Desktop.

Revisions

  1. owainlewis revised this gist Aug 1, 2019. 1 changed file with 1 addition and 6 deletions.
    7 changes: 1 addition & 6 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -6,11 +6,6 @@ cd
    git clone git://github.com/sstephenson/rbenv.git .rbenv
    echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
    echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
    exec $SHELL

    git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
    echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bash_profile
    exec $SHELL

    rbenv install -v 2.2.1
    rbenv global 2.2.1
    source ~/.bash_profile
  2. owainlewis revised this gist Aug 1, 2019. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    #!/usr/bin/env bash

    sudo yum install -y git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison curl sqlite-devel

    cd
  3. owainlewis created this gist Aug 1, 2019.
    14 changes: 14 additions & 0 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    sudo yum install -y git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison curl sqlite-devel

    cd
    git clone git://github.com/sstephenson/rbenv.git .rbenv
    echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
    echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
    exec $SHELL

    git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
    echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bash_profile
    exec $SHELL

    rbenv install -v 2.2.1
    rbenv global 2.2.1