Skip to content
Browse files

Changed how version file is loaded to silence warning when gemspec is…

… loaded via bundler
  • Loading branch information...
1 parent 77df159 commit 21f002d76fb060a51ed2bcb06280aafef139824b Brawnski committed Jan 12, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 ruby-ole.gemspec
View
3 ruby-ole.gemspec
@@ -1,4 +1,5 @@
-Kernel.load File.dirname(__FILE__) + '/lib/ole/storage/version.rb'
+$:.unshift (File.dirname(__FILE__) + '/lib')
+require 'ole/storage/version'
PKG_NAME = 'ruby-ole'
PKG_VERSION = Ole::Storage::VERSION

0 comments on commit 21f002d

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