Skip to content

Commit

Permalink
Remove Rake::DSL because causes some errors on 1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
DAddYE committed Jul 31, 2011
1 parent 139b682 commit af8aa97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -142,4 +142,4 @@ task :pdoc => :rdoc do
puts "Publishing doc on padrinorb.com ..."
Rake::SshDirPublisher.new("[email protected]", "/mnt/www/apps/padrino/public/api", "doc").upload
FileUtils.rm_rf "doc"
end
end

0 comments on commit af8aa97

Please sign in to comment.