Merge pull request #2986 from takahashim/mrbdoc

fix `rake doc` error
This commit is contained in:
Yukihiro "Matz" Matsumoto
2015-10-10 17:24:34 +09:00
+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