Pierre Vincent Cabral
Pierre Vincent Cabral

Reputation: 13

I am trying to run rails server and a, coming up this this error

I am creating a rails app with a course called one month rails. Everything was working just fine until I came across this error.

[!] There was an error parsing Gemfile: syntax error, unexpected <<, expecting end-of-input - <<<<<<< HEAD
^. Bundler cannot continue.

enter image description here

Upvotes: 0

Views: 56

Answers (2)

BIlal Khan
BIlal Khan

Reputation: 471

The error is showing that the bundle tried to read the gemfile line by line and picks up the specified gems and install it in our system. But it faces a syntax error when we provided wrong set of arguments to gem specification.

We need to hit end line and it will work fine.

gem 'jquery-rails'
gem 'turbolinks'

I hope it will fix your problem.

Upvotes: 0

Jaffa
Jaffa

Reputation: 12709

Just put a carriage return after gem 'jquery-rails'

Upvotes: 1

Related Questions