經過相當多的鬥爭後,我設法讓我的rails 3.2應用程序在heroku上運行。rails3/mongoid/heroku/mongohq
running rails 3.2/mongoid app on heroku fails
我從mongolab變化mongohq的應用程序是連接它mongolab後崩潰所有的時間。
它現在還是老樣子運行(手指交叉) 但是當我做heroku mongo:push
傳送數據庫,沒有得到轉移到了mongohq
任何人有線索?
這裏是我的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
乾杯
我確實用heroku-mongo-sync寶石推了。這不是什麼認證業務? – 2012-02-01 00:03:04