Skip to content

Instantly share code, notes, and snippets.

View hurshagrawal's full-sized avatar

Hursh Agrawal hurshagrawal

View GitHub Profile
#!/usr/bin/env bash
sudo apt-get -y update
sudo apt-get -y install git-core build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion libpq-dev xvfb -y
sudo bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
sudo usermod -a -G rvm ubuntu
echo 'gem: --no-rdoc --no-ri' > ~/.gemrc
# Log out and back in
rvm install 1.9.3-p194
@hurshagrawal
hurshagrawal / hack.sh
Created April 3, 2012 15:43 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#