under_construction 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -32,8 +32,8 @@ module UnderConstruction
|
|
|
32
32
|
stop_schedule if jobs.size > 0
|
|
33
33
|
# To make passenger to restart the application
|
|
34
34
|
FileUtils.touch Rails.root + 'tmp/restart.txt'
|
|
35
|
-
# After
|
|
36
|
-
system "bundle exec rake under_construction:send_mails RAILS_ENV=#{Rails.env}"
|
|
35
|
+
# After restarts server, sends email to subscribers
|
|
36
|
+
system "cd #{Rails.root}; bundle exec rake under_construction:send_mails RAILS_ENV=#{Rails.env}"
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
end
|