From timuckun at gmail.com Thu Jun 1 20:28:41 2006 From: timuckun at gmail.com (Tim Uckun) Date: Fri, 2 Jun 2006 12:28:41 +1200 Subject: [Instantrails-users] Instant Rails and your own applications In-Reply-To: References: <31d15f490605270702w10584e1fic0d51e9923eac400@mail.gmail.com> Message-ID: <855e4dcf0606011728u21cc11e6od16d91a69f847f5e@mail.gmail.com> See http://www.erikveen.dds.nl/distributingrubyapplications/index.html for some ideas on how you can distribute your ruby applications. On 5/28/06, Ian Connor wrote: > Thanks - I am trying this! > > ... just looked too easy to be true. > > Ian > > > On 5/27/06, Curt Hibbs wrote: > > > > On 5/27/06, Ian Connor wrote: > > > > I was hoping for a one click install and people to not even know how to > use mysql or migrate type stuff. > > > > However, I am not sure coping the sources will be enough as I would need > to create a database. > > > > Having said that, this might be my ignorance on how these things work. If > I have all the sql in the migration directory, how can I make sure it is run > before the user starts? > > > > You don't need to do this at all. > > You can set up your database and populate its tabes with data and then zip > up the Instant Rails directory tree. This is how the cookbook sample app is > delivered with Instant Rails (take a look at the cookbook database, you'l > see all the tables there with data). > > If you need to do more at installation time, then you'd have to create a > true installer. You could take a look at NSIS, which is used by the > One-Click Ruby Installer for Windows: > > http://nsis.sourceforge.net/Main_Page > > Curt > > _______________________________________________ > > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > -- > Regards, > Ian Connor > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > From Zanoni at goowy.com Sun Jun 4 11:32:26 2006 From: Zanoni at goowy.com (Mark Fellowes) Date: Sun, 04 Jun 2006 15:32:26 GMT Subject: [Instantrails-users] new here and starting out Message-ID: ?New to the list, even newer to ROR. I opted for InstantRails as I do not have a host for ROR yet and wish to experiment first. Questions: 1- Is development the same as if I had installed the regular Ruby packages ? 2- I looked around the Instantrails site, maybe I'm wrong but not many pointers to actual Ruby development, so from this point forward should I stick with the regular ROR tutorials and learning books available ? 3-Off topic question - having little experience with programming (some with PHP) is ROR still a recommened development package to use ? TIA Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060604/0a78cbe0/attachment.htm From Zanoni at goowy.com Sun Jun 4 12:47:01 2006 From: Zanoni at goowy.com (Mark Fellowes) Date: Sun, 04 Jun 2006 16:47:01 GMT Subject: [Instantrails-users] Scipt command Message-ID: <3156bac7a2db40d99e2df03615e130d4@webserver001> ?I was able to "Create a New Rails App" via the IR gui. However I'm now attempting to create a controller via the script command and not sure how to go about it. Just opening a CMD window, going to the path and typing ruby script / generate doesn't seem to work. Would that indicate my path is wrong (app is availble / working fine on my localhost), do I do it from the ruby bin dir ? Any help appreciated. Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060604/2f787331/attachment.htm From Zanoni at goowy.com Sun Jun 4 13:17:43 2006 From: Zanoni at goowy.com (Mark Fellowes) Date: Sun, 04 Jun 2006 17:17:43 GMT Subject: [Instantrails-users] =?utf-8?q?Scipt_command?= Message-ID: <9cd7c68f16c64526b9e8dabfeca4b5b2@webserver001> ?I should mention that when i run "ruby script/generate" I get a message that I should either install the correct version of gem or put the correct version in the .rb file. It looks (not sure if I would really know) like gem is installed and the correct version is in the .rb file. By the way, this was a fresh install of IR. I downloaded 1.3a and installed it. Should I have installed 1.3 first and then upgraded to a ? It was a little confusing to a neophyte like me. Mark -----Original Message----- From: Zanoni at goowy.com Sent: Sunday, June 4, 2006 4:47 PM -07:00 To: instantrails-users at rubyforge.org Subject: [Instantrails-users] Scipt command I was able to "Create a New Rails App" via the IR gui. However I'm now attempting to create a controller via the script command and not sure how to go about it. Just opening a CMD window, going to the path and typing ruby script / generate doesn't seem to work. Would that indicate my path is wrong (app is availble / working fine on my localhost), do I do it from the ruby bin dir ? Any help appreciated. Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060604/b233cb4d/attachment.htm From curt.hibbs at gmail.com Sun Jun 4 20:38:26 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Sun, 4 Jun 2006 19:38:26 -0500 Subject: [Instantrails-users] new here and starting out In-Reply-To: References: Message-ID: <31d15f490606041738r6e845235k7a4f3fd3f258f2e0@mail.gmail.com> On 6/4/06, Mark Fellowes wrote: > > New to the list, even newer to ROR. > > I opted for InstantRails as I do not have a host for ROR yet and wish to > experiment first. > > Questions: > > 1- Is development the same as if I had installed the regular Ruby packages > ? > Almost. The only difference would be that Instant Rails doesn't put the ruby\bin directory on you path, so when you need a console window to run Rails commands, you need to do it one of two ways. You can open your console window through the Instant Rails menus (this will put ruby\bin on your path for that window). Or, you can manually add ruby\bin to the system path yourself. 2- I looked around the Instantrails site, maybe I'm wrong but not many > pointers to actual Ruby development, so from this point forward should I > stick with the regular ROR tutorials and learning books available ? > Bill Walton took my Rolling with Ruby on Rails tutorial that was published at ONLamp.com and made an Instant Rails specific version of it. You can find it here: http://instantrails.rubyforge.org/wiki/wiki.pl?Rolling_With_Ruby_On_Instant_Rails_Tutorial 3-Off topic question - having little experience with programming (some with > PHP) is ROR still a recommened development package to use ? > > You're asking the wrong group that questions, we're all going to be biased towards RoR. After that admission of bias, I can unequivocally say Yes! Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060604/4b2a7468/attachment.htm From curt.hibbs at gmail.com Sun Jun 4 20:39:53 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Sun, 4 Jun 2006 19:39:53 -0500 Subject: [Instantrails-users] Scipt command In-Reply-To: <9cd7c68f16c64526b9e8dabfeca4b5b2@webserver001> References: <9cd7c68f16c64526b9e8dabfeca4b5b2@webserver001> Message-ID: <31d15f490606041739h60529afhac102b98f9460f0e@mail.gmail.com> See the last reponse I sent on you other thread... I explain it there. Curt On 6/4/06, Mark Fellowes wrote: > > I should mention that when i run "ruby script/generate" I get a message > that I should either install the correct version of gem or put the correct > version in the .rb file. It looks (not sure if I would really know) like gem > is installed and the correct version is in the .rb file. > > > By the way, this was a fresh install of IR. I downloaded 1.3a and > installed it. Should I have installed 1.3 first and then upgraded to a ? > It was a little confusing to a neophyte like me. > > > Mark > > > > > -----Original Message----- > > From: Zanoni at goowy.com > > Sent: Sunday, June 4, 2006 4:47 PM -07:00 > > To: instantrails-users at rubyforge.org > > Subject: [Instantrails-users] Scipt command > > > I was able to "Create a New Rails App" via the IR gui. > > However I'm now attempting to create a controller via the script command > and not sure how to go about it. > > > Just opening a CMD window, going to the path and typing ruby script / > generate doesn't seem to work. Would that indicate my path is wrong (app is > availble / working fine on my localhost), do I do it from the ruby bin dir ? > Any help appreciated. > > > Mark > > _______________________________________________ > 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/20060604/6867c87c/attachment-0001.htm From scott at porad.com Tue Jun 6 21:22:11 2006 From: scott at porad.com (Scott Porad) Date: Tue, 6 Jun 2006 18:22:11 -0700 Subject: [Instantrails-users] Instantrails-users Digest, Vol 9, Issue 1 In-Reply-To: Message-ID: <011c01c689d0$cdbcc060$7f0ea8c0@scottlaptop> unsubscribe -----Original Message----- From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of instantrails-users-request at rubyforge.org Sent: Sunday, June 04, 2006 5:40 PM To: instantrails-users at rubyforge.org Subject: Instantrails-users Digest, Vol 9, Issue 1 Send Instantrails-users mailing list submissions to instantrails-users at rubyforge.org To subscribe or unsubscribe via the World Wide Web, visit http://rubyforge.org/mailman/listinfo/instantrails-users or, via email, send a message with subject or body 'help' to instantrails-users-request at rubyforge.org You can reach the person managing the list at instantrails-users-owner at rubyforge.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Instantrails-users digest..." Today's Topics: 1. Re: Instant Rails and your own applications (Tim Uckun) 2. new here and starting out (Mark Fellowes) 3. Scipt command (Mark Fellowes) 4. Re: Scipt command (Mark Fellowes) 5. Re: new here and starting out (Curt Hibbs) 6. Re: Scipt command (Curt Hibbs) ---------------------------------------------------------------------- Message: 1 Date: Fri, 2 Jun 2006 12:28:41 +1200 From: "Tim Uckun" Subject: Re: [Instantrails-users] Instant Rails and your own applications To: instantrails-users at rubyforge.org Message-ID: <855e4dcf0606011728u21cc11e6od16d91a69f847f5e at mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed See http://www.erikveen.dds.nl/distributingrubyapplications/index.html for some ideas on how you can distribute your ruby applications. On 5/28/06, Ian Connor wrote: > Thanks - I am trying this! > > ... just looked too easy to be true. > > Ian > > > On 5/27/06, Curt Hibbs wrote: > > > > On 5/27/06, Ian Connor wrote: > > > > I was hoping for a one click install and people to not even know how > > to > use mysql or migrate type stuff. > > > > However, I am not sure coping the sources will be enough as I would > > need > to create a database. > > > > Having said that, this might be my ignorance on how these things > > work. If > I have all the sql in the migration directory, how can I make sure it > is run before the user starts? > > > > You don't need to do this at all. > > You can set up your database and populate its tabes with data and then > zip up the Instant Rails directory tree. This is how the cookbook > sample app is delivered with Instant Rails (take a look at the > cookbook database, you'l see all the tables there with data). > > If you need to do more at installation time, then you'd have to create > a true installer. You could take a look at NSIS, which is used by the > One-Click Ruby Installer for Windows: > > http://nsis.sourceforge.net/Main_Page > > Curt > > _______________________________________________ > > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > -- > Regards, > Ian Connor > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > ------------------------------ Message: 2 Date: Sun, 04 Jun 2006 15:32:26 GMT From: Mark Fellowes Subject: [Instantrails-users] new here and starting out To: instantrails-users at rubyforge.org Message-ID: Content-Type: text/plain; charset="utf-8" ?New to the list, even newer to ROR. I opted for InstantRails as I do not have a host for ROR yet and wish to experiment first. Questions: 1- Is development the same as if I had installed the regular Ruby packages ? 2- I looked around the Instantrails site, maybe I'm wrong but not many pointers to actual Ruby development, so from this point forward should I stick with the regular ROR tutorials and learning books available ? 3-Off topic question - having little experience with programming (some with PHP) is ROR still a recommened development package to use ? TIA Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060604/0a78c be0/attachment-0001.htm ------------------------------ Message: 3 Date: Sun, 04 Jun 2006 16:47:01 GMT From: Mark Fellowes Subject: [Instantrails-users] Scipt command To: instantrails-users at rubyforge.org Message-ID: <3156bac7a2db40d99e2df03615e130d4 at webserver001> Content-Type: text/plain; charset="utf-8" ?I was able to "Create a New Rails App" via the IR gui. However I'm now attempting to create a controller via the script command and not sure how to go about it. Just opening a CMD window, going to the path and typing ruby script / generate doesn't seem to work. Would that indicate my path is wrong (app is availble / working fine on my localhost), do I do it from the ruby bin dir ? Any help appreciated. Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060604/2f787 331/attachment-0001.htm ------------------------------ Message: 4 Date: Sun, 04 Jun 2006 17:17:43 GMT From: Mark Fellowes Subject: Re: [Instantrails-users] Scipt command To: instantrails-users at rubyforge.org Message-ID: <9cd7c68f16c64526b9e8dabfeca4b5b2 at webserver001> Content-Type: text/plain; charset="utf-8" ?I should mention that when i run "ruby script/generate" I get a message that I should either install the correct version of gem or put the correct version in the .rb file. It looks (not sure if I would really know) like gem is installed and the correct version is in the .rb file. By the way, this was a fresh install of IR. I downloaded 1.3a and installed it. Should I have installed 1.3 first and then upgraded to a ? It was a little confusing to a neophyte like me. Mark -----Original Message----- From: Zanoni at goowy.com Sent: Sunday, June 4, 2006 4:47 PM -07:00 To: instantrails-users at rubyforge.org Subject: [Instantrails-users] Scipt command I was able to "Create a New Rails App" via the IR gui. However I'm now attempting to create a controller via the script command and not sure how to go about it. Just opening a CMD window, going to the path and typing ruby script / generate doesn't seem to work. Would that indicate my path is wrong (app is availble / working fine on my localhost), do I do it from the ruby bin dir ? Any help appreciated. Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060604/b233c b4d/attachment-0001.htm ------------------------------ Message: 5 Date: Sun, 4 Jun 2006 19:38:26 -0500 From: "Curt Hibbs" Subject: Re: [Instantrails-users] new here and starting out To: "Mark Fellowes" , instantrails-users at rubyforge.org Message-ID: <31d15f490606041738r6e845235k7a4f3fd3f258f2e0 at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" On 6/4/06, Mark Fellowes wrote: > > New to the list, even newer to ROR. > > I opted for InstantRails as I do not have a host for ROR yet and wish > to experiment first. > > Questions: > > 1- Is development the same as if I had installed the regular Ruby > packages ? > Almost. The only difference would be that Instant Rails doesn't put the ruby\bin directory on you path, so when you need a console window to run Rails commands, you need to do it one of two ways. You can open your console window through the Instant Rails menus (this will put ruby\bin on your path for that window). Or, you can manually add ruby\bin to the system path yourself. 2- I looked around the Instantrails site, maybe I'm wrong but not many > pointers to actual Ruby development, so from this point forward should > I stick with the regular ROR tutorials and learning books available ? > Bill Walton took my Rolling with Ruby on Rails tutorial that was published at ONLamp.com and made an Instant Rails specific version of it. You can find it here: http://instantrails.rubyforge.org/wiki/wiki.pl?Rolling_With_Ruby_On_Instant_ Rails_Tutorial 3-Off topic question - having little experience with programming (some with > PHP) is ROR still a recommened development package to use ? > > You're asking the wrong group that questions, we're all going to be biased towards RoR. After that admission of bias, I can unequivocally say Yes! Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060604/4b2a7 468/attachment-0001.htm ------------------------------ Message: 6 Date: Sun, 4 Jun 2006 19:39:53 -0500 From: "Curt Hibbs" Subject: Re: [Instantrails-users] Scipt command To: "Mark Fellowes" , instantrails-users at rubyforge.org Message-ID: <31d15f490606041739h60529afhac102b98f9460f0e at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" See the last reponse I sent on you other thread... I explain it there. Curt On 6/4/06, Mark Fellowes wrote: > > I should mention that when i run "ruby script/generate" I get a > message that I should either install the correct version of gem or put > the correct version in the .rb file. It looks (not sure if I would > really know) like gem is installed and the correct version is in the .rb file. > > > By the way, this was a fresh install of IR. I downloaded 1.3a and > installed it. Should I have installed 1.3 first and then upgraded to a ? > It was a little confusing to a neophyte like me. > > > Mark > > > > > -----Original Message----- > > From: Zanoni at goowy.com > > Sent: Sunday, June 4, 2006 4:47 PM -07:00 > > To: instantrails-users at rubyforge.org > > Subject: [Instantrails-users] Scipt command > > > I was able to "Create a New Rails App" via the IR gui. > > However I'm now attempting to create a controller via the script > command and not sure how to go about it. > > > Just opening a CMD window, going to the path and typing ruby script / > generate doesn't seem to work. Would that indicate my path is wrong > (app is availble / working fine on my localhost), do I do it from the ruby bin dir ? > Any help appreciated. > > > Mark > > _______________________________________________ > 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/20060604/6867c 87c/attachment.htm ------------------------------ _______________________________________________ Instantrails-users mailing list Instantrails-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instantrails-users End of Instantrails-users Digest, Vol 9, Issue 1 ************************************************ From mortonda at dgrmm.net Tue Jun 6 21:55:37 2006 From: mortonda at dgrmm.net (David Morton) Date: Tue, 06 Jun 2006 20:55:37 -0500 Subject: [Instantrails-users] Instantrails-users Digest, Vol 9, Issue 1 In-Reply-To: <011c01c689d0$cdbcc060$7f0ea8c0@scottlaptop> References: <011c01c689d0$cdbcc060$7f0ea8c0@scottlaptop> Message-ID: <44863219.8040607@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If it's not too much to ask, you may try following the instructions included with this message to unsubscribe. Scott Porad wrote: > unsubscribe > > -----Original Message----- > From: instantrails-users-bounces at rubyforge.org > [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of > instantrails-users-request at rubyforge.org > Sent: Sunday, June 04, 2006 5:40 PM > To: instantrails-users at rubyforge.org > Subject: Instantrails-users Digest, Vol 9, Issue 1 > > Send Instantrails-users mailing list submissions to > instantrails-users at rubyforge.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://rubyforge.org/mailman/listinfo/instantrails-users > or, via email, send a message with subject or body 'help' to > instantrails-users-request at rubyforge.org - -- 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.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEhjIZUy30ODPkzl0RAurUAKDOM5ipACUL0kLJFsME47dp6VpFXACfaS+w knr1oPUmlrJYYGsroK6EN9M= =Leuz -----END PGP SIGNATURE----- From axiomdadak at gmail.com Tue Jun 6 22:55:03 2006 From: axiomdadak at gmail.com (Axiom Dadak) Date: Tue, 6 Jun 2006 22:55:03 -0400 Subject: [Instantrails-users] Apache Config Question Message-ID: <89d304320606061955y58befdd5w22a24265e9de80e2@mail.gmail.com> Hi everyone, I'm having a problem getting instant rails working well on apache. I created an alias that points to the apps' public directory and it works, but when I access my application it take a long long time. Over 3 minutes sometimes. But it does always work, just painfully slow. I think it has to do with scgi but I'm unsure how to speed it up. In WEBricks it works really well and quickly. Can anyone help me out? (I can post my config files if needed.) Thanks, Bram -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060606/460aa1b5/attachment.htm From mortonda at dgrmm.net Wed Jun 7 00:02:25 2006 From: mortonda at dgrmm.net (David Morton) Date: Tue, 06 Jun 2006 23:02:25 -0500 Subject: [Instantrails-users] Apache Config Question In-Reply-To: <89d304320606061955y58befdd5w22a24265e9de80e2@mail.gmail.com> References: <89d304320606061955y58befdd5w22a24265e9de80e2@mail.gmail.com> Message-ID: <44864FD1.8000404@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Axiom Dadak wrote: > Hi everyone, > > I'm having a problem getting instant rails working well on apache. > > I created an alias that points to the apps' public directory and it > works, but when I access my application it take a long long time. Over > 3 minutes sometimes. But it does always work, just painfully slow. I > think it has to do with scgi but I'm unsure how to speed it up. A rails application usually expects to run as a virtual host, not as a subdirectory, which is what an alias will do. To make it work, you need to edit the .htaccess file to include the new path, and maybe some other hacks. Something about a routing prefix.... Some links I turned up... http://wiki.rubyonrails.com/rails/pages/HowToSetTheBaseURLsOfYourRailsApps http://wiki.rubyonrails.com/rails/pages/HowtoDeployMoreThanOneRailsAppOnOneMachine - -- 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.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEhk/RUy30ODPkzl0RAhB5AKDPHbMlCxW0O1/MclYJhPpoM5H4PQCggqtq gzBzoBrdob0Xae/ZqNeECl0= =B0un -----END PGP SIGNATURE----- From axiomdadak at gmail.com Wed Jun 7 14:08:02 2006 From: axiomdadak at gmail.com (Axiom Dadak) Date: Wed, 7 Jun 2006 14:08:02 -0400 Subject: [Instantrails-users] Apache Config Question In-Reply-To: <44864FD1.8000404@dgrmm.net> References: <89d304320606061955y58befdd5w22a24265e9de80e2@mail.gmail.com> <44864FD1.8000404@dgrmm.net> Message-ID: <89d304320606071108h495647a9ocb527b4d75c32a37@mail.gmail.com> Hi, Thanks for the links, but they don't solve the problem. I would run it as a virtual host, but I'm working off other people's computers and I don't want to have to edit the hosts file. I've already got it working, it's just really really slow. I'm pretty sure it's an SCGI thing. Here's my setup: apache - httpd.conf Alias /scotch/ "${path}/rails_apps/scotch/public/" SCGIMount /dispatch.fcgi 127.0.0.1:9997 Options ExecCGI Options +FollowSymLinks Order allow,deny allow from all And the .htaccess file in the public directory of my application, I've kept as as default but added this: RewriteBase /scotch Like I said, it works, but takes 2 mins to load each page. I think it's not using SCGI, since I don't even need to have the SCGI server running for it to work. Thanks again, Bram On 6/7/06, David Morton wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Axiom Dadak wrote: > > Hi everyone, > > > > I'm having a problem getting instant rails working well on apache. > > > > I created an alias that points to the apps' public directory and it > > works, but when I access my application it take a long long time. Over > > 3 minutes sometimes. But it does always work, just painfully slow. I > > think it has to do with scgi but I'm unsure how to speed it up. > > A rails application usually expects to run as a virtual host, not as a > subdirectory, which is what an alias will do. > > To make it work, you need to edit the .htaccess file to include the new > path, > and maybe some other hacks. Something about a routing prefix.... > > Some links I turned up... > > http://wiki.rubyonrails.com/rails/pages/HowToSetTheBaseURLsOfYourRailsApps > > http://wiki.rubyonrails.com/rails/pages/HowtoDeployMoreThanOneRailsAppOnOneMachine > > - -- > 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.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFEhk/RUy30ODPkzl0RAhB5AKDPHbMlCxW0O1/MclYJhPpoM5H4PQCggqtq > gzBzoBrdob0Xae/ZqNeECl0= > =B0un > -----END PGP SIGNATURE----- > _______________________________________________ > 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/20060607/e2a374df/attachment-0001.htm From mortonda at dgrmm.net Wed Jun 7 14:44:27 2006 From: mortonda at dgrmm.net (David Morton) Date: Wed, 07 Jun 2006 13:44:27 -0500 Subject: [Instantrails-users] Apache Config Question In-Reply-To: <89d304320606071108h495647a9ocb527b4d75c32a37@mail.gmail.com> References: <89d304320606061955y58befdd5w22a24265e9de80e2@mail.gmail.com> <44864FD1.8000404@dgrmm.net> <89d304320606071108h495647a9ocb527b4d75c32a37@mail.gmail.com> Message-ID: <44871E8B.1080305@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Axiom Dadak wrote: > Like I said, it works, but takes 2 mins to load each page. I think it's > not using SCGI, since I don't even need to have the SCGI server running > for it to work. yeah, that sounds exactly right; the rewrite isn't matching the new urls. I'm a bit busy to look into it more deeply, but if I remember right, there is some difficulty with getting the rewrite to work. - -- 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.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEhx6LUy30ODPkzl0RAiTxAJoCazhSyvt0T16zmXwEWa2BEUAaugCfWdxe LXTNX4uDVyqvWiK0TgPKp5w= =ZIR5 -----END PGP SIGNATURE----- From axiomdadak at gmail.com Wed Jun 7 16:11:43 2006 From: axiomdadak at gmail.com (Axiom Dadak) Date: Wed, 7 Jun 2006 16:11:43 -0400 Subject: [Instantrails-users] Apache Config Question In-Reply-To: <44871E8B.1080305@dgrmm.net> References: <89d304320606061955y58befdd5w22a24265e9de80e2@mail.gmail.com> <44864FD1.8000404@dgrmm.net> <89d304320606071108h495647a9ocb527b4d75c32a37@mail.gmail.com> <44871E8B.1080305@dgrmm.net> Message-ID: <89d304320606071311i88c031ayb3c3bde535cf4aeb@mail.gmail.com> Ok, I solved it! It took a lot of playing around, but I've got it working now. This is how you setup a rails application in apache using aliases and SCGI: (in this case, my application is called scotch and it usses port 9997) httpd.conf -> Alias /scotch/ "${path}/rails_apps/scotch/public/" SCGIMount /scotch/dispatch.fcgi 127.0.0.1:9997 Options ExecCGI Options +FollowSymLinks Order allow,deny allow from all Then in the .htaccess file in the application's public directory -> AddHandler fastcgi-script .fcgi AddHandler cgi-script .cgi Options +FollowSymLinks +ExecCGI RewriteEngine On RewriteBase /scotch RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /scotch/dispatch.fcgi/$1 [QSA,L] ErrorDocument 500 "

Application error

Rails application failed to start properly" Then, when you're ready to run your application, start the SCGI server through the "instantrails->manage applications" control pannel. And it works great! I'll be posting this to the wiki soon. Bram On 6/7/06, David Morton wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Axiom Dadak wrote: > > > Like I said, it works, but takes 2 mins to load each page. I think it's > > not using SCGI, since I don't even need to have the SCGI server running > > for it to work. > > yeah, that sounds exactly right; the rewrite isn't matching the new > urls. I'm a > bit busy to look into it more deeply, but if I remember right, there is > some > difficulty with getting the rewrite to work. > > > - -- > 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.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFEhx6LUy30ODPkzl0RAiTxAJoCazhSyvt0T16zmXwEWa2BEUAaugCfWdxe > LXTNX4uDVyqvWiK0TgPKp5w= > =ZIR5 > -----END PGP SIGNATURE----- > _______________________________________________ > 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/20060607/a1488249/attachment.htm From curt.hibbs at gmail.com Wed Jun 7 20:24:22 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Wed, 7 Jun 2006 19:24:22 -0500 Subject: [Instantrails-users] Apache Config Question In-Reply-To: <89d304320606071311i88c031ayb3c3bde535cf4aeb@mail.gmail.com> References: <89d304320606061955y58befdd5w22a24265e9de80e2@mail.gmail.com> <44864FD1.8000404@dgrmm.net> <89d304320606071108h495647a9ocb527b4d75c32a37@mail.gmail.com> <44871E8B.1080305@dgrmm.net> <89d304320606071311i88c031ayb3c3bde535cf4aeb@mail.gmail.com> Message-ID: <31d15f490606071724l61e5500dhb710c8f18d043676@mail.gmail.com> Excellent! Can you add instructions for this on the Instant Raiks wiki? Thanks, Curt On 6/7/06, Axiom Dadak wrote: > > Ok, I solved it! > > It took a lot of playing around, but I've got it working now. > > This is how you setup a rails application in apache using aliases and > SCGI: > > (in this case, my application is called scotch and it usses port 9997) > > httpd.conf -> > > Alias /scotch/ "${path}/rails_apps/scotch/public/" > SCGIMount /scotch/dispatch.fcgi 127.0.0.1:9997 > > > Options ExecCGI > Options +FollowSymLinks > Order allow,deny > allow from all > > > Then in the .htaccess file in the application's public directory -> > > AddHandler fastcgi-script .fcgi > AddHandler cgi-script .cgi > Options +FollowSymLinks +ExecCGI > RewriteEngine On > RewriteBase /scotch > RewriteRule ^$ index.html [QSA] > RewriteRule ^([^.]+)$ $1.html [QSA] > RewriteCond %{REQUEST_FILENAME} !-f > RewriteRule ^(.*)$ /scotch/dispatch.fcgi/$1 [QSA,L] > ErrorDocument 500 "

Application error

Rails application failed to > start properly" > > Then, when you're ready to run your application, start the SCGI server > through the "instantrails->manage applications" control pannel. > > And it works great! > > I'll be posting this to the wiki soon. > > Bram > > On 6/7/06, David Morton wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Axiom Dadak wrote: > > > > > Like I said, it works, but takes 2 mins to load each page. I think > > it's > > > not using SCGI, since I don't even need to have the SCGI server > > running > > > for it to work. > > > > yeah, that sounds exactly right; the rewrite isn't matching the new > > urls. I'm a > > bit busy to look into it more deeply, but if I remember right, there is > > some > > difficulty with getting the rewrite to work. > > > > > > - -- > > 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.2 (GNU/Linux) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > iD8DBQFEhx6LUy30ODPkzl0RAiTxAJoCazhSyvt0T16zmXwEWa2BEUAaugCfWdxe > > LXTNX4uDVyqvWiK0TgPKp5w= > > =ZIR5 > > -----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/20060607/33a749ba/attachment.htm From axiomdadak at gmail.com Thu Jun 8 01:32:44 2006 From: axiomdadak at gmail.com (Axiom Dadak) Date: Thu, 8 Jun 2006 01:32:44 -0400 Subject: [Instantrails-users] Apache Config Question In-Reply-To: <31d15f490606071724l61e5500dhb710c8f18d043676@mail.gmail.com> References: <89d304320606061955y58befdd5w22a24265e9de80e2@mail.gmail.com> <44864FD1.8000404@dgrmm.net> <89d304320606071108h495647a9ocb527b4d75c32a37@mail.gmail.com> <44871E8B.1080305@dgrmm.net> <89d304320606071311i88c031ayb3c3bde535cf4aeb@mail.gmail.com> <31d15f490606071724l61e5500dhb710c8f18d043676@mail.gmail.com> Message-ID: <89d304320606072232v75cc0e34w7afdee333768d0a0@mail.gmail.com> Already done and there is a link to it from the FAQ. On 6/7/06, Curt Hibbs wrote: > > Excellent! Can you add instructions for this on the Instant Raiks wiki? > > Thanks, > Curt > > > On 6/7/06, Axiom Dadak < axiomdadak at gmail.com> wrote: > > > > Ok, I solved it! > > > > It took a lot of playing around, but I've got it working now. > > > > This is how you setup a rails application in apache using aliases and > > SCGI: > > > > (in this case, my application is called scotch and it usses port 9997) > > > > httpd.conf -> > > > > Alias /scotch/ "${path}/rails_apps/scotch/public/" > > SCGIMount /scotch/dispatch.fcgi 127.0.0.1:9997 > > > > > > Options ExecCGI > > Options +FollowSymLinks > > Order allow,deny > > allow from all > > > > > > Then in the .htaccess file in the application's public directory -> > > > > AddHandler fastcgi-script .fcgi > > AddHandler cgi-script .cgi > > Options +FollowSymLinks +ExecCGI > > RewriteEngine On > > RewriteBase /scotch > > RewriteRule ^$ index.html [QSA] > > RewriteRule ^([^.]+)$ $1.html [QSA] > > RewriteCond %{REQUEST_FILENAME} !-f > > RewriteRule ^(.*)$ /scotch/dispatch.fcgi/$1 [QSA,L] > > ErrorDocument 500 "

Application error

Rails application failed to > > start properly" > > > > Then, when you're ready to run your application, start the SCGI server > > through the "instantrails->manage applications" control pannel. > > > > And it works great! > > > > I'll be posting this to the wiki soon. > > > > Bram > > > > On 6/7/06, David Morton < mortonda at dgrmm.net> wrote: > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > Axiom Dadak wrote: > > > > > > > Like I said, it works, but takes 2 mins to load each page. I think > > > it's > > > > not using SCGI, since I don't even need to have the SCGI server > > > running > > > > for it to work. > > > > > > yeah, that sounds exactly right; the rewrite isn't matching the new > > > urls. I'm a > > > bit busy to look into it more deeply, but if I remember right, there > > > is some > > > difficulty with getting the rewrite to work. > > > > > > > > > - -- > > > 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.2 (GNU/Linux) > > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > > > iD8DBQFEhx6LUy30ODPkzl0RAiTxAJoCazhSyvt0T16zmXwEWa2BEUAaugCfWdxe > > > LXTNX4uDVyqvWiK0TgPKp5w= > > > =ZIR5 > > > -----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 > > > > > > _______________________________________________ > 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/20060608/46ca047a/attachment-0001.htm From curt.hibbs at gmail.com Thu Jun 8 01:42:10 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Thu, 8 Jun 2006 00:42:10 -0500 Subject: [Instantrails-users] Apache Config Question In-Reply-To: <89d304320606072232v75cc0e34w7afdee333768d0a0@mail.gmail.com> References: <89d304320606061955y58befdd5w22a24265e9de80e2@mail.gmail.com> <44864FD1.8000404@dgrmm.net> <89d304320606071108h495647a9ocb527b4d75c32a37@mail.gmail.com> <44871E8B.1080305@dgrmm.net> <89d304320606071311i88c031ayb3c3bde535cf4aeb@mail.gmail.com> <31d15f490606071724l61e5500dhb710c8f18d043676@mail.gmail.com> <89d304320606072232v75cc0e34w7afdee333768d0a0@mail.gmail.com> Message-ID: <31d15f490606072242u2ab472cfqa198e88c4250a988@mail.gmail.com> THanks! On 6/8/06, Axiom Dadak wrote: > > Already done and there is a link to it from the FAQ. > > > On 6/7/06, Curt Hibbs wrote: > > > > Excellent! Can you add instructions for this on the Instant Raiks wiki? > > > > Thanks, > > Curt > > > > > > On 6/7/06, Axiom Dadak < axiomdadak at gmail.com> wrote: > > > > > > Ok, I solved it! > > > > > > It took a lot of playing around, but I've got it working now. > > > > > > This is how you setup a rails application in apache using aliases and > > > SCGI: > > > > > > (in this case, my application is called scotch and it usses port 9997) > > > > > > httpd.conf -> > > > > > > Alias /scotch/ "${path}/rails_apps/scotch/public/" > > > SCGIMount /scotch/dispatch.fcgi 127.0.0.1:9997 > > > > > > > > > Options ExecCGI > > > Options +FollowSymLinks > > > Order allow,deny > > > allow from all > > > > > > > > > Then in the .htaccess file in the application's public directory -> > > > > > > AddHandler fastcgi-script .fcgi > > > AddHandler cgi-script .cgi > > > Options +FollowSymLinks +ExecCGI > > > RewriteEngine On > > > RewriteBase /scotch > > > RewriteRule ^$ index.html [QSA] > > > RewriteRule ^([^.]+)$ $1.html [QSA] > > > RewriteCond %{REQUEST_FILENAME} !-f > > > RewriteRule ^(.*)$ /scotch/dispatch.fcgi/$1 [QSA,L] > > > ErrorDocument 500 "

Application error

Rails application failed > > > to start properly" > > > > > > Then, when you're ready to run your application, start the SCGI server > > > through the "instantrails->manage applications" control pannel. > > > > > > And it works great! > > > > > > I'll be posting this to the wiki soon. > > > > > > Bram > > > > > > On 6/7/06, David Morton < mortonda at dgrmm.net> wrote: > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > Axiom Dadak wrote: > > > > > > > > > Like I said, it works, but takes 2 mins to load each page. I > > > > think it's > > > > > not using SCGI, since I don't even need to have the SCGI server > > > > running > > > > > for it to work. > > > > > > > > yeah, that sounds exactly right; the rewrite isn't matching the new > > > > urls. I'm a > > > > bit busy to look into it more deeply, but if I remember right, there > > > > is some > > > > difficulty with getting the rewrite to work. > > > > > > > > > > > > - -- > > > > 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.2 (GNU/Linux) > > > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > > > > > iD8DBQFEhx6LUy30ODPkzl0RAiTxAJoCazhSyvt0T16zmXwEWa2BEUAaugCfWdxe > > > > LXTNX4uDVyqvWiK0TgPKp5w= > > > > =ZIR5 > > > > -----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 > > > > > > > > > > _______________________________________________ > > 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/20060608/9553da35/attachment.htm From Zanoni at goowy.com Thu Jun 8 21:21:53 2006 From: Zanoni at goowy.com (Mark Fellowes) Date: Fri, 09 Jun 2006 01:21:53 GMT Subject: [Instantrails-users] Question about plugins and gems Message-ID: <648f81ce16814de99cf73aec6f96d809@webserver001> ?I think this might be instant rails related so hopefully I'm asking in the right place. 1- First, I'm using Rad Rails but for file editing mostly. Still using IR for webrick, creating apps, etc. However in RadRails there is a tab that shows various plugins for ROR. Are those plugins already in the distribution or is it something particular to RadRails. examples: acts_as_dropdown Engines filters_column QueryTrace These are some of the plugins listed. 2- Using gem I installed something (that caught my eye on Ruby Forge) called ajax_grid_generator.gem So it said install completed, just not sure in what directory to find it. I looked around but didn't see anything resembling. TIA Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060609/1a06e3d4/attachment.htm From ian.connor at gmail.com Fri Jun 9 07:21:26 2006 From: ian.connor at gmail.com (Ian Connor) Date: Fri, 9 Jun 2006 21:21:26 +1000 Subject: [Instantrails-users] Instant Rails and your own applications In-Reply-To: <855e4dcf0606011728u21cc11e6od16d91a69f847f5e@mail.gmail.com> References: <31d15f490605270702w10584e1fic0d51e9923eac400@mail.gmail.com> <855e4dcf0606011728u21cc11e6od16d91a69f847f5e@mail.gmail.com> Message-ID: This does look interesting but I have a few other complications due to the application. It is a collaboration site that can host many projects, each project has its own hostname, so in the server world a wildcard domain entry does the trick. In our case *.pllite.com so that users can pick a project name project1.pllite.com, project2.pllite.com and so forth. However, when you run this locally, you can create a "localhost" project but then you run out without access to a dns domain pointing at you or editing your hosts file. I guess, I could script it when running locally to update the host file - just looking for the neatest solution. Regards, Ian Connor PS here is the project with SVN location as it has now been released to open source: http://ianconnor.blogspot.com/2006/06/projectlounge-lite-released-to-open.html On 6/2/06, Tim Uckun wrote: > > See http://www.erikveen.dds.nl/distributingrubyapplications/index.html > for some ideas on how you can distribute your ruby applications. > > On 5/28/06, Ian Connor wrote: > > Thanks - I am trying this! > > > > ... just looked too easy to be true. > > > > Ian > > > > > > On 5/27/06, Curt Hibbs wrote: > > > > > > > On 5/27/06, Ian Connor wrote: > > > > > > I was hoping for a one click install and people to not even know how > to > > use mysql or migrate type stuff. > > > > > > However, I am not sure coping the sources will be enough as I would > need > > to create a database. > > > > > > Having said that, this might be my ignorance on how these things work. > If > > I have all the sql in the migration directory, how can I make sure it is > run > > before the user starts? > > > > > > > You don't need to do this at all. > > > > You can set up your database and populate its tabes with data and then > zip > > up the Instant Rails directory tree. This is how the cookbook sample app > is > > delivered with Instant Rails (take a look at the cookbook database, > you'l > > see all the tables there with data). > > > > If you need to do more at installation time, then you'd have to create a > > true installer. You could take a look at NSIS, which is used by the > > One-Click Ruby Installer for Windows: > > > > http://nsis.sourceforge.net/Main_Page > > > > Curt > > > > _______________________________________________ > > > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > > > > > -- > > Regards, > > Ian Connor > > _______________________________________________ > > 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 > -- Regards, Ian Connor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060609/112b7430/attachment.htm From didier.vaiser+instantrails at gmail.com Fri Jun 9 08:17:37 2006 From: didier.vaiser+instantrails at gmail.com (Didier Vaiser) Date: Fri, 9 Jun 2006 14:17:37 +0200 Subject: [Instantrails-users] boot problem Message-ID: <1f670f0a0606090517u58dde691o3c44e1c19d2f8be7@mail.gmail.com> Hi, working on Win2000, i have to launch IR at startup. Or to be more acurate, i need to do what must be done for a user just having to launch a browser and connect (locally) to my railsapp. 1) I simply dropped a shortcut in the startup folder and hoped ... 'til the next restart. It miserably failed : "unexpected end of Apache". No other message. When a bit later i manually start Apache, all is going perfectly. I suspected a problem with the port and changed it but it didn't improve anything, it was worst ! Any idea ? 2) I read the FAQ (oh good boy i am ! ;-) ) and discovered the question : "How can I auto-start my Rails app when I reboot ?". Of course I jumped on it ... and no way ! No reaction at all. Just an "unable to connect" error in the browser. Sure I'm missing something but what ? Do I have to configure something else in order to use that solution ? Help help help Mayday ! Didier -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060609/4290b29c/attachment-0001.htm From wfroelich at dbsnow.com Fri Jun 9 10:02:08 2006 From: wfroelich at dbsnow.com (William (Bill) Froelich) Date: Fri, 9 Jun 2006 09:02:08 -0500 Subject: [Instantrails-users] boot problem Message-ID: Assuming you are using the most recent version of Instant Rails what I did is configure Mongrel to run as a service and automatically start and run my rails app every time I reboot my machine. That way I don't have to login for the rails app to already start and I can then access it from not only my local machine but also the other machines on my network. I am running on WinXP Pro but this should also work fine for Win2k. See http://mongrel.rubyforge.org/docs/win32.html for help on how to do this. Note the example is setup to run your app in production mode on port 4000. You may want to remove the -e production parameter if you are working in development mode. Hope this helps! --Bill ________________________________ From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of Didier Vaiser Sent: Friday, June 09, 2006 7:18 AM To: instantrails-users at rubyforge.org Subject: [Instantrails-users] boot problem Hi, working on Win2000, i have to launch IR at startup. Or to be more acurate, i need to do what must be done for a user just having to launch a browser and connect (locally) to my railsapp. 1) I simply dropped a shortcut in the startup folder and hoped ... 'til the next restart. It miserably failed : "unexpected end of Apache". No other message. When a bit later i manually start Apache, all is going perfectly. I suspected a problem with the port and changed it but it didn't improve anything, it was worst ! Any idea ? 2) I read the FAQ (oh good boy i am ! ;-) ) and discovered the question : "How can I auto-start my Rails app when I reboot ?". Of course I jumped on it ... and no way ! No reaction at all. Just an "unable to connect" error in the browser. Sure I'm missing something but what ? Do I have to configure something else in order to use that solution ? Help help help Mayday ! Didier -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060609/25257095/attachment.htm From curt.hibbs at gmail.com Fri Jun 9 10:47:49 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Fri, 9 Jun 2006 09:47:49 -0500 Subject: [Instantrails-users] boot problem In-Reply-To: References: Message-ID: <31d15f490606090747g1b84f054t7f4fbc7b927877cc@mail.gmail.com> Yes, Mongrel is a good solution to autostarting your Rails app, and if you just want to serve up the app with MOngrel, then that's all you need to do. But if Didier wants to run through Apache, he still has the problem ofApaching failing to start. Look at your apache log files and see if there is anything in there that would tell you why its failing. Curt On 6/9/06, William (Bill) Froelich wrote: > > Assuming you are using the most recent version of Instant Rails what I > did is configure Mongrel to run as a service and automatically start and run > my rails app every time I reboot my machine. That way I don't have to login > for the rails app to already start and I can then access it from not only my > local machine but also the other machines on my network. > > I am running on WinXP Pro but this should also work fine for Win2k. See > http://mongrel.rubyforge.org/docs/win32.html for help on how to do this. > > Note the example is setup to run your app in production mode on port > 4000. You may want to remove the -e production parameter if you are working > in development mode. > > Hope this helps! > > --Bill > > ------------------------------ > *From:* instantrails-users-bounces at rubyforge.org [mailto: > instantrails-users-bounces at rubyforge.org] *On Behalf Of *Didier Vaiser > *Sent:* Friday, June 09, 2006 7:18 AM > *To:* instantrails-users at rubyforge.org > *Subject:* [Instantrails-users] boot problem > > Hi, > > working on Win2000, i have to launch IR at startup. Or to be more acurate, > i need to do what must be done for a user just having to launch a browser > and connect (locally) to my railsapp. > > 1) I simply dropped a shortcut in the startup folder and hoped ... 'til > the next restart. > > It miserably failed : "unexpected end of Apache". No other message. > When a bit later i manually start Apache, all is going perfectly. > I suspected a problem with the port and changed it but it didn't improve > anything, it was worst ! > > Any idea ? > > 2) I read the FAQ (oh good boy i am ! ;-) ) > and discovered the question : "How can I auto-start my Rails app when I > reboot ?". > Of course I jumped on it ... and no way ! No reaction at all. Just an > "unable to connect" error in the browser. > Sure I'm missing something but what ? Do I have to configure something > else in order to use that solution ? > > > Help help help Mayday ! > > Didier > > _______________________________________________ > 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/20060609/763a4025/attachment.htm From mortonda at dgrmm.net Fri Jun 9 12:30:44 2006 From: mortonda at dgrmm.net (David Morton) Date: Fri, 09 Jun 2006 11:30:44 -0500 Subject: [Instantrails-users] Question about plugins and gems In-Reply-To: <648f81ce16814de99cf73aec6f96d809@webserver001> References: <648f81ce16814de99cf73aec6f96d809@webserver001> Message-ID: <4489A234.8070902@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark Fellowes wrote: > I think this might be instant rails related so hopefully I'm asking in > the right place. > > > 1- First, I'm using Rad Rails but for file editing mostly. Still using > IR for webrick, creating apps, etc. However in RadRails there is a tab > that shows various plugins for ROR. Are those plugins already in the > distribution or is it something particular to RadRails. Radrails uses the scripts included with the rails installation, in this case, instantrails, so they are interchangeable. I think the plugins listed are ones that are available via the standard plugin script. > 2- Using gem I installed something (that caught my eye on Ruby Forge) called > > ajax_grid_generator.gem > > > So it said install completed, just not sure in what directory to find > it. I looked around but didn't see anything resembling. Gems are stored in something like ruby/lib/ruby/gems.... but that doesn't matter, just follow the instructions to use them. - -- 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.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEiaI0Uy30ODPkzl0RAgAOAKDCwGwuaqoLxLlKChhZUCqbLisO/ACaAgg6 bGaQMnWSH/anzfRGdBHk2/0= =aCSE -----END PGP SIGNATURE----- From Zanoni at goowy.com Fri Jun 9 13:40:12 2006 From: Zanoni at goowy.com (Mark Fellowes) Date: Fri, 09 Jun 2006 17:40:12 GMT Subject: [Instantrails-users] =?utf-8?q?Question_about_plugins_and_gems?= Message-ID: <80eba2b0da4c46d28cff660109a4fb8e@webserver001> ? David, Thank you for your help. That clears up those questions for me. Now my problem is not being able to get script/console to run. I might have some environment issues. Stuart -----Original Message----- From: mortonda at dgrmm.net Sent: Friday, June 9, 2006 4:30 PM -07:00 To: Mark Fellowes [Zanoni at goowy.com];instantrails-users at rubyforge.org Subject: [Instantrails-users] Question about plugins and gems -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark Fellowes wrote: > I think this might be instant rails related so hopefully I'm asking in > the right place. > > > 1- First, I'm using Rad Rails but for file editing mostly. Still using > IR for webrick, creating apps, etc. However in RadRails there is a tab > that shows various plugins for ROR. Are those plugins already in the > distribution or is it something particular to RadRails. Radrails uses the scripts included with the rails installation, in this case, instantrails, so they are interchangeable. I think the plugins listed are ones that are available via the standard plugin script. > 2- Using gem I installed something (that caught my eye on Ruby Forge) called > > ajax_grid_generator.gem > > > So it said install completed, just not sure in what directory to find > it. I looked around but didn't see anything resembling. Gems are stored in something like ruby/lib/ruby/gems.... but that doesn't matter, just follow the instructions to use them. - -- 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.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEiaI0Uy30ODPkzl0RAgAOAKDCwGwuaqoLxLlKChhZUCqbLisO/ACaAgg6 bGaQMnWSH/anzfRGdBHk2/0= =aCSE -----END PGP SIGNATURE----- _______________________________________________ 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/20060609/7066ce72/attachment-0001.htm From Zanoni at goowy.com Fri Jun 9 14:55:11 2006 From: Zanoni at goowy.com (Mark Fellowes) Date: Fri, 09 Jun 2006 18:55:11 GMT Subject: [Instantrails-users] =?utf-8?q?Question_about_plugins_and_gems?= Message-ID: <89a67d769c564331a445f4bc687a9403@webserver001> ? Wish I could take it all back. Yeah right after I post this I remember the run console command in IR. So sorry. mark -----Original Message----- From: Zanoni at goowy.com Sent: Friday, June 9, 2006 5:40 PM -07:00 To: instantrails-users at rubyforge.org Subject: [Instantrails-users] Question about plugins and gems David, Thank you for your help. That clears up those questions for me. Now my problem is not being able to get script/console to run. I might have some environment issues. Stuart -----Original Message----- From: mortonda at dgrmm.net Sent: Friday, June 9, 2006 4:30 PM -07:00 To: Mark Fellowes [Zanoni at goowy.com];instantrails-users at rubyforge.org Subject: [Instantrails-users] Question about plugins and gems -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark Fellowes wrote: > I think this might be instant rails related so hopefully I'm asking in > the right place. > > > 1- First, I'm using Rad Rails but for file editing mostly. Still using > IR for webrick, creating apps, etc. However in RadRails there is a tab > that shows various plugins for ROR. Are those plugins already in the > distribution or is it something particular to RadRails. Radrails uses the scripts included with the rails installation, in this case, instantrails, so they are interchangeable. I think the plugins listed are ones that are available via the standard plugin script. > 2- Using gem I installed something (that caught my eye on Ruby Forge) called > > ajax_grid_generator.gem > > > So it said install completed, just not sure in what directory to find > it. I looked around but didn't see anything resembling. Gems are stored in something like ruby/lib/ruby/gems.... but that doesn't matter, just follow the instructions to use them. - -- 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.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEiaI0Uy30ODPkzl0RAgAOAKDCwGwuaqoLxLlKChhZUCqbLisO/ACaAgg6 bGaQMnWSH/anzfRGdBHk2/0= =aCSE -----END PGP SIGNATURE----- _______________________________________________ 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/20060609/29d55d71/attachment.htm From curt.hibbs at gmail.com Fri Jun 9 16:14:30 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Fri, 9 Jun 2006 15:14:30 -0500 Subject: [Instantrails-users] Question about plugins and gems In-Reply-To: <89a67d769c564331a445f4bc687a9403@webserver001> References: <89a67d769c564331a445f4bc687a9403@webserver001> Message-ID: <31d15f490606091314y28b8cdao2b0d90bbd37bf52e@mail.gmail.com> If you want to be able to just open up console windows on your own, all you need to do is to put IR's ruby\bin directory on the system path. Curt On 6/9/06, Mark Fellowes wrote: > > > Wish I could take it all back. Yeah right after I post this I remember the > run console command in IR. > > So sorry. > > > mark > > > -----Original Message----- > > From: Zanoni at goowy.com > > Sent: Friday, June 9, 2006 5:40 PM -07:00 > > To: instantrails-users at rubyforge.org > > Subject: [Instantrails-users] Question about plugins and gems > > > > David, > > > Thank you for your help. That clears up those questions for me. > > Now my problem is not being able to get script/console to run. > > I might have some environment issues. > > > Stuart > > > > -----Original Message----- > > From: mortonda at dgrmm.net > > Sent: Friday, June 9, 2006 4:30 PM -07:00 > > To: Mark Fellowes [Zanoni at goowy.com];instantrails-users at rubyforge.org > > Subject: [Instantrails-users] Question about plugins and gems > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > Mark Fellowes wrote: > > > I think this might be instant rails related so hopefully I'm asking in > > > the right place. > > > > > > > > > 1- First, I'm using Rad Rails but for file editing mostly. Still using > > > IR for webrick, creating apps, etc. However in RadRails there is a tab > > > that shows various plugins for ROR. Are those plugins already in the > > > distribution or is it something particular to RadRails. > > > Radrails uses the scripts included with the rails installation, in this > case, > > instantrails, so they are interchangeable. I think the plugins listed are > ones > > that are available via the standard plugin script. > > > > 2- Using gem I installed something (that caught my eye on Ruby Forge) > called > > > > > > ajax_grid_generator.gem > > > > > > > > > So it said install completed, just not sure in what directory to find > > > it. I looked around but didn't see anything resembling. > > > Gems are stored in something like ruby/lib/ruby/gems.... but that doesn't > > matter, just follow the instructions to use them. > > > - -- > > 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.2 (GNU/Linux) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > iD8DBQFEiaI0Uy30ODPkzl0RAgAOAKDCwGwuaqoLxLlKChhZUCqbLisO/ACaAgg6 > > bGaQMnWSH/anzfRGdBHk2/0= > > =aCSE > > -----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/20060609/6d76ef97/attachment-0001.htm From ian.connor at gmail.com Sun Jun 11 23:14:33 2006 From: ian.connor at gmail.com (Ian Connor) Date: Mon, 12 Jun 2006 13:14:33 +1000 Subject: [Instantrails-users] Instant Rails and your own applications In-Reply-To: References: <31d15f490605270702w10584e1fic0d51e9923eac400@mail.gmail.com> <855e4dcf0606011728u21cc11e6od16d91a69f847f5e@mail.gmail.com> Message-ID: Here is the download link for the Instant Rails version of ProjectLounge Lite. http://blog.projectlounge.com/2006/06/instant-rails-projectlounge-lite.html It is available via torrent or direct download. If people would seed this, it would be nice. Also, as this is our first use of Instant Rails for this, any suggestions and feedback is very welcome. Regards, Ian Connor ProjectLounge.com Inc On 6/9/06, Ian Connor wrote: > > This does look interesting but I have a few other complications due to the > application. > > It is a collaboration site that can host many projects, each project has > its own hostname, so in the server world a wildcard domain entry does the > trick. > > In our case *.pllite.com so that users can pick a project name > project1.pllite.com, project2.pllite.com and so forth. > > However, when you run this locally, you can create a "localhost" project > but then you run out without access to a dns domain pointing at you or > editing your hosts file. > > I guess, I could script it when running locally to update the host file - > just looking for the neatest solution. > > Regards, > Ian Connor > > PS here is the project with SVN location as it has now been released to > open source: > > http://ianconnor.blogspot.com/2006/06/projectlounge-lite-released-to-open.html > > > On 6/2/06, Tim Uckun wrote: > > > > See http://www.erikveen.dds.nl/distributingrubyapplications/index.html > > for some ideas on how you can distribute your ruby applications. > > > > On 5/28/06, Ian Connor wrote: > > > Thanks - I am trying this! > > > > > > ... just looked too easy to be true. > > > > > > Ian > > > > > > > > > On 5/27/06, Curt Hibbs wrote: > > > > > > > > > > On 5/27/06, Ian Connor wrote: > > > > > > > > I was hoping for a one click install and people to not even know how > > to > > > use mysql or migrate type stuff. > > > > > > > > However, I am not sure coping the sources will be enough as I would > > need > > > to create a database. > > > > > > > > Having said that, this might be my ignorance on how these things > > work. If > > > I have all the sql in the migration directory, how can I make sure it > > is run > > > before the user starts? > > > > > > > > > > You don't need to do this at all. > > > > > > You can set up your database and populate its tabes with data and then > > zip > > > up the Instant Rails directory tree. This is how the cookbook sample > > app is > > > delivered with Instant Rails (take a look at the cookbook database, > > you'l > > > see all the tables there with data). > > > > > > If you need to do more at installation time, then you'd have to create > > a > > > true installer. You could take a look at NSIS, which is used by the > > > One-Click Ruby Installer for Windows: > > > > > > http://nsis.sourceforge.net/Main_Page > > > > > > Curt > > > > > > _______________________________________________ > > > > > > Instantrails-users mailing list > > > Instantrails-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > > > > > > > > > > -- > > > Regards, > > > Ian Connor > > > _______________________________________________ > > > 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 > > > > > > -- > Regards, > Ian Connor > -- Regards, Ian Connor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060612/14bcdcd2/attachment.htm From Zanoni at goowy.com Mon Jun 12 09:42:36 2006 From: Zanoni at goowy.com (Mark Fellowes) Date: Mon, 12 Jun 2006 13:42:36 GMT Subject: [Instantrails-users] =?utf-8?q?Instant_Rails_and_your_own_applica?= =?utf-8?q?tions?= Message-ID: ?I like your form css at http://www.pllite.com/projects/new Nice stuff! Stuart -----Original Message----- From: ian.connor at gmail.com Sent: Monday, June 12, 2006 3:14 AM -07:00 To: instantrails-users at rubyforge.org Subject: [Instantrails-users] Instant Rails and your own applications Here is the download link for the Instant Rails version of ProjectLounge Lite. http://blog.projectlounge.com/2006/06/instant-rails-projectlounge-lite.html It is available via torrent or direct download. If people would seed this, it would be nice. Also, as this is our first use of Instant Rails for this, any suggestions and feedback is very welcome. Regards, Ian Connor ProjectLounge.com Inc On 6/9/06, Ian Connor wrote: > > This does look interesting but I have a few other complications due to the > application. > > It is a collaboration site that can host many projects, each project has > its own hostname, so in the server world a wildcard domain entry does the > trick. > > In our case *.pllite.com so that users can pick a project name > project1.pllite.com, project2.pllite.com and so forth. > > However, when you run this locally, you can create a "localhost" project > but then you run out without access to a dns domain pointing at you or > editing your hosts file. > > I guess, I could script it when running locally to update the host file - > just looking for the neatest solution. > > Regards, > Ian Connor > > PS here is the project with SVN location as it has now been released to > open source: > > http://ianconnor.blogspot.com/2006/06/projectlounge-lite-released-to-open.html > > > On 6/2/06, Tim Uckun wrote: > > > > See http://www.erikveen.dds.nl/distributingrubyapplications/index.html > > for some ideas on how you can distribute your ruby applications. > > > > On 5/28/06, Ian Connor wrote: > > > Thanks - I am trying this! > > > > > > ... just looked too easy to be true. > > > > > > Ian > > > > > > > > > On 5/27/06, Curt Hibbs wrote: > > > > > > > > > > On 5/27/06, Ian Connor wrote: > > > > > > > > I was hoping for a one click install and people to not even know how > > to > > > use mysql or migrate type stuff. > > > > > > > > However, I am not sure coping the sources will be enough as I would > > need > > > to create a database. > > > > > > > > Having said that, this might be my ignorance on how these things > > work. If > > > I have all the sql in the migration directory, how can I make sure it > > is run > > > before the user starts? > > > > > > > > > > You don't need to do this at all. > > > > > > You can set up your database and populate its tabes with data and then > > zip > > > up the Instant Rails directory tree. This is how the cookbook sample > > app is > > > delivered with Instant Rails (take a look at the cookbook database, > > you'l > > > see all the tables there with data). > > > > > > If you need to do more at installation time, then you'd have to create > > a > > > true installer. You could take a look at NSIS, which is used by the > > > One-Click Ruby Installer for Windows: > > > > > > http://nsis.sourceforge.net/Main_Page > > > > > > Curt > > > > > > _______________________________________________ > > > > > > Instantrails-users mailing list > > > Instantrails-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > > > > > > > > > > -- > > > Regards, > > > Ian Connor > > > _______________________________________________ > > > 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 > > > > > > -- > Regards, > Ian Connor > -- Regards, Ian Connor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060612/5a4ead2e/attachment-0001.htm From ian.connor at gmail.com Tue Jun 13 00:50:49 2006 From: ian.connor at gmail.com (Ian Connor) Date: Tue, 13 Jun 2006 14:50:49 +1000 Subject: [Instantrails-users] Instant Rails and your own applications In-Reply-To: References: Message-ID: Thanks, we take the whole MVC design pattern very seriously. To me, clean HTML and good use of CSS is very important. I regret we had to use tables for some of the site but they do have their place still. It also should make it easy to theme as the logos are all in CSS. ...thanks for your comments! Regards, Ian Connor On 6/12/06, Mark Fellowes wrote: > > I like your form css at > > http://www.pllite.com/projects/new > > Nice stuff! > > > Stuart > > > > -----Original Message----- > > From: ian.connor at gmail.com > > Sent: Monday, June 12, 2006 3:14 AM -07:00 > > To: instantrails-users at rubyforge.org > > Subject: [Instantrails-users] Instant Rails and your own applications > > > Here is the download link for the Instant Rails version of ProjectLounge > > Lite. > > > > http://blog.projectlounge.com/2006/06/instant-rails-projectlounge-lite.html > > > It is available via torrent or direct download. If people would seed this, > > it would be nice. Also, as this is our first use of Instant Rails for > this, > > any suggestions and feedback is very welcome. > > > Regards, > > Ian Connor > > ProjectLounge.com Inc > > > On 6/9/06, Ian Connor wrote: > > > > > > This does look interesting but I have a few other complications due to > the > > > application. > > > > > > It is a collaboration site that can host many projects, each project has > > > its own hostname, so in the server world a wildcard domain entry does > the > > > trick. > > > > > > In our case *.pllite.com so that users can pick a project name > > > project1.pllite.com, project2.pllite.com and so forth. > > > > > > However, when you run this locally, you can create a "localhost" project > > > but then you run out without access to a dns domain pointing at you or > > > editing your hosts file. > > > > > > I guess, I could script it when running locally to update the host file > - > > > just looking for the neatest solution. > > > > > > Regards, > > > Ian Connor > > > > > > PS here is the project with SVN location as it has now been released to > > > open source: > > > > > > > http://ianconnor.blogspot.com/2006/06/projectlounge-lite-released-to-open.html > > > > > > > > > On 6/2/06, Tim Uckun wrote: > > > > > > > > See http://www.erikveen.dds.nl/distributingrubyapplications/index.html > > > > for some ideas on how you can distribute your ruby applications. > > > > > > > > On 5/28/06, Ian Connor wrote: > > > > > Thanks - I am trying this! > > > > > > > > > > ... just looked too easy to be true. > > > > > > > > > > Ian > > > > > > > > > > > > > > > On 5/27/06, Curt Hibbs wrote: > > > > > > > > > > > > > > > > On 5/27/06, Ian Connor wrote: > > > > > > > > > > > > I was hoping for a one click install and people to not even know > how > > > > to > > > > > use mysql or migrate type stuff. > > > > > > > > > > > > However, I am not sure coping the sources will be enough as I > would > > > > need > > > > > to create a database. > > > > > > > > > > > > Having said that, this might be my ignorance on how these things > > > > work. If > > > > > I have all the sql in the migration directory, how can I make sure > it > > > > is run > > > > > before the user starts? > > > > > > > > > > > > > > > > You don't need to do this at all. > > > > > > > > > > You can set up your database and populate its tabes with data and > then > > > > zip > > > > > up the Instant Rails directory tree. This is how the cookbook sample > > > > app is > > > > > delivered with Instant Rails (take a look at the cookbook database, > > > > you'l > > > > > see all the tables there with data). > > > > > > > > > > If you need to do more at installation time, then you'd have to > create > > > > a > > > > > true installer. You could take a look at NSIS, which is used by the > > > > > One-Click Ruby Installer for Windows: > > > > > > > > > > http://nsis.sourceforge.net/Main_Page > > > > > > > > > > Curt > > > > > > > > > > _______________________________________________ > > > > > > > > > > Instantrails-users mailing list > > > > > Instantrails-users at rubyforge.org > > > > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Regards, > > > > > Ian Connor > > > > > _______________________________________________ > > > > > 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 > > > > > > > > > > > > > > > > -- > > > Regards, > > > Ian Connor > > > > > > > > -- > > Regards, > > Ian Connor > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > -- Regards, Ian Connor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060613/244dd70e/attachment-0001.htm From satish.talim at gmail.com Mon Jun 12 21:15:58 2006 From: satish.talim at gmail.com (Satish Talim) Date: 12 Jun 2006 20:15:58 -0500 Subject: [Instantrails-users] Hi Message-ID: <20060613011558.28745.qmail@palprofit.com> Hello, I never send out these things, but I thought you may want to see this website. Here, you can earn money while you make new friends. It's different. View it at http://www.palprofit.com/?49338 Cheers, Satish Talim satish.talim at gmail.com --------------------------------------------------- UNSUBSCRIBE If you don't want to recieve any further invitations for PalProfit.com Go to http://www.palprofit.com/unsubscribe.php?em=instantrails-users at rubyforge.org From walkerwebdata at gmail.com Thu Jun 15 15:05:49 2006 From: walkerwebdata at gmail.com (Walker Web Data) Date: Thu, 15 Jun 2006 20:05:49 +0100 Subject: [Instantrails-users] User email on display Message-ID: <623c5bf90606151205u5cf4463as895c8cf2a6fc31f1@mail.gmail.com> I just found this: http://rubyforge.org/pipermail/instantrails-users/2006-January/000250.html Is it possible NOT to display our email addresses on the web? Thanx. J -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060615/4b7e59ad/attachment.htm From curt.hibbs at gmail.com Thu Jun 15 15:51:25 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Thu, 15 Jun 2006 14:51:25 -0500 Subject: [Instantrails-users] User email on display In-Reply-To: <623c5bf90606151205u5cf4463as895c8cf2a6fc31f1@mail.gmail.com> References: <623c5bf90606151205u5cf4463as895c8cf2a6fc31f1@mail.gmail.com> Message-ID: <31d15f490606151251g754659c0o5fac27aae429b826@mail.gmail.com> Huh? What does the MySQL socket parameter have to do with dsiplaying email addresses? On 6/15/06, Walker Web Data wrote: > > I just found this: > > http://rubyforge.org/pipermail/instantrails-users/2006-January/000250.html > > Is it possible NOT to display our email addresses on the web? > > Thanx. > > J > > > > _______________________________________________ > 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/20060615/da14e3d2/attachment.htm From walkerwebdata at gmail.com Thu Jun 15 15:55:59 2006 From: walkerwebdata at gmail.com (Walker Web Data) Date: Thu, 15 Jun 2006 20:55:59 +0100 Subject: [Instantrails-users] User email on display In-Reply-To: <31d15f490606151251g754659c0o5fac27aae429b826@mail.gmail.com> References: <623c5bf90606151205u5cf4463as895c8cf2a6fc31f1@mail.gmail.com> <31d15f490606151251g754659c0o5fac27aae429b826@mail.gmail.com> Message-ID: <623c5bf90606151255w65c75a7bif0eea35d5f6d81dd@mail.gmail.com> I was surprised to see that my email address was on display on the web for any email harvester to dig up. I thought this was a "private" list. J -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060615/871fe64c/attachment.htm From mortonda at dgrmm.net Thu Jun 15 16:06:39 2006 From: mortonda at dgrmm.net (David Morton) Date: Thu, 15 Jun 2006 15:06:39 -0500 Subject: [Instantrails-users] User email on display In-Reply-To: <623c5bf90606151255w65c75a7bif0eea35d5f6d81dd@mail.gmail.com> References: <623c5bf90606151205u5cf4463as895c8cf2a6fc31f1@mail.gmail.com> <31d15f490606151251g754659c0o5fac27aae429b826@mail.gmail.com> <623c5bf90606151255w65c75a7bif0eea35d5f6d81dd@mail.gmail.com> Message-ID: <4491BDCF.8040701@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Walker Web Data wrote: > I was surprised to see that my email address was on display on the web > for any email harvester to dig up. > > I thought this was a "private" list. "This is a private list, which means that the list of members is not available to non-members." OTOH, as soon as you send email out, the return address is public, at least in some form or another. You are at the mercy of everyone who receives the message, since a virus or malware can scan the inbox of anyone who has received your message. The address appear at least somewhat munged, although it certainly would be nice if the archive software could do more munging. - -- 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.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEkb3PUy30ODPkzl0RApJVAKCpqznL3VQRfekQffVTcmy2lLwnmQCdFCql DJ6Mdtalc7HNsfEesIL+ErI= =Nggd -----END PGP SIGNATURE----- From curt.hibbs at gmail.com Thu Jun 15 16:07:56 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Thu, 15 Jun 2006 15:07:56 -0500 Subject: [Instantrails-users] User email on display In-Reply-To: <623c5bf90606151255w65c75a7bif0eea35d5f6d81dd@mail.gmail.com> References: <623c5bf90606151205u5cf4463as895c8cf2a6fc31f1@mail.gmail.com> <31d15f490606151251g754659c0o5fac27aae429b826@mail.gmail.com> <623c5bf90606151255w65c75a7bif0eea35d5f6d81dd@mail.gmail.com> Message-ID: <31d15f490606151307j2ec9b6d0y39e4aa234f0fdfd9@mail.gmail.com> On 6/15/06, Walker Web Data wrote: > > I was surprised to see that my email address was on display on the web for > any email harvester to dig up. > > I thought this was a "private" list. > > J > These are all Mailman based mailing lists (all of the ones hosted on RubyForge). And its the same for teh Rails ML and the ruby-talk ML. As far as I know there hasn't been a problem, and the ruby-talk ML has been around for at least 8 years. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060615/7f26ee7b/attachment.htm From curt.hibbs at gmail.com Mon Jun 19 23:09:04 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Mon, 19 Jun 2006 22:09:04 -0500 Subject: [Instantrails-users] a minor problem - NOT with Instant Rails In-Reply-To: <48590bf80606191940v7b50e0c5yc92be3a619faba66@mail.gmail.com> References: <48590bf80606191940v7b50e0c5yc92be3a619faba66@mail.gmail.com> Message-ID: <31d15f490606192009k54f5ebf9yd15fe0ad8a73c292@mail.gmail.com> I cc'd this to the Instant Rails users mailing list in case someone else has experienced this. I don't know, specifically, what's going on here. Usually when stuff like this happens to me its IE that doesn't work. I'd suggest installing the Firebug extenstion to Firefox -- one of the best available tools for debugging AJAX stuff. With Firebug you can get a trace of all you XmlHttpRequests and the responses from the server. It does a lot more, but that alone may help tell you what's going on. Curt On 6/19/06, G-man wrote: > > Hi Curt, > > Thanks for being so kind and taking the time to respond to my little > questions on programming! > > Of course, I really enjoy the nice package you have put together with > Instant Rails ... the control panel is clean and easy, and the addition of > Phpmyadmin makes it so easy to just hop in and hack away at the database > during testing ... > > My problem is this: > > - I've been developing a little app to help me record the jobsite > events in my construction inspection job - perfect for a database. > - I had v2.5 up and running, and I just released v3.0 to production > after working for about 2 weeks on a complete refactoring, which now allows > HABTM and AJAX for update requests. > - All works well in RadRails, but when I fired it up on the jobsite > in Firefox this morning, it seems ONLY the AJAX requests were not going out. > The regular database requests were working just fine, but anything AJAX > prompted a bunch of "no method" errors due to nil objects. > - I was running Mongrel, but then I switched to Webrick, and the > same thing happened. > - I tried IE, and it worked perfectly ... it seems RadRails also > uses the IE browser engine, so there you go. > > My question is: Do you think there's some kind of setting with Firefox > that would block AJAX requests from going out? Maybe related to a pop-up > blocker or something? > > Keep up the good work, > > G > > -- > Good Fortune, > Gregor Jovanovich 714 651 9969 ... > Father to some, Friend to all > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060619/5da3728c/attachment.htm From bspolarich at picometrix.com Mon Jun 26 23:37:41 2006 From: bspolarich at picometrix.com (Spolarich, Brian) Date: Mon, 26 Jun 2006 23:37:41 -0400 Subject: [Instantrails-users] InstantRails Installation Woes Message-ID: <5BEC6D6C9951AC4E85C645DAE68000C9983856@athena.aa.picometrix.com> [Crossposted from the 'rails' list as well, but I'd prefer to get InstantRails working if possible. -bws] I have a fairly new (read, reasonably "clean") XP SP2 system that I'm attempting to use as a Rails dev environment. I've tried it two ways, 1) with InstantRails and 2) with the Rails package and doing the install by hand. Both result in a weird set of 'hangs', so I suspect something fundamental is at work here. Basically I can start Ruby apps, but they just seem to sit there and do nothing. Windows Firewall is of course installed, but it is disabled. With the InstantRails route I can start the InstantRails manager utility, and it starts Apache and MySQL. If I follow the instructions I can connect to my applications (they supply two samples), but nothing happens after the redirect. If I launch WEBrick from the InstantRails manager WEBrick starts in a console window, but when I attempt to connect to localhost:3000 I get no output. If I telnet to 'localhost 3000' and send 'HEAD / HTTP/1.0\n\n' I get nothing as well. Ruby is executing (I see the process) but is waiting for something. So I try downloading Ruby, installing it and Gem. Both install cleanly. When I attempt 'gem install rails', I see this: Attempting local installation of 'rails' Local gem file not found: rails*.gem Attempting remote installation of 'rails' Updating Gem source index for: http://gems.rubyforge.org The ruby process sits and does nothing for a long time, and it ignores Control-C signals. It seems to be connecting to something though: ruby.exe:5640 TCP foo.mycompany.com:1505 unknown18.109.234.205.defenderhosting.com:http ESTABLISHED Something on my system seems to be making Ruby sick in general. My other laptop works just fine, so I know the sources I'm using are working. I want to use Ruby on THIS machine though. :-) On the working system everything works ('gem install rails', etc.). On the nonworking system nothing seems to work. Ideas? -brian -- Brian W. Spolarich ~ Manager, Information Services Advanced Photonix / Picometrix ~ 734-864-5618 bspolarich at picometrix.com From bill.walton at charter.net Tue Jun 27 08:18:48 2006 From: bill.walton at charter.net (Bill Walton) Date: Tue, 27 Jun 2006 07:18:48 -0500 Subject: [Instantrails-users] InstantRails Installation Woes References: <5BEC6D6C9951AC4E85C645DAE68000C9983856@athena.aa.picometrix.com> Message-ID: <030301c699e3$d8a51040$6401a8c0@Presario> Spolarich, Brian wrote: >I can connect to my applications (they supply > two samples), but nothing happens after the > redirect. If I launch WEBrick from the InstantRails > manager WEBrick starts in a console window, > but when I attempt to connect to localhost:3000 > I get no output. Just want to make sure I understand what you're saying here, especially by 'I can connect' and 'after the redirect'... When you launch a browser and point it to http://localhost:3000 what exactly happens? Does the same thing happen with http://127.0.0.1:3000 ? > Something on my system seems to be making > Ruby sick in general. My other laptop works > just fine, Again, just to make sure I've got the picture, have you sat the two side-by-side, compared the process lists on the two, seen that they're exactly the same, but are getting different results? If so, then one/more of the processes must be configured differently from the other. One tool for checking this out is netstat. Run it from a command window with >netstat -h to get a list of the options. Not much help, I know, but it's a start ;-) Best regards, Bill From curt.hibbs at gmail.com Tue Jun 27 23:36:04 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Tue, 27 Jun 2006 22:36:04 -0500 Subject: [Instantrails-users] MySQL-Front question In-Reply-To: References: <31d15f490606121145t6d85fb9eu1d6d8f5e2020ae72@mail.gmail.com> Message-ID: <31d15f490606272036g6bb754k6e1b5e8ce3916c20@mail.gmail.com> Instant Rails will automatically start up MySQL (and Apache) when it starts (unless you configure it not to do so). If you want IR to start automatically, you can place a short curt to InstantRails.exe in your startup folder. Curt PS These are the kind of questions that it would be best to post to the Instant Rails Users mailing list. That way you can still get you questions answer even if I'm not available. On 6/27/06, Orozco, Ricardo wrote: > > Hello Mr. Hibbs, > > > > I installed ruby on rails a few days ago. I came to a problem when I > tried running MySQL-Front on MySQL server. *I can't seem to be able to > start it from the command window*, instead I have to go in manually and > start it using the IntantRails.exe program (I personally don't like doing > it manually so I want to know how to do it from the command window). When I > try to start it from the command window, everything seems normal except that > when I run MySQL-Front, to create a database, I get the error "Cannot > connect to MySQL server on 'localhost'". I hope you can advise me what to > do. > > > > Thank you so much for your time, > > > > > > Ricardo Orozco > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060627/ff8ecd1e/attachment.html From bill.walton at charter.net Wed Jun 28 16:11:13 2006 From: bill.walton at charter.net (Bill Walton) Date: Wed, 28 Jun 2006 15:11:13 -0500 Subject: [Instantrails-users] Assistance needed Message-ID: <069901c69aef$01eb7ff0$6401a8c0@Presario> Greetings! I've been having a problem using observe_field, have been beating my head against the proverbial wall for three days now and need some help figuring out the source. It's possible the problem's my code, but I've done everything possible to rule that out. It's also possible that somehow something in my IR 1.3 config has gotten messed up. And lastly, I suppose it's possible the problem is with the IR 1.3 distro. I've got the app down to six files including the layout and stylesheet. Would anybody be willing to try it out real quick and see if the problem shows up on their system? The error message Firebug is throwing is 'Form.Element.Serializers[method] is not a function' TIA, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060628/840603dc/attachment.html From bill.walton at charter.net Wed Jun 28 16:32:50 2006 From: bill.walton at charter.net (Bill Walton) Date: Wed, 28 Jun 2006 15:32:50 -0500 Subject: [Instantrails-users] RESOLVED - Assistance needed References: <069901c69aef$01eb7ff0$6401a8c0@Presario> Message-ID: <06c901c69af2$06efcda0$6401a8c0@Presario> The problem was that the checkbox_tag field that observe_field was observing had the same name as the surrounding
. I have no idea why prototype would get confused about that, but changing the name of the check_box_tag fixed the problem. Three days of head banging ;-( Anybody else think this should be written up as a bug? Thanks, Bill ----- Original Message ----- From: Bill Walton To: Instant Rails DEV ; instantrails-users at rubyforge.org Sent: Wednesday, June 28, 2006 3:11 PM Subject: [Instantrails-users] Assistance needed Greetings! I've been having a problem using observe_field, have been beating my head against the proverbial wall for three days now and need some help figuring out the source. It's possible the problem's my code, but I've done everything possible to rule that out. It's also possible that somehow something in my IR 1.3 config has gotten messed up. And lastly, I suppose it's possible the problem is with the IR 1.3 distro. I've got the app down to six files including the layout and stylesheet. Would anybody be willing to try it out real quick and see if the problem shows up on their system? The error message Firebug is throwing is 'Form.Element.Serializers[method] is not a function' TIA, 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/20060628/727ff137/attachment.html From rbierlein at gmail.com Thu Jun 29 15:52:57 2006 From: rbierlein at gmail.com (Randee Bierlein) Date: Thu, 29 Jun 2006 12:52:57 -0700 Subject: [Instantrails-users] Unable to run cookbook example Message-ID: <2c40f0f50606291252y6ac40201i501e2e54c7303fad@mail.gmail.com> Hi, I'm new to RoR, just trying to get my environment set up. I am following the tutorial at: http://instantrails.rubyforge.org/tutorial/. When I point my browser to http://localhost:3000/recipe/list, the following error appears in the browser: Mysql::Error in RecipeController#list Access denied for user 'root'@'localhost' (using password: NO) I had this problem before and figured it had to do with privileges. I re-installed InstantRails (in a different directory) after being added to the Administrators group on my computer. The problem still occurs. Any ideas? Now I think it might be an issue with port numbers, but I'm not sure how to track it down. Thanks, R From curt.hibbs at gmail.com Thu Jun 29 16:35:24 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Thu, 29 Jun 2006 15:35:24 -0500 Subject: [Instantrails-users] Unable to run cookbook example In-Reply-To: <2c40f0f50606291252y6ac40201i501e2e54c7303fad@mail.gmail.com> References: <2c40f0f50606291252y6ac40201i501e2e54c7303fad@mail.gmail.com> Message-ID: <31d15f490606291335m7f73662ckc1a2687461f8b2e1@mail.gmail.com> Can you run the cookbook app that came preinstalled with Instant Rails? It looks like MySQL is expecting a password for the "root" user even though it should be blank. Have you changes the "root" user password in the database? Try unzipping a fesh copy of Instant Rails into a brand new directory, then start it up and try running the included cookbook app and see if it works. Curt On 6/29/06, Randee Bierlein wrote: > > Hi, > > I'm new to RoR, just trying to get my environment set up. I am > following the tutorial at: > http://instantrails.rubyforge.org/tutorial/. When I point my browser > to http://localhost:3000/recipe/list, the following error appears in > the browser: > > Mysql::Error in RecipeController#list > Access denied for user 'root'@'localhost' (using password: NO) > > I had this problem before and figured it had to do with privileges. I > re-installed InstantRails (in a different directory) after being added > to the Administrators group on my computer. The problem still occurs. > > Any ideas? Now I think it might be an issue with port numbers, but > I'm not sure how to track it down. > > Thanks, > > R > _______________________________________________ > 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/20060629/84565566/attachment.html From rbierlein at gmail.com Thu Jun 29 17:04:51 2006 From: rbierlein at gmail.com (Randee Bierlein) Date: Thu, 29 Jun 2006 14:04:51 -0700 Subject: [Instantrails-users] Unable to run cookbook example In-Reply-To: <31d15f490606291335m7f73662ckc1a2687461f8b2e1@mail.gmail.com> References: <2c40f0f50606291252y6ac40201i501e2e54c7303fad@mail.gmail.com> <31d15f490606291335m7f73662ckc1a2687461f8b2e1@mail.gmail.com> Message-ID: <2c40f0f50606291404g25ecfce6x331d67c2501fd59f@mail.gmail.com> Hi Curt, Thanks for the reply. Yes, I am working with the cookbook application that came with the installation. I've unzipped fresh copies of InstantRails into new directories a few times now and I always get this problem. No, I haven't changed the password for 'root' in the database. I just checked cookbook/config/database.yml to be sure: the password is blank. I do get an error when I start InstantRails.exe: MySQL port (3306) is in use. Is that a problem? Thanks, R On 6/29/06, Curt Hibbs wrote: > Can you run the cookbook app that came preinstalled with Instant Rails? > > It looks like MySQL is expecting a password for the "root" user even though > it should be blank. Have you changes the "root" user password in the > database? > > Try unzipping a fesh copy of Instant Rails into a brand new directory, then > start it up and try running the included cookbook app and see if it works. > > Curt > > > On 6/29/06, Randee Bierlein wrote: > > > Hi, > > I'm new to RoR, just trying to get my environment set up. I am > following the tutorial at: > http://instantrails.rubyforge.org/tutorial/. When I point > my browser > to http://localhost:3000/recipe/list, the following error > appears in > the browser: > > Mysql::Error in RecipeController#list > Access denied for user 'root'@'localhost' (using password: NO) > > I had this problem before and figured it had to do with privileges. I > re-installed InstantRails (in a different directory) after being added > to the Administrators group on my computer. The problem still occurs. > > Any ideas? Now I think it might be an issue with port numbers, but > I'm not sure how to track it down. > > Thanks, > > R > _______________________________________________ > 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 > > From wfroelich at dbsnow.com Thu Jun 29 17:32:01 2006 From: wfroelich at dbsnow.com (William (Bill) Froelich) Date: Thu, 29 Jun 2006 16:32:01 -0500 Subject: [Instantrails-users] Unable to run cookbook example Message-ID: > -----Original Message----- > From: instantrails-users-bounces at rubyforge.org > [mailto:instantrails-users-bounces at rubyforge.org] On Behalf > Of Randee Bierlein > Sent: Thursday, June 29, 2006 4:05 PM > To: curt at hibbs.com; instantrails-users at rubyforge.org > Subject: Re: [Instantrails-users] Unable to run cookbook example > > Hi Curt, > > Thanks for the reply. Yes, I am working with the cookbook > application that came with the installation. I've unzipped > fresh copies of InstantRails into new directories a few times > now and I always get this problem. > > No, I haven't changed the password for 'root' in the > database. I just checked cookbook/config/database.yml to be > sure: the password is blank. > > I do get an error when I start InstantRails.exe: MySQL port > (3306) is in use. Is that a problem? I would guess that you already have a copy of MySQL running on your machine and when InstantRails starts its copy it fails because the port is already in use. That would explain why you got the error about the root password. The instance already on your machine is setup with a root password while the database.yml doesn't have one defined. You will probably need to change the port that the MySQL under instantrails uses. Unfortunately I am not sure quite how to do this. I did some quick checking and don't have a ready answer for you. Maybe someone else can jump in or I'll try again later tonight. Hope this helps! --Bill From curt.hibbs at gmail.com Thu Jun 29 19:07:16 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Thu, 29 Jun 2006 18:07:16 -0500 Subject: [Instantrails-users] Unable to run cookbook example In-Reply-To: References: Message-ID: <31d15f490606291607p6f7d0b39j76d5e18860a3b0ee@mail.gmail.com> On 6/29/06, William (Bill) Froelich wrote: > > > -----Original Message----- > > From: instantrails-users-bounces at rubyforge.org > > [mailto:instantrails-users-bounces at rubyforge.org] On Behalf > > Of Randee Bierlein > > Sent: Thursday, June 29, 2006 4:05 PM > > To: curt at hibbs.com; instantrails-users at rubyforge.org > > Subject: Re: [Instantrails-users] Unable to run cookbook example > > > > Hi Curt, > > > > Thanks for the reply. Yes, I am working with the cookbook > > application that came with the installation. I've unzipped > > fresh copies of InstantRails into new directories a few times > > now and I always get this problem. > > > > No, I haven't changed the password for 'root' in the > > database. I just checked cookbook/config/database.yml to be > > sure: the password is blank. > > > > I do get an error when I start InstantRails.exe: MySQL port > > (3306) is in use. Is that a problem? > > I would guess that you already have a copy of MySQL running on your > machine and when InstantRails starts its copy it fails because the port > is already in use. That would explain why you got the error about the > root password. The instance already on your machine is setup with a > root password while the database.yml doesn't have one defined. > > > You will probably need to change the port that the MySQL under > instantrails uses. Unfortunately I am not sure quite how to do this. I > did some quick checking and don't have a ready answer for you. Maybe > someone else can jump in or I'll try again later tonight. > > Hope this helps! > > --Bill > _______________________________________________ > Yes, Bill is right. You have another, conflicting instance of MySQL already running. If you were unaware of that, then perhaps you don't need to other copy of MySQL and you could just uninstall it. In any case, just try shutting down the other Instant of MySQL before starting Instant Rails to verify that everything else is ok. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060629/f5443df2/attachment.html