Created
September 6, 2019 01:53
-
-
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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