Permalink
Browse files

Added convention to add the local lib dir to the PATH

  • Loading branch information...
1 parent 713051c commit cf5e5717fc5a477e71098034e9fbf4bd65f8c1ea Dayton Nolan committed Nov 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 license-generator.gemspec
@@ -1,5 +1,6 @@
# -*- encoding: utf-8 -*-
-$:.push File.expand_path("../lib", __FILE__)
+lib = File.expand_path('../lib/', __FILE__)
+$:.unshift lib unless $:.include?(lib)
require "license-generator/version"
Gem::Specification.new do |s|

0 comments on commit cf5e571

Please sign in to comment.