RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: jtlindsey
Site: http://www.jtlindsey.com
Im guessing for the current version of virtualbox and vagrant this line
'config.vm.forward_port "rails", 3000, 3000'
would instead be this line
'config.vm.network "forwarded_port", guest: 3000, host: 3000'
'exit' 'vagrant reload' 'vagrant ssh' cd ..to rails app folder 'rails s'
but when i visit http://localhost:3000 with the WeBrick server running, i get nothing (can't find server at localhost:3000)
Any idea what I am missing?
Im guessing for the current version of virtualbox and vagrant this line
'config.vm.forward_port "rails", 3000, 3000'
would instead be this line
'config.vm.network "forwarded_port", guest: 3000, host: 3000'
'exit'
'vagrant reload'
'vagrant ssh'
cd ..to rails app folder
'rails s'
but when i visit http://localhost:3000 with the WeBrick server running, i get nothing (can't find server at localhost:3000)
Any idea what I am missing?