Rakefile in rufus-scheduler-2.0.24 vs Rakefile in rufus-scheduler-3.0.0
- old
+ new
@@ -1,10 +1,7 @@
-$:.unshift('.') # 1.9.2
-
require 'rubygems'
-require 'rubygems/user_interaction' if Gem::RubyGemsVersion == '1.5.0'
require 'rake'
require 'rake/clean'
#require 'rake/rdoctask'
require 'rdoc/task'
@@ -40,10 +37,10 @@
builds the gem and places it in pkg/
}
task :build do
sh "gem build #{GEMSPEC_FILE}"
- sh "mkdir pkg" rescue nil
+ sh "mkdir -p pkg"
sh "mv #{GEMSPEC.name}-#{GEMSPEC.version}.gem pkg/"
end
desc %{
builds the gem and pushes it to rubygems.org