Skip to content

Commit

Permalink
Require rdoc before sdoc, otherwise any rake operation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin authored and karmi committed Oct 19, 2011
1 parent d1f89e6 commit ef6145c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ end

# Generate documentation
begin
require 'rdoc'
begin; require 'sdoc'; rescue LoadError; end
require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
Expand Down

0 comments on commit ef6145c

Please sign in to comment.