dimanche 1 novembre 2015

Ruby keeps giving unkown error messge

I have finally fixed most of the errors in my program, yet the Ruby on Rails command prompt keeps giving me the same error message:

``1) Error:
StaticPagesControllerTest#test_should_get_about:
ActionView::Template::Error: TypeError: Object doesn't support this property    or method
(in C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/turbolinks-    2.5.3/lib/assets/javascripts/turbolinks.js.coffee)
app/views/layouts/application.html.erb:7:in `   _app_views_layouts_application_html_erb__148079984_48137160'
test/controllers/static_pages_controller_test.rb:17:in `block in  <class:StaticPagesControllerTest>'


2) Error:
StaticPagesControllerTest#test_should_get_contact:
ActionView::Template::Error: TypeError: Object doesn't support this property   or method
(in C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/turbolinks-2.5.3/lib/assets/javascripts/turbolinks.js.coffee)
app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb__148079984_48137160'
test/controllers/static_pages_controller_test.rb:23:in `block in <class:StaticPagesControllerTest>'


 3) Error:
 StaticPagesControllerTest#test_should_get_help:
 ActionView::Template::Error: TypeError: Object doesn't support this   property or method
 (in C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/turbolinks-2.5.3/lib/assets/javascripts/turbolinks.js.coffee)
 app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb__148079984_48137160'
 test/controllers/static_pages_controller_test.rb:11:in `block in <class:StaticPagesControllerTest>'


 4) Error:
 StaticPagesControllerTest#test_should_get_home:
 ActionView::Template::Error: TypeError: Object doesn't support this property or method
 (in C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/turbolinks-2.5.3/lib/assets/javascripts/turbolinks.js.coffee)
 app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb__148079984_48137160'
 test/controllers/static_pages_controller_test.rb:5:in `block in <class:StaticPagesControllerTest>'

How do I get past this problem? I can't advance into my application without fixing this.

Aucun commentaire:

Enregistrer un commentaire