biola_deploy 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/biola_deploy/version.rb +1 -1
- data/lib/tasks/deploy.rake +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d8ef01105ecc063a76292ced72d0658ae19fb5d
|
4
|
+
data.tar.gz: 6a90a7dcbe72a9e27bc142ef4824f2bc93c148e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ca6b2489f207508becac1e7965e650fff35b52727c313f3d0d75f504a150e1c800853969be24b9bf17ac941b97239ac0e4d3feda1b4d584187f2519baa70933
|
7
|
+
data.tar.gz: da76a9136e05cdf05cccf59e8bd289ca0e9efb5b3467f0e9972a43fe4931e9681d90a8f9235b261f8c04b7c88038dcf2f826d90246dac8f0a06b97ca7556f262
|
data/lib/biola_deploy/version.rb
CHANGED
data/lib/tasks/deploy.rake
CHANGED
@@ -61,12 +61,12 @@ namespace :deploy do
|
|
61
61
|
def if_rails_loads(task_description, &block)
|
62
62
|
error = nil
|
63
63
|
|
64
|
-
|
65
|
-
|
64
|
+
begin
|
65
|
+
unless Rails.initialized?
|
66
66
|
Rake::Task['environment'].invoke
|
67
|
-
rescue LoadError, RuntimeError, SystemCallError => e
|
68
|
-
error = e.message
|
69
67
|
end
|
68
|
+
rescue Exception => e
|
69
|
+
error = e.message
|
70
70
|
end
|
71
71
|
|
72
72
|
if error
|