pdk
pdk copied to clipboard
RDoc Error installing pdk 2.4.0 on MacOs Big Sur
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
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.
@warmfusion Is this still an issue on newer versions of PDK?
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```