나는 스택 오버플로에서 동일한 질문을 받았으며 그들의 솔루션 중 일부를 시도했지만 아무도 나를 위해 일하지 않았습니다. 내가 시도한 몇 가지 해결책은 다음과 같습니다.
1) 프록시 제거
2) gem 파일의 소스를 ' https://rubygems.org '에서 ' http://rubygems.org '로 변경
이들 중 누구도이 문제를 해결할 수 없었습니다. 다음은 번들 설치를 실행할 때 발생하는 오류입니다. 참고 : 저는 한동안 이런 방식으로 gem을 설치하고 있습니다. 최근에이 오류가 발생하기 시작했습니다. 왜 이런 일이 발생하는지 아는 사람이 있습니까? 미리 감사드립니다!
The dependency tzinfo-data (>= 0) will be unused by any of the platforms
Bundler is installing for. Bundler is installing for ruby but the dependency
is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those
platforms to the bundle, run `bundle lock --add-platform mingw, mswin,
x64_mingw, jruby`.
Fetching source index from https://rubygems.org/
Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch
specs from https://rubygems.org/
Retrying fetcher due to error (3/4): Bundler::HTTPError Could not fetch
specs from https://rubygems.org/
Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch
specs from https://rubygems.org/
Could not fetch specs from https://rubygems.org/
Process finished with exit code 17
최신 정보
http://isup.me/rubygems.org 사이트로 이동하여 메시지를 받았습니다 .
It's just you. http://rubygems.org is up.
여기 에 제공된 지침을 따른 후 프록시 설정을 완전히 제거하지 않은 것으로 나타났습니다.
이 사용자 덕분에 제 질문을 해결할 수있었습니다!
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다