heroku db:pull postgresql://root:@localhost/db_name
After this command, this message will be displayed.
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:50: warning: arguments (brackets) in a future version Loaded taps v0.3.13 Warning: data in the database "postgresql: // root: @ localhost / db_name" will be overwritten and will not be restored. Are you sure you want to continue? (Y / N)? Y Failed to connect to the database: Sequel :: AdapterNotFound → LoadError: there is no such file to load - sequel / adapters / postgresql
How to use db: pull
ruby ruby-on-rails postgresql heroku sequel
ritesh
source share