Project

General

Profile

Bug #980

Requiring erb produces two warnings in 1.9.1-RC1

Added by a3li (Alex Legler) over 11 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
Backport:
[ruby-core:21117]

Description

=begin
When requiring erb with 1.9.1 RC1 or trunk with -w these two warnings are shown:

-:1: warning: encoding 'UTF-8' is ignored, valid only in the first line except for shebang line.
-:1: warning: encoding 'Big5' is ignored, valid only in the first line except for shebang line.

It seems that two "-*- coding" lines in the rdoc in line 68 and 72 of lib/erb.rb are interfering.
=end

#1

Updated by yugui (Yuki Sonoda) over 11 years ago

  • Target version set to 1.9.1 RC2

=begin

=end

#2

Updated by yugui (Yuki Sonoda) over 11 years ago

  • Due date set to 01/15/2009
  • Assignee set to yugui (Yuki Sonoda)
  • Priority changed from 3 to Normal

=begin

=end

#3

Updated by yugui (Yuki Sonoda) over 11 years ago

  • Status changed from Open to Closed

=begin
applied in r21635.
=end

Also available in: Atom PDF