Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

bundle gem mygem generates files with extra empty lines on Windows #1371

Closed
DNNX opened this issue Aug 25, 2011 · 5 comments
Closed

bundle gem mygem generates files with extra empty lines on Windows #1371

DNNX opened this issue Aug 25, 2011 · 5 comments

Comments

@DNNX
Copy link

DNNX commented Aug 25, 2011

See version.rb:

module Mygem

  VERSION = "0.0.1"

end

Or mygem.rb:

require "mygem/version"


module Mygem

  # Your code goes here...

end
@ghost
Copy link

ghost commented Aug 25, 2011

That's likely because of differing line endings on Unix, Windows and Mac OSX.

@DNNX
Copy link
Author

DNNX commented Aug 25, 2011

Totally agree. But that's still a bug, right?

@indirect
Copy link
Member

I don't use Windows, so I don't know how to fix this. If you know how, I would love to patch it.

@DNNX
Copy link
Author

DNNX commented Sep 19, 2011

Looks like that's an ERB bug. I'm investigating it.

@DNNX DNNX closed this as completed Sep 19, 2011
@DNNX
Copy link
Author

DNNX commented Sep 19, 2011

I've just created a bug in Ruby issue tracker: http://redmine.ruby-lang.org/issues/5339

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants