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
Contributor guide
No contributing guide indexed for this repository
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.
Similar issues
-
バグ
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
voxpupuli/puppet-epel#186 · 1 comment ·
-
external_created_at is no longer used for the message timestamp since the new message UI (v4.4.0) OpenBug Frontend
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
TheOdinProject/curriculum#31402 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100