내가 실행 결과로이 함께 "번들 생산을 --without 설치"하기 위해 노력하고있어 설치 인식하지 않습니다 :번들 보석
bundle install --without production
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Resolving dependencies..............
Using rake 11.2.2
Using concurrent-ruby 1.0.2
Using i18n 0.7.0
Using minitest 5.9.0
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.1.0
Using pkg-config 1.1.7
Installing rack 2.0.1
Gem::InstallError: rack requires Ruby version >= 2.2.2.
Using nio4r 1.2.1
Using websocket-extensions 0.1.2
Using mime-types-data 3.2016.0521
Using arel 7.0.0
Using bundler 1.12.5
Using byebug 9.0.5
Using coffee-script-source 1.10.0
Using execjs 2.7.0
Using method_source 0.8.2
Using thor 0.19.1
Using debug_inspector 0.0.2
Using ffi 1.9.14
Using multi_json 1.12.1
Using rb-fsevent 0.9.7
Using puma 3.4.0
Using sass 3.4.22
Using tilt 2.0.5
Using spring 1.7.2
Using sqlite3 1.3.11
Using turbolinks-source 5.0.0
Using tzinfo 1.2.2
Using nokogiri 1.6.8
An error occurred while installing rack (2.0.1), and Bundler cannot continue.
Make sure that `gem install rack -v '2.0.1'` succeeds before bundling.
그래서 여러 번, 나는
gem install rack -v 2.0.1
를 실행 한 결과에
:
Successfully installed rack-2.0.1
Parsing documentation for rack-2.0.1
Done installing documentation for rack after 3 seconds
1 gem installed
나는 "rbenv의 재탕을"전화 번들 설치를 다시 시도하고 동일한 오류 메시지가 표시됩니다. "ruby -v"를 호출하면 루비 버전 2.3.1이 있음을 보여줍니다. 내가 bundler에게 내가 Ruby를 업데이트 한 것을 인식하게하려면 어떻게해야합니까? 번들러에 문제가 있습니까? 보석을 잘못된 장소에 저장하고 있습니까? 몇 시간 동안 비슷한 질문을 검색해 보았지만 해결 방법은 없었습니다.
이 Gemfile의 소스 아래에'루비 2.3.1'을 추가하고 나는 그것을 추가 – nikkypx
다시 묶는 시도 이렇게 : 'ruby 2.3.1'하지만 동일한 오류가 발생했습니다 – genghiskhan
Gemfile.lock을 가지고 있습니까? 그것을 삭제하고 다시 – nikkypx