【报错记录】[!] There was an error parsing `Gemfile`: syntax error【bundle install】

Published on:

错误信息:

apple@appledeMacBook-Pro ⮀ ~/job-listing/004 ⮀ ⭠ test± ⮀ bundle install
[!] There was an error parsing Gemfile: syntax error, unexpected tIDENTIFIER, expecting end-of-input - # Call 'byebug' anywhere in the code to sto...
^. Bundler cannot continue.

# from /Users/apple/job-listing/004/Gemfile:45
# -------------------------------------------
# group :development, :test do

# Call 'byebug' anywhere in the code to stop execution and get a debugger console
# gem 'byebug', platform: :mri
# -------------------------------------------
✘ apple@appledeMacBook-Pro ⮀ ~/job-listing/004 ⮀ ⭠ test± ⮀

位置+问题描述:

bundle install报错,iterm上
安装gem,然后执行bundle install

错误排除方法:

gemfile里的gem 'xxx'代码,少了个'

Comments

comments powered by Disqus