Saturday, November 19, 2011

Could not find a JavaScript runtime. al correr rake db:create

Si se encontraron con el error

Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.

al correr rake db:create

Lo pueden solucionar al agregar dos lineas a su Gemfile:


gem 'execjs'
gem 'therubyracer'

Y luego corriendo:

bundle install


Bookmark and Share

No comments:

Related Posts Plugin for WordPress, Blogger...