Project

General

Profile

Actions

Bug #4202

closed

RDoc raises exception on non-HOME envrionemt

Added by shyouhei (Shyouhei Urabe) over 13 years ago. Updated about 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-12-21 trunk 30286) [x86_64-linux]
Backport:
[ruby-core:33867]

Description

=begin
Hi Eric,

I'm running my Ruby compilation as a cron job and fails on "make rdoc", saying following:

/src/lib/rdoc/ri/paths.rb:22:in expand_path': couldn't find HOME environment -- expanding ~' (ArgumentError)
from /src/lib/rdoc/ri/paths.rb:22:in <module:Paths>' from /src/lib/rdoc/ri/paths.rb:6:in <top (required)>'
from internal:lib/rubygems/custom_require:29:in require' from <internal:lib/rubygems/custom_require>:29:in require'
from /src/lib/rdoc/options.rb:3:in <top (required)>' from <internal:lib/rubygems/custom_require>:29:in require'
from internal:lib/rubygems/custom_require:29:in require' from /src/lib/rdoc/rdoc.rb:12:in <top (required)>'
from internal:lib/rubygems/custom_require:29:in require' from <internal:lib/rubygems/custom_require>:29:in require'
from /src/bin/rdoc:11:in `'
make: *** [rdoc] Error 1

It seems you have some code for non-HOME situation but that seems not working.
=end

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 13 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r30382.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions

Also available in: Atom PDF

Like0
Like0