Open tcox5698 opened 8 years ago
actually this usually means you have a ruby that isn't compiled right. Try reinstalling ruby and/or the toolbelt.
Thanks for the response - but I don't believe the installations of Ruby nor the Heroku toolbelt had anything to do with the problem. I tried multiple installations of Ruby. I tried deleting and reinstalling Heroku Toolbelt. I created a new virtual machine with an Ubuntu base box and installed Heroku Toolbelt - all produced the same error about the "undefined method: 'resource_name'.
However, it worked as desired when I changed the command to:
heroku pg:copy postgres://snzaiodracumwc:oDDjy9BV1z6D01LhOW6cLE2ayx@ec2-75-101-143-150.compute-1.amazonaws.com:5432/d6lto4o6njs2o2 DATABASE_URL --app kubedapp2-tcdev-273 --confirm kubedapp2-tcdev-273
The differences being:
So while there is a workaround available, I would still consider this a minor defect - at least in the documentation.
Similar to issue #1837, but the apparent resolution there will not work for me as my postgres databases do not appear to the have the "color" urls associated with them.
It may be that I just have the syntax wrong still.
I am trying to copy the database from one application to another. These are test apps - so I have not left them lying around. They were created with heroku apps:create and the hobby-dev postgres database addon.
Thanks.
Here is the stack trace from my CLI log: