error in your Gemfile, and Bundler cannot continue
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I just setup my mac for development and used this exact gemfile previously and it worked fine. I am not sure what I am doing wrong. Victorias-MacBook-Pro:sample_app Victoria$ bundle --without production /Users/Victoria/Sites/sample_app/Gemfile:38:in `evaluate': compile error /Users/Victoria/Sites/sample_app/Gemfile:28: syntax error, unexpected ':', expecting kEND gem 'cucumber-rails', '1.2.1', require: false ^ (SyntaxError) /Library/Ruby/Gems/1.8/gems/bundler-1.1.3/lib/bundler/definition.rb:18:in `build' /Library/Ruby/Gems/1.8/gems/bundler-1