[問題] 執行bundle install發生的錯誤

看板Ruby作者 (hsinyu)時間10年前 (2014/07/15 18:33), 編輯推噓0(006)
留言6則, 4人參與, 最新討論串1/1
我依照http://ppt.cc/rV1M安裝好ror之後 新建第一個project 但當我進到demo下bundle install時 就出現 an error occurred while installing sqlite3(1.3.9), and Bundler cannot continue. Make sure that 'gem install sqlite3 -v '1.3.9'' successds before bundling. 但是sqlite3明明就安裝了 一直卡在這個地方沒辦法啟動 請問各位大大該如何解? 謝謝 ruby 1.9.3p547 Rails 4.1.4 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.35.231.102 ※ 文章網址: http://www.ptt.cc/bbs/Ruby/M.1405420407.A.EC7.html

07/15 19:32, , 1F
確定有裝好? 版本對? 通常是ruby-dev沒裝無法compile
07/15 19:32, 1F

07/15 22:44, , 2F
Red Hat系的作業系統要加裝 sqlite3-devel 套件
07/15 22:44, 2F

07/16 14:27, , 3F
請多加利用 ubuntu 架設 rails 環境
07/16 14:27, 3F

07/16 17:19, , 4F
我是用vm掛centos 版本不知道對不對 我再試試看
07/16 17:19, 4F

07/17 13:15, , 5F
CentOS 是 Red Hat 系的沒錯
07/17 13:15, 5F

07/17 13:15, , 6F
sudo yum install sqlite3 sqlite3-devel
07/17 13:15, 6F
文章代碼(AID): #1JnGDtx7 (Ruby)