From jlm at justinfront.net Tue Mar 7 11:27:26 2006 From: jlm at justinfront.net (jlm at justinfront.net) Date: Tue, 07 Mar 2006 16:27:26 +0000 Subject: [Instantrails-users] AppTrain and how to trouble shoot in IR app setup. Message-ID: <440DB46E.6010007@justinfront.net> Hi I am using instant rails which is really cool. But every time I download a rails application it invariably does not work, with help I managed to get Rforum working but I am now trying AppTrain, however I have no idea what to do when things just don't work ie you 'start' webbrick and it just flashes a black screen up I have no error messages to check or..., it would be great if I could get advice on how to go about trouble shooting. But generally it seems that any rails app needs mods before running in instant rails, maybe some guides on this would be useful, if there is something in the Agile Web dev Rail book specifically that I should read then let me know. From curt.hibbs at gmail.com Tue Mar 7 11:39:17 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Tue, 7 Mar 2006 10:39:17 -0600 Subject: [Instantrails-users] AppTrain and how to trouble shoot in IR app setup. In-Reply-To: <440DB46E.6010007@justinfront.net> References: <440DB46E.6010007@justinfront.net> Message-ID: <31d15f490603070839t3d7eaf56s56518fa586237057@mail.gmail.com> On 3/7/06, jlm at justinfront.net wrote: > > Hi > > I am using instant rails which is really cool. But every time I > download a rails application it invariably does not work, with help I > managed to get Rforum working but I am now trying AppTrain, however I > have no idea what to do when things just don't work ie you 'start' > webbrick and it just flashes a black screen up I have no error messages > to check or..., it would be great if I could get advice on how to go > about trouble shooting. But generally it seems that any rails app needs > mods before running in instant rails, maybe some guides on this would be > useful, if there is something in the Agile Web dev Rail book > specifically that I should read then let me know. A Rails app shouldn't need any special mods to run under Instant Rails. What mods did you have to make for Rforum? If you're getting errors when you start WEBrick, then you really want to start WEBrick manually so that you can see the errors. You can do this by opening a Ruby console window using the menu command ">>Rails Applications>>Open Ruby Console Window", then use CD to change your directory to your rails app, and finally start WEBrick using the command "ruby script\server". Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060307/2c20b704/attachment.htm From jlm at justinfront.net Tue Mar 7 11:48:38 2006 From: jlm at justinfront.net (jlm at justinfront.net) Date: Tue, 07 Mar 2006 16:48:38 +0000 Subject: [Instantrails-users] AppTrain and how to trouble shoot in IR app setup. In-Reply-To: <31d15f490603070839t3d7eaf56s56518fa586237057@mail.gmail.com> References: <440DB46E.6010007@justinfront.net> <31d15f490603070839t3d7eaf56s56518fa586237057@mail.gmail.com> Message-ID: <440DB966.8080307@justinfront.net> Curt Thanks for quick reply will look at your suggestions. Some details on rForum setup for instant rails here http://www.twelvestone.com/forum_thread/view/29169 if you want me to zip up any of the rforum files and send them over or create a flash animation on doing it or something let me know. Thanks Justin Curt Hibbs wrote: > On 3/7/06, *jlm at justinfront.net * > > wrote: > > Hi > > I am using instant rails which is really cool. But every time I > download a rails application it invariably does not work, with help I > managed to get Rforum working but I am now trying AppTrain, however I > have no idea what to do when things just don't work ie you 'start' > webbrick and it just flashes a black screen up I have no error > messages > to check or..., it would be great if I could get advice on how to go > about trouble shooting. But generally it seems that any rails app > needs > mods before running in instant rails, maybe some guides on this > would be > useful, if there is something in the Agile Web dev Rail book > specifically that I should read then let me know. > > > A Rails app shouldn't need any special mods to run under Instant > Rails. What mods did you have to make for Rforum? > > If you're getting errors when you start WEBrick, then you really want > to start WEBrick manually so that you can see the errors. You can do > this by opening a Ruby console window using the menu command ">>Rails > Applications>>Open Ruby Console Window", then use CD to change your > directory to your rails app, and finally start WEBrick using the > command "ruby script\server". > > Curt From mortonda at dgrmm.net Tue Mar 7 12:19:52 2006 From: mortonda at dgrmm.net (David Morton) Date: Tue, 07 Mar 2006 11:19:52 -0600 Subject: [Instantrails-users] AppTrain and how to trouble shoot in IR app setup. In-Reply-To: <440DB46E.6010007@justinfront.net> References: <440DB46E.6010007@justinfront.net> Message-ID: <440DC0B8.402@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 jlm at justinfront.net wrote: > Hi > > I am using instant rails which is really cool. But every time I > download a rails application it invariably does not work, with help I The only change I ever have to make is to the .htaccess file - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFEDcC4SIxC85HZHLMRAhIMAJ44N+LNzoXbzjRLVjl+E2IEarVflgCYqkP6 lFOzYNfrMoWwIFJRIAaWsg== =mIhk -----END PGP SIGNATURE----- From jlm at justinfront.net Tue Mar 7 12:38:17 2006 From: jlm at justinfront.net (jlm at justinfront.net) Date: Tue, 07 Mar 2006 17:38:17 +0000 Subject: [Instantrails-users] AppTrain and how to trouble shoot in IR app setup. In-Reply-To: <31d15f490603070839t3d7eaf56s56518fa586237057@mail.gmail.com> References: <440DB46E.6010007@justinfront.net> <31d15f490603070839t3d7eaf56s56518fa586237057@mail.gmail.com> Message-ID: <440DC509.9070208@justinfront.net> There does not seem to be a script directory? Also there does not seem to be a file named *apptrain/db/application.sql* as per instructions I tried to follow see below. The location of the files use is here http://rubyforge.org/frs/?group_id=1056 Any idea sort of lost > > 1. Install a local db such as MySQL > > 2. Install Rails > 3. At a command prompt, type *rails apptrain* to create a default > rails app in a directory called *apptrain*. > 4. download AppTrain > . > > 5. Unzip on top of your local *apptrain* dir. > 6. Modify *apptrain/config/database.yml* to point to your local db. > (tested on mySql) > 7. Run *apptrain/db/application.sql* using something like MSql's > Querry Browser > to > create and populate the apptrain db. > 8. In the apptrain/ directory , run *ruby script/server* > 9. Hit http://localhost:3000/form and Create a form named [formname] > 10. Hit http://localhost:3000/[formname] > > Curt Hibbs wrote: > On 3/7/06, *jlm at justinfront.net * > > wrote: > > Hi > > I am using instant rails which is really cool. But every time I > download a rails application it invariably does not work, with help I > managed to get Rforum working but I am now trying AppTrain, however I > have no idea what to do when things just don't work ie you 'start' > webbrick and it just flashes a black screen up I have no error > messages > to check or..., it would be great if I could get advice on how to go > about trouble shooting. But generally it seems that any rails app > needs > mods before running in instant rails, maybe some guides on this > would be > useful, if there is something in the Agile Web dev Rail book > specifically that I should read then let me know. > > > A Rails app shouldn't need any special mods to run under Instant > Rails. What mods did you have to make for Rforum? > > If you're getting errors when you start WEBrick, then you really want > to start WEBrick manually so that you can see the errors. You can do > this by opening a Ruby console window using the menu command ">>Rails > Applications>>Open Ruby Console Window", then use CD to change your > directory to your rails app, and finally start WEBrick using the > command "ruby script\server". > > Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060307/bbb4d89a/attachment-0001.htm From mortonda at dgrmm.net Tue Mar 7 12:43:42 2006 From: mortonda at dgrmm.net (David Morton) Date: Tue, 07 Mar 2006 11:43:42 -0600 Subject: [Instantrails-users] AppTrain and how to trouble shoot in IR app setup. In-Reply-To: <440DC509.9070208@justinfront.net> References: <440DB46E.6010007@justinfront.net> <31d15f490603070839t3d7eaf56s56518fa586237057@mail.gmail.com> <440DC509.9070208@justinfront.net> Message-ID: <440DC64E.2090100@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 jlm at justinfront.net wrote: > There does not seem to be a script directory? > Also there does not seem to be a file named > *apptrain/db/application.sql* as per instructions I tried to follow see > below. The file does have the apptrain/db/application.sql, but it doesn't have the script directory. Either it's packaged wrong, or you need to generate a rails skeleton first. Before unpacking it, run "rails apptrain" to create the skeleton directory structure. - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEDcZOSIxC85HZHLMRAuAMAJ4+7JLankEkVUHSx1Uiyoh5/7dw/QCfVpVC +sMczDNYwAgiRWwLxpr8UmI= =jdM7 -----END PGP SIGNATURE----- From wfroelich at dbsnow.com Thu Mar 9 11:06:29 2006 From: wfroelich at dbsnow.com (William (Bill) Froelich) Date: Thu, 9 Mar 2006 10:06:29 -0600 Subject: [Instantrails-users] Missing iconv.dll file Message-ID: 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 From curt.hibbs at gmail.com Thu Mar 9 11:22:12 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Thu, 9 Mar 2006 10:22:12 -0600 Subject: [Instantrails-users] Missing iconv.dll file In-Reply-To: References: Message-ID: <31d15f490603090822h36c26af6n19f35fcf17294680@mail.gmail.com> 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 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 From wfroelich at dbsnow.com Thu Mar 9 11:26:09 2006 From: wfroelich at dbsnow.com (William (Bill) Froelich) Date: Thu, 9 Mar 2006 10:26:09 -0600 Subject: [Instantrails-users] Missing iconv.dll file Message-ID: 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 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 From mortonda at dgrmm.net Thu Mar 9 11:41:06 2006 From: mortonda at dgrmm.net (David Morton) Date: Thu, 09 Mar 2006 10:41:06 -0600 Subject: [Instantrails-users] Missing iconv.dll file In-Reply-To: References: Message-ID: <44105AA2.90101@dgrmm.net> -----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----- From masonr at swlauriersb.qc.ca Thu Mar 9 15:45:04 2006 From: masonr at swlauriersb.qc.ca (Mason, Roberto) Date: Thu, 9 Mar 2006 15:45:04 -0500 Subject: [Instantrails-users] installation of iInstantRails-1.0-final-win.zip Message-ID: <2DF872BDE2617C4B833B553DB1E49F900228DD5F@mail2.swlauriersb.qc.ca> In download and extracted InstantRails-1.0-final-win.zip on my c: drive. As I was extracting the file to my c: drive I got two virus scan alerts from McAfee 15_Contrib.test.rb detected as JS/Exploit-CrossSite. This warning appeared twice on my system. Does it mean the zip file is infected? Roberto Mason IT Department Sir Wilfrid Laurier School Board 235 Mont?e Lesage Rosem?re, Qu?bec, J7A 4Y6 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060309/c9b662bc/attachment-0001.htm From mortonda at dgrmm.net Thu Mar 9 16:15:26 2006 From: mortonda at dgrmm.net (David Morton) Date: Thu, 09 Mar 2006 15:15:26 -0600 Subject: [Instantrails-users] installation of iInstantRails-1.0-final-win.zip In-Reply-To: <2DF872BDE2617C4B833B553DB1E49F900228DD5F@mail2.swlauriersb.qc.ca> References: <2DF872BDE2617C4B833B553DB1E49F900228DD5F@mail2.swlauriersb.qc.ca> Message-ID: <44109AEE.10805@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mason, Roberto wrote: > In download and extracted InstantRails-1.0-final-win.zip on my c: drive. > As I was extracting the file to my c: drive I got two virus scan alerts > from McAfee 15_Contrib.test.rb detected as JS/Exploit-CrossSite. This > warning appeared twice on my system. Does it mean the zip file is infected? I think it is a false positive, you should be ok... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFEEJruSIxC85HZHLMRArX/AKCNi1gdgc+xVvWZ/FxBe3fgTObdfQCXUFmj CraTDD2HAWGMhyZpEq+SfA== =v9Xy -----END PGP SIGNATURE----- From masonr at swlauriersb.qc.ca Thu Mar 9 16:29:28 2006 From: masonr at swlauriersb.qc.ca (Mason, Roberto) Date: Thu, 9 Mar 2006 16:29:28 -0500 Subject: [Instantrails-users] installation ofiInstantRails-1.0-final-win.zip Message-ID: <2DF872BDE2617C4B833B553DB1E49F900228DD7B@mail2.swlauriersb.qc.ca> Those files weren't extracted. (I could disable my McAfee) and extract it, but next time I do a scan, it'll remove it. Do I really need those two files? Roberto Mason IT Department Sir Wilfrid Laurier School Board 235 Mont?e Lesage Rosem?re, Qu?bec, J7A 4Y6 -----Original Message----- From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of David Morton Sent: Thursday, March 09, 2006 4:15 PM To: instantrails-users at rubyforge.org Subject: Re: [Instantrails-users] installation ofiInstantRails-1.0-final-win.zip -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mason, Roberto wrote: > In download and extracted InstantRails-1.0-final-win.zip on my c: drive. > As I was extracting the file to my c: drive I got two virus scan alerts > from McAfee 15_Contrib.test.rb detected as JS/Exploit-CrossSite. This > warning appeared twice on my system. Does it mean the zip file is infected? I think it is a false positive, you should be ok... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFEEJruSIxC85HZHLMRArX/AKCNi1gdgc+xVvWZ/FxBe3fgTObdfQCXUFmj CraTDD2HAWGMhyZpEq+SfA== =v9Xy -----END PGP SIGNATURE----- _______________________________________________ Instantrails-users mailing list Instantrails-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instantrails-users From mortonda at dgrmm.net Thu Mar 9 17:45:27 2006 From: mortonda at dgrmm.net (David Morton) Date: Thu, 09 Mar 2006 16:45:27 -0600 Subject: [Instantrails-users] installation ofiInstantRails-1.0-final-win.zip In-Reply-To: <2DF872BDE2617C4B833B553DB1E49F900228DD7B@mail2.swlauriersb.qc.ca> References: <2DF872BDE2617C4B833B553DB1E49F900228DD7B@mail2.swlauriersb.qc.ca> Message-ID: <4410B007.30904@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mason, Roberto wrote: > Those files weren't extracted. (I could disable my McAfee) and extract it, but next time I do a scan, it'll remove it. Do I really need those two files? Which 2 files? What was the full path to them? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEELAHSIxC85HZHLMRAnElAKCglmAcR2gGSgISQP0r4XX3LF794QCdFqsZ FbBe27T663TjynKV6vqxhGg= =p85y -----END PGP SIGNATURE----- From masonr at swlauriersb.qc.ca Fri Mar 10 11:25:25 2006 From: masonr at swlauriersb.qc.ca (Mason, Roberto) Date: Fri, 10 Mar 2006 11:25:25 -0500 Subject: [Instantrails-users] installation ofiInstantRails-1.0-final-win.zip Message-ID: <2DF872BDE2617C4B833B553DB1E49F90023AFEA6@mail2.swlauriersb.qc.ca> The two files in question are: File C:\InstantRails-1.0-final-win\InstantRails-1.0\ruby\lib\ruby\gems\1.8\gems\BlueCloth-1.0.0\tests\15_Contrib.tests.rb C:\InstantRails-1.0-final-win\InstantRails-1.0\rails_apps\typo-2.6.0\vendor\bluecloth\tests\15_Contrib.tests.rb Roberto Mason IT Department Sir Wilfrid Laurier School Board 235 Mont?e Lesage Rosem?re, Qu?bec, J7A 4Y6 -----Original Message----- From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of David Morton Sent: Thursday, March 09, 2006 5:45 PM To: instantrails-users at rubyforge.org Subject: Re: [Instantrails-users]installation ofiInstantRails-1.0-final-win.zip -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mason, Roberto wrote: > Those files weren't extracted. (I could disable my McAfee) and extract it, but next time I do a scan, it'll remove it. Do I really need those two files? Which 2 files? What was the full path to them? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEELAHSIxC85HZHLMRAnElAKCglmAcR2gGSgISQP0r4XX3LF794QCdFqsZ FbBe27T663TjynKV6vqxhGg= =p85y -----END PGP SIGNATURE----- _______________________________________________ Instantrails-users mailing list Instantrails-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instantrails-users From curt.hibbs at gmail.com Fri Mar 10 12:20:07 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Fri, 10 Mar 2006 11:20:07 -0600 Subject: [Instantrails-users] installation ofiInstantRails-1.0-final-win.zip In-Reply-To: <2DF872BDE2617C4B833B553DB1E49F90023AFEA6@mail2.swlauriersb.qc.ca> References: <2DF872BDE2617C4B833B553DB1E49F90023AFEA6@mail2.swlauriersb.qc.ca> Message-ID: <31d15f490603100920r12674236hde1aba1d1c4a1ca7@mail.gmail.com> This is a false positive. I did extensive tests a couple months ago with three different anti-virus packages. Only certain versions of McAfee flag these files. In any case, they're not needed, so feel free to delete them. Curt On 3/10/06, Mason, Roberto wrote: > > The two files in question are: > > File > C:\InstantRails- > 1.0-final-win\InstantRails-1.0\ruby\lib\ruby\gems\1.8\gems\BlueCloth-1.0.0\tests\15_Contrib.tests.rb > > C:\InstantRails- > 1.0-final-win\InstantRails-1.0\rails_apps\typo-2.6.0\vendor\bluecloth\tests\15_Contrib.tests.rb > > > Roberto Mason > IT Department > Sir Wilfrid Laurier School Board > 235 Mont?e Lesage > Rosem?re, Qu?bec, > J7A 4Y6 > > -----Original Message----- > From: instantrails-users-bounces at rubyforge.org [mailto: > instantrails-users-bounces at rubyforge.org] On Behalf Of David Morton > Sent: Thursday, March 09, 2006 5:45 PM > To: instantrails-users at rubyforge.org > Subject: Re: [Instantrails-users]installation > ofiInstantRails-1.0-final-win.zip > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Mason, Roberto wrote: > > Those files weren't extracted. (I could disable my McAfee) and extract > it, but next time I do a scan, it'll remove it. Do I really need those two > files? > > Which 2 files? What was the full path to them? > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFEELAHSIxC85HZHLMRAnElAKCglmAcR2gGSgISQP0r4XX3LF794QCdFqsZ > FbBe27T663TjynKV6vqxhGg= > =p85y > -----END PGP SIGNATURE----- > _______________________________________________ > 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/20060310/6cdab3c0/attachment.htm From masonr at swlauriersb.qc.ca Fri Mar 10 12:34:33 2006 From: masonr at swlauriersb.qc.ca (Mason, Roberto) Date: Fri, 10 Mar 2006 12:34:33 -0500 Subject: [Instantrails-users] installationofiInstantRails-1.0-final-win.zip Message-ID: <2DF872BDE2617C4B833B553DB1E49F90023AFEE0@mail2.swlauriersb.qc.ca> I thank you very much Roberto Mason IT Department Sir Wilfrid Laurier School Board 235 Mont?e Lesage Rosem?re, Qu?bec, J7A 4Y6 ________________________________ From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of Curt Hibbs Sent: Friday, March 10, 2006 12:20 PM To: instantrails-users at rubyforge.org Subject: Re: [Instantrails-users] installationofiInstantRails-1.0-final-win.zip This is a false positive. I did extensive tests a couple months ago with three different anti-virus packages. Only certain versions of McAfee flag these files. In any case, they're not needed, so feel free to delete them. Curt On 3/10/06, Mason, Roberto wrote: The two files in question are: File C:\InstantRails-1.0-final-win\InstantRails-1.0\ruby\lib\ruby\gems\1.8\gems\BlueCloth-1.0.0\tests\15_Contrib.tests.rb C:\InstantRails-1.0-final-win\InstantRails-1.0\rails_apps\typo-2.6.0\vendor\bluecloth\tests\15_Contrib.tests.rb Roberto Mason IT Department Sir Wilfrid Laurier School Board 235 Mont?e Lesage Rosem?re, Qu?bec, J7A 4Y6 -----Original Message----- From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of David Morton Sent: Thursday, March 09, 2006 5:45 PM To: instantrails-users at rubyforge.org Subject: Re: [Instantrails-users]installation ofiInstantRails-1.0-final-win.zip -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mason, Roberto wrote: > Those files weren't extracted. (I could disable my McAfee) and extract it, but next time I do a scan, it'll remove it. Do I really need those two files? Which 2 files? What was the full path to them? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEELAHSIxC85HZHLMRAnElAKCglmAcR2gGSgISQP0r4XX3LF794QCdFqsZ FbBe27T663TjynKV6vqxhGg= =p85y -----END PGP SIGNATURE----- _______________________________________________ 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/20060310/530ad901/attachment-0001.htm From bill.walton at charter.net Fri Mar 17 09:08:46 2006 From: bill.walton at charter.net (Bill Walton) Date: Fri, 17 Mar 2006 08:08:46 -0600 Subject: [Instantrails-users] MySQL-Front strangeness - help needed, esp. from newbies Message-ID: <04fb01c649cc$4f093f80$6501a8c0@dp2000> Greetings to all, I've had two reports of strange behavior from MySQL-Front this week from folks new to RoR who are working through the IR tutorial. I'm digging into it and would very much appreciate hearing from anyone else that's seeing this. Newbies are in an especially good position to help here, as it appears that the problem lies in a recent release of MySQL-Front. So here's the scenerio. MySQL-Front will not allow the id on a table to be set to NOT NULL. Even stranger, one of the reporters, Steve Ball, made the time to check it out with phpmyadmin. Steve sent me a screen shot with both MySQL-Front and phpmyadmin looking at the same table, at the same time. MySQL-Front shows the field as NULL and phpmyadmin shows it as NOT NULL. My request is... If your version of MySQL-Front will not allow you to set the id to NOT NULL, please email me (either here or offline at bill.walton at charter.net) with the version of MySQL-Front you have installed. I am using Version 3.2, Build 10.15. It does not exhibit this behavior. Any help in isolating the build where the problem first appeared will be greatly appreciated. BTW, this does not appear to be causing a problem with completing the tutorial. OTOH, the tutorial is pretty basic WRT it's demands on the database. Thanks in advance for your help! Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060317/1d20f53a/attachment.htm From heikki74 at gmail.com Wed Mar 22 03:52:58 2006 From: heikki74 at gmail.com (=?ISO-8859-1?Q?Heikki_Yl=F6nen?=) Date: Wed, 22 Mar 2006 10:52:58 +0200 Subject: [Instantrails-users] MySQL with root password Message-ID: <9c18518b0603220052p5f523103h@mail.gmail.com> Has anyone changed InstantRails MySQL to use root password? I have tried this couple of times with no success. I get a lot of errors after: - adding root password in phpmyadmin - editing database.yml accordingly I edited /phpmyadmin/config.inc.php to get phpmyadmin to work with password. That's ok. Problem is that i can't get Rails to connect to database. I guess the problem is simple but I can't figure it out. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060322/a1f34e5d/attachment.htm From Steve.Debaun at seminis.com Mon Mar 27 13:28:43 2006 From: Steve.Debaun at seminis.com (Debaun, Steve) Date: Mon, 27 Mar 2006 10:28:43 -0800 Subject: [Instantrails-users] SCGI Slowness Problem Message-ID: Hi all, So far, I'm loving the package... kudos to Curt for such a great contribution! Currently, however, I'm having a problem with getting SCGI to behave. InstantRails 1.0 Using a simple test app, I see response times like: - Webrick: 3 seconds - SCGI: 15 seconds Further oddities... the log/scgi.log is just being populated with start-event lines, no request handling is being logged at all. In fact, if I don't start the SCGI handler, the page still responds (and just as slowly). This leads me to believe that the SCGI handler isn't even being called, and that 'something else' is handling the requests very slowly. The :port: setting in scgi.yaml is set to 7001, and the Apache conf has a VirtualHost with: SCGIMount /dispatch.fcgi 127.0.0.1:7001. SCGI mode is production. I have no hosts entry because the hostname is a real dns name. Has anyone run into any problems with extreme SCGI slowness? Can anyone explain the things that are confusing me (no log entries, page renders despite scgi not being started)? sd This e-mail message may contain privileged and/or confidential information, and is intended to be received only by persons entitled to receive such information. If you have received this e-mail in error, please notify the sender immediately. Please delete it and all attachments from any servers, hard drives or any other media. Other use of this e-mail by you is strictly prohibited. All e-mails and attachments sent and received are subject to monitoring, reading and archival by Seminis. The recipient of this e-mail is solely responsible for checking for the presence of "Viruses" or other "Malware". Seminis accepts no liability for any damage caused by any such code transmitted by or accompanying this e-mail or any attachment. From wfroelich at dbsnow.com Mon Mar 27 14:07:59 2006 From: wfroelich at dbsnow.com (William (Bill) Froelich) Date: Mon, 27 Mar 2006 13:07:59 -0600 Subject: [Instantrails-users] MySQL with root password Message-ID: Did you get this working? I know I tried in the past and at one point had it working but now I can't get it to work either. Just wondering. --Bill ________________________________ From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of Heikki Yl?nen Sent: Wednesday, March 22, 2006 2:53 AM To: instantrails-users at rubyforge.org Subject: [Instantrails-users] MySQL with root password Has anyone changed InstantRails MySQL to use root password? I have tried this couple of times with no success. I get a lot of errors after: - adding root password in phpmyadmin - editing database.yml accordingly I edited /phpmyadmin/config.inc.php to get phpmyadmin to work with password. That's ok. Problem is that i can't get Rails to connect to database. I guess the problem is simple but I can't figure it out. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060327/014c5f35/attachment.htm From heikki74 at gmail.com Mon Mar 27 16:08:46 2006 From: heikki74 at gmail.com (=?ISO-8859-1?Q?Heikki_Yl=F6nen?=) Date: Tue, 28 Mar 2006 00:08:46 +0300 Subject: [Instantrails-users] MySQL with root password In-Reply-To: References: Message-ID: <9c18518b0603271308x60558e84m516717a8aee3c03e@mail.gmail.com> No, I didn't. So far the best clue is from the mysql log: "060306 18:53:54 [Warning] mysql.user table is not updated to new password format; Disabling new password usage until mysql_fix_privilege_tables is run" Maybe that is the problem? I couldn't run mysql_fix_privilege_tables because there isn't that script. Phpmysql works ok with password. 2006/3/27, William (Bill) Froelich : > > Did you get this working? > > I know I tried in the past and at one point had it working but now I can't > get it to work either. > > Just wondering. > > --Bill > > ------------------------------ > *From:* instantrails-users-bounces at rubyforge.org [mailto: > instantrails-users-bounces at rubyforge.org] *On Behalf Of *Heikki Yl?nen > *Sent:* Wednesday, March 22, 2006 2:53 AM > *To:* instantrails-users at rubyforge.org > *Subject:* [Instantrails-users] MySQL with root password > > Has anyone changed InstantRails MySQL to use root password? > I have tried this couple of times with no success. > I get a lot of errors after: > > - adding root password in phpmyadmin > - editing database.yml accordingly > > I edited /phpmyadmin/config.inc.php to get phpmyadmin to work with > password. That's ok. > Problem is that i can't get Rails to connect to database. I guess the > problem is simple but I can't figure it out. > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > -- Heikki -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060328/e8f68b65/attachment.htm From elliot at townx.org Mon Mar 27 16:18:35 2006 From: elliot at townx.org (Elliot Smith) Date: Mon, 27 Mar 2006 22:18:35 +0100 Subject: [Instantrails-users] MySQL with root password In-Reply-To: <9c18518b0603271308x60558e84m516717a8aee3c03e@mail.gmail.com> References: <9c18518b0603271308x60558e84m516717a8aee3c03e@mail.gmail.com> Message-ID: <442856AB.5020109@townx.org> Sometimes, there are issues with older clients talking to newer MySQL database servers. The issue is that users created in newer versions of MySQL use a different password hash; when older clients try to use the old password hash (shorter), MySQL complains, as it detects the use of old-style passwords against new style passwords in user records. I've had this problem with some versions of PHP talking to newer MySQL servers. The solution is to manually amend the user table to revert user records to the old style password hash. So say you have a MySQL account "railsuser" intended for use with a Rails app. which is using the old client library. This user will have an entry in the mysql.user table, which you can revert to the old password using this SQL command: UPDATE mysql.user SET Password=OLD_PASSWORD('password') WHERE User='railsuser'; (Obviously, you need to replace 'password' with the appropriate password. And you could do the same thing with the root user.) This will set the railsuser's password to the old style hash. Hope this helps. Elliot Heikki Yl?nen wrote: > No, I didn't. > > So far the best clue is from the mysql log: > "060306 18:53:54 [Warning] mysql.user table is not updated to new > password format; Disabling new password usage until > mysql_fix_privilege_tables is run" > > Maybe that is the problem? I couldn't run mysql_fix_privilege_tables > because there isn't that script. > Phpmysql works ok with password. > > 2006/3/27, William (Bill) Froelich < wfroelich at dbsnow.com > >: > > Did you get this working? > > I know I tried in the past and at one point had it working but now > I can't get it to work either. > > Just wondering. > > --Bill > > ------------------------------------------------------------------------ > *From:* instantrails-users-bounces at rubyforge.org > > [mailto:instantrails-users-bounces at rubyforge.org > ] *On Behalf Of > *Heikki Yl?nen > *Sent:* Wednesday, March 22, 2006 2:53 AM > *To:* instantrails-users at rubyforge.org > > *Subject:* [Instantrails-users] MySQL with root password > > Has anyone changed InstantRails MySQL to use root password? > I have tried this couple of times with no success. > I get a lot of errors after: > > - adding root password in phpmyadmin > - editing database.yml accordingly > > I edited /phpmyadmin/config.inc.php to get phpmyadmin to work with > password. That's ok. > Problem is that i can't get Rails to connect to database. I guess > the problem is simple but I can't figure it out. > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > -- > Heikki > >------------------------------------------------------------------------ > >_______________________________________________ >Instantrails-users mailing list >Instantrails-users at rubyforge.org >http://rubyforge.org/mailman/listinfo/instantrails-users > From curt.hibbs at gmail.com Mon Mar 27 16:37:12 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Mon, 27 Mar 2006 15:37:12 -0600 Subject: [Instantrails-users] SCGI Slowness Problem In-Reply-To: References: Message-ID: <31d15f490603271337l6a1201ffh7aa6f77dcb9fedfc@mail.gmail.com> Steve, I don't know what is going on here, but I copied Zed Shaw on this (aka Mr. SCGI), because he might be able to help. Curt On 3/27/06, Debaun, Steve wrote: > > Hi all, > > So far, I'm loving the package... kudos to Curt for such a great > contribution! Currently, however, I'm having a problem with getting SCGI > to > behave. > > InstantRails 1.0 > > Using a simple test app, I see response times like: > - Webrick: 3 seconds > - SCGI: 15 seconds > > Further oddities... the log/scgi.log is just being populated with > start-event lines, no request handling is being logged at all. In fact, > if > I don't start the SCGI handler, the page still responds (and just as > slowly). This leads me to believe that the SCGI handler isn't even being > called, and that 'something else' is handling the requests very slowly. > > The :port: setting in scgi.yaml is set to 7001, and the Apache conf has a > VirtualHost with: > SCGIMount /dispatch.fcgi 127.0.0.1:7001. > > SCGI mode is production. I have no hosts entry because the hostname is a > real dns name. > > Has anyone run into any problems with extreme SCGI slowness? Can anyone > explain the things that are confusing me (no log entries, page renders > despite scgi not being started)? > > sd > This e-mail message may contain privileged and/or confidential > information, > and is intended to be received only by persons entitled to receive such > information. If you have received this e-mail in error, please notify the > sender immediately. Please delete it and all attachments from any servers, > hard drives or any other media. Other use of this e-mail by you is > strictly > prohibited. > All e-mails and attachments sent and received are subject to monitoring, > reading and archival by Seminis. The recipient of this e-mail is solely > responsible for checking for the presence of "Viruses" or other "Malware". > Seminis accepts no liability for any damage caused by any such code > transmitted by or accompanying this e-mail or any attachment. > _______________________________________________ > 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/20060327/958485a8/attachment-0001.htm From scott at porad.com Fri Mar 31 02:47:49 2006 From: scott at porad.com (Scott Porad) Date: Thu, 30 Mar 2006 23:47:49 -0800 (PST) Subject: [Instantrails-users] rails app directory not in c:\ir\rails_app Message-ID: <2431.67.168.142.64.1143791269.squirrel@207.195.54.249> i'm wondering if it's possible to have my rails app live in a directory other than the InstantRails\rails_app directory. for example, i have a scenario like this: c:\ -- InstantRails -- rails_app -- cookbook -- typo -- SVN_Repository -- rails_app_one -- rails_app_two -- non_rails_app_one -- non_rails_app_two -- stuff_etc_and_so_on so, i keep all sorts of stuff in subversion, and would prefer not to have to keep it all in the IR directory. is there a way to get IR to recognize the rails apps that i have living in c:\SVN_Repository? Scott From mortonda at dgrmm.net Fri Mar 31 08:56:51 2006 From: mortonda at dgrmm.net (David Morton) Date: Fri, 31 Mar 2006 07:56:51 -0600 Subject: [Instantrails-users] rails app directory not in c:\ir\rails_app In-Reply-To: <2431.67.168.142.64.1143791269.squirrel@207.195.54.249> References: <2431.67.168.142.64.1143791269.squirrel@207.195.54.249> Message-ID: <442D3523.4080408@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Scott Porad wrote: > so, i keep all sorts of stuff in subversion, and would prefer not to have > to keep it all in the IR directory. is there a way to get IR to recognize > the rails apps that i have living in c:\SVN_Repository? well, I usually just put a working copy into the rails_app folder. (You don't edit files directly in the repository anyway) cd rails_app svn co svn://rails-app-1 rails_app_1 svn co svn://rails-app-2 rails_app_2 etc... - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFELTUjSIxC85HZHLMRAgWRAJsHkEhx4wEiG+HcX37t52fOmaHZSQCggPQ8 KPDkeUMUJKWUFLN0/N+mwWs= =eEDZ -----END PGP SIGNATURE----- From curt.hibbs at gmail.com Fri Mar 31 10:10:46 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Fri, 31 Mar 2006 09:10:46 -0600 Subject: [Instantrails-users] rails app directory not in c:\ir\rails_app In-Reply-To: <442D3523.4080408@dgrmm.net> References: <2431.67.168.142.64.1143791269.squirrel@207.195.54.249> <442D3523.4080408@dgrmm.net> Message-ID: <31d15f490603310710g43d82e94n7a0dbc0559688553@mail.gmail.com> On 3/31/06, David Morton wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Scott Porad wrote: > > > so, i keep all sorts of stuff in subversion, and would prefer not to > have > > to keep it all in the IR directory. is there a way to get IR to > recognize > > the rails apps that i have living in c:\SVN_Repository? > > well, I usually just put a working copy into the rails_app folder. (You > don't > edit files directly in the repository anyway) > > > cd rails_app > svn co svn://rails-app-1 rails_app_1 > svn co svn://rails-app-2 rails_app_2 > This is what I do, as well -- with a small twist. Strictly because of the way I deal with my overall svn projects directory tree (which also has non-rails projects), I check out my entire projects tree to one location (outside of Instant Rails), and then physically move each active rails project to the rails_apps directory. SVN doesn't care about this and I then proceed to work (updates, commits, etc) directly from the rails_app subdirectories. Curt Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060331/0a24fcf5/attachment.htm