Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed loading of child generators
  • Loading branch information
Tim Linquist committed Oct 29, 2010
1 parent 6a09ca5 commit c242058
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/pivotal_doc.rb
Expand Up @@ -5,5 +5,11 @@
PT= PivotalTracker unless defined?(PT)
PROJECT_ROOT= File.join(File.dirname(__FILE__), '/../') unless defined?(PROJECT_ROOT)

#Load generators explicitly
path= File.dirname(__FILE__) + '/pivotal_doc/generators/'
require File.join(path, 'base.rb')
require File.join(path,'html.rb')
require File.join(path,'text.rb')

Dir[File.expand_path(File.join(File.dirname(__FILE__),'../ext','**','*.rb'))].each {|f| require f}
Dir[File.expand_path(File.join(File.dirname(__FILE__),'pivotal_doc/','**','*.rb'))].each {|f| require f}
Dir[File.expand_path(File.join(File.dirname(__FILE__),'pivotal_doc/', '*.rb'))].each {|f| require f}

0 comments on commit c242058

Please sign in to comment.