ruby on rails - error while running rake about command -


i installed of ruby on rails on linux system..and when type command 'rake about' following error..plz

   rake aborted!    not find javascript runtime. see https://github.com/sstephenson/execjs                   list of available runtimes.    /home/imobigeeks1/work/demo/jbuilder/ruby/1.8/gems/execjs-1.4.0/lib/execjs/runtimes.rb:51:in `autodetect'    /home/imobigeeks1/work/demo/jbuilder/ruby/1.8/gems/execjs-1.4.0/lib/execjs.rb:5    /home/imobigeeks1/work/demo/jbuilder/ruby/1.8/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require'    /home/imobigeeks1/work/demo/jbuilder/ruby/1.8/gems/coffee-script-2.2.0/lib/coffee_script.rb:1    /home/imobigeeks1/work/demo/jbuilder/ruby/1.8/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require'    /home/imobigeeks1/work/demo/jbuilder/ruby/1.8/gems/coffee-script-2.2.0/lib/coffee-    script.rb:1    /home/imobigeeks1/work/demo/jbuilder/ruby/1.8/gems/coffee-rails-3.2.2/lib/coffee-  rails.rb:1:in `require'    /home/imobigeeks1/work/demo/jbuilder/ruby/1.8/gems/coffee-rails-3.2.2/lib/coffee-  rails.rb:1    /home/imobigeeks1/work/demo/config/application.rb:7    /home/imobigeeks1/work/demo/rakefile:5    (see full trace running task --trace) 

and installed javascript using gem install execjs command still showing same problem

put gem 'therubyracer' in gemfile , bundle install command line.

this gem for-

call javascript code , manipulate javascript objects ruby. call ruby code , manipulate ruby objects javascript.

source - http://rubydoc.info/gems/therubyracer/0.11.4/frames


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -