I am trying to add login-logout functionality to my rails app. For that I added bcrypt
gem for password encryption and also access controller. Now when I run it
Install node.js x86 version (Not x64 version even if have 64-bit computer) You can download it from https://nodejs.org/en/download/
All the other answers are not neccesary.
After installing node.js, you need to restart the rails server AND the CMD shell where it is running, to update the path it will see.
Just commenting this line in the above code segment solved my problem.
<%=j avascript_include_tag 'application', 'data-turbolinks-track'=>true %>
Not sure if this is a preferred solution but certainly helped me move forward.
@Chuchoo, commenting the <%=javascript_include_tag 'application', 'data-turbolinks-track'=>true %>
solves the issue.
For the many newbies out there, more details on how to get to the solution.
Go to your app directory and access the application.html.erb file from your_app>app>views>layouts>application.html.erb and comment the javascript on line 6.
<!--%= javascript_include_tag 'application', 'data-turbolinks-track' => true %-->
Refresh your page and you are good to go.
uncomment (app/assets/javascripts/application.js)
//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require_tree .
Go to your app directory and then open application.html.erb file inside app/views/layouts and comment these two lines (5th and 6th)like this:
<!-- %= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> -->
refresh your webpage ,and Your problem is solved!
There is a problem with coffee-script-source 1.9.0 running on windows.
It seems you have to add this to your gemfile:
gem 'coffee-script-source', '1.8.0'
then do
bundle update coffee-script-source