From webenterpriser at gmail.com Wed Sep 6 12:35:02 2006 From: webenterpriser at gmail.com (Web Enterpriser) Date: Wed, 6 Sep 2006 10:35:02 -0600 Subject: [Instantrails-users] Instant Rails Error Message-ID: Question: Last night I downloaded Instant Rails. I'm a n00b to programming. I keep running into the following error after making sure demo_development is correct in database.yml. When I try to start my apache server it gives me the following error: "Syntax error on line 320 of C:/instantrails/apache/conf/httpd.conf:DocumentRoot must be in a directory" I am not sure what I did wrong. I even wrote Matt Griffith and he doesn't know either. Please help! I've attached the error to this message. -- Web Enterpriser www.webenterpriser.com Skype: webenterpriser Gizmo Project: webenterpriser AOL MESSENGER: webenterpriser MSN MESSENGER: webenterpriser at hotmail.com YAHOO MESSENGER: webenterpriser This message is the property of Web Enterpriser or his affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060906/e5112134/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: error.jpg Type: image/jpeg Size: 15481 bytes Desc: not available Url : http://rubyforge.org/pipermail/instantrails-users/attachments/20060906/e5112134/attachment-0001.jpg From wfroelich at dbsnow.com Wed Sep 6 13:03:49 2006 From: wfroelich at dbsnow.com (William (Bill) Froelich) Date: Wed, 6 Sep 2006 12:03:49 -0500 Subject: [Instantrails-users] Instant Rails Error Message-ID: After you downloaded and extracted the files from the InstantRails zip file to a directory (like c:\InstantRails), did you then run c:\InstantRails\InstantRails.exe to update the configurations of apache and everything? The line that you reference (line 320) is one of the lines that gets updated when the configuration files are regenerated. Once you do that you can use the InstantRails.exe program to startup apache and mySQL together. --Bill ________________________________ From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of Web Enterpriser Sent: Wednesday, September 06, 2006 11:35 AM To: instantrails-users at rubyforge.org Subject: [Instantrails-users] Instant Rails Error Question: Last night I downloaded Instant Rails. I'm a n00b to programming. I keep running into the following error after making sure demo_development is correct in database.yml. When I try to start my apache server it gives me the following error: "Syntax error on line 320 of C:/instantrails/apache/conf/httpd.conf:DocumentRoot must be in a directory" I am not sure what I did wrong. I even wrote Matt Griffith and he doesn't know either. Please help! I've attached the error to this message. -- Web Enterpriser www.webenterpriser.com Skype: webenterpriser Gizmo Project: webenterpriser AOL MESSENGER: webenterpriser MSN MESSENGER: webenterpriser at hotmail.com YAHOO MESSENGER: webenterpriser This message is the property of Web Enterpriser or his affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060906/3613b788/attachment.html From curt.hibbs at gmail.com Wed Sep 6 14:50:23 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Wed, 6 Sep 2006 13:50:23 -0500 Subject: [Instantrails-users] Instant Rails Error In-Reply-To: References: Message-ID: <31d15f490609061150h4406cd8cp189184412600e234@mail.gmail.com> Yeah, one of the apache config lines must have gotten messed up somehow. Have you edited the apache config file? Probably the simplest thing to do is to unzip a fresh copy of Instant Rails and, as Bill said below, immediately run InstantRails.exe to cause IR to update all of the config files. Assuming everything works, you can thn copy your Rails ap into the fresh copy and delete your old, non-working copy. Curt On 9/6/06, William (Bill) Froelich wrote: > > After you downloaded and extracted the files from the InstantRails zip > file to a directory (like c:\InstantRails), did you then run > c:\InstantRails\InstantRails.exe to update the configurations of apache and > everything? > > The line that you reference (line 320) is one of the lines that gets > updated when the configuration files are regenerated. > > Once you do that you can use the InstantRails.exe program to startup > apache and mySQL together. > > --Bill > > ------------------------------ > *From:* instantrails-users-bounces at rubyforge.org [mailto: > instantrails-users-bounces at rubyforge.org] *On Behalf Of *Web Enterpriser > *Sent:* Wednesday, September 06, 2006 11:35 AM > *To:* instantrails-users at rubyforge.org > *Subject:* [Instantrails-users] Instant Rails Error > > Question: Last night I downloaded Instant Rails. I'm a n00b to > programming. I keep running into the following error after making sure > demo_development is correct in database.yml. When I try to start my apache > server it gives me the following error: "Syntax error on line 320 of > C:/instantrails/apache/conf/httpd.conf:DocumentRoot must be in a directory" > I am not sure what I did wrong. I even wrote Matt Griffith and he doesn't > know either. Please help! I've attached the error to this message. > > -- > Web Enterpriser > www.webenterpriser.com > > Skype: webenterpriser > Gizmo Project: webenterpriser > AOL MESSENGER: webenterpriser > MSN MESSENGER: webenterpriser at hotmail.com > YAHOO MESSENGER: webenterpriser > > This message is the property of Web Enterpriser or his affiliates. It may > be legally privileged and/or confidential and is intended only for the use > of the addressee(s). No addressee should forward, print, copy, or otherwise > reproduce this message in any manner that would allow it to be viewed by any > individual not originally listed as a recipient. If the reader of this > message is not the intended recipient, you are hereby notified that any > unauthorized disclosure, dissemination, distribution, copying or the taking > of any action in reliance on the information herein is strictly prohibited. > If you have received this communication in error, please immediately notify > the sender and delete this message. > > _______________________________________________ > 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/20060906/6ef92f50/attachment.html From webenterpriser at gmail.com Wed Sep 6 14:59:53 2006 From: webenterpriser at gmail.com (Web Enterpriser) Date: Wed, 6 Sep 2006 12:59:53 -0600 Subject: [Instantrails-users] Instant Rails Error In-Reply-To: <31d15f490609061150h4406cd8cp189184412600e234@mail.gmail.com> References: <31d15f490609061150h4406cd8cp189184412600e234@mail.gmail.com> Message-ID: Only thing though is that it never prompted me to turn off apache. I just turned it off on my own. In the first part of the screencast, there is a point when Matt G. says, "opps it's telling me i need to turn off apache." It was something about iis or along those lines. Well, since it didn't prompt me to turn it off but i turned the apache server off neways. On 9/6/06, Curt Hibbs wrote: > > Yeah, one of the apache config lines must have gotten messed up somehow. > Have you edited the apache config file? > > Probably the simplest thing to do is to unzip a fresh copy of Instant > Rails and, as Bill said below, immediately run InstantRails.exe to cause > IR to update all of the config files. > > Assuming everything works, you can thn copy your Rails ap into the fresh > copy and delete your old, non-working copy. > > Curt > > On 9/6/06, William (Bill) Froelich wrote: > > > After you downloaded and extracted the files from the InstantRails zip > > file to a directory (like c:\InstantRails), did you then run > > c:\InstantRails\InstantRails.exe to update the configurations of apache and > > everything? > > > > The line that you reference (line 320) is one of the lines that gets > > updated when the configuration files are regenerated. > > > > Once you do that you can use the InstantRails.exe program to startup > > apache and mySQL together. > > > > --Bill > > > > ------------------------------ > > *From:* instantrails-users-bounces at rubyforge.org [mailto: > > instantrails-users-bounces at rubyforge.org] *On Behalf Of *Web Enterpriser > > *Sent:* Wednesday, September 06, 2006 11:35 AM > > *To:* instantrails-users at rubyforge.org > > *Subject:* [Instantrails-users] Instant Rails Error > > > > Question: Last night I downloaded Instant Rails. I'm a n00b to > > programming. I keep running into the following error after making sure > > demo_development is correct in database.yml. When I try to start my > > apache server it gives me the following error: "Syntax error on line 320 of > > C:/instantrails/apache/conf/httpd.conf:DocumentRoot must be in a directory" > > I am not sure what I did wrong. I even wrote Matt Griffith and he doesn't > > know either. Please help! I've attached the error to this message. > > > > -- > > Web Enterpriser > > www.webenterpriser.com > > > > Skype: webenterpriser > > Gizmo Project: webenterpriser > > AOL MESSENGER: webenterpriser > > MSN MESSENGER: webenterpriser at hotmail.com > > YAHOO MESSENGER: webenterpriser > > > > This message is the property of Web Enterpriser or his affiliates. It > > may be legally privileged and/or confidential and is intended only for the > > use of the addressee(s). No addressee should forward, print, copy, or > > otherwise reproduce this message in any manner that would allow it to be > > viewed by any individual not originally listed as a recipient. If the reader > > of this message is not the intended recipient, you are hereby notified that > > any unauthorized disclosure, dissemination, distribution, copying or the > > taking of any action in reliance on the information herein is strictly > > prohibited. If you have received this communication in error, please > > immediately notify the sender and delete this message. > > > > _______________________________________________ > > 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 > > -- Web Enterpriser www.webenterpriser.com Skype: webenterpriser Gizmo Project: webenterpriser AOL MESSENGER: webenterpriser MSN MESSENGER: webenterpriser at hotmail.com YAHOO MESSENGER: webenterpriser This message is the property of Web Enterpriser or his affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060906/0ef990f7/attachment-0001.html From octaviobh at yahoo.com Mon Sep 11 10:37:02 2006 From: octaviobh at yahoo.com (=?iso-8859-1?q?Octavio=20B=E1ez?=) Date: Mon, 11 Sep 2006 09:37:02 -0500 (CDT) Subject: [Instantrails-users] I get an error on any "running" option...even with Help/GettingStarted Message-ID: <20060911143702.95817.qmail@web56509.mail.re3.yahoo.com> I have WinXP SP2 installed. Here the error text, note the "Kernel..." : Tipo de suceso: Error Origen del suceso: Application Error Categor?a del suceso: Ninguno Id. suceso: 1000 Fecha: 09/09/2006 Hora: 04:35:34 p.m. Usuario: No disponible Equipo: CASAUSER Descripci?n: Aplicaci?n con errores: instantrails.exe, versi?n: 1.8.0.2, m?dulo con error: kernel32.dll, versi?n 5.1.2600.2180, direcci?n de error 0x00009e45. Para obtener m?s informaci?n, vea el Centro de ayuda y soporte t?cnico en http://go.microsoft.com/fwlink/events.asp. Datos: 0000: 41 70 70 6c 69 63 61 74 Applicat 0008: 69 6f 6e 20 46 61 69 6c ion Fail 0010: 75 72 65 20 20 69 6e 73 ure ins 0018: 74 61 6e 74 72 61 69 6c tantrail 0020: 73 2e 65 78 65 20 31 2e s.exe 1. 0028: 38 2e 30 2e 32 20 69 6e 8.0.2 in 0030: 20 6b 65 72 6e 65 6c 33 kernel3 0038: 32 2e 64 6c 6c 20 35 2e 2.dll 5. 0040: 31 2e 32 36 30 30 2e 32 1.2600.2 0048: 31 38 30 20 61 74 20 6f 180 at o 0050: 66 66 73 65 74 20 30 30 ffset 00 0058: 30 30 39 65 34 35 0d 0a 009e45.. __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ?gratis! Reg?strate ya - http://correo.espanol.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060911/dad2d469/attachment.html From bill.walton at charter.net Mon Sep 11 11:51:04 2006 From: bill.walton at charter.net (Bill Walton) Date: Mon, 11 Sep 2006 10:51:04 -0500 Subject: [Instantrails-users] I get an error on any "running" option...evenwith Help/GettingStarted References: <20060911143702.95817.qmail@web56509.mail.re3.yahoo.com> Message-ID: <038001c6d5ba$172a7690$6401a8c0@Presario> Hi Octavio, My first guess would be that your installation somehow got corrupted when you unzipped it. Have you tried deleting everything and unzipping a new installation? Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060911/1c30fc40/attachment.html From octaviobh at yahoo.com Mon Sep 11 22:25:10 2006 From: octaviobh at yahoo.com (=?iso-8859-1?q?Octavio=20B=E1ez?=) Date: Mon, 11 Sep 2006 21:25:10 -0500 (CDT) Subject: [Instantrails-users] I get an error on any "running" option...evenwith Help/GettingStarted In-Reply-To: <038001c6d5ba$172a7690$6401a8c0@Presario> Message-ID: <20060912022510.43272.qmail@web56515.mail.re3.yahoo.com> Yes, as you suggest, I deleted and Unzipped all again...to get the same error ! The only thing I need to change is the Apache port to 3000, because I have the InetInfoServer also isntalled in port 80. I change the two lines of apache config involved with port 80, then the Apache server start OK. Thanks in advance... Bill Walton escribi?: Hi Octavio, My first guess would be that your installation somehow got corrupted when you unzipped it. Have you tried deleting everything and unzipping a new installation? Bill _______________________________________________ Instantrails-users mailing list Instantrails-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instantrails-users __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ?gratis! Reg?strate ya - http://correo.espanol.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060911/835056eb/attachment.html From mortonda at dgrmm.net Tue Sep 12 13:49:34 2006 From: mortonda at dgrmm.net (David Morton) Date: Tue, 12 Sep 2006 12:49:34 -0500 Subject: [Instantrails-users] I get an error on any "running" option...even with Help/GettingStarted In-Reply-To: <20060911143702.95817.qmail@web56509.mail.re3.yahoo.com> References: <20060911143702.95817.qmail@web56509.mail.re3.yahoo.com> Message-ID: <4506F32E.2080609@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Octavio B?ez wrote: > I have WinXP SP2 installed. > > Here the error text, note the "Kernel..." : > > Tipo de suceso: Error > Origen del suceso: Application Error > Categor?a del suceso: Ninguno I notice that your environment is localized to another language. (Espa?ol ?) Could ruby be having a problem with unicode or something? - -- 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 iD8DBQFFBvMuUy30ODPkzl0RAtCLAJ0Y0SXM3gCtLMXSrsgCVZtCsZ0pIgCgzFrY 7SRpU7TSm/k55cFludNsA0s= =d4KU -----END PGP SIGNATURE----- From octaviobh at yahoo.com Tue Sep 12 16:27:33 2006 From: octaviobh at yahoo.com (=?iso-8859-1?q?Octavio=20B=E1ez?=) Date: Tue, 12 Sep 2006 15:27:33 -0500 (CDT) Subject: [Instantrails-users] I get an error on any "running" option...even with Help/GettingStarted In-Reply-To: <4506F32E.2080609@dgrmm.net> Message-ID: <20060912202733.50793.qmail@web56513.mail.re3.yahoo.com> Yes, I am a Cuban developer...therefore my "spanish" WinXP...but note that in Win2000SP4 "spanish" OS the InstantRails performs ok !! I tested it... David Morton escribi?: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Octavio B?ez wrote: > I have WinXP SP2 installed. > > Here the error text, note the "Kernel..." : > > Tipo de suceso: Error > Origen del suceso: Application Error > Categor?a del suceso: Ninguno I notice that your environment is localized to another language. (Espa?ol ?) Could ruby be having a problem with unicode or something? - -- 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 iD8DBQFFBvMuUy30ODPkzl0RAtCLAJ0Y0SXM3gCtLMXSrsgCVZtCsZ0pIgCgzFrY 7SRpU7TSm/k55cFludNsA0s= =d4KU -----END PGP SIGNATURE----- _______________________________________________ Instantrails-users mailing list Instantrails-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instantrails-users __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ?gratis! Reg?strate ya - http://correo.espanol.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060912/4af7d3d8/attachment.html From bill.walton at charter.net Mon Sep 18 11:10:27 2006 From: bill.walton at charter.net (Bill Walton) Date: Mon, 18 Sep 2006 10:10:27 -0500 Subject: [Instantrails-users] Problem installing plugin Message-ID: <496f01c6db34$93b4f490$6401a8c0@Presario> Is there a 'trick' to installing plugins under IR? I'm getting an error I don't understand when I try to install the BackgrounDRb plugin (this is the first plugin I've tried to install). I installed the plugin yesterday, or thought I did, and this morning I tried to start the backgroundrb daemon (from the sandbox directory I entered >ruby script\backgroundrb\start. I got an error message saying 'no such file or directory -- script/backgroundrb/start (LoadError)'. So tried to reinstall the plugin using: >ruby script\plugin install svn://rubyforge.org//var/svn/backgroundrb --force During the download\install, the first line of the reponse says: svn: 'C:\InstantRails\rails_apps\sandbox\vendor\plugins' is not a working copy Then it goes ahead and creates vendor\plugins\backgroundrb directory with subdirectories, etc. But I still get the 'no such file' error when I try to start the daemon. Question is: what's not a working copy? Is it talking about the already installed version? Or is it telling me there's something wrong with my IR install? Anybody got any idea what I'm doing wrong? Thanks! Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060918/5ec6c399/attachment.html From curt.hibbs at gmail.com Mon Sep 18 13:10:46 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Mon, 18 Sep 2006 12:10:46 -0500 Subject: [Instantrails-users] Problem installing plugin In-Reply-To: <496f01c6db34$93b4f490$6401a8c0@Presario> References: <496f01c6db34$93b4f490$6401a8c0@Presario> Message-ID: <31d15f490609181010n2108a6bco4fd90b9d5bb66374@mail.gmail.com> On 9/18/06, Bill Walton wrote: > > Is there a 'trick' to installing plugins under IR? I'm getting an error > I don't understand when I try to install the BackgrounDRb plugin (this is > the first plugin I've tried to install). > > I installed the plugin yesterday, or thought I did, and this morning I > tried to start the backgroundrb daemon (from the sandbox directory I entered > >ruby script\backgroundrb\start. I got an error message saying 'no such > file or directory -- script/backgroundrb/start (LoadError)'. > > So tried to reinstall the plugin using: > >ruby script\plugin install svn://rubyforge.org//var/svn/backgroundrb > --force > > During the download\install, the first line of the reponse says: > svn: 'C:\InstantRails\rails_apps\sandbox\vendor\plugins' is not a working > copy > > Then it goes ahead and creates vendor\plugins\backgroundrb directory with > subdirectories, etc. But I still get the 'no such file' error when I try to > start the daemon. > > Question is: what's not a working copy? Is it talking about the already > installed version? Or is it telling me there's something wrong with my IR > install? Anybody got any idea what I'm doing wrong? > > Thanks! > Bill > Do you have another copy of Ruby installed besides the one in Instant Rails? If so, is the Instant Rails version the first one in your system path (that is, is its ...\ruby\bin directory first in your path)? Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060918/5593470f/attachment-0001.html From timuckun at gmail.com Mon Sep 18 18:38:27 2006 From: timuckun at gmail.com (Tim Uckun) Date: Tue, 19 Sep 2006 10:38:27 +1200 Subject: [Instantrails-users] An absolute minimal install of ruby and rails. Message-ID: <855e4dcf0609181538j4e709124v76ec2fa6c95b720e@mail.gmail.com> Hello All. I am trying to distribute rails apps to several windows servers. I don't want to install and update a separate ruby install on each machine so I was thinking about using ifolders as a deployment tool. Ifolders is a wonderful product but occationally it has problems syncronizing large amounts of data. What I would like to do is to deploy the smallest subset of ruby including all the site libs and gems and maybe apache (not really required because I can use mongrel). Would it work to simply copy the bin and lib directories of the allinone/ruby tree? Can I do anything to clear out the older libs and gems? Can I clear the cache? what is the best way to set the path on the machines? Any advice would be much appreciated. Thanks. From curt.hibbs at gmail.com Mon Sep 18 20:20:56 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Mon, 18 Sep 2006 19:20:56 -0500 Subject: [Instantrails-users] An absolute minimal install of ruby and rails. In-Reply-To: <855e4dcf0609181538j4e709124v76ec2fa6c95b720e@mail.gmail.com> References: <855e4dcf0609181538j4e709124v76ec2fa6c95b720e@mail.gmail.com> Message-ID: <31d15f490609181720g3a470114xeee5aa201644871f@mail.gmail.com> Yes, the bin and lib directories are the only thing you need out of the ruby dir. Also, you can go to the command line and "gem uninstall fxruby" because you won't need that and its pretty big. curt On 9/18/06, Tim Uckun wrote: > > Hello All. > > I am trying to distribute rails apps to several windows servers. I > don't want to install and update a separate ruby install on each > machine so I was thinking about using ifolders as a deployment tool. > Ifolders is a wonderful product but occationally it has problems > syncronizing large amounts of data. > > What I would like to do is to deploy the smallest subset of ruby > including all the site libs and gems and maybe apache (not really > required because I can use mongrel). > > Would it work to simply copy the bin and lib directories of the > allinone/ruby tree? Can I do anything to clear out the older libs and > gems? Can I clear the cache? what is the best way to set the path on > the machines? > > Any advice would be much appreciated. > > Thanks. > _______________________________________________ > 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/20060918/ca807fa3/attachment.html From bill.walton at charter.net Mon Sep 18 22:24:34 2006 From: bill.walton at charter.net (Bill Walton) Date: Mon, 18 Sep 2006 21:24:34 -0500 Subject: [Instantrails-users] Problem installing plugin References: <496f01c6db34$93b4f490$6401a8c0@Presario> <31d15f490609181010n2108a6bco4fd90b9d5bb66374@mail.gmail.com> Message-ID: <4b1c01c6db92$bf5f9ba0$6401a8c0@Presario> Curt Hibbs wrote: > Do you have another copy of Ruby installed > besides the one in Instant Rails? Nope. Just the Ruby that came with IR. Do you think the 'working copy' thing was about Ruby? Thanks, Bill From curt.hibbs at gmail.com Mon Sep 18 22:34:20 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Mon, 18 Sep 2006 21:34:20 -0500 Subject: [Instantrails-users] Problem installing plugin In-Reply-To: <4b1c01c6db92$bf5f9ba0$6401a8c0@Presario> References: <496f01c6db34$93b4f490$6401a8c0@Presario> <31d15f490609181010n2108a6bco4fd90b9d5bb66374@mail.gmail.com> <4b1c01c6db92$bf5f9ba0$6401a8c0@Presario> Message-ID: <31d15f490609181934y143c285cm6b14a33aadc3b46e@mail.gmail.com> On 9/18/06, Bill Walton wrote: > > Curt Hibbs wrote: > > > Do you have another copy of Ruby installed > > besides the one in Instant Rails? > > Nope. Just the Ruby that came with IR. > > Do you think the 'working copy' thing was about Ruby? > > Thanks, > Bill Not really, I was just guessing. You might want to try asking on the Rail mailing list. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060918/bb62995e/attachment.html From timuckun at gmail.com Mon Sep 18 23:29:48 2006 From: timuckun at gmail.com (Tim Uckun) Date: Tue, 19 Sep 2006 15:29:48 +1200 Subject: [Instantrails-users] An absolute minimal install of ruby and rails. In-Reply-To: <31d15f490609181720g3a470114xeee5aa201644871f@mail.gmail.com> References: <855e4dcf0609181538j4e709124v76ec2fa6c95b720e@mail.gmail.com> <31d15f490609181720g3a470114xeee5aa201644871f@mail.gmail.com> Message-ID: <855e4dcf0609182029w1b8ee0der3cb58e8c30dd94ca@mail.gmail.com> > Yes, the bin and lib directories are the only thing you need out of the ruby > dir. Also, you can go to the command line and "gem uninstall fxruby" because > you won't need that and its pretty big. Here is what I have done so far. I copied the ruby directory from instantrails into another directory. I deleted all the directories except for bin and lib. I opened up a command prompt and set my path to the new directory and nothing else. I did a gem clean and it cleaned up all the old gems IN THE NEW DIRECTORY!. (ruby rocks) I then did a gem uninstall fxruby. Then I manually went in and cleared the cache directory and the gems/doc directory. At the end of all this I have 29.5 megs of stuff in 3219 files. Each gem has it's own doc directory and I suppose I can delete those too to get a little more space. Here is my problem though. All the cmd files in the bin directory have hard coded paths in them of where instantrails used to be. For example the cap.cmd says @ruby "D:/InstantRails/ruby/bin/cap" %* That's not good. I want this app to be totally portable so there should be no absolute paths at all. I suppose I could set some environment variable or something. Is there a better way to do this? Does the windows command line have any equivalent of __FILE__? From timuckun at gmail.com Tue Sep 19 01:41:52 2006 From: timuckun at gmail.com (Tim Uckun) Date: Tue, 19 Sep 2006 17:41:52 +1200 Subject: [Instantrails-users] Fwd: An absolute minimal install of ruby and rails. In-Reply-To: <31d15f490609182116q2be64938qb74c405eebd58382@mail.gmail.com> References: <855e4dcf0609181538j4e709124v76ec2fa6c95b720e@mail.gmail.com> <31d15f490609181720g3a470114xeee5aa201644871f@mail.gmail.com> <855e4dcf0609182029w1b8ee0der3cb58e8c30dd94ca@mail.gmail.com> <31d15f490609182116q2be64938qb74c405eebd58382@mail.gmail.com> Message-ID: <855e4dcf0609182241o1c1c2c30k1efed16712cd3fba@mail.gmail.com> "When you run InstantRails.exe in a new directory, he'll detect that and update all of those paths to the new location." Here is a cool trick I cooked up. Feel free to grab it and pass it on. I have written the following batch file, the REMs explain what is going on. This would work for most scripts I would think. You could expand it by doing even more trickery if you wanted to. . -----------------SNIP------------------------------- @REM Generic Batch file for running ruby scripts @REM This file takes it's name, strips off the '.cmd' at the end @REM and then passes the remaining to the ruby executable in it's own directory. @REM It should be used in the ruby/bin directory. @REM @REM EXAMPLE: if you wanted to run the cap script in the ruby/bin directory @REM you would copy this batch file to a file called cap.cmd. @REM this way you could set up a .cmd file for all the ruby scripts in your ruby/bin @set BINPATH=%~dp0 @set RUBY=%BINPATH%ruby @set FILENAME=%~nx0 @set SCRIPTNAME=%FILENAME:~0,-4% %RUBY% "%BINPATH%%SCRIPTNAME%" %* From curt.hibbs at gmail.com Tue Sep 19 10:07:09 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Tue, 19 Sep 2006 09:07:09 -0500 Subject: [Instantrails-users] Fwd: An absolute minimal install of ruby and rails. In-Reply-To: <855e4dcf0609182241o1c1c2c30k1efed16712cd3fba@mail.gmail.com> References: <855e4dcf0609181538j4e709124v76ec2fa6c95b720e@mail.gmail.com> <31d15f490609181720g3a470114xeee5aa201644871f@mail.gmail.com> <855e4dcf0609182029w1b8ee0der3cb58e8c30dd94ca@mail.gmail.com> <31d15f490609182116q2be64938qb74c405eebd58382@mail.gmail.com> <855e4dcf0609182241o1c1c2c30k1efed16712cd3fba@mail.gmail.com> Message-ID: <31d15f490609190707k2a0baa4ak5f493a4589a52fb0@mail.gmail.com> Nice! Is that a bat file or a cmd file? Will this run on both Win 2000 and XP? Curt On 9/19/06, Tim Uckun wrote: > > "When you run InstantRails.exe in a new directory, he'll detect that > and update all of those paths to the new location." > > Here is a cool trick I cooked up. Feel free to grab it and pass it on. > > I have written the following batch file, the REMs explain what is > going on. This would work for most scripts I would think. You could > expand it by doing even more trickery if you wanted to. > . > -----------------SNIP------------------------------- > @REM Generic Batch file for running ruby scripts > @REM This file takes it's name, strips off the '.cmd' at the end > @REM and then passes the remaining to the ruby executable in it's > own directory. > @REM It should be used in the ruby/bin directory. > @REM > @REM EXAMPLE: if you wanted to run the cap script in the ruby/bin > directory > @REM you would copy this batch file to a file called cap.cmd. > @REM this way you could set up a .cmd file for all the > ruby scripts in your ruby/bin > > @set BINPATH=%~dp0 > @set RUBY=%BINPATH%ruby > @set FILENAME=%~nx0 > @set SCRIPTNAME=%FILENAME:~0,-4% > > %RUBY% "%BINPATH%%SCRIPTNAME%" %* > _______________________________________________ > 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/20060919/b1921aac/attachment.html From timuckun at gmail.com Tue Sep 19 17:23:08 2006 From: timuckun at gmail.com (Tim Uckun) Date: Wed, 20 Sep 2006 09:23:08 +1200 Subject: [Instantrails-users] Fwd: An absolute minimal install of ruby and rails. In-Reply-To: <31d15f490609190707k2a0baa4ak5f493a4589a52fb0@mail.gmail.com> References: <855e4dcf0609181538j4e709124v76ec2fa6c95b720e@mail.gmail.com> <31d15f490609181720g3a470114xeee5aa201644871f@mail.gmail.com> <855e4dcf0609182029w1b8ee0der3cb58e8c30dd94ca@mail.gmail.com> <31d15f490609182116q2be64938qb74c405eebd58382@mail.gmail.com> <855e4dcf0609182241o1c1c2c30k1efed16712cd3fba@mail.gmail.com> <31d15f490609190707k2a0baa4ak5f493a4589a52fb0@mail.gmail.com> Message-ID: <855e4dcf0609191423y19aefe02u401dd8002b091a91@mail.gmail.com> On 9/20/06, Curt Hibbs wrote: > Nice! Is that a bat file or a cmd file? Will this run on both Win 2000 and > XP? > I wrote it as a CMD file on XP. According to the documentation it should also work on windows 2000 and NT. I am not sure if it will work run on 95 and I have no way of testing it. From curt.hibbs at gmail.com Mon Sep 25 11:49:57 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Mon, 25 Sep 2006 10:49:57 -0500 Subject: [Instantrails-users] Need advice on Apache 1.3 Config Message-ID: <31d15f490609250849l178a553dre9cee4dc36d53ebc@mail.gmail.com> Instant Rails 1.4 is almost ready for release. It replaces SCGI with Mongrel (when serving via Apache), and Mongrel also replaces WEBrick for serving up your app during development. This release also updates Rails and to the latest version and the embedded Ruby to 1.8.5, and it will automatically configure RadRails with the correct paths. The only thing left to do is to set up the Apache configuration to use mod_proxy to forward http requests the Rails apps being served by Mongrel. I'm not an Apache expert. With some research and experimentation I can figure this out, but I thought maybe one of you could save me a lot of time and help get this release out the door more quickly. What I need is a Virtual Host setup and possibly an Alias setup for Apache 1.3 (*not* Apache 2) that will use mod_proxy to forward requests to a Rails app being served by Mongrel on a given port. Any help/suggestions would be appreciated. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060925/fb625e9c/attachment-0001.html From timuckun at gmail.com Mon Sep 25 18:19:44 2006 From: timuckun at gmail.com (Tim Uckun) Date: Tue, 26 Sep 2006 10:19:44 +1200 Subject: [Instantrails-users] Need advice on Apache 1.3 Config In-Reply-To: <31d15f490609250849l178a553dre9cee4dc36d53ebc@mail.gmail.com> References: <31d15f490609250849l178a553dre9cee4dc36d53ebc@mail.gmail.com> Message-ID: <855e4dcf0609251519q3023bd30i4f8dcbebf8cb0d50@mail.gmail.com> I am curious as to why you want to use apache 1.3? I thought microapache might be a good fit instantrails (http://microapache.amadis.sytes.net/). You can even get the 2.2 version with mod_proxy_balance although it seems that 2.2 doesn't get along with php. He also has a micro mysql and microphp too so it seems like a good fit for what you are trying to do. Anyway I could try and help you out. We are talking windows only right? All my linux servers are running 2.0. On 9/26/06, Curt Hibbs wrote: > Instant Rails 1.4 is almost ready for release. It replaces SCGI with Mongrel > (when serving via Apache), and Mongrel also replaces WEBrick for serving up > your app during development. > > This release also updates Rails and to the latest version and the embedded > Ruby to 1.8.5, and it will automatically configure RadRails with the correct > paths. > > The only thing left to do is to set up the Apache configuration to use > mod_proxy to forward http requests the Rails apps being served by Mongrel. > I'm not an Apache expert. With some research and experimentation I can > figure this out, but I thought maybe one of you could save me a lot of time > and help get this release out the door more quickly. > > What I need is a Virtual Host setup and possibly an Alias setup for Apache > 1.3 (*not* Apache 2) that will use mod_proxy to forward requests to a Rails > app being served by Mongrel on a given port. Any help/suggestions would be > appreciated. > > Curt > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > From curt.hibbs at gmail.com Mon Sep 25 22:10:27 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Mon, 25 Sep 2006 21:10:27 -0500 Subject: [Instantrails-users] Need advice on Apache 1.3 Config In-Reply-To: <855e4dcf0609251519q3023bd30i4f8dcbebf8cb0d50@mail.gmail.com> References: <31d15f490609250849l178a553dre9cee4dc36d53ebc@mail.gmail.com> <855e4dcf0609251519q3023bd30i4f8dcbebf8cb0d50@mail.gmail.com> Message-ID: <31d15f490609251910u471e3b97i7a42f4051e20bacc@mail.gmail.com> On 9/25/06, Tim Uckun wrote: > > I am curious as to why you want to use apache 1.3? I thought > microapache might be a good fit instantrails > (http://microapache.amadis.sytes.net/). You can even get the 2.2 > version with mod_proxy_balance although it seems that 2.2 doesn't get > along with php. He also has a micro mysql and microphp too so it seems > like a good fit for what you are trying to do. > > Anyway I could try and help you out. We are talking windows only > right? All my linux servers are running 2.0. I don't *want* to use Apache 1.3, its just a historical fact of life since the current, Windows-only version of Instant Rails is a fork of EasyPHP. I'm not willing to put *any* time into changing that (or the fact that the included MySQL is 4.1) because that would take development time away from Instant Rails 2, which is multi-platform and will use Apache 2 and MySQL 5. The only reason this extra release of Instant Rails 1.x is happening at all is because SCGI is not no longer supported and I could not, in good conscience, leave an obsolete version of Instant Rails in circulation for the 6-9 months of so that it will take to get Instant Rails 2 out the door. I was hoping that someone on the list had already done this (mod_proxy with Apache 1.3) and could just send me a sample configuration snippet. But it looks like I'm out of luck on that, so I'm just going to figure it out tonight. Curt On 9/26/06, Curt Hibbs wrote: > > Instant Rails 1.4 is almost ready for release. It replaces SCGI with > Mongrel > > (when serving via Apache), and Mongrel also replaces WEBrick for serving > up > > your app during development. > > > > This release also updates Rails and to the latest version and the > embedded > > Ruby to 1.8.5, and it will automatically configure RadRails with the > correct > > paths. > > > > The only thing left to do is to set up the Apache configuration to use > > mod_proxy to forward http requests the Rails apps being served by > Mongrel. > > I'm not an Apache expert. With some research and experimentation I can > > figure this out, but I thought maybe one of you could save me a lot of > time > > and help get this release out the door more quickly. > > > > What I need is a Virtual Host setup and possibly an Alias setup for > Apache > > 1.3 (*not* Apache 2) that will use mod_proxy to forward requests to a > Rails > > app being served by Mongrel on a given port. Any help/suggestions would > be > > appreciated. > > > > Curt > > > > _______________________________________________ > > 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/20060925/0e513011/attachment.html