Skip to content

Commit

Permalink
Merge pull request #9 from rhino232/patch-1
Browse files Browse the repository at this point in the history
fixes issue with template not found because of root_path
  • Loading branch information
ssoroka committed Apr 18, 2012
2 parents 529a06a + f45e5ea commit 53d1062
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -6,6 +6,10 @@ def create_task
readme(File.join(template_dir, 'README'))
end

def self.source_root
File.dirname(File.expand_path(__FILE__))
end

private
def source_dir
File.join(template_dir, 'scheduled_tasks')
Expand Down

0 comments on commit 53d1062

Please sign in to comment.