无法在窗口上安装gem

时间:2012-08-19 02:27:27

标签: ruby-on-rails ruby ruby-on-rails-3 rubygems

当我运行命令时:gem bundle install'twitter-bootstrap-rails'的结果是:

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension
Gem files will remain installed in C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/therubyracer-0.10.1 for inspection.
Results logged to C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/therubyracer-0.10.1/ext/v8/gem_make.out
An error occured while installing therubyracer (0.10.1), and Bundler cannot continue

谁能告诉我有什么不对?

1 个答案:

答案 0 :(得分:1)

那个在Windows上不起作用。如果我没记错的话,有一个(静态分支)(twitter-bootstrap-rails),但它会引起很多麻烦。无论如何,Windows上的Rails性能极差,所以我建议你找一个linux主机。