Created
June 20, 2016 18:17
-
-
Save jkeiser/108b9b1a55b0bc0506dba6c554ee51fc to your computer and use it in GitHub Desktop.
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
~/s/bundle-repro bundler-4690 ./repro.sh | |
# Uninstall all bundle-test-foos and bundle-test-bars | |
gem uninstall bundle-test-bar bundle-test-foo --force | |
+ gem uninstall bundle-test-bar bundle-test-foo --force | |
Successfully uninstalled bundle-test-bar-2.0.0 | |
Successfully uninstalled bundle-test-bar-2.0.1 | |
# Install bundle-test-bar 2.0.0 | |
pushd bar | |
+ pushd bar | |
~/src/bundle-repro/bar ~/src/bundle-repro | |
BAR_VERSION=2.0.0 gem build bundle-test-bar | |
+ BAR_VERSION=2.0.0 | |
+ gem build bundle-test-bar | |
Successfully built RubyGem | |
Name: bundle-test-bar | |
Version: 2.0.0 | |
File: bundle-test-bar-2.0.0.gem | |
gem install bundle-test-bar-2.0.0.gem | |
+ gem install bundle-test-bar-2.0.0.gem | |
Successfully installed bundle-test-bar-2.0.0 | |
Parsing documentation for bundle-test-bar-2.0.0 | |
Installing ri documentation for bundle-test-bar-2.0.0 | |
Done installing documentation for bundle-test-bar after 0 seconds | |
1 gem installed | |
popd | |
+ popd | |
~/src/bundle-repro | |
# Bundle install will show bundle-test-bar 1.0.0 and bundle-test-foo 2.0.0 | |
pushd foo | |
+ pushd foo | |
~/src/bundle-repro/foo ~/src/bundle-repro | |
FOO_VERSION=1.0.0 bundle install | |
+ FOO_VERSION=1.0.0 | |
+ bundle install | |
Resolving dependencies... | |
Using bundle-test-bar 2.0.0 (was 2.0.1) | |
Using bundler 1.12.5 | |
Using bundle-test-foo 1.0.0 (was 1.0.1) from source at `.` | |
Bundle complete! 1 Gemfile dependency, 3 gems now installed. | |
Use `bundle show [gemname]` to see where a bundled gem is installed. | |
FOO_VERSION=1.0.0 bundle list | |
+ FOO_VERSION=1.0.0 | |
+ bundle list | |
Gems included by the bundle: | |
* bundle-test-bar (2.0.0) | |
* bundle-test-foo (1.0.0) | |
* bundler (1.12.5) | |
popd | |
+ popd | |
~/src/bundle-repro | |
# Install bundle-test-bar 2.0.1 | |
pushd bar | |
+ pushd bar | |
~/src/bundle-repro/bar ~/src/bundle-repro | |
BAR_VERSION=2.0.1 gem build bundle-test-bar | |
+ BAR_VERSION=2.0.1 | |
+ gem build bundle-test-bar | |
Successfully built RubyGem | |
Name: bundle-test-bar | |
Version: 2.0.1 | |
File: bundle-test-bar-2.0.1.gem | |
gem install bundle-test-bar-2.0.1.gem | |
+ gem install bundle-test-bar-2.0.1.gem | |
Successfully installed bundle-test-bar-2.0.1 | |
Parsing documentation for bundle-test-bar-2.0.1 | |
Installing ri documentation for bundle-test-bar-2.0.1 | |
Done installing documentation for bundle-test-bar after 0 seconds | |
1 gem installed | |
popd | |
+ popd | |
~/src/bundle-repro | |
# Bundle install will still show bundle-test-bar 1.0.0 and bundle-test-foo 2.0.0 | |
pushd foo | |
+ pushd foo | |
~/src/bundle-repro/foo ~/src/bundle-repro | |
FOO_VERSION=1.0.0 bundle install | |
+ FOO_VERSION=1.0.0 | |
+ bundle install | |
Resolving dependencies... | |
Using bundle-test-bar 2.0.0 | |
Using bundler 1.12.5 | |
Using bundle-test-foo 1.0.0 from source at `.` | |
Bundle complete! 1 Gemfile dependency, 3 gems now installed. | |
Use `bundle show [gemname]` to see where a bundled gem is installed. | |
FOO_VERSION=1.0.0 bundle list | |
+ FOO_VERSION=1.0.0 | |
+ bundle list | |
Gems included by the bundle: | |
* bundle-test-bar (2.0.0) | |
* bundle-test-foo (1.0.0) | |
* bundler (1.12.5) | |
popd | |
+ popd | |
~/src/bundle-repro | |
# This should not change the version of bundle-test-bar! 2.0.0 still satisfies deps | |
# But it does: bundle install will show bundle-test-bar 1.0.1 and bundle-test-foo 2.0.1 | |
pushd foo | |
+ pushd foo | |
~/src/bundle-repro/foo ~/src/bundle-repro | |
FOO_VERSION=1.0.1 bundle install | |
+ FOO_VERSION=1.0.1 | |
+ bundle install | |
Resolving dependencies... | |
Using bundle-test-bar 2.0.1 (was 2.0.0) | |
Using bundler 1.12.5 | |
Using bundle-test-foo 1.0.1 (was 1.0.0) from source at `.` | |
Bundle complete! 1 Gemfile dependency, 3 gems now installed. | |
Use `bundle show [gemname]` to see where a bundled gem is installed. | |
FOO_VERSION=1.0.1 bundle list | |
+ FOO_VERSION=1.0.1 | |
+ bundle list | |
Gems included by the bundle: | |
* bundle-test-bar (2.0.1) | |
* bundle-test-foo (1.0.1) | |
* bundler (1.12.5) | |
popd | |
+ popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment