Skip to content

Instantly share code, notes, and snippets.

View greenbicycle's full-sized avatar
🐈
maintaining a state of cat-like awareness

Jeff Davis greenbicycle

🐈
maintaining a state of cat-like awareness
  • University of Arizona
  • Tucson, AZ
View GitHub Profile
@greenbicycle
greenbicycle / ruby-install
Last active July 31, 2020 02:43 — forked from soardex/gist:e95cdc230d1ac5b824b3
Install ruby in Centos 7 with rbenv
# Adapted from this gist
# https://gist.github.com/soardex/e95cdc230d1ac5b824b3
# I changed .bash_profile to .bashrc since docker opens bash as non-login shell
# Also, I added 'gem update --system' because bundler was complaining about it
RUBY_VERSION=2.3.0
# install build dependencies
sudo yum install -y git-core zlib zlib-devel gcc-c++ patch readline readline-devel \
libyaml-devel libffi-devel openssl-devel make bzip2 \