When I run rake db:migrate
on my Rails project (3.2.22.2) I get pg_dump: invalid option -- i
. Here\'s the full trace:
Celluloid 0.1
Alternatively, you could edit your local pg_dump
to remove the -i
option. Although individual installs may differ, here are the edits I made:
The command iterates through all it's arguments (line 36):
for (my $i = 0; $i <= $#ARGV; ++$i) {
Find the conditional (line 39):
if ($ARGV[$i] eq '--cluster') {
Add the following (line 57):
} elsif ($ARGV[$i] eq '-i') {
splice @ARGV, $i, 1;
}