debian下ror新建项目报错解决

一个是缺少mysql的开发包

sudo apt-get install libmysqld-dev

 

还有一个报错如下

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

 

要么自己下载nodejs的包,要么在gemfiles里面添加

gem 'execjs'
gem 'therubyracer'

 

你可能感兴趣的:(Debian)