2

Rails3アプリケーションをFirebirdデータベースに接続したいと思います。私はフォローしました

https://help.ubuntu.com/community/Firebird2.5

http://mapopa.blogspot.in/2009/02/rails-on-firebird-status-after-adapter.html

リンク。また、gem'activerecord-fb-adapter'とgem'fb'をgemfileに含めました。

しかし、「Firebird接続が確立されていません」という応答があります。

また、rake db:createを実行すると、次のようになります。

 {:adapter=>"fb",
  :database=>"localhost/3050:/var/lib/firebird/2.5/data/rubyonfire.fdb",
  :username=>"SYSDBA",
  :password=>"*******",
  :host=>"localhost",
  :downcase_names=>true}

 {:adapter=>"fb",
  :database=>"localhost/3050:/var/lib/firebird/2.5/data/rubyonfire_test.fdb",
  :username=>"SYSDBA",
  :password=>"*******",
  :host=>"localhost",
  :downcase_names=>true}

どんな助けでも大歓迎です。

前もって感謝します。

4

1 に答える 1

4

create: trueを database.yml に追加すると、問題が解決しました。詳細については、以下のリンクを参照してください:-

https://github.com/rowland/activerecord-fb-adapter/issues/1#issuecomment-6608210

ありがとう

于 2012-06-28T06:46:17.530 に答える