Created
December 23, 2013 16:18
-
-
Save mvz/8099820 to your computer and use it in GitHub Desktop.
Script to reproduce problem where :rbx platform seems to be ignored by Bundler
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 | |
mkdir -p /tmp/repro-rbx-platform-issue | |
cd /tmp/repro-rbx-platform-issue | |
bundle env | |
# Bundler 1.3.5 | |
# Ruby 2.0.0 (2013-11-22 patchlevel 353) [x86_64-linux-gnu] | |
# Rubygems 2.0.14 | |
# GEM_HOME /home/matijs/.rbenv/versions/2.0.0-debian/gems | |
# GEM_PATH | |
# | |
# Bundler settings | |
# shebang | |
# Set for the current user (/home/matijs/.bundle/config): "ruby" | |
ruby -v | |
# ruby 2.0.0p353 (2013-11-22) [x86_64-linux-gnu] | |
cat > Gemfile <<EOF | |
source "http://rubygems.org" | |
gem 'rubysl', platform: :rbx | |
EOF | |
# Expected behaviour: should not complain and not install rubysl | |
# Observed behaviour: complains it cannot find rubysl | |
bundle install --local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment