From: Luis Lavena Date: 2009-06-04T20:35:11+09:00 Subject: Re: Compiling Ruby 1.9.1 zlib issue on Windows On Jun 3, 9:53 pm, "J. D." wrote: > Now I have an issue with rails and it appears to be related to iconv.so > being missing... > > I went to irb and tried a require 'iconv' and it was not found.  I > cannot run rails demo without getting the following error: > > undefined method 'camelize' for "app":String > > I'm determined to complete my own compile of 1.9.1 on windows so I'm > willing to work through the issues. > > Other than what you can see that I've done above, is there something I'm > missing?  Where do I get the correct iconv.so file or how do I create > it.  Anything else I might be missing? > > Thanks in advance.. > Well, your doing so many things at the same time that is hard to follow you. One, you compiled 1.9 with Visual Studio just to get TK, where you could have used MinGW based version from GitHub and compile just TK on top. MinGW based version of Ruby already have zlib and iconv solved, but is missing Tk. You could invest some time and get the recipe to build it for you. Take a look to recipes folder here: http://github.com/oneclick/rubyinstaller Definitely you're going over a complicated road building everything from scratch. Also, asking for help is going to be trickier since your version of Ruby is going to be built in a complete different version than other Ruby users. But, again, if "you're determinated to complete your own compile of ruby" then be my guest and steal what I did for iconv form the above repository. -- Luis Lavena