Last active
March 15, 2016 21:05
-
-
Save glennpratt/9a916fed18d0aeea53a9 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
set -ex | |
# Reproduce bundler issue: | |
# https://github.com/bundler/bundler/issues/4373 | |
rm -rf /tmp/bundler-GH-4373 | |
mkdir -p /tmp/bundler-GH-4373 | |
cd /tmp/bundler-GH-4373 | |
cat > Gemfile <<EOF | |
source 'https://rubygems.org' | |
gem 'vandamme' | |
group :development do | |
gem 'rspec' | |
gem 'thor', github: 'erikhuda/thor' | |
end | |
EOF | |
# Expected: | |
# ls vendor/bundle/ruby/*/bundler/gems | |
# Should faile because there are no gems included from VCS. | |
# Result: | |
# ls vendor/bundle/ruby/*/bundler/gems | |
# Lists the thor gem. | |
bundle install --path vendor/bundle --without development | |
bundle clean | |
ls vendor/bundle/ruby/*/bundler/gems |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment