Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

not sure if this will work, but try and specify the remote db in the …

…command line
  • Loading branch information...
commit 2d3c869c0c4bb6d3d7a6dcde49bfe3b6677a4c30 1 parent 445d825
Matthew Ford matthewford authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/heroku/command/mongo.rb
4 lib/heroku/command/mongo.rb
View
@@ -63,8 +63,8 @@ def transfer(from, to)
def heroku_mongo_uri
config = heroku.config_vars(app)
- url = config['MONGO_URL'] || config['MONGOHQ_URL']
- error("Could not find the MONGO_URL for #{app}") unless url
+ url = config['MONGO_URL'] || config['MONGOHQ_URL'] || "#{mongo-url}"
+ error("Could not find the MONGO_URL for #{app}") if url.blank?
make_uri(url)
end
Please sign in to comment.
Something went wrong with that request. Please try again.