centos6.3 nginx 設定redmine 的過程中 使用 bundle install --without development test 報錯
大家讲道理
大家讲道理 2017-05-16 17:29:48
0
1
691
雷雷
大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

全部回覆(1)
大家讲道理

這個錯誤的原因是沒有PostgreSql的dev包,不能成功編譯PostgreSql的客戶端;解決方法有兩個:

1)安裝dev包

用套件管理來安裝,RedHat係是

yum install postgresql-devel

Debian係是:

apt-get install libpg-dev

2)如果你不打算用PostgreSql來當Redmine的資料庫,可以用下面的指令來忽略對應的gem:

bundle install --without development test postgresql

你還可以忽略sqlite和rmagick(都有依賴的):

bundle install --without development test postgresql sqlite rmagick
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!