Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… loaded via bundler
  • Loading branch information...
commit 21f002d76fb060a51ed2bcb06280aafef139824b 1 parent 77df159
Brawnski authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.