[Rails] ExecJS::RuntimeError in Home#index
I have just installed RoR using RailsInstaller.
This is on a Windows XP system.
I have created the default application and it loads via localhost
I have also updated execjs to 1.2.9 and installed nodes as initially
there was no javascript support. ( not sure why the windows script
server did not work though)
I am now working through the Getting Started with Rails, Blog
application at http://guides.rubyonrails.org/getting_started.html#creating-the-blog-application
I receive the following error when I try to access the application:
ExecJS::RuntimeError in Home#index
Showing C:/Sites/blog/app/views/layouts/application.html.erb where
line #6 raised:
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
(in C:/Sites/blog/app/assets/javascripts/home.js.coffee)
Extracted source (around line #6):
3: <head>
4: <title>Blog</title>
5: <%= stylesheet_link_tag "application" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8: </head>
9: <body>
The files application.js and home.js.coffee have no code, they are
just the original templates.
The line " 'C:\Program' is not recognized as an internal or external
command, operable program or batch file." suggest that the space in a
path name is causing a problem.
Any help or guidance would be welcomed.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home