Hey guys, I'm new to rails and I'm stuck here in this place.
This is my application .HTML.erb Error in the JavaScript include tag (line 6) when I delete the line, I donβt get the error, I tried the following, it didnβt work, I could not find the jquery file in the Rails project I restarted my server a couple of times, it didnβt help anyone when I open my old projects, but all new are the same mistakes
<!DOCTYPE html> <html> <head> <title>Appmind</title> <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag "application", "data-turbolinks-track" => true %> <%= csrf_meta_tags %> </head> <body> <%= yield %> </body> </html>
contents of application.js
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. // // It not advisable to add code directly here, but if you do, it'll appear at the bottom of the // compiled file. // // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details // about supported directives. // //= require jquery //= require jquery_ujs //= require turbolinks //= require_tree .
gemfile contents
source 'https://rubygems.org'
track
Rails.root: C:/aptanastudio3/appmind Application Trace | Framework Trace | Full Trace app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___663637225_30053304'
any help would be appreciated thanks
jquery ruby-on-rails
user3369264
source share