Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added convention to add the local lib dir to the PATH

  • Loading branch information...
commit cf5e5717fc5a477e71098034e9fbf4bd65f8c1ea 1 parent 713051c
Dayton Nolan authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  license-generator.gemspec
View
3  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|
Please sign in to comment.
Something went wrong with that request. Please try again.