0
我已經通過MacPorts安裝了Postgres 8.4.4每個RobbyOnRails安裝指南。當我嘗試連接到項目時,出現以下錯誤:PG gem嘗試連接時出錯
establish_connection':RuntimeError: Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (dlopen(/Library/Ruby/Gems/1.8/gems/pg-0.9.0/lib/pg_ext.bundle, 9): no suitable image found. Did find:
/Library/Ruby/Gems/1.8/gems/pg-0.9.0/lib/pg_ext.bundle: mach-o, but wrong architecture - /Library/Ruby/Gems/1.8/gems/pg-0.9.0/lib/pg_ext.bundle)
PG gem成功安裝,但會產生上述錯誤。
有什麼想法?
當你運行'gem install activerecord-postgresql-adapter'時會發生什麼? – Charles 2010-07-19 22:11:27
該寶石不存在/不再支持 – GolecR 2010-07-19 22:20:01