Bug #980
Requiring erb produces two warnings in 1.9.1-RC1
| Status: | Closed | Start date: | 01/05/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | 01/15/2009 | |
| Assignee: | % Done: | 0% |
||
| Category: | lib | |||
| Target version: | 1.9.1 RC2 | |||
| ruby -v: |
Description
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.
History
Updated by Yuki Sonoda about 3 years ago
- Target version set to 1.9.1 RC2
Updated by Yuki Sonoda about 3 years ago
- Due date set to 01/15/2009
- Assignee set to Yuki Sonoda
- Priority changed from Low to Normal