Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install Ruby with Bundler on CentOS 6.5 [RVM Example]
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 bison iconv-devel ruby-devel libxml2 libxml2-devel libxslt libxslt-devel git
# Install Ruby from rvm
\curl -sSL | 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 :)"
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.