Annotate Gem is not working anymore
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)`
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