Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in you r Gemfile,sqlite3gemfile

來源:互聯網
上載者:User

Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in you r Gemfile,sqlite3gemfile
解決:sudo gem install sqlite3-ruby
ERROR: Could not find a valid gem 'rdiscount' (>= 0) in any repository

這個問題搞了我三個晚上,什麼官方的英文資料、wiki、google group我基本都看遍了,完全解決不了問題!最後發現原因是ruby的遠程gem倉庫被牆了!!ruby也不給任何網路異常的提示,GFW坑爹ruby你也學啊!
建議你在命令列(win下用cgywin等)下設定代理或者其他方式翻牆,我翻牆後立馬就安裝成功了。

最後不得不吐槽:FUCK GFW!!!
 
rails配置redmine怎如此之麻煩,這個錯誤折騰一下午還是沒解決,鬱悶,rails真牛逼,開發速度原來是這樣

不好意思,雖然幫不上忙,但是還是想說。。ruby和ruby on rails,搭建環境和學習環境,最好在linux/mac下,因為原生就是支援的,東西資料比較多。你在windows下有時候,會遇到很多linux/mac下不會碰到的問題,因為移植總是會有問題的。
你這個,應該就是rmagick沒有為mingw環境下提供gem包的原因(我是猜測,用詞不準)。
推薦裝個虛擬機器,跑個ubuntu或者centos,然後裝rails。
redmine,在linux下裝。除去網路下載等待的時間,大概十分鐘。
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.