start Vagrant server in windows using git bash

Asked

Viewed 241 times

4

As seen in the log below when starting the server such error occurs. Dei Bundle install and then 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)

1 answer

1

The problem is in the route.Rb file.

The Ruby interpreter is analyzing your code and on line 63 he came across a end that shouldn’t be there as he doesn’t have the treatment for that command he raises that error.

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.