【发布时间】:2015-08-06 11:36:08
【问题描述】:
我是 ruby on rails 的新手。我目前正在安装 Ruby on Rails。
我已经完成了所有步骤,直到:bundle install。
然后我输入rails server 来启动rails 服务器。根据我在http://guides.rubyonrails.org/command_line.html 中读到的内容,在我输入rails server 后,它应该会显示:
$ cd commandsapp
$ bin/rails server
=> Booting WEBrick
=> Rails 4.2.0 application starting in development on http://localhost:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2013-08-07 02:00:01] INFO WEBrick 1.3.1
[2013-08-07 02:00:01] INFO ruby 2.0.0 (2013-06-27) [x86_64-darwin11.2.0]
[2013-08-07 02:00:01] INFO WEBrick::HTTPServer#start: pid=69680 port=3000
但是在我的命令行中它显示了这个,而不是:
所以rails服务器没有运行,当我在浏览器中输入localhost:3000或localhost:8000时,它说无法连接(可能是因为服务器没有运行)。
对不起,我的语言不好。
【问题讨论】:
标签: ruby-on-rails