Skip to content

Instantly share code, notes, and snippets.

@lovellfelix
Last active January 29, 2020 13:57
Show Gist options
  • Save lovellfelix/8135631 to your computer and use it in GitHub Desktop.
Save lovellfelix/8135631 to your computer and use it in GitHub Desktop.

Revisions

  1. lovellfelix revised this gist Jan 5, 2014. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions rubyoncentos.sh
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,7 @@
    echo "Starting Installation..."

    # Install dependencies
    yum install gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool b
    ison iconv-devel ruby-devel libxml2 libxml2-devel libxslt libxslt-devel git
    yum install gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel ruby-devel libxml2 libxml2-devel libxslt libxslt-devel git

    # Install Ruby from rvm
    \curl -sSL https://get.rvm.io | bash -s stable --ruby
  2. lovellfelix created this gist Dec 26, 2013.
    18 changes: 18 additions & 0 deletions rubyoncentos.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    #!/bin/bash

    echo "Starting Installation..."

    # Install dependencies
    yum install gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool b
    ison iconv-devel ruby-devel libxml2 libxml2-devel libxslt libxslt-devel git

    # Install Ruby from rvm
    \curl -sSL https://get.rvm.io | bash -s stable --ruby

    #Enable rvm in current shell
    source /usr/local/rvm/scripts/rvm

    #Install Bundler
    gem install bundler

    echo "Installation is completed now that was easy :)"