From catastropri at gmail.com Thu Feb 1 02:48:54 2007 From: catastropri at gmail.com (P catastropri) Date: Thu, 1 Feb 2007 18:48:54 +1100 Subject: [Instantrails-users] setting up ruby on rails Message-ID: <46ada04f0701312348t1a88e5bbx1df658f689cb7bba@mail.gmail.com> Hi, I've been having some problems setting up ruby on rails, it installed fine but when I get to the part where 'manage rails applications' and then check cookbook and click on 'start with mongrel' another window opens for a few seconds then closes and when I go to the my cookbook website it says " '502 Proxy Error' - The proxy server received an invalid response from an upstream server. The proxy server could not handle the request *GET / *. Reason: *Error reading from remote server* ------------------------------ Apache/1.3.33 Server at www.mycookbook.com Port 80 " And I'm not sure how to fix it Help!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20070201/86397f31/attachment.html From curt.hibbs at gmail.com Thu Feb 1 08:43:05 2007 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Thu, 1 Feb 2007 07:43:05 -0600 Subject: [Instantrails-users] setting up ruby on rails In-Reply-To: <46ada04f0701312348t1a88e5bbx1df658f689cb7bba@mail.gmail.com> References: <46ada04f0701312348t1a88e5bbx1df658f689cb7bba@mail.gmail.com> Message-ID: <31d15f490702010543t387cd5a9sbf9b83028fa90c05@mail.gmail.com> On 2/1/07, P catastropri wrote: > > Hi, I've been having some problems setting up ruby on rails, it installed > fine but when I get to the part where 'manage rails applications' and then > check cookbook and click on 'start with mongrel' another window opens for a > few seconds then closes and when I go to the my cookbook website it says " > '502 Proxy Error' - The proxy server received an invalid response from an > upstream server. The proxy server could not handle the request *GET / > *. Reason: *Error reading from remote server* > > ------------------------------ > Apache/1.3.33 Server at www.mycookbook.com Port 80 " > And I'm not sure how to fix it > Help!!! > > The Mongrel server window should not close. This means Mongrel is getting some kind of error and terminating (which causes the console window to close before you can read the error message that would tell you why). What you should do is to manually open a console window using the Instant Rails menu command "Rails Applications > Open Ruby Console Window", then navigate into the base "cookbook" directory, and run the command "mongrel_rails start". Now when the error occurs, the window will stick around and you can read the error message. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20070201/3ae97758/attachment.html From catastropri at gmail.com Thu Feb 1 17:31:53 2007 From: catastropri at gmail.com (P catastropri) Date: Fri, 2 Feb 2007 09:31:53 +1100 Subject: [Instantrails-users] setting up ruby on rails In-Reply-To: <31d15f490702010543t387cd5a9sbf9b83028fa90c05@mail.gmail.com> References: <46ada04f0701312348t1a88e5bbx1df658f689cb7bba@mail.gmail.com> <31d15f490702010543t387cd5a9sbf9b83028fa90c05@mail.gmail.com> Message-ID: <46ada04f0702011431y7f3e189ct43a922818fe268b1@mail.gmail.com> Hi Curt thanks for the help I tried mongrel_rails start but I didn't get any error messages, it just says "Starting Mongrel listening at 0.0.0.0:3000 Starting Rails with development environment ... Rails loaded. Loading any Rails specific GemPlugins Signals ready. INT => stop (no restart). Mongrel available at 0.0.0.0:3000 Use Ctrl-C to stop" And then nothing happens, I tried going to the mycookbook website again but it still didn't work and when i tried mongrel rails restart I got "!!!PID file log/mongrel.pid does not exist. Not running? restart reported an error" I'm not sure what to do now Hopefully you might! Thanks On 2/2/07, Curt Hibbs wrote: > > On 2/1/07, P catastropri wrote: > > > Hi, I've been having some problems setting up ruby on rails, it > > installed fine but when I get to the part where 'manage rails applications' > > and then check cookbook and click on 'start with mongrel' another window > > opens for a few seconds then closes and when I go to the my cookbook website > > it says " '502 Proxy Error' - The proxy server received an invalid response > > from an upstream server. The proxy server could not handle the request * > > GET / *. Reason: *Error reading from remote > > server* > > > > ------------------------------ > > Apache/1.3.33 Server at www.mycookbook.com Port 80 " > > And I'm not sure how to fix it > > Help!!! > > > > The Mongrel server window should not close. This means Mongrel is > getting some kind of error and terminating (which causes the console window > to close before you can read the error message that would tell you why). > > What you should do is to manually open a console window using the Instant > Rails menu command "Rails Applications > Open Ruby Console Window", then > navigate into the base "cookbook" directory, and run the command > "mongrel_rails start". > > Now when the error occurs, the window will stick around and you can read > the error message. > > 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/20070202/ac9e4279/attachment.html From john-hu at moving-picture.com Wed Feb 14 14:18:51 2007 From: john-hu at moving-picture.com (Jonathan Hussy) Date: Wed, 14 Feb 2007 19:18:51 -0000 Subject: [Instantrails-users] Instantrails and tiddlywiki Message-ID: <39EA469F166B7741B8E3305B5B58B49409F0C872@mpcosmail01.ad.mpc.local> Hi all, I'm trying to setup instantrails to serve a tiddlywiki web page. This web page has the ability to upload the edited file back to the server and overwrite the original. This requires a ruby .cgi script to be run and this is where the problem lies. I cannot get the ruby script to run although the page is served fine. I was using easyphp before and this was working fine but now I need to use ruby I have switched to instantrails. From the default setup of instantrails 1.4 what extra do I need to do to get ruby .cgi scripts to run? Cheers Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20070214/38c2d50e/attachment-0001.html From curt.hibbs at gmail.com Mon Feb 19 01:14:40 2007 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Mon, 19 Feb 2007 00:14:40 -0600 Subject: [Instantrails-users] [ANN] Instant Rails 1.5 preview1 Message-ID: <31d15f490702182214s75219cf4lcab03e7422353969@mail.gmail.com> Instant Rails 1.5 upgrades to: * Rails 1.2.2 * The One-Click Installer 1.8.5-24 * Mongrel 1.0.1 You can download this release from: http://rubyforge.org/frs/?group_id=904 and you can find upgrade instructions here: http://instantrails.rubyforge.org/wiki/wiki.pl?How_To_Upgrade Known Issues: * fxri (off of the help menu) is not working From catastropri at gmail.com Thu Feb 22 21:19:53 2007 From: catastropri at gmail.com (P catastropri) Date: Fri, 23 Feb 2007 13:19:53 +1100 Subject: [Instantrails-users] calling methods Message-ID: <46ada04f0702221819xf140c72jcc92ea582ac7ffa5@mail.gmail.com> Hi i wrote my method that takes in two variables a string and a num and then puts some string if the input matches a specific word. What I wanted to know was how do i call that method in my recipes/list.rhtml for example, I keep getting a compile error and Im not sure on how I should be calling this method that takes two arguments Any help would be much appreciated Thanks P -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20070223/2d8fcc95/attachment.html From FERRG at uk.ibm.com Fri Feb 23 03:01:26 2007 From: FERRG at uk.ibm.com (Gaia Buggin) Date: Fri, 23 Feb 2007 08:01:26 +0000 Subject: [Instantrails-users] Gaia Buggin/UK/IBM is out of the office. Message-ID: I will be out of the office starting 21/02/2007 and will not return until 27/02/2007. For matters of urgency please contact Martin J Connolly/UK/IBM. Thank you