Rails g bootstrap:安装不起作用

时间:2012-11-22 16:19:12

标签: ruby-on-rails twitter-bootstrap-rails

我在运行命令时遇到问题

rails g bootstrap:install作为twitter-bootstrap-rails gem的一部分。

我收到以下错误:

/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>'

有人可以帮我诊断吗?

1 个答案:

答案 0 :(得分:0)

尝试更新rubyracer的版本,该版本还应该从依赖性的角度更新libv8:

bundle update therubyracer