Commit 32dbcc0b by Prem Sichanugrist

Silent Rake which keeps complaining us to switch to rdoc/task

parent 5be67595
......@@ -11,3 +11,4 @@ gem "fog"
gem "bundler"
gem "cocaine"
gem "mime-types"
gem "rdoc", :require => false
......@@ -44,6 +44,7 @@ GEM
net-ssh (2.1.4)
nokogiri (1.4.4)
rake (0.9.2)
rdoc (3.7)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
......@@ -72,5 +73,6 @@ DEPENDENCIES
mime-types
mocha
rake
rdoc
shoulda
sqlite3-ruby (~> 1.3.0)
......@@ -4,7 +4,7 @@ require 'bundler/setup'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rdoc/task'
$LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
require 'paperclip'
......@@ -31,7 +31,7 @@ task :shell do |t|
end
desc 'Generate documentation for the paperclip plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'doc'
rdoc.title = 'Paperclip'
rdoc.options << '--line-numbers' << '--inline-source'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment