Last active
March 24, 2016 22:05
-
-
Save glennpratt/064eb845afd59e74df61 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
#!/bin/bash | |
set -ex | |
# Reproduce bundler issue: | |
# https://github.com/bundler/bundler/issues/4392 | |
rm -rf /tmp/bundler-GH-4392 | |
mkdir -p /tmp/bundler-GH-4392 | |
cd /tmp/bundler-GH-4392 | |
cat > Gemfile <<EOF | |
source 'https://rubygems.org' | |
gemspec | |
EOF | |
cat > my_gem_not.gemspec <<EOF | |
Gem::Specification.new do |s| | |
s.name = 'my_gem' | |
s.version = '0.0.1' | |
s.author = 'Author' | |
s.summary = 'Summary' | |
s.files = [] | |
end | |
EOF | |
# Expected: | |
# bundle package to succeed. | |
# Result: | |
# bundle package fails in an apparent infinite loop. | |
bundle _1.12.0.rc_ package --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rubygems/bundler#4392