I use Vagrant to run a Rails application, everything seems to be correct, but then when I create a test application, run the s rails and switch to localhost: 3000 I get ERR_EMPTY_RESPONSE and nothing loads. I get the following output when running s rails:
vagrant@rails-dev-box:~/projects/NewAppName$ rails s
=> Booting WEBrick
=> Rails 4.2.3 application starting in development on http:
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2015-08-20 11:45:45] INFO WEBrick 1.3.1
[2015-08-20 11:45:45] INFO ruby 2.2.1 (2015-02-26) [i686-linux]
[2015-08-20 11:45:45] INFO WEBrick::HTTPServer
I already ran rake db: create && & rake db: migrate and created a controller for the root. Does anyone have an idea of ββwhat might happen? Thanks.
user2580108
source
share