git-fame-rb icon indicating copy to clipboard operation
git-fame-rb copied to clipboard

Deprecator issue

Open axeloz opened this issue 1 year ago • 3 comments

Hi there, Just installed git_fame. I have an error:

❯ git fame --after 2010-01-01
/opt/homebrew/lib/ruby/gems/3.2.0/gems/activesupport-7.1.2/lib/active_support/core_ext/array/conversions.rb:108:in `<class:Array>': undefined method `deprecator' for ActiveSupport:Module (NoMethodError)

Versions:

❯ ruby -v
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin23]
❯ gem -v
3.4.22

Thanks

axeloz avatar Dec 01 '23 12:12 axeloz

same

OlegTolochko avatar Jan 29 '24 19:01 OlegTolochko

@axeloz What fixed it for me was using a different version of activesupport. I just did: gem install activesupport -v '7.0' and then created a custom Gemfile:

# frozen_string_literal: true

source 'https://rubygems.org'
gem 'activesupport', '7.0.0'
gem 'git_fame'

# gem "rails"

OlegTolochko avatar Jan 29 '24 19:01 OlegTolochko

Just released a possible fix. Please give 3.1.1 a try.

oleander avatar Jan 31 '24 23:01 oleander