Skip to content
Browse files

Shouldn't add lib/gem_template to load paths, Ruby gets confused if s…

…imilarly named files exist in your project
  • Loading branch information...
1 parent 2598f8b commit a888bdbfd4bc931e2ae4361cf076afbcd9785760 @winton committed Dec 13, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/gem_template.rb
View
4 lib/gem_template.rb
@@ -2,9 +2,9 @@
GemTemplate::Gems.require(:lib)
-$:.unshift File.dirname(__FILE__) + '/gem_template'
+$:.unshift File.dirname(__FILE__)
-require 'version'
+require 'gem_template/version'
module GemTemplate
end

0 comments on commit a888bdb

Please sign in to comment.
Something went wrong with that request. Please try again.