Skip to content

Commit 270ebf3

Browse files
committed
Merge pull request #713 from tamird/fix-warning
rake: fix re-definition warning
2 parents 08ad5b7 + e8fab40 commit 270ebf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/compile.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require "rake/extensiontask"
22

3-
load File.expand_path('../../mysql2.gemspec', __FILE__)
3+
load File.expand_path('../../mysql2.gemspec', __FILE__) unless defined? Mysql2::GEMSPEC
44

55
Rake::ExtensionTask.new("mysql2", Mysql2::GEMSPEC) do |ext|
66
# put binaries into lib/mysql2/ or lib/mysql2/x.y/

0 commit comments

Comments
 (0)