Seasons.NET

ちょっとした技術ブログです

iconvがなかったので。。。

※どうやらWindows用のrubyには、iconvがないらしい。

iconvの*.rb作成時に、

checking for iconv.h ... no

いわれてしまったので、探したら、

ここにパッケージ
http://www.dave.burt.id.au/ruby/iconv.zip

# Iconv is a library used for charset conversion and required by the Salted Hash Login Generator. Download this iconv package with simple installation instructions, unzip the package, and run the installer.

C:\tmp\iconv>setup
Setup has detected Ruby at c:\devel\ruby
and Windows/System32 at C:\WINDOWS/System32
Install Iconv there? [yN] y
cp iconv.so c:\devel\ruby/lib/ruby/1.8/i386-mswin32
cp iconv.dll C:\WINDOWS/System32
cp charset.dll C:\WINDOWS/System32
Installation successful.にありましたとさ。