lib/ubiquo/template.erb in ubiquo-0.4.3 vs lib/ubiquo/template.erb in ubiquo-0.4.4
- old
+ new
@@ -86,10 +86,10 @@
config.notifier_email_from = 'railsmail@gnuine.com'
end
end
CODE
# Initializer for ubiquo crontab
-if opts[:template] == :edge
+if @opts[:template] == :edge
initializer 'ubiquo_crontab.rb', <<-CODE
# -*- coding: utf-8 -*-
Ubiquo::Cron::Crontab.schedule do |cron|
# Who to mail on errors
# cron.mailto = 'errors@change.me'