启动Rails时出错

时间:2014-08-17 19:45:19

标签: ruby-on-rails

在运行Rails几个月没有问题后,我在MacBook Pro OSX 10.9上启动服务器(rails s)时出现了这个错误。 从头开始的新项目返回相同的错误。 任何提示都将不胜感激。 在此先感谢!!

MacBook-Pro-de-MyName:blog MyName$ rails s
    => Booting WEBrick
    => Rails 4.1.4 application starting in development on [...]
    => Run `rails server -h` for more startup options
    => Notice: server is listening on all interfaces (-.-.-.-). Consider using 127.0.0.1 (--binding option)
    => Ctrl-C to shutdown server
    [2014-08-17 21:22:30] INFO  WEBrick 1.3.1
    [2014-08-17 21:22:30] INFO  ruby 2.1.2 (2014-05-08) [x86_64-darwin13.0]
Exiting
    /Users/MyName/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/utils.rb:76:in
    `create_listeners': undefined method `tcp_server_sockets' for Socket:Class    
    (NoMethodError) from
    /Users/MyName/.rvm/rubies/ruby2.1.2/lib/ruby/2.1.0/webrick/server.rb:132:in `listen'

[etc.]

0 个答案:

没有答案