I get a popup error (winxp) when doing anything with Ruby. title: ruby.exe - Unable to Locate Component msg: This application has failed to start because iconv.dll was not found. Re-installing the application may fix this problem. Any suggestions? (no I haven''t done any manual editing or deleting of files. that file exists in the instantrails directory structure in 3 places: php php\extensions ruby\lib Any ideas? Mike -- Mike Smith Senior Software Engineer RemedyMD, Inc. msmith at remedymd.com www.remedymd.com 435-764-2220
Hi Mike, Add ''ruby\lib'' to your PATH. Best regards, Bill ----- Original Message ----- From: "Mike Smith" <msmith at remedymd.com> To: <instantrails-users at rubyforge.org> Sent: Thursday, February 16, 2006 10:27 AM Subject: [Instantrails-users] iconv.dll error> I get a popup error (winxp) when doing anything with Ruby. > > title: ruby.exe - Unable to Locate Component > msg: This application has failed to start because iconv.dll was not > found. Re-installing the application may fix this problem. > > Any suggestions? (no I haven''t done any manual editing or deleting of > files. that file exists in the instantrails directory structure in 3places:> php > php\extensions > ruby\lib > > Any ideas? > > Mike > > -- > Mike Smith > Senior Software Engineer > RemedyMD, Inc. > msmith at remedymd.com > www.remedymd.com > 435-764-2220 > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users
On 2/16/06, Mike Smith <msmith at remedymd.com> wrote:> > I get a popup error (winxp) when doing anything with Ruby. > > title: ruby.exe - Unable to Locate Component > msg: This application has failed to start because iconv.dll was not > found. Re-installing the application may fix this problem. > > Any suggestions? (no I haven''t done any manual editing or deleting of > files. that file exists in the instantrails directory structure in 3 > places: > php > php\extensions > ruby\lib > > Any ideas? >Instant Rails 1.0 contains Ruby 1.8.4 from the ruby-mswin32 distribution because the 1.8.4 version of the One-Click Installer wasn''t ready yet. Anyway, that distro enables iconv support but doesn''t include iconv.dll. The 184-16 of the OCI in now available in a preview3 version that does contain iconv.dll (but is still missing a c-based XML parser). Can you try this for me. Follow the instructions on this page to get and install iconv.dll and tell me if this fixes your problem? I''ll bet that it does, and this means that I should get out an IR 1.1 that upgrades the included Ruby to the OCI. Anyway, let me know if this fixes your problem. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060216/f21970c1/attachment.htm
Hmmm... you''re right -- iconv.dll is in the lib dir along with iconv.lib. Its really not supposed to be there, but for some reason it is. Anyway, it''d be better just to move iconv.dll to the ruby/bin directory. Curt On 2/16/06, Bill Walton <bill.walton at charter.net> wrote:> > Hi Mike, > > Add ''ruby\lib'' to your PATH. > > Best regards, > Bill > ----- Original Message ----- > From: "Mike Smith" <msmith at remedymd.com> > To: <instantrails-users at rubyforge.org> > Sent: Thursday, February 16, 2006 10:27 AM > Subject: [Instantrails-users] iconv.dll error > > > > I get a popup error (winxp) when doing anything with Ruby. > > > > title: ruby.exe - Unable to Locate Component > > msg: This application has failed to start because iconv.dll was not > > found. Re-installing the application may fix this problem. > > > > Any suggestions? (no I haven''t done any manual editing or deleting of > > files. that file exists in the instantrails directory structure in 3 > places: > > php > > php\extensions > > ruby\lib > > > > Any ideas? > > > > Mike > > > > -- > > Mike Smith > > Senior Software Engineer > > RemedyMD, Inc. > > msmith at remedymd.com > > www.remedymd.com > > 435-764-2220 > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > _______________________________________________ > 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/20060216/788f61a7/attachment.htm
I just got an email from Bill Walton suggesting I add ruby\lib to the path. I modified the conf-files\use_ruby.cmd file and the use_ruby.cmd file in the root directory. That solves the problem. I wasn''t sure what you meant about getting and installing iconv.dll as it is already there in ruby\lib. Thanks for the quick reply. Mike Curt Hibbs wrote:> On 2/16/06, *Mike Smith* <msmith at remedymd.com > <mailto:msmith at remedymd.com>> wrote: > > I get a popup error (winxp) when doing anything with Ruby. > > title: ruby.exe - Unable to Locate Component > msg: This application has failed to start because iconv.dll was not > found. Re-installing the application may fix this problem. > > Any suggestions? (no I haven''t done any manual editing or deleting of > files. that file exists in the instantrails directory structure in 3 > places: > php > php\extensions > ruby\lib > > Any ideas? > > > Instant Rails 1.0 contains Ruby 1.8.4 from the ruby-mswin32 distribution > because the 1.8.4 version of the One-Click Installer wasn''t ready yet. > Anyway, that distro enables iconv support but doesn''t include iconv.dll. > The 184-16 of the OCI in now available in a preview3 version that does > contain iconv.dll (but is still missing a c-based XML parser). > > Can you try this for me. Follow the instructions on this page to get and > install iconv.dll and tell me if this fixes your problem? I''ll bet that > it does, and this means that I should get out an IR 1.1 that upgrades > the included Ruby to the OCI. > > Anyway, let me know if this fixes your problem. > > Curt > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users-- Mike Smith Senior Software Engineer RemedyMD, Inc. msmith at remedymd.com www.remedymd.com 435-764-2220
Hi Curt, I had no idea where it was ''supposed'' to be, so when I got the error I just figured out how to accomodate it. I put the instruction to add ''ruby\lib'' to the PATH in the tutorial. If you''ll let me know when/if you change the distribution, I''ll update the tutorial. Best regards, Bill ----- Original Message ----- From: Curt Hibbs To: instantrails-users at rubyforge.org Sent: Thursday, February 16, 2006 12:08 PM Subject: Re: [Instantrails-users] iconv.dll error Hmmm... you''re right -- iconv.dll is in the lib dir along with iconv.lib. Its really not supposed to be there, but for some reason it is. Anyway, it''d be better just to move iconv.dll to the ruby/bin directory. Curt On 2/16/06, Bill Walton <bill.walton at charter.net> wrote: Hi Mike, Add ''ruby\lib'' to your PATH. Best regards, Bill ----- Original Message ----- From: "Mike Smith" <msmith at remedymd.com> To: < instantrails-users at rubyforge.org> Sent: Thursday, February 16, 2006 10:27 AM Subject: [Instantrails-users] iconv.dll error > I get a popup error (winxp) when doing anything with Ruby. > > title: ruby.exe - Unable to Locate Component > msg: This application has failed to start because iconv.dll was not > found. Re-installing the application may fix this problem. > > Any suggestions? (no I haven''t done any manual editing or deleting of > files. that file exists in the instantrails directory structure in 3 places: > php > php\extensions > ruby\lib > > Any ideas? > > Mike > > -- > Mike Smith > Senior Software Engineer > RemedyMD, Inc. > msmith at remedymd.com > www.remedymd.com > 435-764-2220 > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users _______________________________________________ Instantrails-users mailing list Instantrails-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instantrails-users ------------------------------------------------------------------------------ _______________________________________________ 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/20060216/c4d978ed/attachment.htm
When I got the error way back, I just copied the dll into the bin dir where ruby.exe was, and then all was well after that.. On 2/16/06, Bill Walton <bill.walton at charter.net> wrote:> Hi Curt, > > I had no idea where it was ''supposed'' to be, so when I got the error I just > figured out how to accomodate it. I put the instruction to add ''ruby\lib'' to > the PATH in the tutorial. If you''ll let me know when/if you change the > distribution, I''ll update the tutorial. > > Best regards, > Bill > ----- Original Message ----- > From: Curt Hibbs > To: instantrails-users at rubyforge.org > Sent: Thursday, February 16, 2006 12:08 PM > Subject: Re: [Instantrails-users] iconv.dll error > > Hmmm... you''re right -- iconv.dll is in the lib dir along with iconv.lib. > Its really not supposed to be there, but for some reason it is. > > Anyway, it''d be better just to move iconv.dll to the ruby/bin directory. > > Curt > > On 2/16/06, Bill Walton <bill.walton at charter.net> wrote: > > Hi Mike, > > > > Add ''ruby\lib'' to your PATH. > > > > Best regards, > > Bill > > ----- Original Message ----- > > From: "Mike Smith" <msmith at remedymd.com> > > To: < instantrails-users at rubyforge.org> > > Sent: Thursday, February 16, 2006 10:27 AM > > Subject: [Instantrails-users] iconv.dll error > > > > > > > I get a popup error (winxp) when doing anything with Ruby. > > > > > > title: ruby.exe - Unable to Locate Component > > > msg: This application has failed to start because iconv.dll was not > > > found. Re-installing the application may fix this problem. > > > > > > Any suggestions? (no I haven''t done any manual editing or deleting of > > > files. that file exists in the instantrails directory structure in 3 > > places: > > > php > > > php\extensions > > > ruby\lib > > > > > > Any ideas? > > > > > > Mike > > > > > > -- > > > Mike Smith > > > Senior Software Engineer > > > RemedyMD, Inc. > > > msmith at remedymd.com > > > www.remedymd.com > > > 435-764-2220 > > > _______________________________________________ > > > Instantrails-users mailing list > > > Instantrails-users at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/instantrails-users > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > ________________________________ > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > >
Yep. TMTOWTDI. (I''m shameless when it comes to ''borrowing'' what works ;-) ). Best regards, Bill\ ----- Original Message ----- From: "MaxSteel" <maxsteel at gmail.com> To: <instantrails-users at rubyforge.org> Cc: <curt at hibbs.com> Sent: Monday, February 20, 2006 11:55 AM Subject: Re: [Instantrails-users] iconv.dll error> When I got the error way back, I just copied the dll into the bin dir > where ruby.exe was, and then all was well after that.. > > On 2/16/06, Bill Walton <bill.walton at charter.net> wrote: > > Hi Curt, > > > > I had no idea where it was ''supposed'' to be, so when I got the error Ijust> > figured out how to accomodate it. I put the instruction to add''ruby\lib'' to> > the PATH in the tutorial. If you''ll let me know when/if you change the > > distribution, I''ll update the tutorial. > > > > Best regards, > > Bill > > ----- Original Message ----- > > From: Curt Hibbs > > To: instantrails-users at rubyforge.org > > Sent: Thursday, February 16, 2006 12:08 PM > > Subject: Re: [Instantrails-users] iconv.dll error > > > > Hmmm... you''re right -- iconv.dll is in the lib dir along withiconv.lib.> > Its really not supposed to be there, but for some reason it is. > > > > Anyway, it''d be better just to move iconv.dll to the ruby/bin directory. > > > > Curt > > > > On 2/16/06, Bill Walton <bill.walton at charter.net> wrote: > > > Hi Mike, > > > > > > Add ''ruby\lib'' to your PATH. > > > > > > Best regards, > > > Bill > > > ----- Original Message ----- > > > From: "Mike Smith" <msmith at remedymd.com> > > > To: < instantrails-users at rubyforge.org> > > > Sent: Thursday, February 16, 2006 10:27 AM > > > Subject: [Instantrails-users] iconv.dll error > > > > > > > > > > I get a popup error (winxp) when doing anything with Ruby. > > > > > > > > title: ruby.exe - Unable to Locate Component > > > > msg: This application has failed to start because iconv.dll was not > > > > found. Re-installing the application may fix this problem. > > > > > > > > Any suggestions? (no I haven''t done any manual editing or deletingof> > > > files. that file exists in the instantrails directory structure in 3 > > > places: > > > > php > > > > php\extensions > > > > ruby\lib > > > > > > > > Any ideas? > > > > > > > > Mike > > > > > > > > -- > > > > Mike Smith > > > > Senior Software Engineer > > > > RemedyMD, Inc. > > > > msmith at remedymd.com > > > > www.remedymd.com > > > > 435-764-2220 > > > > _______________________________________________ > > > > Instantrails-users mailing list > > > > Instantrails-users at rubyforge.org > > > > > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > _______________________________________________ > > > Instantrails-users mailing list > > > Instantrails-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > > > > > > ________________________________ > > > > > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users
Eric Lund
2006-Feb-23 23:24 UTC
[Instantrails-users] SCGI and Apache2 for Windows without VirtualHosts?
I just saw this post in the rails wiki: http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+wit hout+VirtualHosts Does anyone know how to make a similar configuration work with an Instant Rails, SCGI setup? Thanks, Eric
Curt Hibbs
2006-Feb-24 14:19 UTC
[Instantrails-users] SCGI and Apache2 for Windows without VirtualHosts?
On 2/23/06, Eric Lund <etlund at gmail.com> wrote:> > I just saw this post in the rails wiki: > > > http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+wit > hout+VirtualHosts > > Does anyone know how to make a similar configuration work with an Instant > Rails, SCGI setup? >Here''s a page from thge Instant Rails wiki which may help: http://instantrails.rubyforge.org/wiki/wiki.pl?Running_Rails_Apps_In_Subdirectories Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060224/707e2583/attachment-0001.htm
Eric Lund
2006-Feb-25 01:38 UTC
[Instantrails-users] SCGI and Apache2 for Windows withoutVirtualHosts?
Thanks for pointing me to that. Unfortunately, that page ( <http://instantrails.rubyforge.org/wiki/wiki.pl?Running_Rails_Apps_In_Subdir ectories> http://instantrails.rubyforge.org/wiki/wiki.pl?Running_Rails_Apps_In_Subdire ctories ) seems to assume a lot of working knowledge of what''s going on with both Apache and SCGI. I have very little experience with either so I can''t quite figure out how to follow the instructions. If anyone can help clarify things, that would be great. In the httpd.conf file, I''m supposed to add this: SCGIMount /rails/app 127.0.0.1:9999 <Directory /var/www/rails/> AllowOverride All </Directory> Where does this code go? Inside a <VirtualHost> section or somewhere else? What do I need to remove from a ''default'' InstantRails httpd.conf? What am I supposed to point those path''s to? Is "/rails/app" supposed to be the new url of my app? Does "/var/www/rails/" point to my app ''/public/'' folder or something else? Also, once I am able to figure out how to make this happen (host my different rails apps as subfolders instead of as virtual hosts) what steps do I take to to add another app? If I can get this figure out and working, I''d be happy to update the wiki so that it uses the actual InstantRails configuration files as examples (instead of generalized, pretend examples) Thanks again, Eric _____ From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of Curt Hibbs Sent: Friday, February 24, 2006 7:20 AM To: instantrails-users at rubyforge.org Subject: Re: [Instantrails-users] SCGI and Apache2 for Windows withoutVirtualHosts? On 2/23/06, Eric Lund <etlund at gmail.com> wrote: I just saw this post in the rails wiki: http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+wit hout+VirtualHosts Does anyone know how to make a similar configuration work with an Instant Rails, SCGI setup? Here''s a page from thge Instant Rails wiki which may help: http://instantrails.rubyforge.org/wiki/wiki.pl?Running_Rails_Apps_In_Subdire ctories Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060224/84316ce4/attachment.htm