Bug #4202
closedRDoc raises exception on non-HOME envrionemt
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
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