我经常看到这与mysql
或mysql2
工作时,我试图安装ffi
但没有什么区别,请你帮忙解决这个问题
我试过gem install ffi
, bundle install ffi
我试过很多东西,就是不行! 什么时候做rake db:create
我会看到的错误,我有最新的安装轨,如果我使用ruby安装程序 ,我会得到许多其他的错误,如:你需要开发工具包来build立这个gem,我安装工具包,仍然错误,所以我更喜欢坚持使用rails安装程序,
编辑 :
让我说我键入bundle install mysql
我看到错误:请make sure that ffi installation succeeds before you continue
或类似的东西,事情是,如果我不解决ffi error
我会被卡在sqlite,因为我敢打赌mongodb,couchdb,mysql,mysql2,postgeres,不pipe…都需要ffi
,我不知道ffi
是什么,但这似乎是非常重要的事情
我从来没有与自己的问题(事实上,我甚至没有听说过你的帖子之前),虽然我在Windows上工作时有奇怪的宝石问题。
你的问题似乎是这样的:
C:/ Documents and Settings / Administrator / Desktop / ror / selvista / mysql2 / ruby / 1.9.1 / gems / ffi-1.0.11
特别是,你的错误代码中有一行:
configure: WARNING: Libtool does not cope well with whitespace in 'pwd'
我想你需要把你的ror文件夹移到别的地方,比如C:\ ror,里面没有空格。
如果你看起来更高:
Makefile:160: warning: overriding commands for target 'C:/Documents'
它认为你的文件夹只是C:/ Documents