I am going through a recurrent problem, while hitting for admin dashboard in the rails_admin it give me error:
ExecJS::ProgramError in RailsAdmin::Main#dashboard
TypeError: Object doesn't support this property or method
(in c:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rails_admin-0.6.7/app/assets/javascripts/rails_admin/ra.nested-form-hooks.coffee)
line #9 has the following code:
= javascript_include_tag "rails_admin/rails_admin.js"
Solution tried:
- I have tried the node.js installation
- Modify JScript section in runtimes.rb file.
Nothing worked for me. If anyone has solved it, please let me know.