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:
rake db:migrate
pg_dump: invalid option -- i
Celluloid 0.1
I've recently got this very error with Rails 4.2.1 after trying to run rake db:migrate.
I was able to overcome it by upgrading to Rails 4.2.6 and letting bundle update do it's job bumping all related gems.
bundle update
Hope that becomes useful to others.