2017-10-24 13 views
-3

Your bundle is locked to rest_client (1.8.3), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of rest_client (1.8.3) has removed it. You'll need to update your bundle to a different version of rest_client (1.8.3) that hasn't been removed in order to install.번들이 rest_client (1.8.3)에 잠김.

+0

'번들 업데이트 '를 시도하거나 Gemfile.lock을 제거하고'번들 설치'를 수행하십시오. – Aakanksha

+0

나는 모든 것을 시도했다. 아무 반응이 없습니다. 내가 업데이트하려고 시도 할 때 : Gemfile에 나열된 모든 보석 소스 또는 공급 업체/캐시에 캐시 된 보석에서 'rest_client'보석을 찾을 수 없습니다. 난이 오류가 표시이 보석 설치하려고 할 때 : ERROR : 유효한 보석 'rest_client'을 (를) 찾을 수 없습니다 (= 1.8.3) 어떤 저장소 오류 : 가능한 대안 : 나머지 클라이언트를 내가 gemfile.lock을 제거 번들을 설치하면 같은 오류가 나타납니다 : Gemfile에 나열된 모든 보석 소스 또는 공급 업체/캐시에 캐시 된 보석에서 'rest_client'보석을 찾을 수 없습니다. –

+0

['gem install rest-client'] (https://rubygems.org/gems/rest-client). –

답변

0

rest_client은 더 이상 사용되지 않습니다. 그래서 당신의 bundler가 어떤 출처에서 그것을 찾을 수 없었습니다. git에서 설치해야하거나 소스에있는 rest-client (RubyGems.org)을 사용해야합니다. 그러나 Gemfile.lock 파일에 rest_client이 잠겼습니다. 다음 단계를 따르십시오.

  1. Gemfile.lock 파일을 제거하십시오.
  2. Gemfile에서 rest_client을 삭제하십시오.
  3. Gemfilegem 'rest-client'을 추가하십시오.
  4. bundle install.

문제가 해결되었습니다.

+0

아! 내 생명을 구 해주셔서 고마워! –