-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when building YARD index #1627
Comments
What would be the easiest way for us to reproduce this? |
Expected:
Actual:
|
I had this issue too – I did this to workaround it: $ pushd $(bundle show reek)
$ mkdir -p docs
$ touch docs/yard_plugin.rb
$ popd and then yard was able to process |
@anicholson-sq 's workaround solved my problem. Thank you. I'm closing this issue now. |
typhoon2099
added a commit
to typhoon2099/reek
that referenced
this issue
Jul 2, 2024
As per troessner#1627, Yard can't process Reek because `docs/yarn_plugin.rb` is missing. It's not included in the Gem, so this PR adds it to correct this error. This was reported upstream in lsegal/yard#1462, but it seems that it either wasn't, or people were happy enough with the workaround (touching the missing file in the Gem's installed location). The workaround doesn't work when using `asdf`/`mise` with [default Gems](https://mise.jdx.dev/lang/ruby.html#default-gems). If Yard's automatic documentation is enabled (`yard config --gem-install-yri`) then the Ruby build fails.
typhoon2099
added a commit
to typhoon2099/reek
that referenced
this issue
Jul 2, 2024
As per troessner#1627, Yard can't process Reek because `docs/yarn_plugin.rb` is missing. It's not included in the Gem, so this PR adds it to correct this error. This was reported upstream in lsegal/yard#1462, but it seems that it either wasn't, or people were happy enough with the workaround (touching the missing file in the Gem's installed location). The workaround doesn't work when using `asdf`/`mise` with [default Gems](https://mise.jdx.dev/lang/ruby.html#default-gems). If Yard's automatic documentation is enabled (`yard config --gem-install-yri`) then the Ruby build fails.
typhoon2099
added a commit
to typhoon2099/reek
that referenced
this issue
Jul 2, 2024
As per troessner#1627, Yard can't process Reek because `docs/yarn_plugin.rb` is missing. It's not included in the Gem, so this PR adds it to correct this error. This was reported upstream in lsegal/yard#1462, but it seems that it either wasn't, or people were happy enough with the workaround (touching the missing file in the Gem's installed location). The workaround doesn't work when using `asdf`/`mise` with [default Gems](https://mise.jdx.dev/lang/ruby.html#default-gems). If Yard's automatic documentation is enabled (`yard config --gem-install-yri`) then the Ruby build fails.
typhoon2099
added a commit
to typhoon2099/reek
that referenced
this issue
Jul 2, 2024
As per troessner#1627, Yard can't process Reek because `docs/yarn_plugin.rb` is missing. It's not included in the Gem, so this PR adds it to correct this error. This was reported upstream in lsegal/yard#1462, but it seems that it either wasn't, or people were happy enough with the workaround (touching the missing file in the Gem's installed location). The workaround doesn't work when using `asdf`/`mise` with [default Gems](https://mise.jdx.dev/lang/ruby.html#default-gems). If Yard's automatic documentation is enabled (`yard config --gem-install-yri`) then the Ruby build fails.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could anyone please help me troubleshoot this issue?
For context, I am trying to run
yard gems
in my project directory for solargraph. (https://solargraph.org/guides/yard)However, when it tries to generate documentation for
reek
gem, it outputs following error:Your help would be most appreciated.
The text was updated successfully, but these errors were encountered: