试了好久 按照 heroku 的提示来做,可是依然不行……: f:\Sites\sample_app>heroku config === limitless-temple-3967 Config Vars DATABASE_URL: postgres://eqiruxwbihmakc:fXUbbCc-BwYNNb4W8aZVxsEaB [email protected]:5432/dcf8a21k69ofrj GEM_PATH: vendor/bundle/ruby/1.9.1 HEROKU_POSTGRESQL_GREEN_URL: postgres://eqiruxwbihmakc:fXUbbCc-BwYNNb4W8aZVxsEaB [email protected]:5432/dcf8a21k69ofrj LANG: en_US.UTF-8 PATH: bin:vendor/bundle/ruby/1.9.1/bin:/usr/local/bin:/us r/bin:/bin RACK_ENV: production RAILS_ENV: production
f:\Sites\sample_app>heroku pg:reset postgres://eqiruxwbihmakc:fXUbbCc-BwYNNb4W8a [email protected]:5432/dcf8a21k69ofrj ! Unknown database: postgres://eqiruxwbihmakc:fXUbbCc-BwYNNb4W8aZVxsEaBI@ec2 -54-243-235-100.compute-1.amazonaws.com:5432/dcf8a21k69ofrj. Valid options are: DATABASE_URL, HEROKU_POSTGRESQL_GREEN_URL
依照提示输入了 DATABASE_URL,可是依然不认……不知道应该如何输入?