Skip to content

Commit

Permalink
Push ./lib to $LOAD_PATH for require SDoc::VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Scott committed Mar 2, 2014
1 parent d8d4b1b commit 97e1eda
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sdoc.gemspec
@@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

$:.push File.expand_path("../lib", __FILE__)
require 'sdoc/version'

Gem::Specification.new do |s|
Expand Down

0 comments on commit 97e1eda

Please sign in to comment.