1.无法访问开发环境(虚拟机)
升级版本后,如果你是在虚拟机中开发,主机无法访问项目地址了,注意看
with rails 4.2.0, the server binds to localhost by default, instead of 0.0.0.0.
When working with a rails in a virtual box, accessing the server from the host computer, the binding address needs to be 0.0.0.0
Start rails server with -b0.0.0.0 to make the rails server accessible from the host computer/browser.
2.