Hi all, I''m just getting started learning Ruby and Rails and downloaded the InstantRails-1.0 distribution to jumpstart my efforts. Unfortunately I am receiving an error "This application has failed to start because iconv.dll was not found. Re-installing the application may fix the problem." when I attempt to generate the default structure for my test app. c:\InstantRails-1.0\rails_apps> rails test1 Pops us a dialog box with the error message but then appears to work. I also receive the same error (twice) when executing c:\InstantRails-1.0\rails_apps\test1>ruby script\console While it doesn''t appear to be affecting anything yet it is annoying to have it happening every time I am trying to start things up. --Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060309/190ff38c/attachment.htm
The version of ruby that ships with the current IR release is the base ruby-mswin32 distribution which does not include iconv.dll. The One-Click Ruby installer adds iconv.dll (and a lot more) to this base Ruby distribution. You could replace the ruby in IR with the one-click installer''s version (you''d probably have to reinstall all of the RubyGems, though). Or you could just get iconv.dll out of the one-click installer (install it somewhere else temporarily) and copy it to the same directory in IR. You can find the one-click installer here: http://rubyinstaller.rubyforge.org/ Curt On 3/9/06, William (Bill) Froelich <wfroelich at dbsnow.com> wrote:> > Hi all, > > I''m just getting started learning Ruby and Rails and downloaded the > InstantRails-1.0 distribution to jumpstart my efforts. Unfortunately I am > receiving an error "This application has failed to start because iconv.dllwas not found. Re-installing the application may fix the problem." when I > attempt to generate the default structure for my test app. > > c:\InstantRails-1.0\rails_apps> rails test1 > > Pops us a dialog box with the error message but then appears to work. I > also receive the same error (twice) when executing > > c:\InstantRails-1.0\rails_apps\test1>ruby script\console > > While it doesn''t appear to be affecting anything yet it is annoying to > have it happening every time I am trying to start things up. > > --Bill > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060309/4bcbe468/attachment.htm
What is strange is that the iconv.dll file does exist in the c:\InstantRails-1.0\ruby\lib directory. Copying it to the c:\InstantRails-1.0\ruby\bin directory eliminates the error. Thanks for the help! --Bill ________________________________ From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of Curt Hibbs Sent: Thursday, March 09, 2006 10:22 AM To: instantrails-users at rubyforge.org Subject: Re: [Instantrails-users] Missing iconv.dll file The version of ruby that ships with the current IR release is the base ruby-mswin32 distribution which does not include iconv.dll. The One-Click Ruby installer adds iconv.dll (and a lot more) to this base Ruby distribution. You could replace the ruby in IR with the one-click installer''s version (you''d probably have to reinstall all of the RubyGems, though). Or you could just get iconv.dll out of the one-click installer (install it somewhere else temporarily) and copy it to the same directory in IR. You can find the one-click installer here: http://rubyinstaller.rubyforge.org/ Curt On 3/9/06, William (Bill) Froelich <wfroelich at dbsnow.com > wrote: Hi all, I''m just getting started learning Ruby and Rails and downloaded the InstantRails-1.0 distribution to jumpstart my efforts. Unfortunately I am receiving an error "This application has failed to start because iconv.dll was not found. Re-installing the application may fix the problem." when I attempt to generate the default structure for my test app. c:\InstantRails-1.0\rails_apps> rails test1 Pops us a dialog box with the error message but then appears to work. I also receive the same error (twice) when executing c:\InstantRails-1.0\rails_apps\test1>ruby script\console While it doesn''t appear to be affecting anything yet it is annoying to have it happening every time I am trying to start things up. --Bill _______________________________________________ Instantrails-users mailing list Instantrails-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instantrails-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060309/5f267a13/attachment.htm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 William (Bill) Froelich wrote:> What is strange is that the iconv.dll file does exist in the > c:\InstantRails-1.0\ruby\lib directory. Copying it to the > c:\InstantRails-1.0\ruby\bin directory eliminates the error.Yeah, I assumed that the iconv distro knew the proper place to put it. I don''t know why it put it there. I used the package suggested by the ruby-mswin32 distro... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEEFqiSIxC85HZHLMRAoOIAJ9MdrpR609L/k7kYMMc2OL35EjcugCglvGF SHxzurk6FynxMAGac5Nm7fY=lf4T -----END PGP SIGNATURE-----