Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

J Travis Lindsey's Profile

GitHub User: jtlindsey

Site: http://www.jtlindsey.com

Comments by J Travis Lindsey

Avatar

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?