How to add iconv directory to ruby 2.0? -


i using ububtu 12 . in rails application while running rake db:migrate . getting error can't load such file iconv. checked iconv , output usr/bin/iconv. using rvm . guesses?

which iconv gives location of binary, not of library uses. if find on filesystem, can't use c library within ruby script without wrapping in compatibility layer (e.g. using ffi or writing plain ruby extension). wrapping work assume don't want yourself. however, way have want, here find ffi library: https://github.com/ffi/ffi

iconv has been removed ruby stated before.

if iconv dependency of own code, try solve problem looking appropriate replacement ruby 2.0 phoet suggests.

in case using library depends on iconv, try update library in hopes drops dependency.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -