Permalink
Browse files

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

…command line
  • Loading branch information...
1 parent 445d825 commit 2d3c869c0c4bb6d3d7a6dcde49bfe3b6677a4c30 @matthewford matthewford committed Nov 24, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/heroku/command/mongo.rb
@@ -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

0 comments on commit 2d3c869

Please sign in to comment.