Skip to content

Instantly share code, notes, and snippets.

@juno
Created September 6, 2019 01:53
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 juno/3f9500b7005b9e798d161d47c609f73d to your computer and use it in GitHub Desktop.
Save juno/3f9500b7005b9e798d161d47c609f73d to your computer and use it in GitHub Desktop.
CircleCI config step to install bundler which compatible BUNDLED_WITH in Gemfile (workaround for bundler 2)
steps:
# ...
- run:
name: "Configure Bundler"
command: |
echo 'export BUNDLER_VERSION=$(cat Gemfile.lock | tail -1 | tr -d " ")' >> $BASH_ENV
source $BASH_ENV
gem install bundler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment