我收到一个不寻常的错误,我不知道如何解决。任何人都可以帮忙。 我的项目需要大量的时间来加载。
Rendered /Users/Ahmad/.rvm/gems/ruby-1.9.2-p320@b_finder/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms[2012-10-29 22:29:43] ERROR Errno::ECONNRESET: Connection reset by peer
/Users/Ahmad/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:56:in `eof?'
/Users/Ahmad/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:56:in `run'
/Users/Ahmad/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2012-10-29 22:29:43 +0530
Served asset /home.css - 304 Not Modified (3ms)
Started GET "/assets/list.css?body=1" for 127.0.0.1 at 2012-10-29 22:29:43 +0530
Served asset /list.css - 304 Not Modified (2ms)
Started GET "/assets/user.css?body=1" for 127.0.0.1 at 2012-10-29 22:29:43 +0530
Served asset /user.css - 304 Not Modified (2ms)
Started GET "/js/less.js" for 127.0.0.1 at 2012-10-29 22:29:43 +0530
ActionController::RoutingError (No route matches [GET] "/js/less.js"):
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.1) lib/rack/lock.rb:15:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
/Users/Ahmad/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/Ahmad/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/Ahmad/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Rendered /Users/Ahmad/.rvm/gems/ruby-1.9.2-p320@b_finder/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
我不明白为什么会出现这样的错误。还有一件事我注意到了。
我使用了twitter bootstrap Tabbable nav
,因为js
是必需的。但如果我没有连接到互联网,那么该标签不起作用。虽然我在资产管道中手动粘贴了js和bootstrap的所有文件。
答案 0 :(得分:0)
听起来像加载错误,在你的情况下它找不到less.js文件。
你把它放在正确的位置了吗? app - >资产 - >的JavaScript