Permalink
Browse files

Oops. That should be $/, which is "\n" on UNIX systems and "\r\n" on …

…Windows.
  • Loading branch information...
postmodern committed Jun 21, 2012
1 parent 68bdb44 commit 312fb5278bdc5f14b89cd45edcfc5b9708b88060
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler/templates/newgem/newgem.gemspec.tt
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
gem.summary = %q{TODO: Write a gem summary}
gem.homepage = ""
- gem.files = `git ls-files`.split($\)
+ gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]

0 comments on commit 312fb52

Please sign in to comment.