CircleCI-Public / ruby-orb

The `circleci/ruby` orb source code.
https://circleci.com/developer/orbs/orb/circleci/ruby
MIT License
25 stars 54 forks source link

bundle install --path is deprecated in Bundler 2.1 versions #17

Closed olleolleolle closed 4 years ago

olleolleolle commented 4 years ago

Orb Version 0.2.1

Describe the bug

"Bug" is a strong word, but in order to be forward-compatible, the bundle install --path vendor/bundle should become BUNDLE_PATH=vendor/bundle bundle install, instead.

To Reproduce

Read orb source around line 40 for the bundle install command https://circleci.com/orbs/registry/orb/circleci/ruby#orb-source

Expected behavior

A bundle install without the --path option.

Additional context

This issue in Capistrano details and links to the Bundler issue:

https://github.com/capistrano/bundler/issues/115

lokst commented 4 years ago

This should be addressed in version 0.2.2 now. Thank you @olleolleolle !

olleolleolle commented 4 years ago

Confirmed!