Bug #3358

-I switch fails to work on the trunk version

Added by Heesob Park about 5 years ago. Updated over 4 years ago.

[ruby-core:30475]
Status:Closed
Priority:Normal
Assignee:-
ruby -v:ruby 1.9.3dev (2010-05-28 trunk 28045) [i386-mswin32_90] Backport:

Description

=begin
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
=end


Related issues

Duplicates Ruby trunk - Bug #3355: Stack overflow executing rdoc Closed 05/28/2010

History

#1 Updated by Heesob Park about 5 years ago

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

=end

#2 Updated by Yui NARUSE about 5 years ago

  • Status changed from Open to Closed

=begin

=end

Also available in: Atom PDF