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

Also available in: Atom PDF

Like0
Like0Like0Like0