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
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).
group :production do should start on a new line, below.