Last active
October 4, 2017 13:02
-
-
Save mernen/adc97b040c6310468919188791170259 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/sh | |
set -ex | |
mkdir -p /tmp/repro-6074 | |
cd /tmp/repro-6074 | |
bundle env | |
# Bundler 1.15.4 | |
# Rubygems 2.6.13 | |
# Ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16] | |
# Git 2.14.2 | |
# Platform x86_64-darwin-16 | |
# OpenSSL OpenSSL 1.0.2l 25 May 2017 | |
cat > Gemfile <<EOF | |
source 'https://rubygems.org' | |
gem 'dotenv' | |
group :oracle do | |
gem 'ruby-oci8' | |
end | |
EOF | |
bundle install --path vendor/bundle --without oracle | |
# Expected behavior: should prepare vendor/cache with ruby-oci8, but without building this gem | |
# Observed behavior: attempts to build ruby-oci8 (will likely fail due to missing system libraries) | |
bundle package --all-platforms | |
# Expected behavior: exact same as first invocation | |
# Observed behavior: attempts to build ruby-oci8 even though it's explicitly ignored | |
bundle install --path vendor/bundle --without oracle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment