[Rails] HELP!! "Could not find a JavaScript runtime " ERROR
Hello ALL,
I'm new to RoR, I get the following error stack whenever I issue
"rails server" or "rails generate ..." command.
Thanks in advance!
ERROR STACK:
C:\Sites\demo_app>rails generate scaffold User name:string
email:string
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/execjs-1.2.6/lib/
execjs/run
times.rb:46:in `autodetect': Could not find a JavaScript runtime. See
https://gi
thub.com/sstephenson/execjs for a list of available runtimes.
(ExecJS::RuntimeUn
available)
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
execjs-1.2.6/l
ib/execjs.rb:5:in `<module:ExecJS>'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
execjs-1.2.6/l
ib/execjs.rb:4:in `<top (required)>'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
coffee-script-
2.2.0/lib/coffee_script.rb:1:in `require'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
coffee-script-
2.2.0/lib/coffee_script.rb:1:in `<top (required)>'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
coffee-script-
2.2.0/lib/coffee-script.rb:1:in `require'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
coffee-script-
2.2.0/lib/coffee-script.rb:1:in `<top (required)>'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
coffee-rails-3
.1.1/lib/coffee-rails.rb:1:in `require'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
coffee-rails-3
.1.1/lib/coffee-rails.rb:1:in `<top (required)>'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
bundler-1.0.18
/lib/bundler/runtime.rb:68:in `require'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
bundler-1.0.18
/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
bundler-1.0.18
/lib/bundler/runtime.rb:66:in `each'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
bundler-1.0.18
/lib/bundler/runtime.rb:66:in `block in require'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
bundler-1.0.18
/lib/bundler/runtime.rb:55:in `each'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
bundler-1.0.18
/lib/bundler/runtime.rb:55:in `require'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
bundler-1.0.18
/lib/bundler.rb:120:in `require'
from C:/Sites/demo_app/config/application.rb:7:in `<top
(required)>'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
railties-3.1.0
/lib/rails/commands.rb:21:in `require'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/
railties-3.1.0
/lib/rails/commands.rb:21:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
C:\Sites\demo_app>
--
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