Project

General

Profile

Actions

Bug #3358

closed

-I switch fails to work on the trunk version

Added by phasis68 (Heesob Park) over 14 years ago. Updated over 13 years ago.

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

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 1 (0 open1 closed)

Is duplicate of Ruby master - Bug #3355: Stack overflow executing rdocClosednaruse (Yui NARUSE)05/28/2010Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0