After quite a bit of struggle i manage to have my rails 3.2 app running on heroku.
running rails 3.2 / mongoid app on heroku fails
I have change from mongolab to mongohq as the app was crashing all the time after connecting it to mongolab.
It is now stil running (fingers crossed)
But when I do heroku mongo:push
to transfer the database, nothing get moved over to mongohq
Anybody has a clue?
here is my config.yml
development:
host: localhost
database: salsacaribecouk_development
test:
host: localhost
database: salsacaribecouk_test
# set these environment variables on your prod server
production:
uri: <%= ENV['MONGOHQ_URL'] %>
# slaves:
# - host: slave1.local
# port: 27018
# - host: slave2.local
# port: 27019
Cheers
Can you verify that you have the database you want to transfer to MongoHQ running locally on your machine with no auth turned on? Also, do you have Pedro's gem installed?
https://github.com/pedro/heroku-mongo-sync