Windows环境下个别Gem包安装不上的解决办法
2013-06-04 09:55
274 查看
在Windows环境下,安装Gem包:therubyracer时对libv8包有所依赖,
先安装libv8的时候报错:
![](http://img1.51cto.com/attachment/201306/095120626.jpg)
解决:注释掉 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
先安装libv8的时候报错:
![](http://img1.51cto.com/attachment/201306/095120626.jpg)
解决:注释掉 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
相关文章推荐
- [原创]python MySQLdb在windows环境下的安装、出错问题以及解决办法
- python MySQLdb在windows环境下的安装、出错问题以及解决办法
- windows 下安装部分gem时出现 Could not create Makefile due to some reason 的解决办法
- Windows环境下MySQL安装出现错误(2502/2503)的解决办法
- python基础===Windows环境下使用pip install 安装出错"Cannot unpack file"解决办法
- Virtualbox安装Windows 8.1遇到0x000000C4错误解决办法 - 转
- Windows下通过nvmw安装NodeJS v4.4.0的问题及解决办法
- Windows环境下MySQL出现Error 2003的解决办法
- 打开”添加/删除Windows组件”时弹出”安装程序无法打开信息文件setupqry.inf”的解决办法
- Windows 7 SP1无法安装oracle10g 11g的解决办法
- Windows下Cygwin环境的Hadoop安装(3)- 运行hadoop中的wordcount实例遇到的问题和解决方法
- Git for windows安装出错的解决办法
- Windows 7 安装软件错误:“Error 1935 ...HRESULT: 0x800736FD” 的解决办法
- cocos2dx windows安装有中文路径的解决办法
- Windows 10 安装 VMware workstation 12 版本出错,不兼容。解决办法:
- python MySQLdb在windows环境下的快速安装、问题解决方式
- Windows环境变量设置无效解决办法——DOS窗口设置环境变量
- windows 环境下Tensorboard 不能显示的解决办法
- windows process activation service不能安装或启动的解决办法
- Windows装VMware之后卸载不干净导致无法安装的解决办法