docker-dev 0.0.3 → 0.0.4
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/console.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: 10387fa02b35e76599926ca5a9bba77dd0b0dffe
|
4
|
+
data.tar.gz: feabbee3689a6b3a40dd8f02525564f2231da8f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5585bb3d2b8e9674cbadc4905bd1db10771c84f4c91ad4b1a7c600189100de4e2f60ae7d7637d61efc997ac381a81b4426f01081442f861e3782d56eb517564
|
7
|
+
data.tar.gz: c7c49b2707e610b97fd470489265873b04acad6f4688f9569e85416d7a8ec22641b666849edd524e5211e9649481fdd606c3d3a0d61bab532e732a1b6b571074
|
data/lib/docker/rails/console.rb
CHANGED
@@ -12,7 +12,7 @@ module Docker
|
|
12
12
|
image = "#{rails_image(path.name)}"
|
13
13
|
options += " -it --name rails-console-#{path.name} " +
|
14
14
|
"--rm -e PG_HOST=#{postgres.ip} " +
|
15
|
-
"--link db:db -v #{path}:/usr/src/app "
|
15
|
+
"--link db:db -v #{path}:/usr/src/app "
|
16
16
|
command = 'rails console'
|
17
17
|
|
18
18
|
docker_cmd = "docker run #{options} #{image} #{command}"
|