-1

Here is the error when controller is generated

Here is my Gem-file code

Help me to fix out this error

LOL MODS
  • 15
  • 1
  • 6
  • 1
    It's better to paste your code into a code formatted block. This allows viewers to copy and paste, and to see the issues immediately without clicking links. – Will Wilson Feb 06 '21 at 14:50

1 Answers1

1

Rails errors always tell you the problem and where to look:

unexpected local variable or method, expecting 'end' ....../Gemfile:28

So on line 28 of the gemfile, there is something unexpected.

Look at line 28 and you'll see that you have

gem 'selenium-webdriver' gem 'webdrivers'

Which is not the same as any other line in the gemfile. Each gem needs to be on its own line.

Will Wilson
  • 335
  • 2
  • 9