# Ruby

**URL:** https://www.ruby-forum.com/c/ruby/7.md?page=798

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 799

---

## [IRtests broken](https://www.ruby-forum.com/t/irtests-broken/170804)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [June 23, 2009, 12:46am UTC](https://www.ruby-forum.com/t/irtests-broken/170804 "2009-06-23T00:46:17Z")

</div>

Tomas’s recent equality changes broke rubygems, which wasn’t running in SNAP at the time of the commit. I’m in the process of getting both Rubygems running in SNAP, and getting a new revision out to Git which is clean…

---

## [Some confusion on self and the like](https://www.ruby-forum.com/t/some-confusion-on-self-and-the-like/170773)

<div class="topic-metadata">

**Author:** [@talex83](https://www.ruby-forum.com/u/talex83)\
**Replies:** 9\
**Last updated:** [June 22, 2009, 10:25pm UTC](https://www.ruby-forum.com/t/some-confusion-on-self-and-the-like/170773 "2009-06-22T22:25:38Z")

</div>

Hello all, I’m getting somewhat confused by the use of “self” when doing Ruby programming. Self in other languages has typically referred to a currently executing class, while “this” is used for the current instance. …

---

## [Code Review: NoAdaptiveSites](https://www.ruby-forum.com/t/code-review-noadaptivesites/170795)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 10:01pm UTC](https://www.ruby-forum.com/t/code-review-noadaptivesites/170795 "2009-06-22T22:01:34Z")

</div>

tfpt review “/shelveset:NoAdaptiveSites;REDMOND\\tomat” Comment : Disables adaptive compilation of Ruby sites in -X:NoAdaptiveCompilation is set. Tomas

---

## [External Acne Care: The Pros and Cons of Washing Your Face](https://www.ruby-forum.com/t/external-acne-care-the-pros-and-cons-of-washing-your-face/170794)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 10:00pm UTC](https://www.ruby-forum.com/t/external-acne-care-the-pros-and-cons-of-washing-your-face/170794 "2009-06-22T22:00:58Z")

</div>

Acne is basically an internal condition triggered by several underlying factors. However, there are additional external acne symptoms that may enhance the formation of acne or interfere with the healing process of you…

---

## [Faye 0.1.0 Released](https://www.ruby-forum.com/t/faye-0-1-0-released/170789)

<div class="topic-metadata">

**Author:** [@james-calivar](https://www.ruby-forum.com/u/james-calivar)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 9:03pm UTC](https://www.ruby-forum.com/t/faye-0-1-0-released/170789 "2009-06-22T21:03:56Z")

</div>

faye version 0.1.0 has been released! http://github.com/jcoglan/faye Faye is an implementation of the Bayeux protocol in Ruby. It includes a server backend and an adapter for Rack, and a self-contained JavaScript cl…

---

## [Productive setup for Rails development on JRuby](https://www.ruby-forum.com/t/productive-setup-for-rails-development-on-jruby/170758)

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 2\
**Last updated:** [June 22, 2009, 8:29pm UTC](https://www.ruby-forum.com/t/productive-setup-for-rails-development-on-jruby/170758 "2009-06-22T20:29:16Z")

</div>

Hi, I’m trying to minimize any interruption to my flow when developing a Rails app. My current setup is thus: Edit ruby code. Maven build / deploy to local Tomcat instance. This uses warbler to build a war, and mave…

---

## [Pair debugging](https://www.ruby-forum.com/t/pair-debugging/164024)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [June 22, 2009, 7:38pm UTC](https://www.ruby-forum.com/t/pair-debugging/164024 "2009-06-22T19:38:49Z")

</div>

I spent a couple of hours this morning debugging RubyGems unit test failures along with Jirapong Nanta. It was a fun exercise. We tracked down two issues and hopefully Jirapong found the experience useful to jump star…

---

## [Method not implemented exception](https://www.ruby-forum.com/t/method-not-implemented-exception/170778)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 1\
**Last updated:** [June 22, 2009, 7:21pm UTC](https://www.ruby-forum.com/t/method-not-implemented-exception/170778 "2009-06-22T19:21:12Z")

</div>

I am not sure but it seems like the rss module is not implemented as of yet. C:\\IronRubyProjects\\IronRubyTaskListApplication\>ir rss\_reader\_form.rb (eval):16707566:in install\_get\_attribute': The method or operation is …

---

## [Where is open-uri and why it does not work?](https://www.ruby-forum.com/t/where-is-open-uri-and-why-it-does-not-work/170766)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 25\
**Last updated:** [June 22, 2009, 6:39pm UTC](https://www.ruby-forum.com/t/where-is-open-uri-and-why-it-does-not-work/170766 "2009-06-22T18:39:26Z")

</div>

I have been trying this for weeks now and still no answer. The open-uri is messed up in IronRuby. Why does it always keep opening a file and not the URL?

---

## [How to refer to the .rb files in a folder?](https://www.ruby-forum.com/t/how-to-refer-to-the-rb-files-in-a-folder/170769)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 1\
**Last updated:** [June 22, 2009, 5:40pm UTC](https://www.ruby-forum.com/t/how-to-refer-to-the-rb-files-in-a-folder/170769 "2009-06-22T17:40:38Z")

</div>

I am trying to refer to all the libraries (modules) in the libs folder how can I achieve that: require ‘C:\\ironruby\\ironruby\\Merlin\\Main\\Languages\\Ruby\\Libs’ The above code does not work!

---

## [\[Bug #1675\] typo in variable.c](https://www.ruby-forum.com/t/bug-1675-typo-in-variable-c/170742)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 1\
**Last updated:** [June 22, 2009, 4:28pm UTC](https://www.ruby-forum.com/t/bug-1675-typo-in-variable-c/170742 "2009-06-22T16:28:25Z")

</div>

Bug #1675: typo in variable.c http://redmine.ruby-lang.org/issues/show/1675 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Koichi Sasada ruby -v: r23818 geneic e$B$Oe(B …

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/170765)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 3:53pm UTC](https://www.ruby-forum.com/t/unsubscribe/170765 "2009-06-22T15:53:37Z")

</div>

unsubscribe

---

## [\<%=h %\>](https://www.ruby-forum.com/t/h/170740)

<div class="topic-metadata">

**Author:** [@sushrut](https://www.ruby-forum.com/u/sushrut)\
**Replies:** 2\
**Last updated:** [June 22, 2009, 12:47pm UTC](https://www.ruby-forum.com/t/h/170740 "2009-06-22T12:47:54Z")

</div>

Why this syntex is use \<%=h … %\> I can’t get any help of this syntex, can u plz help me out.

---

## [Any plans for a Ruby 1.9.1 One-Click Installer?](https://www.ruby-forum.com/t/any-plans-for-a-ruby-1-9-1-one-click-installer/169920)

<div class="topic-metadata">

**Author:** [@Benjamin\_LSRussell](https://www.ruby-forum.com/u/Benjamin_LSRussell)\
**Replies:** 18\
**Last updated:** [June 22, 2009, 12:20pm UTC](https://www.ruby-forum.com/t/any-plans-for-a-ruby-1-9-1-one-click-installer/169920 "2009-06-22T12:20:53Z")

</div>

Are there any plans for a Ruby 1.9.1 One-Click Installer for Windows? The current Ruby 1.8.6 One-Click Installer (see http://rubyforge.org/frs/download.php/47082/ruby186-27\_rc2.exe) seems rather outdated. – Benjamin …

---

## [Problem with libxml and Reader#expand not freeing memory](https://www.ruby-forum.com/t/problem-with-libxml-and-reader-expand-not-freeing-memory/170743)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 11:34am UTC](https://www.ruby-forum.com/t/problem-with-libxml-and-reader-expand-not-freeing-memory/170743 "2009-06-22T11:34:56Z")

</div>

Hi, I’ve already posted it to libxml-ruby tracker page, but I guess this list is read by more people :slight\_smile: I’m trying to use libxml-ruby to parse ~250MB XML files. The files contain list of similar elements,…

---

## [Debugging in Ruby 1.9.1](https://www.ruby-forum.com/t/debugging-in-ruby-1-9-1/170641)

<div class="topic-metadata">

**Author:** [@theirishpenguin](https://www.ruby-forum.com/u/theirishpenguin)\
**Replies:** 2\
**Last updated:** [June 22, 2009, 11:05am UTC](https://www.ruby-forum.com/t/debugging-in-ruby-1-9-1/170641 "2009-06-22T11:05:21Z")

</div>

Is it possible to carry out debugging in Ruby 1.9.1? Doesn’t seem to be too much info out on the web about it. If not, is a debugger planned soon?

---

## [Problem for load github homepage](https://www.ruby-forum.com/t/problem-for-load-github-homepage/170683)

<div class="topic-metadata">

**Author:** [@m4lloc](https://www.ruby-forum.com/u/m4lloc)\
**Replies:** 3\
**Last updated:** [June 22, 2009, 8:36am UTC](https://www.ruby-forum.com/t/problem-for-load-github-homepage/170683 "2009-06-22T08:36:07Z")

</div>

Hi. I can’t access the http://github.com or https://github.com anymore! If I try to load this site with anyone browser im my house in linux or windows and in my pc or in my sisters notebook this page doesn’t load. I’…

---

## [Issue with multi threading](https://www.ruby-forum.com/t/issue-with-multi-threading/170577)

<div class="topic-metadata">

**Author:** [@Rajeswar\_reddy\_G](https://www.ruby-forum.com/u/Rajeswar_reddy_G)\
**Replies:** 3\
**Last updated:** [June 22, 2009, 8:04am UTC](https://www.ruby-forum.com/t/issue-with-multi-threading/170577 "2009-06-22T08:04:31Z")

</div>

1 require ‘net/ssh’ 2 Net::SSH.start(‘10.10.2.3’, ‘test’, :password =\> “test123”) do |ssh| 3 productsList=\[‘test1’, ‘test2’, ‘test3’, ‘test4’, ‘test5’\] 4 puts Time.now 5 threads = \[\] 6 for product in pr…

---

## [Suicide attacks is financial confusion issue](https://www.ruby-forum.com/t/suicide-attacks-is-financial-confusion-issue/170731)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 6:31am UTC](https://www.ruby-forum.com/t/suicide-attacks-is-financial-confusion-issue/170731 "2009-06-22T06:31:00Z")

</div>

All too often we are reminded that terrorism continues to inflict pain and suffering on people’s lives all over the world. Almost no week goes by without an act of terrorism taking place somewhere in the world, indisc…

---

## [Product Class](https://www.ruby-forum.com/t/product-class/170722)

<div class="topic-metadata">

**Author:** [@Zorigami](https://www.ruby-forum.com/u/Zorigami)\
**Replies:** 3\
**Last updated:** [June 22, 2009, 2:27am UTC](https://www.ruby-forum.com/t/product-class/170722 "2009-06-22T02:27:14Z")

</div>

Does anyone out there have a good “Product” Class?(With defs such as “setprice”, “name”, and “id”…) If so than could you send it to me? I’ve been trying to make one and Ideas would help. Thanks,

---

## [Matrix Rotator (#209)](https://www.ruby-forum.com/t/matrix-rotator-209/170135)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 16\
**Last updated:** [June 21, 2009, 8:18pm UTC](https://www.ruby-forum.com/t/matrix-rotator-209/170135 "2009-06-21T20:18:15Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this m…

---

## [System V MessageQueue](https://www.ruby-forum.com/t/system-v-messagequeue/170695)

<div class="topic-metadata">

**Author:** [@Sameer\_T](https://www.ruby-forum.com/u/Sameer_T)\
**Replies:** 1\
**Last updated:** [June 21, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/system-v-messagequeue/170695 "2009-06-21T15:56:40Z")

</div>

Hello Friends, I have been trying to communicate with System V message queue inside ruby script. I found a module on the web which allows me to do so. “http://rubyforge.org/projects/sysvipc/” But, I have been facing …

---

## [\[Bug #1671\] $-W is assignable](https://www.ruby-forum.com/t/bug-1671-w-is-assignable/170705)

<div class="topic-metadata">

**Author:** [@Yuki\_S](https://www.ruby-forum.com/u/Yuki_S)\
**Replies:** 1\
**Last updated:** [June 21, 2009, 3:37pm UTC](https://www.ruby-forum.com/t/bug-1671-w-is-assignable/170705 "2009-06-21T15:37:56Z")

</div>

Bug #1671: $-W is assignable http://redmine.ruby-lang.org/issues/show/1671 e$B5/I\<\<Te(B: Yuki S. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Yusuke E., e$B%+%F%4%je(B: core, Target version: 1.9.2 ruby…

---

## [\[Bug #1670\] assignment to $: breaks rb\_vm\_struct](https://www.ruby-forum.com/t/bug-1670-assignment-to-breaks-rb-vm-struct/170704)

<div class="topic-metadata">

**Author:** [@Yuki\_S](https://www.ruby-forum.com/u/Yuki_S)\
**Replies:** 1\
**Last updated:** [June 21, 2009, 3:37pm UTC](https://www.ruby-forum.com/t/bug-1670-assignment-to-breaks-rb-vm-struct/170704 "2009-06-21T15:37:56Z")

</div>

Bug #1670: assignment to $: breaks rb\_vm\_struct http://redmine.ruby-lang.org/issues/show/1670 e$B5/I\<\<Te(B: Yuki S. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Yusuke E., e$B%+%F%4%je(B: core, Target v…

---

## [Terrorism because of religious causes](https://www.ruby-forum.com/t/terrorism-because-of-religious-causes/170700)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 21, 2009, 3:00pm UTC](https://www.ruby-forum.com/t/terrorism-because-of-religious-causes/170700 "2009-06-21T15:00:28Z")

</div>

The world’s great religions all have both peaceful and violent messages from which believers can choose. Religious terrorists and violent extremists share the decision to interpret religion to justify violence, whethe…

---

## [Replacing repetition of characters in string](https://www.ruby-forum.com/t/replacing-repetition-of-characters-in-string/170682)

<div class="topic-metadata">

**Author:** [@David\_Rio](https://www.ruby-forum.com/u/David_Rio)\
**Replies:** 6\
**Last updated:** [June 21, 2009, 1:51pm UTC](https://www.ruby-forum.com/t/replacing-repetition-of-characters-in-string/170682 "2009-06-21T13:51:20Z")

</div>

Hi there, A friend of mine asked me to write a script that reads a file and marks the double characters. Something like: $ ruby scratch\_ruby\_drio.rb INPUT test. AA. I greatXXrr love it. audi tt uu yes. stop here,…

---

## ['move into' a module's namespace in irb](https://www.ruby-forum.com/t/move-into-a-modules-namespace-in-irb/170663)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 12\
**Last updated:** [June 21, 2009, 11:46am UTC](https://www.ruby-forum.com/t/move-into-a-modules-namespace-in-irb/170663 "2009-06-21T11:46:29Z")

</div>

I’m in an irb session where i have a lot of modules loaded. All of the modules have a common parent, ‘Thoth’. So, i’m referring to lots of classes called ‘Thoth::Post’, ‘Thoth::Tag’, ‘Thoth::Page’ etc. To save some …

---

## [Re: regular expression gurus--help!](https://www.ruby-forum.com/t/re-regular-expression-gurus-help/170693)

<div class="topic-metadata">

**Author:** [@dandiebolt](https://www.ruby-forum.com/u/dandiebolt)\
**Replies:** 0\
**Last updated:** [June 21, 2009, 10:42am UTC](https://www.ruby-forum.com/t/re-regular-expression-gurus-help/170693 "2009-06-21T10:42:10Z")

</div>

I think the code below could be improved, but try using StringScanner. require “strscan” s=“abcdefgh” ss = StringScanner.new(s) until ss.eos? Â a=ss.scan(/\[a-z\]{3}/) Â puts a Â ss.pos=ss.pos()-2 unless ss.eos? …

---

## [Code Review: GlobalNoAdaptive](https://www.ruby-forum.com/t/code-review-globalnoadaptive/170691)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 21, 2009, 8:07am UTC](https://www.ruby-forum.com/t/code-review-globalnoadaptive/170691 "2009-06-21T08:07:47Z")

</div>

tfpt review “/shelveset:GlobalNoAdaptive;REDMOND\\tomat” Makes NoAdaptiveCompilation a global flag so that runtime-unbound binders can use it to switch rules interpretation off. Tomas

---

## [Message Alert - You Have 1 Important Unread Message!](https://www.ruby-forum.com/t/message-alert-you-have-1-important-unread-message/170690)

<div class="topic-metadata">

**Author:** [@Kelly\_R](https://www.ruby-forum.com/u/Kelly_R)\
**Replies:** 0\
**Last updated:** [June 21, 2009, 7:20am UTC](https://www.ruby-forum.com/t/message-alert-you-have-1-important-unread-message/170690 "2009-06-21T07:20:58Z")

</div>

Message Alert - You Have 1 Important Unread Message!

[Previous page](https://www.ruby-forum.com/c/ruby/7.md?page=797)

[Next page](https://www.ruby-forum.com/c/ruby/7.md?page=799)
