設定Ruby報錯bad response Not Found 404
今天升級了下cocoapods,後來莫名其妙ruby環境出了問題只能重灌
但是幾個ruby源都不太適用了
比如:
https://rubygems.org/
http://ruby.taobao.org/
https://ruby.taobao.org/
……
設定時都會出問題報錯 bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz)
網路上幾乎都是老舊的部落格,因為RubyGems映象的管理工作已經移交給了Ruby China負責,
所以現在大部分用的都是https://gems.ruby-china.org/,但是還是報錯。
後來點連結進去才發現.org域名備案問題改成了.com
所以https://gems.ruby-china.com/ 是可以用的
附上終端命令如下:
$ gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
顯示:
https://gems.ruby-china.com/ added to sources
https://rubygems.org/ removed from sources
相關文章
- Unable to download data from https://gems.ruby-china.org/ - bad response Not Found 404HTTP
- CentOS載入yum源時報錯 [Errno 14] HTTP Error 404 - Not Found Trying other mirror.CentOSHTTPError
- PHP 介面呼叫報錯 502 Bad GatewayPHPGateway
- php7 設定404頁面,zblogphp的404頁面設定方法PHP
- thinkphp 設定執行目錄為/public後 404錯誤PHP
- gorm忽略報錯: record not foundGoORM
- Nginx設定404頁面Nginx
- 使用URLClassLoader報錯not class found exceptionException
- 【linux報錯】-bash: xhost: command not foundLinux
- Maven專案報錯invalid LOC header (bad signature)MavenHeader
- python virtualenv報錯-bash: virtualenv: command not foundPython
- 【maven】Maven報錯 zip END header not foundMavenHeader
- git clone 報錯 “URL using bad/illegal format or missing URL“GitORM
- 寶塔控制皮膚怎麼設定404錯誤頁面?附方法!
- Mac之telnet報錯-bash: telnet: command not foundMac
- React Native 報錯 'config.h' file not foundReact Native
- Lumen 報錯 : Class 'League\Flysystem\Adapter\Local' not foundAPT
- Laravel 安裝後報 500 和 404 錯誤Laravel
- 安裝網站出現404 not found如何解決?網站
- solr搜尋報錯,tomcat maxHttpHeaderSize 設定SolrTomcatHTTPHeader
- vue中報錯:[vuex] module namespace not found in mapActions(): comment/Vuenamespace
- sourcetree github clone 報錯 hg clone fails with “repository not found“GithubAI
- npm install報錯, npm ERR! code MODULE_NOT_FOUNDNPM
- Flutter 安裝搭建報錯 Android sdkmanager tool not foundFlutterAndroid
- go tool compile 報錯 could not import sync (file not found)GoCompileImport
- cgo: C compiler "gcc" not found 報錯安裝gccGoCompileGC
- 執行npm run dev 後報錯 Mix: not foundNPMdev
- AS執行main()方法報錯:SourceSet with name ‘main‘ not foundAI
- 寶塔皮膚如何設定自定義404
- Lumen 報錯提示 例項不了 Response 類的問題
- WireMock 的時候報錯:No response could be served as there are no stub mappings in this WireMockREMMockAPP
- 400 Bad Request(錯誤請求)
- Go問題彙總 | 設定GOPROXY報錯Go
- /system/bin/sh: screenrecord: inaccessible or not found 報錯解決方案
- MybatisPlus自帶方法報錯BindingException: Invalid bound statement (not found)MyBatisException
- Springboot專案啟動後訪問Controller報錯404Spring BootController
- Failed: error reading separator after document # 1: bad JSON array format - found no opening brackAIErrorJSONORM
- IIS設定404頁面返回200碼和404頁面亂碼解決方法