Hi,
On Wed, Mar 23, 2016, at 03:52, Aman Aman wrote:
> I have just installed ruby on rails on my window. and I was going
> through tutorials in
> http://guides.rubyonrails.org/v4.2/getting_started.html and I am getting
> this error (ExecJS::ProgramError in Articles#index ) So I just removed
> the line no 6 from /app/views/layouts/application.html.erb that is <%=
> javascript_include_tag 'application', 'data-turbolinks-track' => true %>
>
> And issue solved.
You didn't solve it, you removed the whole javascript, along with
jquery-ujs which is required to make your delete link work.
Rails development on windows isn't really recommended for beginner as
rarely anyone uses windows for it and as there's currently bug in one of
the components [1], you need to work around the problem by installing
nodejs [2] for now (or maybe some other workarounds). (and put the
javascript back in)
[1] https://github.com/jashkenas/coffeescript/issues/4158
[2] http://nodejs.org/
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1458682300.4150639.556889258.48BEF913%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment