0

我在运行命令时遇到问题

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/ruby-1.9.3-p327@global/gems/bundler-1.2.2/lib/bundler/runtime.rb:68:in `require'
 from /Users/matty/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.2/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
 from /Users/matty/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.2/lib/bundler/runtime.rb:66:in `each'
 from /Users/matty/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.2/lib/bundler/runtime.rb:66:in `block in require'
 from /Users/matty/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.2/lib/bundler/runtime.rb:55:in `each'
 from /Users/matty/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.2/lib/bundler/runtime.rb:55:in `require'
 from /Users/matty/.rvm/gems/ruby-1.9.3-p327@global/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>'

有人可以帮我诊断吗?

4

1 回答 1

0

尝试更新 ruby​​racer 的版本,这也应该从依赖关系的角度更新 libv8:

bundle update therubyracer
于 2012-11-23T15:43:21.920 回答