Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cleanup load path loading.

  • Loading branch information...
commit ee7940f47c1b602597a923b2e858f718d6196017 1 parent 557baf3
@wayneeseguin authored
Showing with 3 additions and 5 deletions.
  1. +1 −2  Rakefile
  2. +2 −3 psql-cm.gemspec
View
3  Rakefile
@@ -1,5 +1,4 @@
-lib = File.join(File.dirname(__FILE__),'lib', __FILE__)
-
+lib = File.join(File.dirname(__FILE__),'lib')
$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
require 'psql-cm/version'
View
5 psql-cm.gemspec
@@ -1,6 +1,5 @@
-lib = File.expand_path('../lib/', __FILE__)
-
-$:.unshift lib unless $:.include?(lib)
+lib = File.join(File.dirname(__FILE__),'lib')
+$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
require 'psql-cm/version'
Please sign in to comment.
Something went wrong with that request. Please try again.