Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kaosf/9badf03297ce2e42fb49 to your computer and use it in GitHub Desktop.
Save kaosf/9badf03297ce2e42fb49 to your computer and use it in GitHub Desktop.
rbenv install 2.1.2
rbenv global 2.1.2
rbenv rehash
gem install earthquake -v 1.0.1 --no-ri --no-rdoc
rbenv rehash
git clone git@github.com:kaosf/earthquake.git
cd earthquake
git diff d43e0acd638c635a27af6088a572bee77b643808..c3271d7ef4ec660e6cf0ec7ca5d3d8a10e65b6e0 --no-prefix > patchfile
patch -p0 -d $HOME/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/earthquake-1.0.1 < patchfile
rm -f patchfile
cd ..
rm -rf earthquake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment