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下裝。除去網路下載等待的時間,大概十分鐘。
 

相關文章

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.