Skip to content

Instantly share code, notes, and snippets.

View grepwood's full-sized avatar

grepwood

  • /root
View GitHub Profile
@grepwood
grepwood / rbenv-install-system-wide.sh
Last active August 29, 2015 14:05 — forked from jpfuentes2/rbenv-install-system-wide.sh
Quieter and works on Debian as well
#!/bin/bash
# rbenv system wide installation script
# Forked from https://gist.github.com/jpfuentes2/2002954
JOB_PID=$$
# Installs rbenv system wide on CentOS 5/6 and Debian, also allows single user installs.
if command -v yum >/dev/null 2>&1; then
DISTRO="Redhat"
elif command -v aptitude >/dev/null 2>&1; then