2013-10-16 181 views
1

的Ubuntu 12.04 LTS precise32 3.2.0-23泛型-PAE 红宝石2.0.0p247(2013年6月27日修订版41674)[i686的Linux的]的Rails 4.0.0红宝石2.0 therubyracer宝石安装错误

我创建了Rails(4.0.0)项目,在Gemfile中取消了注释gem'therubyracer'并运行“捆绑安装”。

我得到这个错误:

Could not find gem 'therubyracer (~> 0.12) ruby' in the gems available on this machine. Run `bundle install` to install missing gems. 

添加“execjs”,“libv8”到Gemfile中没有什么区别,以及卸载,并在所有可能的组合再次安装这些宝石。

回答

0

我已经指定therubyracer版本为0.12.0,它的工作!

2

更好,你可以尝试bundle update它会工作。