diff --git a/Rakefile b/Rakefile index f5a9b14..edecf8d 100644 --- a/Rakefile +++ b/Rakefile @@ -36,5 +36,7 @@ Spec::Rake::SpecTask.new('spec') do |t| t.spec_opts << '--options' << 'spec/spec.opts' end -Rake::ExtensionTask.new("mysql2", JEWELER.gemspec) +Rake::ExtensionTask.new("mysql2", JEWELER.gemspec) do |ext| + ext.lib_dir = File.join 'lib', 'mysql2' +end Rake::Task[:spec].prerequisites << :compile