Skip to content

Commit

Permalink
Merge pull request #713 from tamird/fix-warning
Browse files Browse the repository at this point in the history
rake: fix re-definition warning
  • Loading branch information
sodabrew committed Dec 10, 2015
2 parents 08ad5b7 + e8fab40 commit 270ebf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/compile.rake
@@ -1,6 +1,6 @@
require "rake/extensiontask"

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

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

0 comments on commit 270ebf3

Please sign in to comment.