Skip to content

Instantly share code, notes, and snippets.

@dbackeus
Last active December 25, 2015 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbackeus/7053986 to your computer and use it in GitHub Desktop.
Save dbackeus/7053986 to your computer and use it in GitHub Desktop.
Reproduction script for issue #2678 on bundler/bundler.
#!/bin/bash
set -ex
mkdir -p /tmp/repro-2678
cd /tmp/repro-2678
cat > Gemfile <<EOF
source "http://rubygems.org"
gem 'aws-s3', git: 'git://github.com/streamio/aws-s3.git', require: 'aws/s3'
EOF
bundle install
bundle env
# Bundler 1.3.5
# Ruby 2.0.0 (2013-06-27 patchlevel 247) [x86_64-darwin12.3.0]
# Rubygems 2.0.9
# rvm 1.23.8 (stable)
# GEM_HOME /Users/druiden/.rvm/gems/ruby-2.0.0-p247
# GEM_PATH /Users/druiden/.rvm/gems/ruby-2.0.0-p247:/Users/druiden/.rvm/gems/ruby-2.0.0-p247@global
# rubygems-bundler (1.2.2)
#
# Gemfile
# source "http://rubygems.org"
# gem 'aws-s3', git: 'git://github.com/streamio/aws-s3.git', require: 'aws/s3'
#
# Gemfile.lock
# GIT
# remote: git://github.com/streamio/aws-s3.git
# revision: 553089ea479b47fafbf489734b3cb6d23f26cfa8
# specs:
# aws-s3 (0.6.3)
# builder
# mime-types
# xml-simple
#
# GEM
# remote: http://rubygems.org/
# specs:
# builder (3.2.2)
# mime-types (1.25)
# xml-simple (1.1.2)
#
# PLATFORMS
# ruby
#
# DEPENDENCIES
# aws-s3!
# + bundle open aws-s3
# Expected behaviour: should open the gem in a text-editor
# Observed behaviour: "Could not locate Gemfile"
bundle open aws-s3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment