From mawiniarski at gmail.com Sat Jul 5 13:39:45 2008 From: mawiniarski at gmail.com (Mateusz Winiarski) Date: Sat, 5 Jul 2008 19:39:45 +0200 Subject: [Instantrails-users] localhost running application problem Message-ID: <51546b700807051039m53908a8dl1c00683304bd0b8@mail.gmail.com> Greetings, I'm trying to browse local webpage using InstantRails 2.0 -> open Rails Applications -> choose one app (Cookbook - default one) -> press "Start with Mongrel" -> open Firefox 3.0 -> browse: http://localhost:3001/ (waiting....) -> in console there is infinite loop: mongrel_rails.rb:19: Unhandled listen loop exception #(Errno::ENOTSOCK: An operation was attempted on something that is not a socket.). Any ideas ?? THX Mateusz Winiarski www.winiarski.ugu.pl www.mawiniarski.net78.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From giorgio.clavelli at gmail.com Sat Jul 5 19:03:44 2008 From: giorgio.clavelli at gmail.com (Giorgio Clavelli) Date: Sun, 6 Jul 2008 09:03:44 +1000 Subject: [Instantrails-users] localhost running application problem In-Reply-To: <51546b700807051039m53908a8dl1c00683304bd0b8@mail.gmail.com> References: <51546b700807051039m53908a8dl1c00683304bd0b8@mail.gmail.com> Message-ID: Hi, As I never seen that problem, I start up InstantRails and tried your same steps. From the "Rails Applications" window, I selected cookbook and started mongrel with no error. However, when then I pointed the browser to http://localhost:3000/ I surprisingly got an 404 error from the browser. So I stopped mongrel and repeated the process with an application I'm playing with (actually it is for a very nice tutorial on ror routing: http://darynholmes.wordpress.com/2008/03/15/beginners-tutorial-routing-in-rails-20-with-rest-part-1-of-n/) and I haven't come across with any problem when I then went to http://localhost:3000/. So, I tried again with cookbook and noticed that it weirdly run on http://localhost:3001/. When I pointed the browser there, the cookbook worked nicely (it goes straight to the app home page as the rails welcome page has been removed from it). While I don't have the solution to your specific problem, as I never seen your error, it may be an environmental problem. I'm using Win XP and when I launch a "hello world" basic app (it has only a controller and relative view) its rails "welcome" page's "About your application's environment" link show this: Ruby version 1.8.6 (i386-mswin32) RubyGems version 1.0.1 Rails version 2.0.2 Active Record version 2.0.2 Action Pack version 2.0.2 Active Resource version 2.0.2 Action Mailer version 2.0.2 Active Support version 2.0.2 Application root E:/INSTAN~1.0-W/rails_apps/testapp Environment development Database adaptersqlite3 Another possible source of problem may be you are already using the port 3000 with another app Also, your copy of InstantRails zip file, may have been corrupted, while downloading but these a long shots. On Sun, Jul 6, 2008 at 3:39 AM, Mateusz Winiarski wrote: > > Greetings, > > I'm trying to browse local webpage using InstantRails 2.0 > > -> open Rails Applications > -> choose one app (Cookbook - default one) > -> press "Start with Mongrel" > -> open Firefox 3.0 > -> browse: http://localhost:3001/ (waiting....) > -> in console there is infinite loop: > mongrel_rails.rb:19: Unhandled listen loop exception #(Errno::ENOTSOCK: An operation was attempted on something that is not a socket.). > > Any ideas ?? > > THX > > Mateusz Winiarski > www.winiarski.ugu.pl > www.mawiniarski.net78.net > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users From giorgio.clavelli at gmail.com Sat Jul 5 19:06:07 2008 From: giorgio.clavelli at gmail.com (Giorgio Clavelli) Date: Sun, 6 Jul 2008 09:06:07 +1000 Subject: [Instantrails-users] New release RubyStack for Windows / includes git In-Reply-To: <3a6411e40806260857k5e3c0149v256843f62cb1f2a2@mail.gmail.com> References: <1213896841.7564.1.camel@daniel-x61> <3a6411e40806260857k5e3c0149v256843f62cb1f2a2@mail.gmail.com> Message-ID: Thanks Daniel, Will tell you how it worked out. On Fri, Jun 27, 2008 at 1:57 AM, Daniel Lopez wrote: > Hi Giorgio, > > Sorry for the delay in following up. You can use the git binaries from > http://code.google.com/p/msysgit/ > > Cheers > > Daniel > > On Thu, Jun 19, 2008 at 4:13 PM, Giorgio Clavelli > wrote: > > Hi, > > > > If you can add Git to InstantRails, I guess that would be beneficial. > > I've an a free account on Heroku and having Git already configured in > > instantRails, would surely reduce my Rails learning curve. Beside > > that, I prefer run a Rails stack without a binary installation, which > > I guess doesn't allow to have more versions of Rails on the same PC. > > Some months ago, I have tried RubyStack, when it seemed instantRails > > was going to close. But when you took it to life again, I was very > > glad to come back to it, as I have had some problems with RubyStack, > > that I can't remind now. > > > > Thanks for your efforts > > Giorgio > > > > On Fri, Jun 20, 2008 at 3:34 AM, Daniel wrote: > >> Hi, > >> > >> Just thought I would let the list know of a new release of RubyStack for > >> Windows, since there is a lot of overlap in functionality and may be of > >> interest to some of you also using OS X and Linux. Please let me know if > >> it is inappropriate. > >> > >> Like InstantRails, RubyStack is an open source, self-contained > >> distribution of Ruby on Rails that is easy to install and use. It runs > >> on Windows, Linux and Mac and instead of a ZIP file, it is a binary > >> installer, so it takes a couple of extra steps to get running. > >> > >> In addition to Apache, MySQL, this release includes git and a number of > >> new gems in Windows. The Linux and OS X stacks include nginx as well. > >> > >> You can see the announcement at: > >> > >> http://bitnami.org/article/new-rubystack-released > >> > >> Please let us know what you think, what we can improve, and feel free to > >> ask us any questions you may have. We have learned a lot from > >> InstantRails, so if we can help you in any way we will be happy to do so > >> > >> Best regards > >> > >> Daniel > >> > >> > >> _______________________________________________ > >> 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: From wfroelich at dbsnow.com Sun Jul 6 01:29:27 2008 From: wfroelich at dbsnow.com (Bill Froelich) Date: Sun, 6 Jul 2008 00:29:27 -0500 Subject: [Instantrails-users] localhost running application problem References: <51546b700807051039m53908a8dl1c00683304bd0b8@mail.gmail.com> Message-ID: When I do the following: 1) Download the InstantRails 2.0 zip file 2) Unzip to c:\instantrails 3) Run InstantRails.exe and allow it ot regenerate configuration files\ 4) Manage Rails Applications and check cookbook 5) Click Start with Mongrel 6) Once started open Firefox 3.0 and to go localhost:3001 I get the Online Cookbook page and everything is working fine. Sorry I can't be of more help but I am unable to reproduce the problem. Can you provide any additional details? --Bill -----Original Message----- From: instantrails-users-bounces at rubyforge.org on behalf of Mateusz Winiarski Sent: Sat 7/5/2008 12:39 PM To: instantrails-users at rubyforge.org Subject: [Instantrails-users] localhost running application problem Greetings, I'm trying to browse local webpage using InstantRails 2.0 -> open Rails Applications -> choose one app (Cookbook - default one) -> press "Start with Mongrel" -> open Firefox 3.0 -> browse: http://localhost:3001/ (waiting....) -> in console there is infinite loop: mongrel_rails.rb:19: Unhandled listen loop exception #(Errno::ENOTSOCK: An operation was attempted on something that is not a socket.). Any ideas ?? THX Mateusz Winiarski www.winiarski.ugu.pl www.mawiniarski.net78.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From mawiniarski at gmail.com Sun Jul 6 02:42:41 2008 From: mawiniarski at gmail.com (Mateusz Winiarski) Date: Sun, 6 Jul 2008 08:42:41 +0200 Subject: [Instantrails-users] localhost running application Message-ID: <51546b700807052342m2ea97d9dla0fef73001a48677@mail.gmail.com> I've reinstalled InstantRails-2.0-win downloading from instantrails website. Regenerated configuration Changed Apache port to 81 (in config file) - there is another app on port 80. Turned off proxy. Run: cookbook on 3001 (waiting...) Run: beginners tutorial: Routing in Rails 2.0... (waiting...) Run another rails app (waiting...) Every time the same loop saying that: mongrel_rails.rb:19: Unhandled listen loop exception #(Errno::ENOTSOCK: An operation was attempted on something that is not a socket.). Generally there is code in Ruby, where server is listening for connection using "accept" method, but something is wrong (so loop is server's loop) and error handling prints error and goes into the loop again. Socket is: (protocol, local IP, local port, remote IP, remote port) So I guess accept receives not full socket information, or data type is mismatched. There is no problem with firewall, cause it prompts to allow connection. Any suggestions ? Mateusz Winiarski www.winiarski.ugu.pl www.mawiniarski.net78.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From wfroelich at dbsnow.com Mon Jul 7 01:13:38 2008 From: wfroelich at dbsnow.com (Bill Froelich) Date: Mon, 7 Jul 2008 00:13:38 -0500 Subject: [Instantrails-users] localhost running application References: <51546b700807052342m2ea97d9dla0fef73001a48677@mail.gmail.com> Message-ID: What URL are you trying to hit? http://localhost:3001 If so, then Apache is not involved at all, you are trying to connect directly to mongrel. Connecting through apache would require you to use www.mycookbook.com since that is what apache is keying off to determine the server to proxy to. I would also suggest trying it with the firewall disabled. While it is prompting to allow the connection it may be having unintended consequences ;-) Hope that helps. If not, is there another machine you can try it on to try and isolate the problem? --Bill -----Original Message----- From: instantrails-users-bounces at rubyforge.org on behalf of Mateusz Winiarski Sent: Sun 7/6/2008 1:42 AM To: instantrails-users at rubyforge.org Subject: Re: [Instantrails-users] localhost running application I've reinstalled InstantRails-2.0-win downloading from instantrails website. Regenerated configuration Changed Apache port to 81 (in config file) - there is another app on port 80. Turned off proxy. Run: cookbook on 3001 (waiting...) Run: beginners tutorial: Routing in Rails 2.0... (waiting...) Run another rails app (waiting...) Every time the same loop saying that: mongrel_rails.rb:19: Unhandled listen loop exception #(Errno::ENOTSOCK: An operation was attempted on something that is not a socket.). Generally there is code in Ruby, where server is listening for connection using "accept" method, but something is wrong (so loop is server's loop) and error handling prints error and goes into the loop again. Socket is: (protocol, local IP, local port, remote IP, remote port) So I guess accept receives not full socket information, or data type is mismatched. There is no problem with firewall, cause it prompts to allow connection. Any suggestions ? Mateusz Winiarski www.winiarski.ugu.pl www.mawiniarski.net78.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From goratna at yahoo.com Wed Jul 16 02:29:47 2008 From: goratna at yahoo.com (Ratna Gogineni) Date: Tue, 15 Jul 2008 23:29:47 -0700 (PDT) Subject: [Instantrails-users] 502 proxy error during Instant Rails 2.0 installation Message-ID: <296720.4159.qm@web50408.mail.re2.yahoo.com> Hi, I just installed instant rails version 2.0 and installed it. Followed the installation instructions, but getting 502 proxy error. Followed the below procedure but getting the 502 error: * In the main menu, select Rails Applications > Manage Rails Applications... * Check the checkbox next to the cookbook application. * Click on the Start with Mongrel button. A console window will appear. This contains the cookbook web app being served by the Mongrel server.. * Wait a few seconds to make sure the cookbook web app is fully initialized, open your browser and go to: HTTP://www.mycookbook.com 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 Any help is appreciated Thanks Ratna From giorgio.clavelli at gmail.com Wed Jul 16 03:28:05 2008 From: giorgio.clavelli at gmail.com (Giorgio Clavelli) Date: Wed, 16 Jul 2008 17:28:05 +1000 Subject: [Instantrails-users] 502 proxy error during Instant Rails 2.0 installation In-Reply-To: <296720.4159.qm@web50408.mail.re2.yahoo.com> References: <296720.4159.qm@web50408.mail.re2.yahoo.com> Message-ID: a long shot (you never know): You may have another service currently using port 80 (another server maybe) On Wed, Jul 16, 2008 at 4:29 PM, Ratna Gogineni wrote: > Hi, > > I just installed instant rails version 2.0 and installed it. > Followed the installation instructions, but getting 502 proxy error. > > Followed the below procedure but getting the 502 error: > * In the main menu, select Rails Applications > Manage Rails Applications... > > * Check the checkbox next to the cookbook application. > > * Click on the Start with Mongrel button. A console window will appear. This contains the cookbook web app being served by the Mongrel server.. > > * Wait a few seconds to make sure the cookbook web app is fully initialized, open your browser and go to: > > HTTP://www.mycookbook.com > > 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 > > Any help is appreciated > > Thanks > > Ratna > > > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > From bill.walton at charter.net Wed Jul 16 08:28:30 2008 From: bill.walton at charter.net (Bill Walton) Date: Wed, 16 Jul 2008 07:28:30 -0500 Subject: [Instantrails-users] 502 proxy error during Instant Rails 2.0installation References: <296720.4159.qm@web50408.mail.re2.yahoo.com> Message-ID: <002001c8e73f$74d3e9a0$6401a8c0@Precision670> Hi Ratna, Ratna Gogineni wrote: > I just installed instant rails version 2.0 and installed it. > Followed the installation instructions, but getting 502 > proxy error. Try stopping the Apache server before you start the app with Mongrel. If that doesn't work, let us know. Clear your development.log before you start the app too. The answer will probably lie in the messages in there. Best regards, Bill From goratna at yahoo.com Wed Jul 16 19:13:27 2008 From: goratna at yahoo.com (Ratna Gogineni) Date: Wed, 16 Jul 2008 16:13:27 -0700 (PDT) Subject: [Instantrails-users] Problem on installing instant rails Message-ID: <721905.78648.qm@web50408.mail.re2.yahoo.com> Hi Bill, I just installed instant rails version 2.0 and > installed it. > > Followed the installation instructions After loading cookbook example next step to manage rails application and check box the typo. After that run Monogrel server and type the http://typo I got the unable to connect the server on the browser. Regards Ratna. From goratna at yahoo.com Wed Jul 16 23:53:05 2008 From: goratna at yahoo.com (Ratna Gogineni) Date: Wed, 16 Jul 2008 20:53:05 -0700 (PDT) Subject: [Instantrails-users] Problem loading page error - Instant Rails 2.0 installation issue Message-ID: <830038.79352.qm@web50402.mail.re2.yahoo.com> Hi, I am in the process of installing Instant Rails 2.0, earlier encountered "502 proxy error". Bill Walton's suggestion on stopping Apache server solved the problem. I was able to go the www.cookbook.com website. "Thanks Bill for your suggestion" Next started the Typo process: Running Typo * In the main menu, select Rails Applications > Manage Rails Applications... * Check the checkbox next to the typo application. * Click on the Start with Mongrel button. A console window will appear. This contains the typo web app running through Mongrel. * Wait a few seconds to make sure the Typo is fully initialized. Open your browser and go to: HTTP://typo You should be taken through a series of admin setup screens. Adding more tools Got the below error: The connection to the server was reset while the page was loading. * The site could be temporarily unavailable or too busy. Try again in a few moments. * If you are unable to load any pages, check your computer's network connection. * If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web. I am able to browse the internet and go to any other site, but this site http://typo has problem. My internet connection is fine, because can go to other sites as well as send email. Any help is appreciated. I tried rebooting the machine and had to go through the 1st step of cookbook * In the main menu, select Rails Applications > Manage Rails Applications... * Check the checkbox next to the cookbook application. * Click on the Start with Mongrel button. A console window will appear. This contains the cookbook web app being served by the Mongrel server.. * Wait a few seconds to make sure the cookbook web app is fully initialized, open your browser and go to: HTTP://www.mycookbook.com Now getting the same error of "Problem loading the page" The connection was reset The connection to the server was reset while the page was loading. * The site could be temporarily unavailable or too busy. Try again in a few moments. * If you are unable to load any pages, check your computer's network connection. * If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web. Please advice Regards Ratna From giorgio.clavelli at gmail.com Thu Jul 17 01:52:38 2008 From: giorgio.clavelli at gmail.com (Giorgio Clavelli) Date: Thu, 17 Jul 2008 15:52:38 +1000 Subject: [Instantrails-users] Problem loading page error - Instant Rails 2.0 installation issue In-Reply-To: <830038.79352.qm@web50402.mail.re2.yahoo.com> References: <830038.79352.qm@web50402.mail.re2.yahoo.com> Message-ID: It seems to me you missed the step, where you regist "www.mycookbook.com" with 127.0.0.1, which is your server IP, in the "Window's Host File", which you easily can access under the "configure" entry of the InstantRails menu. Otherwise your browser doesn't know how to translate that URL In my instance of IntantRails that file looks like this: # Copyright (c) 1993-1999 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host 127.0.0.1 localhost 127.0.0.1 www.mycookbook.com On Thu, Jul 17, 2008 at 1:53 PM, Ratna Gogineni wrote: > Hi, > > I am in the process of installing Instant Rails 2.0, earlier encountered > "502 proxy error". Bill Walton's suggestion on stopping Apache server > solved the problem. I was able to go the www.cookbook.com website. > "Thanks Bill for your suggestion" > > Next started the Typo process: > Running Typo > > * In the main menu, select Rails Applications > Manage Rails Applications... > > * Check the checkbox next to the typo application. > > * Click on the Start with Mongrel button. A console window will appear. This contains the typo web app running through Mongrel. > > * Wait a few seconds to make sure the Typo is fully initialized. Open your browser and go to: > > HTTP://typo > > You should be taken through a series of admin setup screens. > > Adding more tools > > Got the below error: > > The connection to the server was reset while the page was loading. > > * The site could be temporarily unavailable or too busy. Try again in a few > moments. > > * If you are unable to load any pages, check your computer's network > connection. > > * If your computer or network is protected by a firewall or proxy, make sure > that Firefox is permitted to access the Web. > > I am able to browse the internet and go to any other site, but this site > http://typo has problem. My internet connection is fine, because can go > to other sites as well as send email. > > Any help is appreciated. > > I tried rebooting the machine and had to go through the 1st step of cookbook > * In the main menu, select Rails Applications > Manage Rails Applications... > > * Check the checkbox next to the cookbook application. > > * Click on the Start with Mongrel button. A console window will appear. This contains the cookbook web app being served by the Mongrel server.. > > * Wait a few seconds to make sure the cookbook web app is fully initialized, open your browser and go to: > > HTTP://www.mycookbook.com > > Now getting the same error of "Problem loading the page" > The connection was reset > > > The connection to the server was reset while the page was loading. > > * The site could be temporarily unavailable or too busy. Try again in a few > moments. > > * If you are unable to load any pages, check your computer's network > connection. > > * If your computer or network is protected by a firewall or proxy, make sure > that Firefox is permitted to access the Web. > > > Please advice > > Regards > > Ratna > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users >