我正在尝试让"twitter-bootstrap- Rails“在Rails 3.2上工作。这取决于“赛车手”
当我添加"therubyracer“并执行bundle命令时,它给出了错误。
...
Failed to build gem native extension
checking for main() in -lpthread... no
checking ro w8.h... no
Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers.
Check the mkmf.log file for more details.
...
有人知道怎么修吗?
发布于 2012-12-05 12:22:38
除了'therubyracer‘gem,你还必须安装'execjs’gem。
在gem文件中编写gem 'therubyracer'
和gem 'execjs'
。然后运行bundle install
。
以上操作将会进行得很好。
https://stackoverflow.com/questions/13715903
复制相似问题