Permalink
Browse files

Just require version.rb outright

  • Loading branch information...
indirect committed Aug 16, 2010
1 parent 1808e16 commit 06237280496c1dff76f021850f17d6bb5a4b6a84
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/bundler/templates/newgem/newgem.gemspec.tt
@@ -1,6 +1,5 @@
# -*- 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%>

0 comments on commit 0623728

Please sign in to comment.