Ruby rails on app


I tried to install the ruby application but an error occured when I tried to make changes in VSCode. PLease see to it that I made the correct changes in code in VSCode. Some error is prompted in te terminal.!


Where you have gem ‘rails’, group :production do

The gem ‘rails’, should be on a separate line, before the rest of the code that follows it (and should not end with a comma).

It should be something like gem ‘rails’, ‘~> 5.2.2’ (or whatever version number of Rails you are using).

Then group :production do should start on a new line, below.