ruby on rails - ExecJS::ProgramError in Welcome#index TypeError: Object doesn't support this property or method -
i complete new ruby on rails, great difficulty have installed software on windows 8 machine. following this guide create sample hello world example.
when trying follow steps given given in section 4.3 setting application home page, started facing issue.
here did:
1) open file config/routes.rb in editor.
2) uncommented line root 'welcome#index'
3) restarted server.
now when access url localhost:3000
started getting below error on browser:
execjs::programerror in welcome#index showing e:/rails/blog/app/views/layouts/application.html.erb line #6 raised: typeerror: object doesn't support property or method (in c:/railsinstaller/ruby2.0.0/lib/ruby/gems/2.0.0/gems/turbolinks-2.5.3/lib/assets/javascripts/turbolinks.js.coffee) extracted source (around line #6): <head> <title>blog</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> rails.root: e:/rails/blog
can please tell me why getting issue?
also developing applications using ruby on rails very? because has been 2 days since trying till faced many issues before see hello world example. have worked on java based frameworks never faced difficulty in installation or creating basic applications.
in /app/views/layouts/application.html.erb line 5 , 6, change first parameter application default.
Comments
Post a Comment