under_construction 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|