2012-11-22 79 views
0

我得到一個問題,運行命令Rails的摹引導:安裝不工作

rails g bootstrap:install作爲twitter-bootstrap-rails寶石的一部分。

我得到以下錯誤:

/Users/matty/.rvm/gems/ruby-1.9.3-p327/gems/therubyracer-0.8.2/lib/v8/context.rb:74:in `IsEntered': HandleScope::HandleScope: Entering the V8 API without proper locking in place (fatal) 
from /Users/matty/.rvm/gems/ruby-1.9.3-p327/gems/therubyracer- 0.8.2/lib/v8/context.rb:74:in `enter' 
from /Users/matty/.rvm/gems/ruby-1.9.3-p327/gems/therubyracer-0.8.2/lib/v8/portal.rb:74:in `open' 
from /Users/matty/.rvm/gems/ruby-1.9.3-p327/gems/therubyracer-0.8.2/lib/v8/object.rb:18:in `block in []=' 
from /Users/matty/.rvm/gems/ruby-1.9.3-p327/gems/therubyracer-0.8.2/lib/v8/object.rb:17:in `tap' 
from /Users/matty/.rvm/gems/ruby-1.9.3-p327/gems/therubyracer-0.8.2/lib/v8/object.rb:17:in `[]=' 
from /Users/matty/.rvm/gems/ruby-1.9.3-p327/gems/therubyracer-0.8.2/lib/v8/context.rb:56:in `[]=' 
from /Users/matty/.rvm/gems/ruby-1.9.3-p327/gems/less-2.2.2/lib/less/loader.rb:12:in `initialize' 
from /Users/matty/.rvm/gems/ruby-1.9.3-p327/gems/less-2.2.2/lib/less.rb:14:in `new' 
from /Users/matty/.rvm/gems/ruby-1.9.3-p327/gems/less-2.2.2/lib/less.rb:14:in `<module:Less>' 
from /Users/matty/.rvm/gems/ruby-1.9.3-p327/gems/less-2.2.2/lib/less.rb:9:in `<top (required)>' 
from /Users/matty/.rvm/gems/[email protected]/gems/bundler-1.2.2/lib/bundler/runtime.rb:68:in `require' 
from /Users/matty/.rvm/gems/[email protected]/gems/bundler-1.2.2/lib/bundler/runtime.rb:68:in `block (2 levels) in require' 
from /Users/matty/.rvm/gems/[email protected]/gems/bundler-1.2.2/lib/bundler/runtime.rb:66:in `each' 
from /Users/matty/.rvm/gems/[email protected]/gems/bundler-1.2.2/lib/bundler/runtime.rb:66:in `block in require' 
from /Users/matty/.rvm/gems/[email protected]/gems/bundler-1.2.2/lib/bundler/runtime.rb:55:in `each' 
from /Users/matty/.rvm/gems/[email protected]/gems/bundler-1.2.2/lib/bundler/runtime.rb:55:in `require' 
from /Users/matty/.rvm/gems/[email protected]/gems/bundler-1.2.2/lib/bundler.rb:128:in `require' 
from /Users/matty/Documents/rubyboot/boots/store/config/application.rb:7:in `<top (required)>' 
from /Users/matty/.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.8/lib/rails/commands.rb:24:in `require' 
from /Users/matty/.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.8/lib/rails/commands.rb:24:in `<top (required)>' 
from script/rails:6:in `require' 
from script/rails:6:in `<main>' 

人可以幫我診斷嗎?

+0

我認爲它與libV8問題您可以先安裝並嘗試安裝引導? – uday

+0

你在使用Windows嗎? –

+0

不在Windows上,因爲它不使用/ Users映射。如果我沒有弄錯,我認爲cygwin使用/ home。已經有一段時間。 – agmcleod

回答

0

嘗試更新rubyracer的版本,也應該從依賴的角度更新libv8:

bundle update therubyracer