Inspired by Ryan Bates' and Zach Holfman's Dotfiles. For more information check out Github Does Dotfiles and Dotfiles are meant to be Forked.
git clone https://github.com/sheharyarn/dotfiles ~/.dotfiles
echo "source ~/.dotfiles/Bash/bash_profile" >> ~/.bash_profile
ln -s ~/.dotfiles/Ruby/irbrc ~/.irbrc
ln -s ~/.dotfiles/Ruby/gemrc ~/.gemrc
Remove the 'source' line from your bash_profile, and unlink the files
unlink ~/.irbrc
unlink ~/.gemrc
rm -rf ~/.dotfiles