【发布时间】:2015-01-31 05:14:34
【问题描述】:
在为我正在处理的项目执行 git clone 之后 我用 nitrous 更新了 Rails 和 Rails 4.2.0.beta2 跑步 轨道服务器
=> Booting WEBrick
=> Rails 4.2.0.beta2 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2014-12-02 20:13:56] INFO WEBrick 1.3.1
[2014-12-02 20:13:56] INFO ruby 2.1.4 (2014-10-27) [x86_64-linux]
[2014-12-02 20:13:56] INFO WEBrick::HTTPServer#start: pid=495 port=3000
^C[2014-12-02 20:14:48] INFO going to shutdown ...
[2014-12-02 20:14:48] INFO WEBrick::HTTPServer#start done.
我去3000端口
We couldn't find a server running on this port – are you sure there is a server running?
Make sure to bind your server to host 0.0.0.0 (instead of localhost/127.0.0.1).
我做错了什么?
【问题讨论】:
-
在查看了更多关于它的信息并看到@Steph 的答案后,我发现这个问题是由于 Rails 4.2 的变化。更多信息在this related question
标签: nitrousio ruby-on-rails-4.2