Project

General

Profile

Actions

Bug #5339

closed

ERB generates extra newlines on Windows

Added by DNNX (Viktar Basharymau) about 13 years ago. Updated over 7 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2p290 (2011-07-09) [i386-mingw32]
[ruby-core:39625]

Description

Steps to reproduce:

(1) Create files from this gist: https://gist.github.com/1226780.
(2) Run ruby erbug.rb.
(3) If you're on windows, you'll see something like

  • 1

    • 2

      • 3
        Otherwise, it will be like this:
  • 1

    • 2
      • 3

This bug also affects bundler gem (see https://github.com/carlhuda/bundler/issues/1371).

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0