您的位置:首页 > 其它

Windows环境下个别Gem包安装不上的解决办法

2013-06-04 09:55 274 查看
在Windows环境下,安装Gem包:therubyracer时对libv8包有所依赖,
先安装libv8的时候报错:



解决:注释掉 gem therubyracer
原因:

"No, there is no way that I know of to currently install this gem on windows. The problem is that there is currently no pre-compiled version of the libv8 gem for Windows, and the source version is only compatible with *nix. It does not necessarily have to be that way, it just requires somebody taking the time to make the compile work for Windows. https://github.com/fractaloop/libv8That said, Windows should come with a JScript, the Microsoft JavaScript runtime, which rails (via execjs) will automatically detect and use, so you should be able to just remove your dependency on therubyracer.As the maintainer of that gem, this would of course make me sad, but it should get you on your way."

参考自:/article/3802339.html

本文出自 “Bohsu” 博客,请务必保留此出处http://bohsu.blog.51cto.com/6966437/1215600
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐