我尝试启动我的 localhost:3000 RoR 应用程序。终端发生了什么:
[omrails]$rails s
Gemfile syntax error:
<<<<<<< HEAD
^
我尝试在 Google 和 Stackoverflow 上搜索,但没有发现任何与我类似的问题。我认为 ny Gemfile 有问题,但我不知道到底是什么。
我的 Gemfile 看起来像这样:
source 'https://rubygems.org'
gem 'rails', '3.2.8'
gem 'bootstrap-sass'
gem 'devise'
gem 'omniauth'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
group :development do
gem 'sqlite3'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platforms => :ruby
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
group :production do
gem 'pg', '0.12.2'
end
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# To use Jbuilder templates for JSON
# gem 'jbuilder'
# Use unicorn as the app server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'debugger'
有什么建议在我的 Gemfile 中可能有什么问题吗?如果您有任何其他问题或要求,请随时问我。