我不断收到以下错误并尝试了不同的变体。不胜感激任何建议!
$ bundle install
Gemfile syntax error on line 16: syntax error, unexpected tIDENTIFIER, expecting
end-of-input
gem 'sqlite3' group :development :test
^
$ bundle install
Gemfile syntax error on line 16: syntax error, unexpected tIDENTIFIER, expecting
end-of-input
gem 'sqlite3' group: :development, :test
^
$ bundle install
Gemfile syntax error on line 16: syntax error, unexpected tIDENTIFIER, expecting
end-of-input
gem 'sqlite3' group :development, :test
^
$ bundle install
Gemfile syntax error on line 16: syntax error, unexpected tIDENTIFIER, expecting
end-of-input
gem 'sqlite3' group :development, :test do
^
答案 0 :(得分:1)
正确的语法:
group :development, :test do
gem 'sqlite3'
end
只是建议您在生产数据库中进行测试和开发。