sqlite3 gem fails to install(sqlite3 gem 无法安装)
问题描述
我正在尝试在 OS X 10.6 上安装sqlite3-ruby"gem(或sqlite3"gem).我正在使用 ruby-1.9.2,目前得到以下结果:
I'm trying to install the "sqlite3-ruby" gem (or the "sqlite3" gem) on OS X 10.6. I'm using ruby-1.9.2 and I currently get the following:
以下是其中&的结果其中,sqlite3.h 位于/opt/local/include:
The following is the results of which & whereis, and the sqlite3.h is located in /opt/local/include:
我也试过传入以下内容:
I've tried passing in the following as well:
结果如下:
也在/Users/folken/.rvm/gems/ruby-1.9.2-head/gems 下:sqlite-ruby-2.2.3sqlite3-1.3.3
Also under /Users/folken/.rvm/gems/ruby-1.9.2-head/gems: sqlite-ruby-2.2.3 sqlite3-1.3.3
在 RVM 下,我有 ruby-1.8.7 并且 sqlite3 gem 可以很好地加载,但是经过多次谷歌搜索后,我没有找到适合我的解决方案.非常感谢任何帮助(即使它涉及手动安装/hackery 才能开始工作).
Under RVM I have ruby-1.8.7 and the sqlite3 gem loads fine on that, but after much googling I have not found a solution that works for me. Any help is greatly appreciated (even if it involves manual installation / hackery to get working).
推荐答案
我遇到了与您几乎相似的问题,我安装了 sqlite3,但无法安装 sqlite3 gem.我看到如下错误消息,
I had an almost similar problem as you where I had sqlite3 installed and yet the sqlite3 gem would not install. I was seeing an error message as follows,
这对我有用
这篇关于sqlite3 gem 无法安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!