2017-05-05 3 views
0

레일즈 4.2.5에서 레일즈 5.0 (아직 5.1을하지 않음)과 루비 2.3.0에서 2.4.0으로 업데이트 할 기존 애플리케이션이 있습니다. . 나는 gemfile을 갱신하려하지만, gemfile.lock과 관련이 있다고 생각되는 수많은 의존성 문제를 짚어 냈습니다. 이것은 나의 명령 줄에서 스냅 샷입니다 - enter image description hereRails 5.0으로 업그레이드 - gem 파일/gemfile.lock 업데이트

이 내 gemfile입니다 -

 source 'https://rubygems.org' 

    ruby '2.4.0' 

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 
gem 'rails', '5.0.1' 
gem 'railties', '~> 5.0' 
gem 'actionpack', '~> 5.0.1', '>= 5.0.1' 
gem 'rails-dom-testing', '~> 2.0', '>= 2.0.2' 
# Use sqlite3 as the database for Active Record 
gem 'sqlite3' 
# Use SCSS for stylesheets 
gem 'sass-rails' 
# Use Uglifier as compressor for JavaScript assets 
gem 'uglifier', '>= 1.3.0' 
# Use CoffeeScript for .coffee assets and views 
gem 'coffee-rails', '~> 4.1.0' 
# See https://github.com/rails/execjs#readme for more supported runtimes 
# gem 'therubyracer', platforms: :ruby 

# Use jquery as the JavaScript library 
gem 'jquery-rails' 
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks 
gem 'turbolinks' 
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder 
gem 'jbuilder', '~> 2.0' 
# bundle exec rake doc:rails generates the API under doc/api. 
gem 'sdoc', '~> 0.4.0', group: :doc 

gem 'bootstrap-sass', '~> 3.3', '>= 3.3.6' 
# for styling - not happy but best for grid usage I need (I hope!!) 

gem 'simple_form', '~> 3.2', '>= 3.2.1' 
# for building form templates on the site 

gem 'devise', '~> 4.0' 
# for creating sign-in/sign-up process 

gem 'paperclip', '~> 4.3', '>= 4.3.2' 
# for using images on the site 

gem 'jquery-ui-rails', '~> 5.0', '>= 5.0.5' 
# Adding Datepicker 

gem 'jquery-turbolinks', '~> 0.2.1' 
# to fix problems with turbolinks 

gem 'stripe', '~> 1.38' 
# for payments/bookings 

gem 'omniauth', '~> 1.3', '>= 1.3.1' 
gem 'omniauth-twitter', '~> 1.2', '>= 1.2.1' 
gem 'omniauth-facebook', '~> 3.0' 
# social logins 

gem 'money-rails' 
# add money feature 

gem 'geocoder', '~> 1.3', '>= 1.3.7' 
# for google maps/locations 

gem 'rubocop', '~> 0.42.0' 
# for code styling/errors 

gem 'counter_culture', '~> 0.1.33' 
# for counting bookings and quantity 




# Use ActiveModel has_secure_password 
# gem 'bcrypt', '~> 3.1.7' 

# Use Unicorn as the app server 
# gem 'unicorn' 

# Use Capistrano for deployment 
# gem 'capistrano-rails', group: :development 

group :development, :test do 
    # Call 'byebug' anywhere in the code to stop execution and get a debugger console 
    gem 'byebug' 
end 

group :development do 
    # Access an IRB console on exception pages or by using <%= console %> in views 
    gem 'web-console', '~> 2.0' 

    # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring 
    gem 'spring' 
end 

내 Gemfile.lock 파일이 이전 업데이트에서 버전이 포함되어 있습니다. 이 파일을 단순히 삭제할 것인지 아닌지에 대한 혼합 된 메시지가 표시됩니다. 삭제하지 않으면 다른 웜 캔을 여는 것처럼 보입니다. gemfile의 모든 참조를 '버전'으로 간단하게 삭제해야합니까? 모든 도움을 주시면 감사하겠습니다.

+0

복사시겠습니까 + 붙여 넣기를 업데이트합니다 여기에 이미지를 삽입하는 대신 텍스트? 게시물을 훨씬 쉽게 읽을 수있게 해줍니다. –

+1

그런 화면 색상으로 작업 한 후에도 볼 수 있습니까? 내 말처럼, 당신의 시력을 잃어 버리지 않았습니까? 그 그림을 0 초 이상 보는 것은 불가능합니다. 당신의 눈을 돌보십시오 :) –

+0

귀하의 의견을 적어 두었습니다. 나는 최근에 색을 어지럽 혀서 돌아 다니는 것을 되돌아 보지 못했다. 나는이 문제를 해결할 때 내가 할 것이다. 이견있는 사람? –

답변

-1

에 대한 전체 및 실행 번들 설치를 다시 Gemfile.lock를 제거하는 방법, 하하

0

그냥 실행) :

bundle update 

를하고 그것은 당신의 Gemfile.lock