Upload
koichi-ito
View
1.267
Download
1
Embed Size (px)
Citation preview
rake bundler_2:install
🎉
@koicまでどうぞ
Active Storage
Drinkup Sponsor
🎁🎁🎁
rails/rails#29675
Work In Progress
% ghq get \
https://github.com/bundler/bundler
% ghq look bundler/bundler
% rake bundler_2:install
% bundle -v
2.0.0.dev bin/bundle2
bundler/rfcs#6
Breaking Changes
% bundle update
To update everything, pass the `--all` flag.
% bundle
2.0.0.dev
Commands:
bundle add GEM VERSION
% bundle -v # 2.0.0.dev
% bundle install --path /tmp
Unknown switches '--path'
TODO:
See also: bundler/bundler#5912
% ag BUNDLE_GEMFILE
bin/rubocop
4:ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
% bundle binstub rubocop --force
gems.rb
# VERSION ”2.0.99”
% bundle install
[DEPRECATED FOR 3.0] gems.rb and gems.locked will be preferred to Gemfile and Gemfile.lock.
# Bunlder 1 Gemfile.lock
% bundle update --all
Warning: the lockfile is being updated to Bundler 2, after which you will be unable to return to Bundler 1. See: bundler/bundler#5923
% bundle install
Resolving dependencies.....
rails (5.1.2) has dependency bundler (< 2.0, >= 1.3.0), which is unsatisfied by the current bundler version 2.0.99, so the dependency is being ignored
# bundler 1.x
% bundle -v
Bundler version 1.15.3
!
# bundler 2.x
% bundle -v
2.0.0.dev
ruby/ruby#1536
@koicまでどうぞ