2013-10-16 180 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它會工作。