Bug #9985

Gems documenation is not generated when installing local gem with --ignore-dependencies option

Added by Andrey Bondrov 10 months ago. Updated 10 months ago.

[ruby-core:63371]
Status:Closed
Priority:Normal
Assignee:Eric Hodel
ruby -v:ruby 2.1.2p95 (2014-05-08 revision 45877) [i586-linux] Backport:2.0.0: UNKNOWN, 2.1: UNKNOWN

Description

Gems documenation is not generated when installing local gem with --ignore-dependencies option.

Ruby 2.1.2, gem 2.2.2 (gem -v).

Running install with options "--env-shebang --rdoc --ri --force --ignore-dependencies --install-dir ..." doesn't generate docs. But if we drop "--ignore-dependencies" option, gem generates docs.

History

#1 Updated by Zachary Scott 10 months ago

  • Status changed from Open to Assigned
  • Category set to lib/rubygems
  • Assignee set to Eric Hodel
  • Target version set to current: 2.2.0

Could you please tell us the full command you used to reproduce this problem?

This could be related to RG or RDoc, so I'm assigning to @drbrain for feedback.

Thanks for the report! <3

#2 Updated by Andrey Bondrov 10 months ago

Zachary Scott wrote:

Could you please tell us the full command you used to reproduce this problem?

$ gem install --local ./pkg-config-1.1.4.gem --install-dir=.
Successfully installed pkg-config-1.1.4
Parsing documentation for pkg-config-1.1.4
Installing ri documentation for pkg-config-1.1.4
Done installing documentation for pkg-config after 1 seconds
1 gem installed

$ gem install --local ./pkg-config-1.1.4.gem --install-dir=. --ignore-dependencies
Successfully installed pkg-config-1.1.4
1 gem installed

#4 Updated by Zachary Scott 10 months ago

  • Status changed from Assigned to Closed

Also available in: Atom PDF