安装unf_ext 0.0.7.2不起作用 [英] Installing unf_ext 0.0.7.2 not working

查看:1528
本文介绍了安装unf_ext 0.0.7.2不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以当我尝试运行 bundle install --without production 时,它告诉我出现错误,并且需要确保在捆绑之前gem install unf_ext -v 0.0.7.2成功。我在安装其他宝石之前没有收到这个错误,但是只有当我尝试安装 gem stripe (它用于接收用户付款等)时才会出现此错误。



有人可以解释可能导致这种问题的原因。所有的帮助非常感谢。

感谢,
- 亚伦



编辑



我所做的解决我的问题是将我所有的宝石更新为当前版本和最新版本。然后,当我运行 bundle install --without production 时,一切似乎都安装得很好。

由于各种原因,这个错误可能会遇到,所以很难判断可能导致的结果,从而阻止您进行捆绑安装,因此请尝试修复以下问题,如果不能解决问题,请提供有关错误的更多详细信息出现:)
如果错误是因为缺少gmkdir,请运行以下命令:

  brew install coreutils 

如果错误是由于缺少相关的C ++头文件,请运行下面的命令:

  yum install gcc-c ++ 

另请看下面给出的开发人员主页,以检查是否满足所有所需的依赖关系:

unf_ext 0.0.7.2:Unicode标准化表单支持库为CRuby


So when I try running bundle install --without production it tells me that I am getting an error and that I need to Make sure that gem install unf_ext -v 0.0.7.2 succeeds before bundling. I have not gotten this error before while installing other gems, but only when I try and install gem stripe(which is used for receiving user payments and such).

Could someone explain what could be causing this kind of problem. All help is greatly appreciated.

Thanks, -Aaron

EDIT

What I did to solve my problems was updating all of my gems to their current and latest version. Then when I ran bundle install --without production everything seemed to install perfectly fine after that.

解决方案

This error can come across due to various reasons, so it's not easy to tell what might have really caused, preventing you from bundle install, so try the following fixes, if not worked please give more details on errors that appears :) If the error was because of missing gmkdir, then run the following command:

brew install coreutils

If the error was due to missing C++ headers related then run the bellow command:

yum install gcc-c++

Also have a look at the developer's home page given below to check you meet all dependencies required:

unf_ext 0.0.7.2 : Unicode Normalization Form support library for CRuby

这篇关于安装unf_ext 0.0.7.2不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆