railman-deployment 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/railman/tasks/deployment.rake +1 -1
- data/lib/railman-deployment/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55fa53ea596bcab9b0c64320c338c44368de224cc121b40450f4d2d1eba38a27
|
4
|
+
data.tar.gz: 33785856e80da5faa2fb56c0f71089b5b4da111bb0485dd25346a1fe4e99fc96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f2371bdae26dc3f4c3fb03b058a29bf382816522963f6378a5fdf6c555ac851d8245ab62ae5bb679f1b4b6d72843bb093f1a85a17a913914d30b5c549a5fe0a
|
7
|
+
data.tar.gz: a6c328617101e471938d04f27e43c9e6067ebffa96685f08f7e9adb0963c0b7caf7c2507f27116001d51e7749b3fdae64cdbf9805e88bec85df8398d1c115fe3
|
@@ -138,7 +138,7 @@ task :create_database_from_sql_file do
|
|
138
138
|
execute :rake, 'db:migrate'
|
139
139
|
execute :rake, 'db:seed'
|
140
140
|
if test "[ -f #{fetch(:deploy_to)}/db/#{fetch(:application)}.sql ]"
|
141
|
-
execute :psql, "-d #{fetch(:application)}_production", "-f db/#{fetch(:application)}.sql"
|
141
|
+
execute :psql, "-U rails -h localhost -d #{fetch(:application)}_production", "-f db/#{fetch(:application)}.sql"
|
142
142
|
execute :rake, 'db:migrate'
|
143
143
|
end
|
144
144
|
end
|