我试图开始工作的测试项目依赖于正在安装的unf_ext
0.0.7.4 gem并且我遇到了麻烦。
如果我运行bundle install
,我会:
<some packages>
Using unf_ext 0.0.7.4
<some package>
Bundle complete! 6 Gemfile dependencies, 27 gems now installed.
但如果我那么bundle info unf_ext
我得到:
Resolving dependencies...
Could not find unf_ext-0.0.7.4 in any of the sources
如果我尝试gem install unf_ext
,我会
无法创建makefile
当我打开mkmf.log
文件时,它说:
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <ruby.h>
4: int main(int argc, char **argv)
5: {
6: return 0;
7: }
/* end */
如果我运行sudo gem install unf_ext
,我会:
Building native extensions. This could take a while...
Successfully installed unf_ext-0.0.7.4
Parsing documentation for unf_ext-0.0.7.4
Done installing documentation for unf_ext after 0 seconds
1 gem installed
但后来gem list
不包含unt_ext
。
任何人都知道它为什么不安装,尽管看起来似乎是这样?