Heroku应用程序启动时出错

时间:2013-07-16 17:29:46

标签: postgresql heroku

我的Heroku应用程序启动时出现此错误:

invalid connection option "fallback_application_name"

知道可能导致什么原因吗?

1 个答案:

答案 0 :(得分:3)

似乎是heroku + postgres的问题> 0.14

以下是我的Gemfile中的注释,解释了详细信息:

# Warning, if you remove the version number and end up with postgres > 0.14, expect this:
# #/app/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:1216:in `initialize': invalid connection option "fallback_application_name" (PG::Error)
# when trying to get app running on Heroku
gem 'pg', '=0.14.1' 
相关问题