Skip to content

Instantly share code, notes, and snippets.

@beatak
Created June 19, 2019 19:41
Show Gist options
  • Save beatak/ff102ff140a2bf2c42463e341dc97c24 to your computer and use it in GitHub Desktop.
Save beatak/ff102ff140a2bf2c42463e341dc97c24 to your computer and use it in GitHub Desktop.
echo "EXISTING_BUNDLER_VERSION=$(find /usr/local/lib/ruby -type f -name bundler-*.gemspec | sed -r "s/^(.+?bundler-)(.+)(\.gemspec)$/\2/")" > _old_bundler.sh
source _old_bundler.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment