Skip to content

Instantly share code, notes, and snippets.

@mpapis
Created December 28, 2015 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpapis/6dc630f469293b5a36e0 to your computer and use it in GitHub Desktop.
Save mpapis/6dc630f469293b5a36e0 to your computer and use it in GitHub Desktop.
Remove Ruby from Gemfile to allow bisecting older code
result=0
sed -i "/ruby '2.2.2'/ s/^/#/" Gemfile
"$@" || result=$?
git checkout -- Gemfile
exit $result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment