lib/bundler/templates/newgem/newgem.gemspec.tt in bundler-1.0.0.rc.5 vs lib/bundler/templates/newgem/newgem.gemspec.tt in bundler-1.0.0.rc.6

- old
+ new

@@ -1,8 +1,7 @@ # -*- encoding: utf-8 -*- -$LOAD_PATH.unshift File.expand_path('../lib', __FILE__) -require '<%=config[:name]%>/version' +require File.expand_path("../lib/<%=config[:name]%>/version", __FILE__) Gem::Specification.new do |s| s.name = <%=config[:name].inspect%> s.version = <%=config[:constant_name]%>::VERSION s.platform = Gem::Platform::RUBY @@ -16,8 +15,8 @@ s.rubyforge_project = <%=config[:name].inspect%> s.add_development_dependency "bundler", ">= <%=Bundler::VERSION%>" s.files = `git ls-files`.split("\n") - s.executables = `git ls-files`.split("\n").select{|f| f =~ /^bin/} + s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact s.require_path = 'lib' -end \ No newline at end of file +end