rubygems.org: Unable to discover pre-release version of gem released months ago
Describe the problem as clearly as you can
In a gemspec:
spec.add_development_dependency("gemfury", "0.13.0.beta1")
Or in a Gemfile:
gem "gemfury", "0.13.0.beta1"
NOTE: it makes no difference if ~> is added to loosen the constraint.
Did you try upgrading rubygems & bundler?
Yes.
Post steps to reproduce the problem
Run bundle install, or bundle update.
What were you expecting to happen?
I expected the pre-release gem to be found and installed.
What actually happened?
The extra weird thing is that it clearly is seeing other pre-release versions for the same gem. Just not the one that was released in July.
$ bundle update
Fetching gem metadata from https://rubygems.org/..........
Could not find gem 'gemfury (= 0.13.0.beta1)' in rubygems repository https://rubygems.org/ or installed locally.
The source contains the following gems matching 'gemfury':
* gemfury-0.1.1
* gemfury-0.2.0.beta1
* gemfury-0.2.0.beta2
* gemfury-0.2.0.beta3
* gemfury-0.2.0
* gemfury-0.3.0
* gemfury-0.3.1
* gemfury-0.3.2
* gemfury-0.4.0.beta1
* gemfury-0.4.0.beta2
* gemfury-0.4.0
* gemfury-0.4.1
* gemfury-0.4.2
* gemfury-0.4.3.rc
* gemfury-0.4.3
* gemfury-0.4.4
* gemfury-0.4.5
* gemfury-0.4.6
* gemfury-0.4.7
* gemfury-0.4.8
* gemfury-0.4.9
* gemfury-0.4.10
* gemfury-0.4.11
* gemfury-0.4.12
* gemfury-0.4.14
* gemfury-0.4.16
* gemfury-0.4.17
* gemfury-0.4.18
* gemfury-0.4.19
* gemfury-0.4.20.beta1
* gemfury-0.4.20.beta3
* gemfury-0.4.20
* gemfury-0.4.21
* gemfury-0.4.22
* gemfury-0.4.23
* gemfury-0.4.24.beta1
* gemfury-0.4.24.beta3
* gemfury-0.4.24.beta4
* gemfury-0.4.24.beta5
* gemfury-0.4.25
* gemfury-0.4.26.beta1
* gemfury-0.4.26
* gemfury-0.5.0.beta1
* gemfury-0.5.0.beta3
* gemfury-0.5.0
* gemfury-0.6.0.rc1
* gemfury-0.6.0
* gemfury-0.7.0
* gemfury-0.8.0.rc1
* gemfury-0.8.0
* gemfury-0.9.0.rc1
* gemfury-0.9.1
* gemfury-0.10.0.rc1
* gemfury-0.10.0
* gemfury-0.11.0.rc1
* gemfury-0.11.0
* gemfury-0.12.0.rc1
* gemfury-0.12.0.rc2
* gemfury-0.12.0
* gemfury-0.12.1
If not included with the output of your command, run bundle env and paste the output below
Environment
Bundler 2.4.19
Platforms ruby, x86_64-darwin-22
Ruby 3.2.2p53 (2023-03-30 revision e51014f9c05aa65cbf203442d37fef7c12390015) [x86_64-darwin-22]
Full Path /Users/pboling/.asdf/installs/ruby/3.2.2/bin/ruby
Config Dir /Users/pboling/.asdf/installs/ruby/3.2.2/etc
RubyGems 3.4.19
Gem Home /Users/pboling/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0
Gem Path /Users/pboling/.gem/ruby/3.2.0:/Users/pboling/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0
User Home /Users/pboling
User Path /Users/pboling/.gem/ruby/3.2.0
Bin Dir /Users/pboling/.asdf/installs/ruby/3.2.2/bin
Tools
Git 2.41.0
RVM not installed
rbenv not installed
chruby not installed
Bundler Build Metadata
Built At 2023-08-17
Git SHA 86f98098e3
Released Version true
Bundler settings
build.libxml-ruby
Set for the current user (/Users/pboling/.bundle/config): "--with-xml2-config=/usr/local/opt/libxml2/bin/xml2-config --with-xml2-dir=/usr/local/opt/libxml2 --with-xml2-lib=/usr/local/opt/libxml2/lib --with-xml2-include=/usr/local/opt/libxml2/include"
build.mysql2
Set for the current user (/Users/pboling/.bundle/config): "--with-opt-dir=/usr/local/opt/openssl@1.1"
build.pg
Set for the current user (/Users/pboling/.bundle/config): "--with-pg-config=/Users/pboling/.asdf/installs/postgres/10.18/bin/pg_config"
gem.changelog
Set for the current user (/Users/pboling/.bundle/config): true
gem.ci
Set for the current user (/Users/pboling/.bundle/config): "github"
gem.coc
Set for the current user (/Users/pboling/.bundle/config): true
gem.fury.io
Set for the current user (/Users/pboling/.bundle/config): "pfffffffffffffffffffffffft"
gem.linter
Set for the current user (/Users/pboling/.bundle/config): "rubocop"
gem.mit
Set for the current user (/Users/pboling/.bundle/config): true
gem.test
Set for the current user (/Users/pboling/.bundle/config): "rspec"
silence_root_warning
Set for the current user (/Users/pboling/.bundle/config): true
with
Set for the current user (/Users/pboling/.bundle/config): [:api, :stats, :admin, :development, :test]
Gemfile
Gemfile
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
# Specify your gem's dependencies in vc_ruby.gemspec
gemspec
group :development, :test do
# Projects using vc_ruby can load other gems from the rubocop-lts family to target a specific version of Ruby
gem "rubocop-lts", "~> 18.2", ">= 18.2.1" # For Ruby 2.7+
# Maintenance of the simplecov gem is nearly dead, so we may need to switch at some point:
# gem "simplecov", github: "pboling/simplecov", branch: "uncover-partial-lines", require: false
# Can't constrain to pre-release in gemspec for some reason.
gem "gemfury", "0.13.0.beta1"
end
Gemfile.lock
GIT
remote: https://github.com/pboling/simplecov-rcov
revision: 7a54f35d04e2bdb1052be698f00d6c7cc35ea529
branch: patch-1
specs:
simplecov-rcov (0.3.1)
simplecov (>= 0.4.1)
PATH
remote: .
specs:
vc_ruby (2.3.7)
ci_reporter_rspec (~> 1.0)
colorize (~> 0.8)
pretty_feed (~> 0.2)
pry-suite (~> 1.2)
rake (>= 10.0, < 14)
redcarpet (~> 3.6)
rspec (>= 2.14, < 4)
rspec-block_is_expected (~> 1.0, >= 1.0.5)
rspec-stubbed_env (~> 1.0, >= 1.0.1)
rspec_junit_formatter (~> 0.6)
rubocop-gradual (~> 0.3)
rubocop-lts (>= 18.2.1)
rubocop-md (~> 1.2)
rubocop-performance (~> 1.16)
rubocop-rake (~> 0.6)
rubocop-rspec (~> 2.22)
rubocop-shopify (~> 2.14)
rubocop-thread_safety (~> 0.4)
simplecov (~> 0.22)
simplecov-cobertura (~> 2.1)
simplecov-html (~> 0.12)
simplecov-json (~> 0.2)
simplecov-lcov (~> 0.8)
simplecov-rcov (~> 0.3)
standard (~> 1.30, >= 1.30.1)
standard-custom (~> 1.0, >= 1.0.1)
standard-performance (~> 1.1, >= 1.1.1)
standard-rubocop-lts (~> 1.0, >= 1.0.8)
version_gem (>= 1.1.3, < 2)
yard (~> 0.9, >= 0.9.34)
yard-junk (~> 0.0)
GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
backports (3.24.1)
builder (3.2.4)
byebug (11.1.3)
ci_reporter (2.1.0)
builder (>= 2.1.2)
rexml
ci_reporter_rspec (1.0.0)
ci_reporter (~> 2.0)
rspec (>= 2.14, < 4)
coderay (1.1.3)
colorize (0.8.1)
diff-lcs (1.5.0)
diffy (3.4.2)
docile (1.4.0)
gist (6.0.0)
grit (2.5.0)
diff-lcs (~> 1.1)
mime-types (~> 1.15)
posix-spawn (~> 0.3.6)
highline (2.1.0)
interception (0.5)
json (2.6.3)
language_server-protocol (3.17.0.3)
lint_roller (1.1.0)
method_source (1.0.0)
mime-types (1.25.1)
nokogiri (1.15.3-arm64-darwin)
racc (~> 1.4)
parallel (1.23.0)
parser (3.2.2.3)
ast (~> 2.4.1)
racc
posix-spawn (0.3.15)
pretty_feed (0.2.0)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
pry-doc (1.4.0)
pry (~> 0.11)
yard (~> 0.9.11)
pry-docmore (0.1.1)
pry
pry-doc
pry-git (0.2.3)
diffy
grit
pry (>= 0.9.8)
pry-highlight (0.1.0)
coderay
json
nokogiri
pry
pry-macro (1.0.1)
highline
pry
pry-pretty-numeric (0.1.1)
pry
pry-rescue (1.5.2)
interception (>= 0.5)
pry (>= 0.12.0)
pry-suite (1.2.0)
gist
pry
pry-byebug
pry-doc
pry-docmore
pry-git
pry-highlight
pry-macro
pry-pretty-numeric
pry-rescue
racc (1.7.1)
rainbow (3.1.1)
rake (13.0.6)
redcarpet (3.6.0)
regexp_parser (2.8.1)
rexml (3.2.5)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-block_is_expected (1.0.5)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.5)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-stubbed_env (1.0.1)
rspec-support (3.12.1)
rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.52.1)
json (~> 2.3)
parallel (~> 1.10)
parser (>= 3.2.2.3)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0)
parser (>= 3.2.1.0)
rubocop-capybara (2.18.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.23.1)
rubocop (~> 1.33)
rubocop-gradual (0.3.1)
diff-lcs (>= 1.2.0, < 2.0)
diffy (~> 3.0)
parallel (~> 1.10)
rainbow (>= 2.2.2, < 4.0)
rubocop (~> 1.0)
rubocop-lts (18.2.1)
rubocop-ruby2_7 (>= 2.0.4, < 3)
standard-rubocop-lts (>= 1.0.3, < 3)
version_gem (>= 1.1.2, < 3)
rubocop-md (1.2.0)
rubocop (>= 1.0)
rubocop-packaging (0.5.2)
rubocop (>= 1.33, < 2.0)
rubocop-performance (1.18.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.22.0)
rubocop (~> 1.33)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-ruby2_7 (2.0.6)
rubocop-gradual (~> 0.3, >= 0.3.1)
rubocop-md (~> 1.2)
rubocop-rake (~> 0.6)
rubocop-shopify (~> 2.14)
rubocop-thread_safety (~> 0.5, >= 0.5.1)
standard-rubocop-lts (~> 1.0, >= 1.0.7)
version_gem (>= 1.1.3, < 3)
rubocop-shopify (2.14.0)
rubocop (~> 1.51)
rubocop-thread_safety (0.5.1)
rubocop (>= 0.90.0)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-cobertura (2.1.0)
rexml
simplecov (~> 0.19)
simplecov-html (0.12.3)
simplecov-json (0.2.3)
json
simplecov
simplecov-lcov (0.8.0)
simplecov_json_formatter (0.1.4)
standard (1.30.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.52.0)
standard-custom (~> 1.0.0)
standard-performance (~> 1.1.0)
standard-custom (1.0.1)
lint_roller (~> 1.0)
standard-performance (1.1.1)
lint_roller (~> 1.1)
rubocop-performance (~> 1.18.0)
standard-rubocop-lts (1.0.8)
standard (>= 1.30.1, < 2)
standard-custom (>= 1.0.1, < 2)
standard-performance (>= 1.1.1, < 2)
version_gem (>= 1.1.3, < 4)
unicode-display_width (2.4.2)
version_gem (1.1.3)
yard (0.9.34)
yard-junk (0.0.9)
backports (>= 3.18)
rainbow
yard
PLATFORMS
arm64-darwin-22
DEPENDENCIES
rubocop-lts (~> 18.2, >= 18.2.1)
rubocop-packaging (~> 0.5, >= 0.5.2)
simplecov-rcov!
vc_ruby!
BUNDLED WITH
2.4.10
Gemspecs
vc_ruby.gemspec
# frozen_string_literal: true
# Get the GEMFILE_VERSION without *require* "my_gem/version", for code coverage accuracy
# See: https://github.com/simplecov-ruby/simplecov/issues/557#issuecomment-825171399
load "lib/vc_ruby/version.rb"
gem_version = VcRuby::Version::VERSION
VcRuby::Version.send(:remove_const, :VERSION)
Gem::Specification.new do |spec|
spec.name = "vc_ruby"
spec.version = gem_version
spec.authors = ["Peter Boling"]
spec.email = ["pboling@vitalconnect.com"]
spec.summary = "Configs to support WI-839"
spec.description =
"WI-839 configurations for:" \
"Rake, " \
"RSpec, " \
"RuboCop," \
"Standard," \
"RuboCop Shopify," \
"Other Rubocop Plugins," \
"Rubocop Gradual," \
"SimpleCov"
spec.homepage = "https://bitbucket.org/vitalconnect/#{spec.name}"
spec.license = "Nonstandard"
spec.required_ruby_version = ">= 2.7.8"
spec.metadata["allowed_push_host"] = "https://gem.fury.io/vitalconnect/"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://bitbucket.org/vitalconnect/#{spec.name}"
spec.metadata["changelog_uri"] = "https://bitbucket.org/vitalconnect/#{spec.name}/src/main/CHANGELOG.md"
# Specify which files should be added to the gem when it is released.
spec.files = Dir[
# Splats (alphabetical)
"lib/**/*.rb",
"lib/**/*.rake",
"rubocop/**/*.yml",
"sig/**/*.rbs",
# Files (alphabetical)
"CHANGELOG.md",
"lib/vc_ruby/tasks.rake",
"railtie.rb",
"Rakefile",
"README.md",
"rubocop.yml",
"tasks.rb",
]
# Documentation
spec.add_dependency("redcarpet", "~> 3.6")
spec.add_dependency("yard", "~> 0.9", ">= 0.9.34")
spec.add_dependency("yard-junk", "~> 0.0")
# Testing
spec.add_dependency("ci_reporter_rspec", "~> 1.0")
# RSpec - Allow v2.99 so transpec can upgrade test suites from RSpec v2 to v3
# TODO: Once all projects have been upgraded to RSpec v3+ we can bump this also.
spec.add_dependency("rspec", ">= 2.14", "< 4")
spec.add_dependency("rspec-block_is_expected", "~> 1.0", ">= 1.0.5")
spec.add_dependency("rspec_junit_formatter", "~> 0.6")
spec.add_dependency("rspec-stubbed_env", "~> 1.0", ">= 1.0.1")
# linting
spec.add_dependency("rubocop-gradual", "~> 0.3")
spec.add_dependency("rubocop-lts", ">= 18.2.1") # allows Ruby 2.7+
spec.add_dependency("rubocop-md", "~> 1.2")
spec.add_dependency("rubocop-performance", "~> 1.16")
spec.add_dependency("rubocop-rake", "~> 0.6")
spec.add_dependency("rubocop-rspec", "~> 2.22")
spec.add_dependency("rubocop-shopify", "~> 2.14")
spec.add_dependency("rubocop-thread_safety", "~> 0.4")
spec.add_dependency("standard", ">= 1.30.1", "~> 1.30")
spec.add_dependency("standard-custom", ">= 1.0.1", "~> 1.0")
spec.add_dependency("standard-performance", ">= 1.1.1", "~> 1.1")
spec.add_dependency("standard-rubocop-lts", ">= 1.0.8", "~> 1.0")
# Coverage
spec.add_dependency("simplecov", "~> 0.22")
spec.add_dependency("simplecov-cobertura", "~> 2.1") # XML for Jenkins
spec.add_dependency("simplecov-html", "~> 0.12")
spec.add_dependency("simplecov-json", "~> 0.2") # For CodeClimate
spec.add_dependency("simplecov-lcov", "~> 0.8")
spec.add_dependency("simplecov-rcov", "~> 0.3")
# Debugging Console - IRB Replacement
spec.add_dependency("pry-suite", "~> 1.2")
# Logging
spec.add_dependency("colorize", "~> 0.8")
spec.add_dependency("pretty_feed", "~> 0.2")
# Utils
spec.add_dependency("version_gem", ">= 1.1.3", "< 2")
# TODO: Once all projects have been upgraded to RSpec v3+ we can bump this also.
# Rake v11 removes `last_comment` method which rspec-core (< 3.5) uses.
spec.add_dependency("rake", ">= 10.0", "< 14")
spec.add_development_dependency("gemfury", "0.13.0.beta1")
spec.add_development_dependency("rubocop-packaging", ["~> 0.5", ">= 0.5.2"])
end
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (9 by maintainers)
@evman182 mind opening a new issue? I should be able to look into it tomorrow
I think I have a similar case here:
middleman 4.5.1 turns up on the website, is returned when querying the normal API:
…but is missing from the index:
Yep, works now. Thanks @simi - hope the root cause can be determined and addressed! Manual processes suck!
For now, I have updated info file manually (using admin panel), can you check this is fixed @pboling? Locally I can install this gem version successfully now.