Gemfile中出现错误,Bundler无法继续

时间:2013-01-26 01:22:22

标签: ruby-on-rails file gem bundle

所以我正在关注Michael Hartl的Rails教程,并将我的Gemfile更改为如此:(只是为了得到“你的Gemfile中有一个错误,Bundler无法继续。”运行Bundle install之后) 。有任何想法吗?感谢

source 'https://rubygems.org'

gem 'rails', '3.2.8'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

#gem 'sqlite3'
group :development do
gem 'sqlite3', '1.3.5'


# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails',   '~> 3.2.4'
  gem 'coffee-rails', '~> 3.2.2'

  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer', :platforms => :ruby

  gem 'uglifier', '>= 1.2.3'
end

gem 'jquery-rails', '2.0.0'

1 个答案:

答案 0 :(得分:1)

你错过了结束:

#gem 'sqlite3'
group :development do
gem 'sqlite3', '1.3.5'