2010-10-12 26 views
0

我已經安裝了以下寶石:寶石後的Postgres適配器錯誤:解壓

 
actionmailer (2.3.8) 
actionpack (2.3.8) 
activerecord (2.3.8) 
activeresource (2.3.8) 
activesupport (2.3.8) 
open4 (1.0.1) 
pg (0.9.0) 
rack (1.1.0) 
rails (2.3.8) 
rake (0.8.7) 

我的應用程序使用的Postgres爲DB和皮克的寶石,它已被我做

 
rake rails:freeze:gems 
rake gems:unpack 

時工作正常它將rails和pg gem複製到/ vendor,但之後我嘗試運行服務器時出現以下錯誤:

 
Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (no such file to load -- pg_ext) (RuntimeError) 
+0

您使用的捆綁?什麼版本的導軌? – 2010-10-12 14:40:22

回答