Bug #3358

-I switch fails to work on the trunk version

Added by phasis68 (Heesob Park) almost 2 years ago. Updated about 1 year ago.

[ruby-core:30475]
Status:Closed Start date:05/28/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:core
Target version:2.0.0
ruby -v:ruby 1.9.3dev (2010-05-28 trunk 28045) [i386-mswin32_90]

Description

The nightly snapshop version fails to generate rdoc with this error:

Generating RDoc documentation
        .\ruby.exe -I./lib -I".ext/i386-mswin32_90" "./tool/runruby.rb" --extout
=".ext"  -- "./bin/rdoc" --no-force-update --all --ri --op ".ext/rdoc"  "."
NMAKE : fatal error U1077: '.\ruby.exe' : '0xc0000005' 
Stop.

I found that ruby fails to run script if -I switch is provided.

On ruby 1.8.6
C:\>ruby -I./ -ve 'p 1'
ruby 1.8.6 (2010-02-04 patchlevel 398) [i386-mingw32]
1

C:\>echo %ERRORLEVEL%
0

On ruby 1.9.3.dev
C:\work\snapshot>ruby -I./ -ve 'p 1'
ruby 1.9.3dev (2010-05-28 trunk 28045) [i386-mswin32_90]

C:\work\snapshot>echo %ERRORLEVEL%
-1073741819

C:\work\snapshot>ruby  -ve 'p 1'
ruby 1.9.3dev (2010-05-28 trunk 28045) [i386-mswin32_90]
1

C:\work\snapshot>echo %ERRORLEVEL%
0

Related issues

duplicates ruby-trunk - Bug #3355: Stack overflow executing rdoc Closed 05/28/2010

History

Updated by phasis68 (Heesob Park) almost 2 years ago

This duplicates Bug #3355 and fixed at r28063.
Please close

Updated by naruse (Yui NARUSE) almost 2 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF