This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Ruby install missing iconv.so


I've noticed the newer versions of ruby (1.8.6-p114-2 through 1.8.7-p72-1) installed by cygwin are missing the iconv.so file that is normally located in /lib/ruby/1.8/i386-cygwin. My older (1.8.5-2) version had it, so I wonder why the change was made. The ruby iconv library is part of the ruby standard library and there a lots of things that require it. Here's a quick check to see if iconv is working for ruby:
$ irb
irb(main):001:0> require 'iconv'
If it's not working you get:
LoadError: no such file to load -- iconv
        from (irb):1:in `require'
        from (irb):1
If it is, you should get:
=> true
The best workaround I've seen so far is this:
http://wiki.rubyonrails.com/rails/pages/iconv
But that's pretty annoying to have to install source and build something you just want to use binaries for.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]