Coffee script 1.9.0 doesn’t play well with Windows. On my Windows 7 machine, using version 1.8.0 solved this problem.
Add to Gemfile
gem 'coffee-script-source', '1.8.0'
then, run
bundle update coffee-script-source
and restart the server (if needed)
More Related Contents:
- Using Rails 3.1, where do you put your “page specific” JavaScript code?
- AngularJS- Login and Authentication in each route and controller
- Find DOM element by ID when ID contains square brackets?
- ExecJS::RuntimeError on Windows trying to follow rubytutorial
- Best way to add page specific JavaScript in a Rails 3 app?
- Facebook how to check if user has liked page and show content?
- Rails 5: how to use $(document).ready() with turbo-links
- Why escape_javascript before rendering a partial?
- JavaScript file per view in Rails
- Uncaught ReferenceError: React is not defined
- Rails javascript only works after reload
- How to pass Ruby variables to a JavaScript function in a Rails view?
- How can I change the title of the document during .ready()?
- How to pass a javascript variable into a erb code in a js view?
- Rails js.erb file cannot find method “render”
- Facebook App: localhost no longer works as app domain
- Using a Rails helper method within a javascript asset
- Rails flash notice via ajax
- Rails: Webpacker 4.2 can’t find application in /app/public/packs/manifest.json heroku
- Rails, javascript not loading after clicking through link_to helper
- “Can’t find variable” error with Rails 3.1 and Coffeescript
- Detect browser character support in javascript?
- How to add jquery third party plugin in rails 6 webpacker
- Single Page Application and CSRF Token
- Why “Prevent this page from creating additional dialogs” appears in the alert box?
- Using Ruby variable in Javascript (In App View)
- Like button Ajax in Ruby on Rails
- Ruby on Rails – Send JavaScript variable from controller to external Javascript asset file
- .js.erb VS .js
- rails and backbone working together