Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade bundler to 2.x #1078

Closed
artur-intech opened this issue Feb 2, 2019 · 3 comments · Fixed by #1280 or #1433
Closed

Upgrade bundler to 2.x #1078

artur-intech opened this issue Feb 2, 2019 · 3 comments · Fixed by #1280 or #1433

Comments

@artur-intech
Copy link
Contributor

artur-intech commented Feb 2, 2019

https://bundler.io/v2.0/guides/bundler_2_upgrade.html

Version autoswitching means that Bundler will automatically run the correct 1.x or 2.x version based on your lockfile

Existing app cannot be updated via bundle update --bundler, since Rails 4 supports Ruby >= 1.9.3, whereas bundler 2.x does not support Ruby < 2.3.
https://github.com/rails/rails/blob/v4.2.11/rails.gemspec#L10
rails/rails#34925

Rails 5 does not have such limitation.
https://github.com/rails/rails/blob/master/rails.gemspec#L36


Run on every deployment:

  1. gem update --system
    Updates RubyGems
  2. gem install bundler
    Updates bundler

Blocked by #377

@artur-intech artur-intech changed the title Upgrade bundler Upgrade bundler to 2.x Feb 2, 2019
artur-intech pushed a commit that referenced this issue Feb 2, 2019
@teadur
Copy link
Contributor

teadur commented Sep 3, 2019

@artur-intech
Copy link
Contributor Author

#1275 (comment)

@teadur
Copy link
Contributor

teadur commented Sep 3, 2019

Fixed by #1280

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants