lib/right_chimp/daemon/ChimpDaemon.rb in right_chimp-1.0 vs lib/right_chimp/daemon/ChimpDaemon.rb in right_chimp-1.0.1
- old
+ new
@@ -381,12 +381,12 @@
def do_GET(req, resp)
job_filter = self.get_verb(req) || "running"
if not @template
if ENV['CHIMP_TEST'] != 'TRUE'
- template_file_name = File.join(Gem.dir, 'gems', 'chimp-' + VERSION, 'lib/chimp/templates/all_jobs.erb')
+ template_file_name = File.join(Gem.dir, 'gems', 'right_chimp-' + VERSION, 'lib/right_chimp/templates/all_jobs.erb')
else
- template_file_name = 'lib/chimp/templates/all_jobs.erb'
+ template_file_name = 'lib/right_chimp/templates/all_jobs.erb'
end
@template = ERB.new(File.read(template_file_name), nil, ">")
end