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
Your connection string is wrong. Try:
heroku db:pull postgres://root:@localhost/db_name