NoMethodError while installing but
When I run
$ gem install but
I get the following error message:
Fetching ruby-prof-1.4.1.gem
Fetching but-0.1.8.gem
Building native extensions. This could take a while...
Successfully installed ruby-prof-1.4.1
Successfully installed but-0.1.8
Parsing documentation for ruby-prof-1.4.1
Before reporting this, could you check that the file you're documenting
has proper syntax:
/<myhome>/.rbenv/versions/2.6.1/bin/ruby -c lib/ruby-prof/printers/abstract_printer.rb
RDoc is not a full Ruby parser and will fail when fed invalid ruby programs.
The internal error was:
(NoMethodError) undefined method `[]' for nil:NilClass
ERROR: While executing gem ... (NoMethodError)
undefined method `[]' for nil:NilClass