You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I originally posted this as a comment to rubygems/bundler#5989 because of its broad title, but now think it's a different issue.
bundle package --all-platforms beginning with 1.16 doesn't seem to work properly, claiming that it can't find sources for gems for other platforms.
Environment
Bundler 1.16.3
Platforms ruby, x64-mingw32
Ruby 2.5.1p57 (2018-03-29 revision 63029) [x64-mingw32]
Full Path D:/Development/Libraries/Ruby/2.5.1/bin/ruby.exe
Config Dir C:/ProgramData
RubyGems 2.7.6
Gem Home D:/Development/Libraries/Ruby/2.5.1/lib/ruby/gems/2.5.0
Gem Path C:/Users/JSJohnson/.gem/ruby/2.5.0;D:/Development/Libraries/Ruby/2.5.1/lib/ruby/gems/2.5.0
User Path C:/Users/JSJohnson/.gem/ruby/2.5.0
Bin Dir D:/Development/Libraries/Ruby/2.5.1/bin
Tools
Git 2.18.0.windows.1
RVM not installed
rbenv not installed
chruby not installed
Bundler Build Metadata
Built At 2018-07-17
Git SHA 12e73cab7
Released Version true
Bundler settings
specific_platform
Set for your local app (d:/Development/Projects/bundletest/.bundle/config): true
cache_all_platforms
Set for your local app (d:/Development/Projects/bundletest/.bundle/config): true
d:\Development\Projects\bundletest>ruby -I D:\Development\Projects\bundle\test\lib -S bundle package --all-platforms
The latest bundler is 1.16.1, but you are currently running 1.15.4.
To install the latest version, run `gem install bundler`
Fetching gem metadata from https://rubygems.org/....
Using bundler 1.15.4
Using pg 1.0.0 (x64-mingw32)
Bundle complete! 1 Gemfile dependency, 2 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Updating files in vendor/cache
* pg-1.0.0-x64-mingw32.gem
Fetching pg 1.0.0
* pg-1.0.0.gem
After deleting vendor/cache, and trying with 5686af6, it broke with:
d:\Development\Projects\bundletest>ruby -I D:\Development\Projects\bundle\test\lib -S bundle package --all-platforms
The latest bundler is 1.16.1, but you are currently running 1.15.4.
To install the latest version, run `gem install bundler`
Using bundler 1.15.4
Using pg 1.0.0 (x64-mingw32)
Bundle complete! 1 Gemfile dependency, 2 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Updating files in vendor/cache
Could not find pg-1.0.0 in any of the sources
I still get the same error today on 1.16.3.
Reverting the change made to lib/bundler/installer.rb allows bundle package to work again both at the specified commit and on 1.16.3, but I haven't the foggiest idea why.
The text was updated successfully, but these errors were encountered:
I originally posted this as a comment to rubygems/bundler#5989 because of its broad title, but now think it's a different issue.
bundle package --all-platforms
beginning with 1.16 doesn't seem to work properly, claiming that it can't find sources for gems for other platforms.Environment
Bundler Build Metadata
Bundler settings
Gemfile
Gemfile
Gemfile.lock
At 3203fdd
After deleting vendor/cache, and trying with 5686af6, it broke with:
I still get the same error today on 1.16.3.
Reverting the change made to lib/bundler/installer.rb allows
bundle package
to work again both at the specified commit and on 1.16.3, but I haven't the foggiest idea why.The text was updated successfully, but these errors were encountered: