I realize this isn't related to the Gemfury CLI, but I wanted to post somewhere public where this issue might get attention (I hit a wall with customer support).
For me, Gemfury works fine with Bundler 2.1. But in 2.2 and later versions, for gems sourced from Gemfury, it attempts to get these gems' dependencies from Gemfury (even when rubygems.org is specified as the primary source).
#/usr/bin/env bash
ruby -v
gem -v
bundle -v
mkdir bundler-test
cd bundler-test
wget https://rubygems.org/downloads/rspec-rails-6.0.1.gem
fury push rspec-rails-6.0.1.gem
cat <<EOF> Gemfile
source "https://rubygems.org/"
gem "rspec-rails", source: "https://[redacted]@gem.fury.io/[redacted]/"
EOF
bundle install --verbose
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin20]
3.4.10
Bundler version 2.4.10
--2023-05-08 13:56:39-- https://rubygems.org/downloads/rspec-rails-6.0.1.gem
Resolving rubygems.org (rubygems.org)... 151.101.193.227, 151.101.65.227, 151.101.1.227, ...
Connecting to rubygems.org (rubygems.org)|151.101.193.227|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 70144 (68K) [binary/octet-stream]
Saving to: ‘rspec-rails-6.0.1.gem’
rspec-rails-6.0.1.gem 100%[===========================================================================================================================>] 68.50K --.-KB/s in 0.03s
2023-05-08 13:56:40 (2.65 MB/s) - ‘rspec-rails-6.0.1.gem’ saved [70144/70144]
Top level ::CompositeIO is deprecated, require 'multipart/post' and use `Multipart::Post::CompositeReadIO` instead!
Top level ::Parts is deprecated, require 'multipart/post' and use `Multipart::Post::Parts` instead!
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Uploading rspec-rails-6.0.1.gem - done
Running `bundle install --verbose` with bundler 2.4.10
Found changes from the lockfile, re-resolving dependencies because the dependencies in your gemfile changed, you added a new platform to your gemfile
HTTP GET https://gem.fury.io/[redacted]/me/versions
HTTP 200 OK https://gem.fury.io/[redacted]/me/versions
Fetching gem metadata from https://gem.fury.io/[redacted]/me/
Looking up gems ["rspec-rails"]
Looking up gems ["actionpack", "activesupport", "railties", "rspec-core", "rspec-expectations", "rspec-mocks", "rspec-support"]
Looking up gems ["builder", "rack", "rack-test", "erubis", "i18n", "multi_json", "tzinfo", "minitest", "thread_safe", "rake", "thor", "rdoc"]
Resolving dependencies...
HTTP GET https://index.rubygems.org/versions
HTTP 304 Not Modified https://index.rubygems.org/versions
Fetching gem metadata from https://rubygems.org/
Looking up gems ["rspec-core", "rspec-expectations", "rspec-mocks", "rspec-support", "builder", "rack", "rack-test", "erubis", "i18n", "multi_json", "tzinfo", "minitest", "thread_safe", "rake", "thor", "rdoc"]
Looking up gems ["diff-lcs", "json", "atomic", "abstract", "concurrent-ruby", "hoe", "psych"]
Looking up gems ["rubyforge", "RubyInline", "gemcutter", "functional-ruby", "ref", "jar-dependencies", "stringio"]
Looking up gems ["ZenTest", "json_pure", "net-scp", "ruby-maven"]
Looking up gems ["net-ssh", "spruz", "maven-tools", "ruby-maven-libs"]
Looking up gems ["virtus", "needle", "jruby-pageant", "bcrypt_pbkdf", "rbnacl", "rbnacl-libsodium"]
Looking up gems ["backports", "descendants_tracker", "axiom-types", "coercible", "equalizer", "ffi"]
Looking up gems ["adamantium", "ice_nine"]
Looking up gems ["memoizable"]
Found conflicts with dependencies with prereleases. Will retrying considering prereleases for rspec-rails, railties...
Retrying resolution...
Bundler::SolveFailure: Could not find compatible versions
Because every version of rspec-rails depends on railties >= 6.1
and railties >= 6.1 could not be found in rubygems repository https://gem.fury.io/[redacted]/me/,
rspec-rails cannot be used.
So, because Gemfile depends on rspec-rails >= 0,
version solving has failed.
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/resolver.rb:108:in `rescue in solve_versions'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/resolver.rb:71:in `solve_versions'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/resolver.rb:32:in `start'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/definition.rb:554:in `start_resolution'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/definition.rb:289:in `resolve'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/definition.rb:507:in `materialize'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/definition.rb:197:in `specs'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/installer.rb:231:in `ensure_specs_are_compatible!'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/installer.rb:83:in `block in run'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/process_lock.rb:12:in `block in lock'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/process_lock.rb:9:in `open'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/process_lock.rb:9:in `lock'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/installer.rb:71:in `run'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/installer.rb:23:in `install'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/cli/install.rb:62:in `run'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:261:in `block in install'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/settings.rb:131:in `temporary'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:260:in `install'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:34:in `dispatch'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:28:in `start'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/exe/bundle:45:in `block in <top (required)>'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/Users/pat/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/exe/bundle:33:in `<top (required)>'
/Users/pat/.asdf/installs/ruby/3.2.2/bin/bundle:25:in `load'
/Users/pat/.asdf/installs/ruby/3.2.2/bin/bundle:25:in `<main>'