Rakefile in rufus-scheduler-2.0.8 vs Rakefile in rufus-scheduler-2.0.9
- old
+ new
@@ -1,9 +1,10 @@
$:.unshift('.') # 1.9.2
require 'rubygems'
+require 'rubygems/user_interaction' if Gem::RubyGemsVersion == '1.5.0'
require 'rake'
require 'rake/clean'
require 'rake/rdoctask'
@@ -76,10 +77,10 @@
upload the rdoc to rubyforge
}
task :upload_rdoc => [ :clean, :rdoc ] do
account = 'jmettraux@rubyforge.org'
- webdir = "/var/www/gforge-projects/rufus"
+ webdir = '/var/www/gforge-projects/rufus'
sh "rsync -azv -e ssh rdoc/#{GEMSPEC.name} #{account}:#{webdir}/"
end