Skip to content

Commit

Permalink
Oops. That should be $/, which is "\n" on UNIX systems and "\r\n" on …
Browse files Browse the repository at this point in the history
…Windows.
  • Loading branch information
postmodern committed Jun 21, 2012
1 parent 68bdb44 commit 312fb52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/templates/newgem/newgem.gemspec.tt
Expand Up @@ -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"]
Expand Down

0 comments on commit 312fb52

Please sign in to comment.