Reputation: 5327
i see this often when working with mysql
or mysql2
, i tried to install ffi
but it makes no difference, could you please help solving this issue
i tried gem install ffi
, bundle install ffi
i tried many stuff, just would not work! when do rake db:create
i will see the error, i have the latest rails installer if i use ruby installer instead, i'll get many other errors like: you need the dev toolkit to build this gem and i install the toolkit and still the the error therefore i prefer to stick with rails installer,
EDIT:
lets say i typed bundle install mysql
i see the error: make sure that ffi installation succeeds before you continue
or something like that, the thing is, if i don't solve ffi error
i'll be stuck with sqlite, because i bet that mongodb, couchdb, mysql, mysql2, postgeres, whatever... all need ffi
, i don't know what ffi
is but it's seems to be very important thing
Upvotes: 1
Views: 1828
Reputation: 2584
I've never had an issue with ffi myself (in fact I hadn't even heard of it before your post), although I did have bizarre gem issues when working on Windows.
Your problem seems to be this:
C:/Documents and Settings/Administrator/Desktop/ror/selvista/mysql2/ruby/1.9.1/gems/ffi-1.0.11
In particular, there's a line in your error code:
configure: WARNING: Libtool does not cope well with whitespace in 'pwd'
I think you need to move your ror folder somewhere else, like C:\ror, something without spaces in it.
If you look higher up:
Makefile:160: warning: overriding commands for target 'C:/Documents'
It thinks your folder is just C:/Documents
Upvotes: 1