2014-10-25 2 views
0

번들 설치를 실행하려고했는데 이런 일이 발생하고이를 해결할 수 없습니다. 필자는 보석 파일에 수정되지 않은 병합 충돌이 있다고 생각하지 않지만이 오류를 제거 할 수는 없습니다. 그렇게하려면 어떻게해야합니까?Gemfile.lock 병합 오류를 해결할 수 없습니다.

Gemfile.lock에 병합 충돌이 있습니다.

먼저 git checkout HEAD -- Gemfile.lock을 실행하여 깨끗한 잠금 장치를 얻으십시오.

source 'https://rubygems.org' 

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 
gem 'rails', '4.0.8' 

group :test, :development do 
    gem 'rspec-rails' 
end 

group :test do 
    gem 'capybara' 
    #gem 'selenium-webdriver' 
end 

# Use sqlite3 as the database for Active Record 
group(:development, :test) do 
    gem 'sqlite3' 
end 

group :production do 
    gem 'pg' 
    gem 'rails_12factor' 
end 

# Use SCSS for stylesheets 
gem 'sass-rails', '~> 4.0.2' 

# add bootstrap gem 
gem 'bootstrap-sass' 

# Use Uglifier as compressor for JavaScript assets 
gem 'uglifier', '>= 1.3.0' 

# Use CoffeeScript for .js.coffee assets and views 
gem 'coffee-rails', '~> 4.0.0' 

# See https://github.com/sstephenson/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', '~> 1.2' 

group :doc do 
    # bundle exec rake doc:rails generates the API under doc/api. 
    gem 'sdoc', require: false 
end 

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

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

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

# Use debugger 
# gem 'debugger', group: [:development, :test] 

gem 'rubyzip', '0.9.9' 
+0

당신이 당신의 Gemfile.lock에 좀 있었나요 (수동으로 충돌을 없애 Gemfile.lock을 편집 할 수 있습니다)? – phoet

+0

답장을 보내 주셔서 감사합니다. hemlock 파일을 편집하여 해결할 수 있음을 발견했습니다. –

답변

관련 문제