Last active
March 15, 2016 06:51
-
-
Save TimMoore/34c6fcd9795b4904602b to your computer and use it in GitHub Desktop.
Reproduction script for: 1.12.0.rc: cannot install omniauth-google-oauth2 0.4.1 using new index
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
$ mkdir bundle-omniauth-google-oauth2 | |
$ cd bundle-omniauth-google-oauth2/ | |
$ bundle --version | |
Bundler version 1.11.2 | |
$ bundle init | |
Writing new Gemfile to /Users/tim/src/bundle-omniauth-google-oauth2/Gemfile | |
$ bundle inject omniauth-google-oauth2 0.4.1 | |
Fetching gem metadata from https://rubygems.org/.......... | |
Fetching version metadata from https://rubygems.org/... | |
Fetching dependency metadata from https://rubygems.org/.. | |
Resolving dependencies... | |
Added to Gemfile: | |
omniauth-google-oauth2 (= 0.4.1) | |
# With bundler 1.11.2, all is good | |
$ bundle install --path .bundle/gems | |
Fetching gem metadata from https://rubygems.org/......... | |
Fetching version metadata from https://rubygems.org/... | |
Fetching dependency metadata from https://rubygems.org/.. | |
Installing multipart-post 2.0.0 | |
Installing hashie 3.4.3 | |
Installing jwt 1.5.3 | |
Installing multi_json 1.11.2 | |
Installing multi_xml 0.5.5 | |
Installing rack 1.6.4 | |
Using bundler 1.11.2 | |
Installing faraday 0.9.2 | |
Installing omniauth 1.3.1 | |
Installing oauth2 1.0.0 | |
Installing omniauth-oauth2 1.4.0 | |
Installing omniauth-google-oauth2 0.4.1 | |
Bundle complete! 1 Gemfile dependency, 12 gems now installed. | |
Bundled gems are installed into ./.bundle/gems. | |
$ rm -rf .bundle/gems | |
$ gem install --pre bundler | |
Fetching: bundler-1.12.0.rc.gem (100%) | |
Successfully installed bundler-1.12.0.rc | |
1 gem installed | |
# With bundler 1.12.0.rc, it fails by default | |
$ bundle install --path .bundle/gems | |
Fetching gem metadata from https://rubygems.org/ | |
Fetching version metadata from https://rubygems.org/ | |
Fetching dependency metadata from https://rubygems.org/ | |
Could not find omniauth-google-oauth2-0.4.1 in any of the sources | |
# Specifying --full-index makes it pass again | |
$ bundle install --path .bundle/gems --full-index | |
Fetching source index from https://rubygems.org/ | |
Installing multipart-post 2.0.0 | |
Installing hashie 3.4.3 | |
Installing jwt 1.5.3 | |
Installing multi_json 1.11.2 | |
Installing multi_xml 0.5.5 | |
Installing rack 1.6.4 | |
Using bundler 1.12.0.rc | |
Installing faraday 0.9.2 | |
Installing omniauth 1.3.1 | |
Installing oauth2 1.0.0 | |
Installing omniauth-oauth2 1.4.0 | |
Installing omniauth-google-oauth2 0.4.1 | |
Bundle complete! 1 Gemfile dependency, 12 gems now installed. | |
Bundled gems are installed into ./.bundle/gems. | |
$ bundle env | |
Environment | |
Bundler 1.12.0.rc | |
Rubygems 2.2.2 | |
Ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0] | |
GEM_HOME /Users/tim/.gem/ruby/2.1.5 | |
GEM_PATH /Users/tim/.gem/ruby/2.1.5:/Users/tim/.rubies/ruby-2.1.5/lib/ruby/gems/2.1.0 | |
Git 2.7.2 | |
Bundler settings | |
path | |
Set for your local app (/Users/tim/src/bundle-omniauth-google-oauth2/.bundle/config): ".bundle/gems" | |
Set for the current user (/Users/tim/.bundle/config): ".bundle/gems" | |
local.rubocop | |
Set for the current user (/Users/tim/.bundle/config): "/Users/tim/src/rubocop" | |
disable_shared_gems | |
Set for your local app (/Users/tim/src/bundle-omniauth-google-oauth2/.bundle/config): "true" | |
orig_path | |
Set via BUNDLE_ORIG_PATH: "/Users/tim/.nvm/versions/io.js/v3.0.0/bin:/Users/tim/.gem/ruby/2.1.5/bin:/Users/tim/.rubies/ruby-2.1.5/lib/ruby/gems/2.1.0/bin:/Users/tim/.rubies/ruby-2.1.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
orig_gem_path | |
Set via BUNDLE_ORIG_GEM_PATH: "/Users/tim/.gem/ruby/2.1.5:/Users/tim/.rubies/ruby-2.1.5/lib/ruby/gems/2.1.0" | |
Gemfile | |
# A sample Gemfile | |
source "https://rubygems.org" | |
# gem "rails" | |
# Added at 2016-03-15 17:38:36 +1100 by tim: | |
gem 'omniauth-google-oauth2', '= 0.4.1' | |
Gemfile.lock | |
GEM | |
remote: https://rubygems.org/ | |
specs: | |
faraday (0.9.2) | |
multipart-post (>= 1.2, < 3) | |
hashie (3.4.3) | |
jwt (1.5.3) | |
multi_json (1.11.2) | |
multi_xml (0.5.5) | |
multipart-post (2.0.0) | |
oauth2 (1.0.0) | |
faraday (>= 0.8, < 0.10) | |
jwt (~> 1.0) | |
multi_json (~> 1.3) | |
multi_xml (~> 0.5) | |
rack (~> 1.2) | |
omniauth (1.3.1) | |
hashie (>= 1.2, < 4) | |
rack (>= 1.0, < 3) | |
omniauth-google-oauth2 (0.4.1) | |
jwt (~> 1.5.2) | |
multi_json (~> 1.3) | |
omniauth (>= 1.1.1) | |
omniauth-oauth2 (>= 1.3.1) | |
omniauth-oauth2 (1.4.0) | |
oauth2 (~> 1.0) | |
omniauth (~> 1.2) | |
rack (1.6.4) | |
PLATFORMS | |
ruby | |
DEPENDENCIES | |
omniauth-google-oauth2 (= 0.4.1) | |
BUNDLED WITH | |
1.11.2 | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment