解析Gemfile時出錯: 語法錯誤,意外tIDENTIFIER,期望keyword_do或'{'或'(' - ... m'database_cleaner',git clone' git://github.com/maccman/gd ... ...^ /home/phorekka/rails_project/sample_app/Gemfile:28:語法錯誤,意想不到的一元 - 期待keyword_do或'{'或'(' 。 ... AN/gdata.git」 「foobar的」 --bare --no-硬鏈接 ... ^捆紮機不能從/家/ phorekka/rails_project/sample_app/Gemfile中繼續我無法執行sample_app gem文件
#: 28 #------------------------------------------- #gem'cucumber -rails','1.3.0',:require => false> gem'database_cleaner',git clone'git://github.com/maccman/gdata.git'「foobar」--bare --no-hardlinks
> Here is my gem file.
source 'https://rubygems.org'
ruby '2.0.0'
#ruby-gemset=railstutorial_rails_4_0
gem 'rails', '4.0.8'
gem 'bootstrap-sass', '2.3.2.0'
gem 'sprockets', '2.11.0'
gem 'bcrypt-ruby', '3.1.2'
gem 'faker', '1.1.2'
gem 'will_paginate', '3.0.4'
gem 'bootstrap-will_paginate', '0.0.9'
group :development, :test do
gem 'sqlite3', '1.3.8'
gem 'rspec-rails', '2.13.1'
# The following optional lines are part of the advanced setup.
gem 'guard-rspec', '2.5.0'
gem 'spork-rails', '4.0.0'
gem 'guard-spork', '1.5.0'
gem 'childprocess', '0.3.6'
end
group :test do
gem 'selenium-webdriver', '2.35.1'
gem 'capybara', '2.1.0'
gem 'factory_girl_rails', '4.2.0'
gem 'cucumber-rails', '1.3.0', :require => false
gem 'database_cleaner', github: 'bmabey/database_cleaner'
# Uncomment this line on OS X.
#gem 'growl', '1.0.3'
# Uncomment these lines on Linux.
gem 'libnotify', '0.8.0'
# Uncomment these lines on Windows.
# gem 'rb-notifu', '0.0.4'
# gem 'win32console', '1.3.2'
# gem 'wdm', '0.1.0'
end
gem 'sass-rails', '4.0.1'
gem 'uglifier', '2.1.1'
gem 'coffee-rails', '4.0.1'
gem 'jquery-rails', '3.0.4'
gem 'turbolinks', '1.1.1'
gem 'jbuilder', '1.0.2'
group :doc do
gem 'sdoc', '0.3.20', require: false
end
group :production do
gem 'pg', '0.15.1'
gem 'rails_12factor', '0.0.2'
end
我使用的sqlite3 --version 3.8.11.1 2015年7月29日二十點00分57秒cf538e2783e468bbc25e7cb2a9ee64d3e0e80b2f。
我無法運行這個gemfile。請幫幫我。
您是否正在關注Micheal Hartl的教程? – Nirupa
是的,我是! @Nirupa。你能幫我解決嗎? –
好的,首先你在談論哪一章?並請將您的github鏈接發佈到此。 – Nirupa