fix rake doc error

using mrbdoc
This commit is contained in:
takahashim
2015-10-09 11:35:55 +09:00
parent 02a6d866ba
commit f377753b16
+6 -1
View File
@@ -139,5 +139,10 @@ end
desc 'generate document'
task :doc do
load "#{MRUBY_ROOT}/doc/language/generator.rb"
begin
sh "mrbdoc"
rescue
puts "ERROR: To generate documents, you should install yard-mruby gem."
puts " $ gem install yard-mruby"
end
end