Skip to content

Instantly share code, notes, and snippets.

View dgoo2308's full-sized avatar

Danny Goossen dgoo2308

View GitHub Profile
#!/bin/sh
#
# from https://github.com/coto/server-easy-install/blob/master/lib/core.sh
#
lowercase(){
echo "$1" | sed "y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/"
}
####################################################################
#!/bin/sh
rpm -Uih https://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
curl -L https://get.rvm.io | bash -s stable
rvm install 2.0.0
rvm use 2.0.0@global --default
# for chinese user, if you have a wonderful speed ignore this part
# to have a faster download speed
# switch gem source to ruby.taobao.org