2013-05-17 2 views
0

나는 개발을 레일에 새로운 오전과 내가 Heroku가 에서 오류가 계속 Application.js : //이 모든 파일이 포함됩니다 application.js로 컴파일됩니다 매니페스트 파일입니다왜 Heroku 500 오류가 계속 발생합니까?

// 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 [email protected] 
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 

나는 그것이이 작업을 수행 왜 아무 생각이 :

다음은 로그입니다. 매번 사이트를 열면 오류가 발생하지만 로컬로 실행할 때 제대로 작동합니다. 실제로 로그를 읽는 법을 모르겠습니다. 다른 모든 관련 질문을 시도했지만 해결 방법 중 아무 것도 작동하지 않는 것 같았습니다. 감사.

+0

자세한 로그를 붙여 넣을 수 있습니까? 현재 정보로 인해 잘못된 점을 파악하는 것은 쉽지 않습니다. 감사! –

+0

로그가 모두 표시됩니까? 프로덕션 환경에서 로컬로 앱을 시작해 보셨습니까? 다음 명령을 로컬에서 실행하십시오.'bundle exec rails server -e production' –

+0

ok 모든 로그를 추가했습니다. 나 또한 번들 exec 레일 서버 -e 생산을 실행했고 "우리는 유감 스럽지만 뭔가 잘못되었습니다."라는 동일한 오류가 발생했습니다. 메시지. – user2351234

답변

0

Gemfile의 자산 그룹에서 gem 'twitter-bootstrap-rails'을 이동해보십시오. 또는 application.js에 twitter/bootstrap 대신 bootstrap을 추가하십시오.

희망이 있습니다.

+0

OMG !!! 감사!! 그것은 발동했다! – user2351234

관련 문제