diff --git a/Rakefile b/Rakefile index ea906cc8c..44074c72d 100644 --- a/Rakefile +++ b/Rakefile @@ -2,11 +2,11 @@ require 'rubygems' unless defined?(Gem) require 'rake/clean' require 'rake/contrib/sshpublisher' -require 'fileutils' -require 'rake/dsl_definition' +require 'fileutils' unless defined?(FileUtils) +# require 'rake/dsl_definition' require 'rdoc/task' -include Rake::DSL +# include Rake::DSL require File.expand_path("../padrino-core/lib/padrino-core/version.rb", __FILE__) begin @@ -142,4 +142,4 @@ task :pdoc => :rdoc do puts "Publishing doc on padrinorb.com ..." Rake::SshDirPublisher.new("root@srv2.lipsiasoft.biz", "/mnt/www/apps/padrino/public/api", "doc").upload FileUtils.rm_rf "doc" -end \ No newline at end of file +end