Showing posts with label Gems. Show all posts
Showing posts with label Gems. Show all posts

Thursday, June 14, 2012

Problema encontrando MySql2 luego de actualizar Ubuntu

Si tienen problema encontrando MySql2 al actualizar Ubuntu a 12.04, luego de correr rails console por ejemplo, intenten lo siguiente:

Desinstalen mysql2:
gem uninstall mysql2

Instalar de nuevo:
Bundle install

Así mysql2 empezará a utilizar la nueva librería de Ubuntu y el problema se habrá solucionado.

Bookmark and Share

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
Related Posts Plugin for WordPress, Blogger...