我是 Rails 新手,正在尝试遵循http://railstutorial.org指南。我在用:
- 宝石 2.0.3
- 捆绑器 1.3.5
- 导轨 3.2.13
- 红宝石 2.0.0-p195
当我执行bundle update
或bundle install
编辑 Gemfile 后,我收到以下错误:
roberts-imac-6:first_app bobbaird001$ bundle update
**Gemfile syntax error:**
roberts-imac-6:first_app bobbaird001$ bundle install
**Gemfile syntax error:**
这是 Gemfile(我已经删除了被注释掉的行)
source 'https://rubygems.org'
gem 'rails', '3.2.13'
gem 'sqlite3', '1.3.5'
end
group :assets do
gem 'sass-rails', '~> 3.2.3'
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'cdacd
end
gem 'jquery-rails', '2.0.2'
end