Project

General

Profile

Actions

Bug #980

closed

Requiring erb produces two warnings in 1.9.1-RC1

Added by a3li (Alex Legler) about 15 years ago. Updated almost 13 years ago.

Status:
Closed
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

Actions #1

Updated by yugui (Yuki Sonoda) about 15 years ago

  • Target version set to 1.9.1 RC2

=begin

=end

Actions #2

Updated by yugui (Yuki Sonoda) about 15 years ago

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

=begin

=end

Actions #3

Updated by yugui (Yuki Sonoda) about 15 years ago

  • Status changed from Open to Closed

=begin
applied in r21635.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0