安裝bundle install出現問題解決方法

2021-10-12 21:16:01 字數 537 閱讀 1567

系統:window10 

出現以下情況,開始是因為沒有gemfiles檔案,使用bundle init重新生成,還是下面這樣

scoop $ bundle install

the gemfile specifies no dependencies

bundle complete! 0 gemfile dependencies, 1 gem now installed.

use `bundle info [gemname]` to see where a bundled gem is installed.

到官方**,把gemfiles中的檔案內容全部替換為以下內容

source ""

gem "rails", "3.0.0.rc"

gem "nokogiri"

問題解決!

關於bundle install遇到到的問題

bundle install時出現下面的問題 gem remotefetcher fetcherror errno econnreset connection reset by peer ssl connect 問題原因 據說是因為rails的源在外國伺服器上,所以連線不上去.解決辦法 把bundl...

安裝Docker(yum安裝)

確定你是centos7及以上版本 root 192 desktop cat etc redhat release centos linux release 7.2.1511 core 3.yum安裝gcc相關 yum y install gcc yum y install gcc c 4.解除安裝舊...

安裝 python python安裝

pyenv 多版本管理工具 1.linux安裝pyenv方式 git 安裝 1 安裝git yum install git y 2 安裝python編譯依賴 yum y install gcc make patch gdbm devel openssl devel sqlite devel read...