Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completing Step 5 of Creating a Rails App #626

Open
heniansu opened this issue Dec 25, 2017 · 0 comments
Open

Completing Step 5 of Creating a Rails App #626

heniansu opened this issue Dec 25, 2017 · 0 comments

Comments

@heniansu
Copy link

heniansu commented Dec 25, 2017

New users on Windows 10 who installed the latest version of everything suggested in Installfest might get the following error when trying to complete Step 5 of Creating a Rails App:

Errno::ENOENT in Drinks#index

Showing C:/Sites/railsbridge/test_app/app/views/layouts/application.html.erb where line #7 raised:

No such file or directory @ unlink_internal - C:/Users/Name/AppData/Local/Temp/execjs20171225-10092-1rlqwsqjson

Line 7 is the following:

<%= csrf_meta_tags %>      <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>   </head>

According to this post: https://stackoverflow.com/questions/28421547/rails-execjsprogramerror-in-pageshome, it's because coffee-script-source 1.9.0 does not work on Windows. The fix doesn't seem to work for me at the moment so I'm using a temporary fix:

Go to C:\Sites\railsbridge\test_app\app\assets\javascripts\application.js and delete // from "//= require turbolinks".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant