aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/Rakefile')
-rwxr-xr-xactiverecord/Rakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile
index f02c3b5cb7..129cdd8a7f 100755
--- a/activerecord/Rakefile
+++ b/activerecord/Rakefile
@@ -58,8 +58,8 @@ desc 'Build the PostgreSQL test databases'
task :build_postgresql_databases do
%x( createdb activerecord_unittest )
%x( createdb activerecord_unittest2 )
- %x( psql activerecord_unittest -f #{File.join(SCHEMA_PATH, 'postgresql.sql')} )
- %x( psql activerecord_unittest2 -f #{File.join(SCHEMA_PATH, 'postgresql2.sql')} )
+ %x( psql activerecord_unittest -f #{File.join(SCHEMA_PATH, 'postgresql.sql')} postgres )
+ %x( psql activerecord_unittest2 -f #{File.join(SCHEMA_PATH, 'postgresql2.sql')} postgres )
end
desc 'Drop the PostgreSQL test databases'
@@ -178,4 +178,4 @@ task :release => [ :package ] do
puts release_command
system(release_command)
end
-end \ No newline at end of file
+end