Skip to content

Commit

Permalink
use require instead of load in gemspec
Browse files Browse the repository at this point in the history
Avoids double-load in certain situations
  • Loading branch information
mislav committed Nov 27, 2011
1 parent 5f084a6 commit 1467a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hub.gemspec
@@ -1,5 +1,5 @@
# encoding: utf-8
Kernel.load File.expand_path('../lib/hub/version.rb', __FILE__)
require File.expand_path('../lib/hub/version', __FILE__)

Gem::Specification.new do |s|
s.name = "hub"
Expand Down

0 comments on commit 1467a59

Please sign in to comment.