Last active
June 16, 2016 12:38
-
-
Save cdgz/7cbc06171479e13f0e42149c462fb400 to your computer and use it in GitHub Desktop.
rvm, ruby, rails (RHEL 6)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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