Ruby on Rails Thursday, June 25, 2015

If you change the two times occurrence of 'application' to 'default' in your application.html.erb, it will fix the problem, but later you won't be able to show confirmation dialog box etc.
A better fix is to downgrade 
coffee-script-source from v 1.9.x to 1.8.0 as follows.

include in your Gemfile gem 'coffee-script-source', '1.8.0'

than run bundle update coffee-script-source



On Wednesday, June 24, 2015 at 11:33:04 AM UTC+5, Rodrigo Argumedo wrote:

Hi, I just created a hobby Rails project and ran rails s just fine but visiting to root gives me this: 


Errno::ENOENT in Home#index

Showing C:/Users/Rodrigo Argumedo/projects/CRM/app/views/layouts/application.html.erb where line #6 raised:

No such file or directory @ unlink_internal - C:/Users/Rodrigo Argumedo/AppData/Local/Temp/execjs20150623-7724-1hcg3jzjson

Rails.root: C:/Users/Rodrigo Argumedo/projects/CRM

<!DOCTYPE html>
<html>
<head>
 
<title>CRM</title>
 
<%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
 
<%= javascript_include_tag 'application' %>
 
<%= csrf_meta_tags %>
</head>
<body>


<%= yield %>


</body>
</html>


Is there a way to resolve this execjs temp file or directory that is now nonexistent? Or should I raise this issue on ExecJS's github repo?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/38d35695-4edc-4704-944b-a8d025f66e95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment