Currently I have a problem since jquery is not working correctly in my ruby on rails project and when I researched I realized that the document.ready does not work well in that framework, so I decided to download the patch that would be jquery-turboLinks
, but once you install it and all that. I got this error.
ExecJS::RuntimeError in Inicio#index
Showing /home/david/Escritorio/prueba_ruby/app/views/inicio/index.html.erb where line #13 raised:
SyntaxError: [stdin]:9:9: unexpected or
Rails.root: /home/david/Escritorio/prueba_ruby
The line that marks me # 13 is this line of code:
<%= image_tag("1.jpg", :class=>"cloud9-item" ) %