Skip to content

Commit

Permalink
use non-relative path for ruby 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbuddy authored and indirect committed Aug 4, 2010
1 parent eeadd44 commit d10aede
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 @@ -2,7 +2,7 @@
lib = File.expand_path('../lib/', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require <%="#{config[:name]}/version".inspect%>
require File.join(lib, <%=config[:name].inspect%>, 'version')

Gem::Specification.new do |s|
s.name = <%=config[:name].inspect%>
Expand Down

0 comments on commit d10aede

Please sign in to comment.