Command `gem server` causes `NoMethodError`
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Reproduce the failure with gem server, then trace the Gem::RDoc.load_rdoc call and the RDoc::RubygemsHook method named in the error. Done means the command no longer raises NoMethodError and starts the expected local gem server.
Written by the indexing model from the issue text.
Description
Environment
> ruby -v && gem --version && gem info rubygems-server
ruby 3.3.6 (2024-11-05 revision 75015d4c1f) +YJIT [arm64-darwin24]
3.5.23
*** LOCAL GEMS ***
rubygems-server (0.3.0)
Author: Hiroshi SHIBATA
Homepage: https://github.com/rubygems/rubygems-server
License: MIT
Installed at: /Users/stephan/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0
Gem::Server and allows users to serve gems for consumption by `gem
--remote-install`.
Hardware:
- OS: macOS Sequoia 15.2 arm64
- Kernel: Darwin 24.2.0
Behaviour
> gem server
ERROR: While executing gem ... (NoMethodError)
undefined method `load_rdoc' for class RDoc::RubygemsHook
Gem::RDoc.load_rdoc
^^^^^^^^^^
I expected to get a runing local gem server.
Am I doing it wrong? Should I be using something else?
Or maybe my expectation mislead?
- Dominant language
- Ruby
- Stars
- 17
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ruby/rubygems-server
-
Difficulty 1/5 Under an hour Newbie friendliness 25/100
ruby/rubygems-server#16 ·
All issues in ruby/rubygems-server
Similar issues
-
🐛 bug 👩💻 équipe CE 🧑🏭 entreprises
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
betagouv/conseillers-entreprises#4808 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
yosiat/panko_serializer#250 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
cline/mcp-marketplace#3886 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100