Monday, December 3, 2012

rake aborted!

[cg@centos63 virusdepot]$ rake db:create
rake aborted!
Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.
/home/cg/virusdepot/config/application.rb:7:in `<top (required)>'
/home/cg/virusdepot/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)






==============================
solution:
In your gemfile add:
gem 'execjs'
gem 'therubyracer', :platforms => :ruby

No comments:

Post a Comment