diff --git a/Rakefile b/Rakefile index 3b64e59f73..616120f4d0 100644 --- a/Rakefile +++ b/Rakefile @@ -55,7 +55,7 @@ task :release do WARNING end - system 'gem', 'push', "mongoid-#{Mongoid::VERSION}.gem" + system 'bundle', 'exec', 'gem', 'push', "mongoid-#{Mongoid::VERSION}.gem" end RSpec::Core::RakeTask.new("spec") do |spec|