我收到主题错误。
似乎该错误与不是 64 位的 postgres 库有关,但除此之外我无法弄清楚。Bundle install 运行正常,但是当我运行 rails 时,我得到:
jim@MJTPUB:~/rails/apps/apoxeia$ rails s
/home/jim/.rvm/gems/ruby-1.9.3-p194@rails328/gems/pg-0.15.1/lib/pg.rb:4:in `require':
libpq.so.5: wrong ELF class: ELFCLASS64 - /home/jim/.rvm/gems/ruby-1.9.3-p194@rails328
/gems/pg-0.15.1/lib/pg_ext.so (LoadError)
from /home/jim/.rvm/gems/ruby-1.9.3-p194@rails328/gems/pg-0.15.1/lib/pg.rb:4:in
`<top (required)>'
我从哪里开始解决这个问题?
谢谢 - 吉姆