when I am using this command to install fastlane in macOS Catalina 10.15:
sudo gem install fastlane -v 2.177.0
or
sudo gem update fastlane
shows this error:
ERROR: While executing gem ... (NoMethodError)
undefined method `request' for nil:NilClass
(base)
I tried searching from internet but seems no issue about this problem.what should I do to fix it? This is my ruby version info:
$ ruby -v ‹ruby-3.0.0›
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin19]
(base)
and this is my rubygem info:
$ gem -v ‹ruby-3.0.0›
3.2.3
(base)