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

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

问题描述

所以当我尝试运行 bundle install --without production 时,它会告诉我我遇到了一个错误,我需要 确保 gem install unf_ext -v 0.0.7.2 成功捆绑之前.在安装其他 gem 之前,我没有收到此错误,但仅在我尝试安装 gem stripe(用于接收用户付款等)时.

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.

谢谢,-亚伦

编辑

我为解决我的问题所做的就是将我所有的 gem 更新到它们当前和最新的版本.然后,当我运行 bundle install --without production 之后,一切似乎都安装得很好.

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.

推荐答案

这个错误可能由于各种原因而出现,所以很难判断到底是什么原因造成的,阻止你安装包,所以尝试以下修复,如果不起作用,请提供有关出现的错误的更多详细信息:)如果错误是因为缺少 gmkdir,则运行以下命令:

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

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

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:CRuby 的 Unicode 规范化表单支持库

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

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