start server with vagrant on windows using git bash

Posted on

Question :

As seen in the log below when starting the server such error occurs.
Dei install and in sequence I tried to start the server.

=> Booting WEBrick
=> Rails 4.1.1 application starting in development on
=> Run 'rails server -h' for more startup options
=> Notice: server is listening on all interfaces ( Consider using 127.0
.0.1 (--binding option)
=> Ctrl-C to shutdown server
encies.rb:241:in 'load': /vagrant/colchonet/config/routes.rb:63: syntax error, u
nexpected keyword_end, expecting end-of-input (SyntaxError)


Answer :

The problem is in the route.rb file.

The ruby interpreter is analyzing your code and at line 63 it came across an end that should not be there as it does not have the handling for this command it raises this error.

This process is known as Lexical Analysis and is present in both interpreters and compilers.


Leave a Reply

Your email address will not be published. Required fields are marked *