heroku db:pull postgresql://root:@localhost/db_name
After this command display this message
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/l
Started working fine once I upgraded the "pg" gem from version "0.11.0" to "0.12.2".