start server with vagrant on windows using git bash

4

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 http://0.0.0.0:3000
=> Run 'rails server -h' for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0
.0.1 (--binding option)
=> Ctrl-C to shutdown server
Exiting
/home/vagrant/local/ruby/gems/gems/activesupport-4.1.1/lib/active_support/depend
encies.rb:241:in 'load': /vagrant/colchonet/config/routes.rb:63: syntax error, u
nexpected keyword_end, expecting end-of-input (SyntaxError)
    
asked by anonymous 19.11.2014 / 03:53

1 answer

1

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.

    
07.01.2015 / 04:15