docker-rails 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker/rails/app.rb +7 -1
- data/lib/docker/rails/version.rb +1 -1
- 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: 201c27258faf2fd7c7e3da8be4ef103692af5d3d
|
4
|
+
data.tar.gz: 2cddc4422dd2fbde906a8b3eebeae4fe5659b4f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10b164b7176bc7bc04fbf1aafe8700c108bc5916be22ee49ff961d253cadc39be6b6ae5f755dde04f6bbd469c694a9cccb9f535ba71cbbcd7800d36a0b7b2660
|
7
|
+
data.tar.gz: fcaf8df78943d829d525c630d71517c28bf47d681d85d65ea6401d9b470ae0d2568979c1a13eb1c9b6728109055b71af27c4583bd9b8f8a45bb5e9ac04c08096
|
data/lib/docker/rails/app.rb
CHANGED
@@ -59,7 +59,12 @@ module Docker
|
|
59
59
|
|
60
60
|
puts "Processing extract for #{service_name}:"
|
61
61
|
puts '---------------------------------'
|
62
|
-
container = get_container(service_name)
|
62
|
+
container = get_container(service_name) rescue nil
|
63
|
+
if container.nil?
|
64
|
+
puts 'none.'
|
65
|
+
next
|
66
|
+
end
|
67
|
+
|
63
68
|
extractions.each do |extraction|
|
64
69
|
if extraction =~ /:/
|
65
70
|
tokens = extraction.split(':')
|
@@ -184,6 +189,7 @@ module Docker
|
|
184
189
|
end
|
185
190
|
|
186
191
|
# Create global gems data volume to cache gems for this version of ruby
|
192
|
+
# https://docs.docker.com/userguide/dockervolumes/
|
187
193
|
def create_gems_volume
|
188
194
|
begin
|
189
195
|
Docker::Container.get(@gems_volume_name)
|
data/lib/docker/rails/version.rb
CHANGED