ITeye博客

quick fix: ubuntu lib for rails 3.2.7 updated fresh install

夜鸣猪 · 2012-07-31 00:20 · Ruby On Rails · 编程语言 · Markdown

if you are using webkit-driver for selenium in your rails project under ubuntu 12.04 lts you may need follow lib

sudo aptitude install libqt4-dev libqtwebkit-dev

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

gem 'therubyracer', '~> 0.9.9'

EDIT: I have also tried adding to the file with:

gem 'therubyracer', :platforms => :ruby
sudo apt-get install node.js

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。