annotate_gem icon indicating copy to clipboard operation
annotate_gem copied to clipboard

Annotate Gem is not working anymore

Open siba2893 opened this issue 1 year ago • 1 comments

When trying to run annotate_gem it returns an HTTP error because the site where its fetching the information is not accessible anymore.

/.rvm/rubies/ruby-3.0.6/lib/ruby/3.0.0/bundler/fetcher/downloader.rb:45:in fetch': Net::HTTPNotFound: https://index.rubygems.org/api/v1/dependencies?gems=pg%2Ctzinfo-data (Bundler::Fetcher::FallbackError)`

siba2893 avatar May 19 '23 16:05 siba2893

The dependency API at RubyGems.org has been deprecated https://blog.rubygems.org/2023/02/22/dependency-api-deprecation.html

This fork worked for me https://github.com/johansenja/annotate_gem/

Uninstall the gem with gem uninstall annotate_gem then clone the fork, cd annotate_gem, gem build annotate_gem.gemspec and gem install ./annotate_gem-0.0.14.gem

bcavileer avatar Dec 08 '23 16:12 bcavileer