From alexey.verkhovsky at gmail.com Tue Oct 2 16:48:29 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Tue, 2 Oct 2007 14:48:29 -0600 Subject: [Rubyworks-users] [ANN] RubyWorks 1.1 postponed to Oct 10 Message-ID: <3945c4270710021348w3c69cb64n4b8dbd2aef261d0f@mail.gmail.com> Dear all, We found some issues during release testing, and then something urgent came up in the last couple of days, so there wasn't enough time to properly sort it out. Therefore, release 1.1 has to be postponed. The new target is Oct 10, Wednesday of next week. Many apologies for the inconvenience. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From alexey.verkhovsky at gmail.com Thu Oct 11 00:40:51 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Wed, 10 Oct 2007 22:40:51 -0600 Subject: [Rubyworks-users] [ANN] RubyWorks 1.1 for RedHat/CentOS 4 are up, CentOS 5 and Debian coming soon Message-ID: <3945c4270710102140o56b3db64j2bbd6801651f17b7@mail.gmail.com> Dear RubyWorks users, RubyWorks 1.1 packages for RedHat and CentOS 4 are up on RubyForge.org. Changes that a sysadmin should actually pay attention to as are as follows: * all Ruby libraries, including database drivers, but excluding ruby-oci8, are packaged as gems and rubygem-* RPMs. I.e., ruby-mysql and ruby-postgres are now rubygem-mysql and rubygem-postgres, respectively. We would do the same to ruby-oci8, but it's not packaged as a gem by the author. * Mongrel stdout/stderr is preserved in /var/log/mongrel_[port] directories, using runit's logging facility. See 'man svlogd' for further details. Separate packages for CentOS 5 will be released on Monday, Oct 15. Debian / Ubuntu 1.1 release is scheduled for next Wednesday, Oct 17. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From alexey.verkhovsky at gmail.com Thu Oct 11 00:43:46 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Wed, 10 Oct 2007 22:43:46 -0600 Subject: [Rubyworks-users] [ANN] RubyWorks 1.1 for RedHat/CentOS 4 are up, CentOS 5 and Debian coming soon In-Reply-To: <3945c4270710102140o56b3db64j2bbd6801651f17b7@mail.gmail.com> References: <3945c4270710102140o56b3db64j2bbd6801651f17b7@mail.gmail.com> Message-ID: <3945c4270710102143v6c6432b9vdfeebd6a3a8b06c4@mail.gmail.com> See the 1.1 Release Notes attached. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] -------------- next part -------------- A non-text attachment was scrubbed... Name: RELEASE_NOTES_1.1.0_redhat Type: application/octet-stream Size: 4670 bytes Desc: not available Url : http://rubyforge.org/pipermail/rubyworks-users/attachments/20071010/f78bf181/attachment.obj From shurikk at gmail.com Mon Oct 15 00:44:31 2007 From: shurikk at gmail.com (Alexander Kabanov) Date: Sun, 14 Oct 2007 21:44:31 -0700 Subject: [Rubyworks-users] rubyworks, capistrano, monrel_cluster Message-ID: <856763c80710142144o1107e57dma99d7b423d849f4d@mail.gmail.com> hi, there were couple emails about rubyworks and capistrano some time ago, what is the best/proven approach to deploy multiple rails apps using capistrano and rubyworks? here is what i'm going try, let me know if you know anything better, so: capistrano deploys apps to, say: /home/cap/app1 ... /home/cap/appN and starts them with --prefix appN (part of mongrel.config), so this way we have http://host/appN for each application. Uses monit to start mongrels under /etc/rails - create multiple mongrel*.config per app (or symlinks to you appN/config/mongrel.yml) - modify monit.conf - modify haproxy.conf override cap deploy:restart task, so it will call monit to restart mongrels + perhaps sudo to user "cap" to call monit start/stop (processes start under user "rails") I'm about to try this, can people share their experience? is it good approach? one more thing, monit needs to know what processes to monitor, that's why we start mongrels individually, am I right? mongrel_cluster can start multiple mongrels for us with just one config file, is it possible to use monit with mongrel_cluster, so monit somehow discovers PID files of the mongrel processes started by mongrel_cluster and monitor/supervise them individually. best, --Alex From alexey.verkhovsky at gmail.com Tue Oct 16 01:26:22 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Mon, 15 Oct 2007 23:26:22 -0600 Subject: [Rubyworks-users] [ANN] RubyWorks 1.1 repositories for RedHat EL / CentOS 5 are out, Debian, Ubuntu coming soon Message-ID: <3945c4270710152226m36921e92i43eaa4e7e22ae151@mail.gmail.com> RPM and Rubygem repositories of RubyWorks production stack 1.1 for RedHat / CentOS 5 are up on rubyforge.org. IMPORTANT: if you are running RubyWorks 1.0 on one of those operating systems, you should change your RubyWorks repository URL from http://rubyworks.rubyforge.org/redhat/RPMS/$arch to http://rubyworks.rubyforge.org/redhat/5/$arch (note the /5/ part). This will eliminate all your current and future incompatibilities between distro libraries and RubyWorks' optional packages (rubygem-mysql, rubygem-postgres, rubygem-libxml-ruby and possibly others). Release notes are attached. Debian and Ubuntu users: hold on, your turn is next :) -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] -------------- next part -------------- A non-text attachment was scrubbed... Name: RELEASE_NOTES_1.1.0_redhat Type: application/octet-stream Size: 4683 bytes Desc: not available Url : http://rubyforge.org/pipermail/rubyworks-users/attachments/20071015/a9460be8/attachment.obj From peter.dickten at dcs-fuerth.de Fri Oct 19 13:17:36 2007 From: peter.dickten at dcs-fuerth.de (Dickten Peter) Date: Fri, 19 Oct 2007 19:17:36 +0200 Subject: [Rubyworks-users] logging ip addresses from visitors Message-ID: Hello everybody, I search for a way to log the ip addresses of my visitors. In the mongrel log and with the remote address method of the request I only get 127.0.0.1 Here is what I thought and tried ... but I'm not a linux guru, so this is probably completely wrong .... ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== I guess that is because the calls are forwarded by haproxy. So haproxy should know ... In /etc/rails/haproxy.conf I find this line log 127.0.0.1 local0 Therefore syslogd should get the data ... in /etc/syslog.conf there is not line for local0 ... Adding this line local0.* /var/log/local0.log should tell syslogd to write all levels of information to the /var/ log/local0.log but no file is created ... ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== Any idea how to get the ip addresses of the visitors? Thank you! Peter From alexey.verkhovsky at gmail.com Fri Oct 19 18:25:15 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Fri, 19 Oct 2007 16:25:15 -0600 Subject: [Rubyworks-users] logging ip addresses from visitors In-Reply-To: <3945c4270710191524qad814dds5bcbcce1c47add50@mail.gmail.com> References: <3945c4270710191524qad814dds5bcbcce1c47add50@mail.gmail.com> Message-ID: <3945c4270710191525v6ec430bbl89e805ce4b60017e@mail.gmail.com> On 10/19/07, Dickten Peter wrote: > Adding this line > local0.* /var/log/local0.log > should tell syslogd to write all levels of information to the /var/ > log/local0.log > but no file is created ... You need to configure syslog to accept TCP connections by adding -r to syslogd parameters. That's how HAProxy talks to syslog. Exactly how to do that depends on your OS. Look at section "HAProxy logs" in http://rubyworks.rubyforge.org/installation/installation-continued.html -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From eladio at caritos.com Thu Oct 25 21:23:41 2007 From: eladio at caritos.com (Eladio B. Caritos II) Date: Thu, 25 Oct 2007 21:23:41 -0400 Subject: [Rubyworks-users] /usr/sbin/sv -- command not found Message-ID: I've just rebuilt my slice to Debian Etch. I've followed the instructions to install Rubyworks unto Debian Etch. Once of the steps requires me to invoke the command: sudo /usr/sbin/sv restart haproxy I am unable to find the /usr/sbin/sv command. Let me know if I missed anything. Thanks. -- Eladio B. Caritos II Caritos Inc. http://www.caritos.com From eladio at caritos.com Sat Oct 27 14:03:55 2007 From: eladio at caritos.com (Eladio B. Caritos II) Date: Sat, 27 Oct 2007 14:03:55 -0400 Subject: [Rubyworks-users] Created Google Group, rubyworks Message-ID: Just wanted to let the rubyworks community know that I created a Google Group site specifically for Rubyworks. I find the current mailing list archive (http://rubyforge.org/mailman/listinfo/rubyworks-users) very hard to search for answers and so I thought this was the best way of doing it. -------------------- Congratulations: you've successfully created your Google Group, rubyworks. Here are the essentials: * Group name: rubyworks * Group home page: http://groups.google.com/group/rubyworks?hl=en * Group email address rubyworks at googlegroups.com -- Eladio B. Caritos II Caritos Inc. http://www.caritos.com