pdk icon indicating copy to clipboard operation
pdk copied to clipboard

RDoc Error installing pdk 2.4.0 on MacOs Big Sur

Open warmfusion opened this issue 3 years ago • 1 comments

Describe the bug

❯ gem install pdk
Successfully installed pdk-2.4.0
Parsing documentation for pdk-2.4.0
Before reporting this, could you check that the file you're documenting
has proper syntax:

  /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -c lib/pdk/cli/bundle.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

To Reproduce

Bare install pdk with gem install

Expected behavior No Error

Additional context

❯ ruby -v
ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]

MacOs 11.4 BigSur

warmfusion avatar Mar 08 '22 19:03 warmfusion

This issue has been marked stale because it is open with no recent activity. The PDK Team is actively prioritizing existing bugs and new features, if this issue is still important to you please comment and we will add this to our backlog to complete.

github-actions[bot] avatar Sep 05 '22 02:09 github-actions[bot]

@warmfusion Is this still an issue on newer versions of PDK?

chelnak avatar Feb 15 '23 12:02 chelnak

Looks like it copes now. 👍

ProductName:	macOS
ProductVersion:	12.2
BuildVersion:	21D49
❯ date
Wed  8 Mar 2023 09:30:57 GMT
❯ gem install pdk
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Fetching pdk-2.6.1.gem
Successfully installed pdk-2.6.1
Parsing documentation for pdk-2.6.1
Installing ri documentation for pdk-2.6.1
Done installing documentation for pdk after 2 seconds
1 gem installed```

warmfusion avatar Mar 08 '23 09:03 warmfusion