首页 \ 问答 \ 为什么我一直收到Heroku 500错误?(Why do I keep getting the Heroku 500 error?)

为什么我一直收到Heroku 500错误?(Why do I keep getting the Heroku 500 error?)

我是rails开发的新手,我不断从heroku Application.js收到错误://这是一个清单文件,它将被编译成application.js,其中包含所有文件

// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
// GO AFTER THE REQUIRES BELOW.
//
//= require jquery
//= require jquery_ujs
//= require twitter/bootstrap
//= require_tree .

这是日志:

   2013-05-17T01:07:35.161651+00:00 app[web.1]:     10:   <%= csrf_meta_tags %>
2013-05-17T01:07:35.161651+00:00 app[web.1]:     11:   <meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-17T01:07:35.161651+00:00 app[web.1]:     12: </head>
2013-05-17T01:07:35.161651+00:00 app[web.1]:   app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___296345013052741914_26637620'
2013-05-17T01:07:35.161651+00:00 app[web.1]: 
2013-05-17T01:07:35.162109+00:00 app[web.1]: 
2013-05-17T01:07:35.162109+00:00 app[web.1]: ActionView::Template::Error (couldn't find file 'twitter/bootstrap'
2013-05-17T01:07:35.162109+00:00 app[web.1]:   (in /app/app/assets/javascripts/application.js:15)):
2013-05-17T01:07:35.161651+00:00 app[web.1]: 
2013-05-17T01:07:35.162109+00:00 app[web.1]:     7:   <![endif]-->
2013-05-17T01:07:35.161869+00:00 app[web.1]: Started GET "/" for 97.116.68.224 at 2013-05-17 01:07:34 +0000
2013-05-17T01:07:35.161869+00:00 app[web.1]: Processing by HomeController#index as HTML
2013-05-17T01:07:35.162109+00:00 app[web.1]:   Rendered home/index.html.erb within layouts/application (0.1ms)
2013-05-17T01:07:35.162109+00:00 app[web.1]: Completed 500 Internal Server Error in 7ms
2013-05-17T01:07:35.162329+00:00 app[web.1]:   app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___296345013052741914_26637620'
2013-05-17T01:07:35.162329+00:00 app[web.1]: 
2013-05-17T01:07:35.162109+00:00 app[web.1]:     6:     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
2013-05-17T01:07:35.162109+00:00 app[web.1]:     9:   <%= javascript_include_tag "application" %>
2013-05-17T01:07:35.162329+00:00 app[web.1]:     12: </head>
2013-05-17T01:07:35.162109+00:00 app[web.1]:     8:   <%= stylesheet_link_tag    "application", :media => "all" %>
2013-05-17T01:07:35.162109+00:00 app[web.1]:     10:   <%= csrf_meta_tags %>
2013-05-17T01:07:35.162329+00:00 app[web.1]:     11:   <meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-17T01:07:35.162329+00:00 app[web.1]: 
2013-05-17T01:07:35.162543+00:00 app[web.1]: Started GET "/" for 97.116.68.224 at 2013-05-17 01:07:34 +0000
2013-05-17T01:07:35.162543+00:00 app[web.1]: Completed 500 Internal Server Error in 6ms
2013-05-17T01:07:35.162543+00:00 app[web.1]: 
2013-05-17T01:07:35.162543+00:00 app[web.1]: ActionView::Template::Error (couldn't find file 'twitter/bootstrap'
2013-05-17T01:07:35.162543+00:00 app[web.1]:   (in /app/app/assets/javascripts/application.js:15)):
2013-05-17T01:07:35.162543+00:00 app[web.1]:     6:     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
2013-05-17T01:07:35.162543+00:00 app[web.1]: Processing by HomeController#index as HTML
2013-05-17T01:07:35.162543+00:00 app[web.1]:     7:   <![endif]-->
2013-05-17T01:07:35.162761+00:00 app[web.1]:     8:   <%= stylesheet_link_tag    "application", :media => "all" %>
2013-05-17T01:07:35.162761+00:00 app[web.1]:     9:   <%= javascript_include_tag "application" %>
2013-05-17T01:07:35.162543+00:00 app[web.1]:   Rendered home/index.html.erb within layouts/application (0.1ms)
2013-05-17T01:07:35.162761+00:00 app[web.1]:     10:   <%= csrf_meta_tags %>
2013-05-17T01:07:35.162761+00:00 app[web.1]: 
2013-05-17T01:07:35.163007+00:00 app[web.1]: Started GET "/" for 97.116.68.224 at 2013-05-17 01:07:34 +0000
2013-05-17T01:07:35.163292+00:00 app[web.1]: Processing by HomeController#index as HTML
2013-05-17T01:07:35.163292+00:00 app[web.1]:   Rendered home/index.html.erb within layouts/application (0.1ms)
2013-05-17T01:07:35.162761+00:00 app[web.1]: 
2013-05-17T01:07:35.162761+00:00 app[web.1]:     12: </head>
2013-05-17T01:07:35.162761+00:00 app[web.1]:     11:   <meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-17T01:07:35.162761+00:00 app[web.1]:   app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___296345013052741914_26637620'
2013-05-17T01:07:35.163292+00:00 app[web.1]: Completed 500 Internal Server Error in 5ms
2013-05-17T01:07:35.163292+00:00 app[web.1]:   (in /app/app/assets/javascripts/application.js:15)):
2013-05-17T01:07:35.163292+00:00 app[web.1]:     8:   <%= stylesheet_link_tag    "application", :media => "all" %>
2013-05-17T01:07:35.163292+00:00 app[web.1]:     9:   <%= javascript_include_tag "application" %>
2013-05-17T01:07:35.163511+00:00 app[web.1]:     10:   <%= csrf_meta_tags %>
2013-05-17T01:07:35.163511+00:00 app[web.1]:     11:   <meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-17T01:07:35.163511+00:00 app[web.1]:     12: </head>
2013-05-17T01:07:35.163292+00:00 app[web.1]: 
2013-05-17T01:07:35.163292+00:00 app[web.1]: ActionView::Template::Error (couldn't find file 'twitter/bootstrap'
2013-05-17T01:07:35.163292+00:00 app[web.1]:     6:     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
2013-05-17T01:07:35.163292+00:00 app[web.1]:     7:   <![endif]-->
2013-05-17T01:07:35.163511+00:00 app[web.1]: 
2013-05-17T01:07:35.163511+00:00 app[web.1]:   app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___296345013052741914_26637620'
2013-05-17T01:07:35.163511+00:00 app[web.1]: 
2013-05-17T01:07:35.164363+00:00 app[web.1]: ActionView::Template::Error (couldn't find file 'twitter/bootstrap'
2013-05-17T01:07:35.164363+00:00 app[web.1]: 
2013-05-17T01:07:35.164363+00:00 app[web.1]: Completed 500 Internal Server Error in 6ms
2013-05-17T01:07:35.164363+00:00 app[web.1]: Processing by HomeController#index as HTML
2013-05-17T01:07:35.164578+00:00 app[web.1]:     12: </head>
2013-05-17T01:07:35.164578+00:00 app[web.1]:     11:   <meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-17T01:07:35.164363+00:00 app[web.1]:   (in /app/app/assets/javascripts/application.js:15)):
2013-05-17T01:07:35.164363+00:00 app[web.1]:     7:   <![endif]-->
2013-05-17T01:07:35.164363+00:00 app[web.1]:   Rendered home/index.html.erb within layouts/application (0.1ms)
2013-05-17T01:07:35.164141+00:00 app[web.1]: Started GET "/" for 97.116.68.224 at 2013-05-17 01:07:34 +0000
2013-05-17T01:07:35.164363+00:00 app[web.1]:     8:   <%= stylesheet_link_tag    "application", :media => "all" %>
2013-05-17T01:07:35.164363+00:00 app[web.1]:     6:     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
2013-05-17T01:07:35.164578+00:00 app[web.1]:     9:   <%= javascript_include_tag "application" %>
2013-05-17T01:07:35.164578+00:00 app[web.1]:   app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___296345013052741914_26637620'
2013-05-17T01:07:35.164578+00:00 app[web.1]: 
2013-05-17T01:07:35.164578+00:00 app[web.1]:     10:   <%= csrf_meta_tags %>
2013-05-17T01:07:35.164578+00:00 app[web.1]: 
2013-05-17T01:07:34.585624+00:00 heroku[router]: at=info method=GET path=/ host=desolate-stream-5449.herokuapp.com fwd="97.116.68.224" dyno=web.1 connect=1ms service=13ms status=500 bytes=643
2013-05-17T01:07:33.128607+00:00 heroku[router]: at=info method=GET path=/ host=desolate-stream-5449.herokuapp.com fwd="97.116.68.224" dyno=web.1 connect=0ms service=15ms status=500 bytes=643
2013-05-17T01:08:34.121772+00:00 heroku[api]: Starting process with command `bundle exec rake db:version` by shirwa99@gmail.com
2013-05-17T01:08:36.213605+00:00 heroku[run.7274]: Awaiting client
2013-05-17T01:08:36.324096+00:00 heroku[run.7274]: Starting process with command `bundle exec rake db:version`
2013-05-17T01:08:37.032487+00:00 heroku[run.7274]: State changed from starting to up
2013-05-17T01:08:41.870397+00:00 heroku[run.7274]: State changed from up to complete
2013-05-17T01:08:41.862423+00:00 heroku[run.7274]: Process exited with status 0
2013-05-17T01:17:00.656365+00:00 heroku[router]: at=info method=GET path=/ host=desolate-stream-5449.herokuapp.com fwd="59.189.51.75, 218.186.8.249" dyno=web.1 connect=8
ms service=32ms status=500 bytes=643
2013-05-17T01:17:00.647418+00:00 app[web.1]: Processing by HomeController#index as HTML
2013-05-17T01:17:00.648041+00:00 app[web.1]:   Rendered home/index.html.erb within layouts/application (0.1ms)
2013-05-17T01:17:00.653801+00:00 app[web.1]: Completed 500 Internal Server Error in 6ms
2013-05-17T01:17:00.656124+00:00 app[web.1]: 
2013-05-17T01:17:00.656124+00:00 app[web.1]: ActionView::Template::Error (couldn't find file 'twitter/bootstrap'
2013-05-17T01:17:00.656124+00:00 app[web.1]:   (in /app/app/assets/javascripts/application.js:15)):
2013-05-17T01:17:00.656124+00:00 app[web.1]:     6:     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
2013-05-17T01:17:00.656124+00:00 app[web.1]:     7:   <![endif]-->
2013-05-17T01:17:00.656124+00:00 app[web.1]:     8:   <%= stylesheet_link_tag    "application", :media => "all" %>
2013-05-17T01:17:00.656124+00:00 app[web.1]:     9:   <%= javascript_include_tag "application" %>
2013-05-17T01:17:00.656124+00:00 app[web.1]:     10:   <%= csrf_meta_tags %>
2013-05-17T01:17:00.656124+00:00 app[web.1]:     11:   <meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-17T01:17:00.656124+00:00 app[web.1]:     12: </head>
2013-05-17T01:17:00.656406+00:00 app[web.1]:   app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___296345013052741914_26637620'
2013-05-17T01:17:00.656406+00:00 app[web.1]: 
2013-05-17T01:17:00.656406+00:00 app[web.1]: 
2013-05-17T01:17:00.634861+00:00 app[web.1]: Started GET "/" for 218.186.8.249 at 2013-05-17 01:17:00 +0000
2013-05-17T01:17:01.620125+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=desolate-stream-5449.herokuapp.com fwd="218.186.8.249" dyno=web.1 connect=1ms service=6ms status=200 bytes=0

我不知道为什么会这样做。 每次我打开网站时,它都会给我错误,但是当我在本地运行它时它工作正常。 我不知道如何实际阅读日志。 我尝试了所有其他相关问题,但没有一个解决方案似乎有效。 谢谢。


I am new to rails development and I keep getting an error from heroku Application.js: // This is a manifest file that'll be compiled into application.js, which will include all the files

// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
// GO AFTER THE REQUIRES BELOW.
//
//= require jquery
//= require jquery_ujs
//= require twitter/bootstrap
//= require_tree .

Here is the log:

   2013-05-17T01:07:35.161651+00:00 app[web.1]:     10:   <%= csrf_meta_tags %>
2013-05-17T01:07:35.161651+00:00 app[web.1]:     11:   <meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-17T01:07:35.161651+00:00 app[web.1]:     12: </head>
2013-05-17T01:07:35.161651+00:00 app[web.1]:   app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___296345013052741914_26637620'
2013-05-17T01:07:35.161651+00:00 app[web.1]: 
2013-05-17T01:07:35.162109+00:00 app[web.1]: 
2013-05-17T01:07:35.162109+00:00 app[web.1]: ActionView::Template::Error (couldn't find file 'twitter/bootstrap'
2013-05-17T01:07:35.162109+00:00 app[web.1]:   (in /app/app/assets/javascripts/application.js:15)):
2013-05-17T01:07:35.161651+00:00 app[web.1]: 
2013-05-17T01:07:35.162109+00:00 app[web.1]:     7:   <![endif]-->
2013-05-17T01:07:35.161869+00:00 app[web.1]: Started GET "/" for 97.116.68.224 at 2013-05-17 01:07:34 +0000
2013-05-17T01:07:35.161869+00:00 app[web.1]: Processing by HomeController#index as HTML
2013-05-17T01:07:35.162109+00:00 app[web.1]:   Rendered home/index.html.erb within layouts/application (0.1ms)
2013-05-17T01:07:35.162109+00:00 app[web.1]: Completed 500 Internal Server Error in 7ms
2013-05-17T01:07:35.162329+00:00 app[web.1]:   app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___296345013052741914_26637620'
2013-05-17T01:07:35.162329+00:00 app[web.1]: 
2013-05-17T01:07:35.162109+00:00 app[web.1]:     6:     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
2013-05-17T01:07:35.162109+00:00 app[web.1]:     9:   <%= javascript_include_tag "application" %>
2013-05-17T01:07:35.162329+00:00 app[web.1]:     12: </head>
2013-05-17T01:07:35.162109+00:00 app[web.1]:     8:   <%= stylesheet_link_tag    "application", :media => "all" %>
2013-05-17T01:07:35.162109+00:00 app[web.1]:     10:   <%= csrf_meta_tags %>
2013-05-17T01:07:35.162329+00:00 app[web.1]:     11:   <meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-17T01:07:35.162329+00:00 app[web.1]: 
2013-05-17T01:07:35.162543+00:00 app[web.1]: Started GET "/" for 97.116.68.224 at 2013-05-17 01:07:34 +0000
2013-05-17T01:07:35.162543+00:00 app[web.1]: Completed 500 Internal Server Error in 6ms
2013-05-17T01:07:35.162543+00:00 app[web.1]: 
2013-05-17T01:07:35.162543+00:00 app[web.1]: ActionView::Template::Error (couldn't find file 'twitter/bootstrap'
2013-05-17T01:07:35.162543+00:00 app[web.1]:   (in /app/app/assets/javascripts/application.js:15)):
2013-05-17T01:07:35.162543+00:00 app[web.1]:     6:     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
2013-05-17T01:07:35.162543+00:00 app[web.1]: Processing by HomeController#index as HTML
2013-05-17T01:07:35.162543+00:00 app[web.1]:     7:   <![endif]-->
2013-05-17T01:07:35.162761+00:00 app[web.1]:     8:   <%= stylesheet_link_tag    "application", :media => "all" %>
2013-05-17T01:07:35.162761+00:00 app[web.1]:     9:   <%= javascript_include_tag "application" %>
2013-05-17T01:07:35.162543+00:00 app[web.1]:   Rendered home/index.html.erb within layouts/application (0.1ms)
2013-05-17T01:07:35.162761+00:00 app[web.1]:     10:   <%= csrf_meta_tags %>
2013-05-17T01:07:35.162761+00:00 app[web.1]: 
2013-05-17T01:07:35.163007+00:00 app[web.1]: Started GET "/" for 97.116.68.224 at 2013-05-17 01:07:34 +0000
2013-05-17T01:07:35.163292+00:00 app[web.1]: Processing by HomeController#index as HTML
2013-05-17T01:07:35.163292+00:00 app[web.1]:   Rendered home/index.html.erb within layouts/application (0.1ms)
2013-05-17T01:07:35.162761+00:00 app[web.1]: 
2013-05-17T01:07:35.162761+00:00 app[web.1]:     12: </head>
2013-05-17T01:07:35.162761+00:00 app[web.1]:     11:   <meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-17T01:07:35.162761+00:00 app[web.1]:   app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___296345013052741914_26637620'
2013-05-17T01:07:35.163292+00:00 app[web.1]: Completed 500 Internal Server Error in 5ms
2013-05-17T01:07:35.163292+00:00 app[web.1]:   (in /app/app/assets/javascripts/application.js:15)):
2013-05-17T01:07:35.163292+00:00 app[web.1]:     8:   <%= stylesheet_link_tag    "application", :media => "all" %>
2013-05-17T01:07:35.163292+00:00 app[web.1]:     9:   <%= javascript_include_tag "application" %>
2013-05-17T01:07:35.163511+00:00 app[web.1]:     10:   <%= csrf_meta_tags %>
2013-05-17T01:07:35.163511+00:00 app[web.1]:     11:   <meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-17T01:07:35.163511+00:00 app[web.1]:     12: </head>
2013-05-17T01:07:35.163292+00:00 app[web.1]: 
2013-05-17T01:07:35.163292+00:00 app[web.1]: ActionView::Template::Error (couldn't find file 'twitter/bootstrap'
2013-05-17T01:07:35.163292+00:00 app[web.1]:     6:     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
2013-05-17T01:07:35.163292+00:00 app[web.1]:     7:   <![endif]-->
2013-05-17T01:07:35.163511+00:00 app[web.1]: 
2013-05-17T01:07:35.163511+00:00 app[web.1]:   app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___296345013052741914_26637620'
2013-05-17T01:07:35.163511+00:00 app[web.1]: 
2013-05-17T01:07:35.164363+00:00 app[web.1]: ActionView::Template::Error (couldn't find file 'twitter/bootstrap'
2013-05-17T01:07:35.164363+00:00 app[web.1]: 
2013-05-17T01:07:35.164363+00:00 app[web.1]: Completed 500 Internal Server Error in 6ms
2013-05-17T01:07:35.164363+00:00 app[web.1]: Processing by HomeController#index as HTML
2013-05-17T01:07:35.164578+00:00 app[web.1]:     12: </head>
2013-05-17T01:07:35.164578+00:00 app[web.1]:     11:   <meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-17T01:07:35.164363+00:00 app[web.1]:   (in /app/app/assets/javascripts/application.js:15)):
2013-05-17T01:07:35.164363+00:00 app[web.1]:     7:   <![endif]-->
2013-05-17T01:07:35.164363+00:00 app[web.1]:   Rendered home/index.html.erb within layouts/application (0.1ms)
2013-05-17T01:07:35.164141+00:00 app[web.1]: Started GET "/" for 97.116.68.224 at 2013-05-17 01:07:34 +0000
2013-05-17T01:07:35.164363+00:00 app[web.1]:     8:   <%= stylesheet_link_tag    "application", :media => "all" %>
2013-05-17T01:07:35.164363+00:00 app[web.1]:     6:     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
2013-05-17T01:07:35.164578+00:00 app[web.1]:     9:   <%= javascript_include_tag "application" %>
2013-05-17T01:07:35.164578+00:00 app[web.1]:   app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___296345013052741914_26637620'
2013-05-17T01:07:35.164578+00:00 app[web.1]: 
2013-05-17T01:07:35.164578+00:00 app[web.1]:     10:   <%= csrf_meta_tags %>
2013-05-17T01:07:35.164578+00:00 app[web.1]: 
2013-05-17T01:07:34.585624+00:00 heroku[router]: at=info method=GET path=/ host=desolate-stream-5449.herokuapp.com fwd="97.116.68.224" dyno=web.1 connect=1ms service=13ms status=500 bytes=643
2013-05-17T01:07:33.128607+00:00 heroku[router]: at=info method=GET path=/ host=desolate-stream-5449.herokuapp.com fwd="97.116.68.224" dyno=web.1 connect=0ms service=15ms status=500 bytes=643
2013-05-17T01:08:34.121772+00:00 heroku[api]: Starting process with command `bundle exec rake db:version` by shirwa99@gmail.com
2013-05-17T01:08:36.213605+00:00 heroku[run.7274]: Awaiting client
2013-05-17T01:08:36.324096+00:00 heroku[run.7274]: Starting process with command `bundle exec rake db:version`
2013-05-17T01:08:37.032487+00:00 heroku[run.7274]: State changed from starting to up
2013-05-17T01:08:41.870397+00:00 heroku[run.7274]: State changed from up to complete
2013-05-17T01:08:41.862423+00:00 heroku[run.7274]: Process exited with status 0
2013-05-17T01:17:00.656365+00:00 heroku[router]: at=info method=GET path=/ host=desolate-stream-5449.herokuapp.com fwd="59.189.51.75, 218.186.8.249" dyno=web.1 connect=8
ms service=32ms status=500 bytes=643
2013-05-17T01:17:00.647418+00:00 app[web.1]: Processing by HomeController#index as HTML
2013-05-17T01:17:00.648041+00:00 app[web.1]:   Rendered home/index.html.erb within layouts/application (0.1ms)
2013-05-17T01:17:00.653801+00:00 app[web.1]: Completed 500 Internal Server Error in 6ms
2013-05-17T01:17:00.656124+00:00 app[web.1]: 
2013-05-17T01:17:00.656124+00:00 app[web.1]: ActionView::Template::Error (couldn't find file 'twitter/bootstrap'
2013-05-17T01:17:00.656124+00:00 app[web.1]:   (in /app/app/assets/javascripts/application.js:15)):
2013-05-17T01:17:00.656124+00:00 app[web.1]:     6:     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
2013-05-17T01:17:00.656124+00:00 app[web.1]:     7:   <![endif]-->
2013-05-17T01:17:00.656124+00:00 app[web.1]:     8:   <%= stylesheet_link_tag    "application", :media => "all" %>
2013-05-17T01:17:00.656124+00:00 app[web.1]:     9:   <%= javascript_include_tag "application" %>
2013-05-17T01:17:00.656124+00:00 app[web.1]:     10:   <%= csrf_meta_tags %>
2013-05-17T01:17:00.656124+00:00 app[web.1]:     11:   <meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-17T01:17:00.656124+00:00 app[web.1]:     12: </head>
2013-05-17T01:17:00.656406+00:00 app[web.1]:   app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___296345013052741914_26637620'
2013-05-17T01:17:00.656406+00:00 app[web.1]: 
2013-05-17T01:17:00.656406+00:00 app[web.1]: 
2013-05-17T01:17:00.634861+00:00 app[web.1]: Started GET "/" for 218.186.8.249 at 2013-05-17 01:17:00 +0000
2013-05-17T01:17:01.620125+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=desolate-stream-5449.herokuapp.com fwd="218.186.8.249" dyno=web.1 connect=1ms service=6ms status=200 bytes=0

I have no idea why it does this. Everytime i open the site, it gives me the error, but it works fine when i run it locally. I don't know how to actually read the logs. I tried all the other related questions and none of the solutions seemed to work. Thanks.


原文:https://stackoverflow.com/questions/16599933
更新时间:2023-03-19 06:03

最满意答案

我们使用Eve 0.8并使用PostMan执行查询。

这是因为PyEve (当前版本0.8)不支持$ centerSphere运算符。 见eve / io / mongo / mongo.py#L94-L102 。 您可以在PyEve的问题跟踪器上提交操作员支持请求。

另外,值得注意的是,只有MongoDB v3.4 +才能使用带有$centerSphere$geoWithin


We are using Eve 0.8 and the query is performed using PostMan.

This is because PyEve (currently version 0.8) does not support the $centerSphere operator. See eve/io/mongo/mongo.py#L94-L102. You may submit a request on PyEve's issue tracker for the operator support.

Additional, worth noting that the use of $geoWithin with $centerSphere is only available on MongoDB v3.4+.

相关问答

更多

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)