Skip to content
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

Rdoc failure relating to Webrick #1647

Closed
andyw8 opened this issue Sep 8, 2023 · 2 comments
Closed

Rdoc failure relating to Webrick #1647

andyw8 opened this issue Sep 8, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@andyw8
Copy link
Contributor

andyw8 commented Sep 8, 2023

As discussed with @KaanOzkan. The message seems to originate in https://github.com/ruby/ruby/blob/7f53da94fb23687ef3bea0507199196a00ca26f8/lib/un.rb#L335

Minimal repo to reproduce, with only the rdoc and tapioca gems:

https://github.com/andyw8/tapioca-webrick-issue/

% bundle exec tapioca gem    
Removing RBI files of gems that have been removed:

  Nothing to do.

Generating RBI files of gems that are added or updated:

Requiring all gems to prepare for compiling...  Done

webrick is not found. You may need to `gem install webrick` to install webrick.
@andyw8 andyw8 added the bug Something isn't working label Sep 8, 2023
@andyw8
Copy link
Contributor Author

andyw8 commented Sep 8, 2023

Note: The same message is also present in the Rdoc code, so it could be getting emitted from there:

rdoc master % ag "webrick is not found"
lib/rdoc/ri/driver.rb
1497:      abort "webrick is not found. You may need to `gem install webrick` to install webrick."

lib/rdoc/servlet.rb
10:  abort "webrick is not found. You may need to `gem install webrick` to install webrick."
rdoc master %

andyw8 referenced this issue in Shopify/ruby-lsp Sep 12, 2023
* Set up Dependabot RBI updates

* Adjust action

---------

Co-authored-by: Andy Waite <andyw8@users.noreply.github.com>
@andyw8
Copy link
Contributor Author

andyw8 commented Mar 18, 2024

Fixed by #1826

@andyw8 andyw8 closed this as completed Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant