chef/omnibus

`omnibus new` creates invalid Gemfile

Closed this issue · 0 comments

> bundle install --binstubs

[!] There was an error parsing `Gemfile`: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' -   gem 'kitchen-vagrant',
      ^
/Users/ssd/tmp/omnibus-MY_PROJECT_NAME/Gemfile:20: syntax error, unexpected ',', expecting keyword_end
  gem 'kitchen-vagrant',
                       ^. Bundler cannot continue.

 #  from /Users/ssd/tmp/omnibus-MY_PROJECT_NAME/Gemfile:20
 #  -------------------------------------------
 #    gem 'test-kitchen',
 >    gem 'kitchen-vagrant',
 #  end
 #  -------------------------------------------

The fix is to remove those commas.