I have just built an app in rails and am trying to install a mailing system to the client and server side. When I try to run the application, the system states that the file cannot be found in the application.js file. Here is the error statement:
ActionView::Template::Error (couldn't find file 'global' with type ' application/javascript'):
3: <head>
4: <meta charset="utf-8">
5: <title>Vumos</title>
6: <%= stylesheet_link_tag 'application', 'global', media: 'all', 'data-turbolinks-track' => true %>
7: <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
8: <%= csrf_meta_tags %>
9: </head>
app/assets/javascripts/application.js:17
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__160887971_97469592'
I the file 'global' stored at the base of the file tree, not in a folder. If this is the problem, which folder would I put this file in? If not, how do I include the file in the application.js file?