I get the errpr complaining about installation of fake gems. I'm on MacoS Big Sur with brew install rudy and ruby --version is '3.0.0p0`; so wondering if markdownlint does not get along with ruby 3.0?
[INFO] Installing environment for https://github.com/jumanjihouse/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/usr/local/Cellar/ruby/3.0.0_1/bin/ruby', '/usr/local/opt/ruby/bin/gem', 'install', '--no-document', '--no-format-executable', 'fake_gem__-0.0.0.gem')
return code: 1
expected return code: 0
stdout: (none)
stderr:
ERROR: While executing gem ... (NoMethodError)
undefined method `request' for nil:NilClass
Ok I've narrowed this down to markdownlint when I run
pre-commit run --all-files
withI get the errpr complaining about installation of fake gems. I'm on MacoS Big Sur with
brew install rudy
and ruby --version is '3.0.0p0`; so wondering if markdownlint does not get along with ruby 3.0?