Skip to content

Instantly share code, notes, and snippets.

@cdgz
Last active June 16, 2016 12:38
Show Gist options
  • Save cdgz/7cbc06171479e13f0e42149c462fb400 to your computer and use it in GitHub Desktop.
Save cdgz/7cbc06171479e13f0e42149c462fb400 to your computer and use it in GitHub Desktop.
rvm, ruby, rails (RHEL 6)
# gcc et al
yum update
yum groupinstall "Development Tools"
yum install gcc-c++ patch readline readline-devel zlib zlib-devel
yum install libyaml-devel libffi-devel openssl-devel make
yum install bzip2 autoconf automake libtool bison iconv-devel
# rvm, rails
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
curl -L get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
rvm install 2.3
rvm use 2.3 --default
# ruby bindings
ruby --version
gem update --system
gem install bundler
gem install rails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment