# Ruby

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

[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:** 729

---

## [Code Review: MSpecBug](https://www.ruby-forum.com/t/code-review-mspecbug/177305)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [October 14, 2009, 10:25pm UTC](https://www.ruby-forum.com/t/code-review-mspecbug/177305 "2009-10-14T22:25:20Z")

</div>

tfpt review “/shelveset:MSpecBug;REDMOND\\tomat” Comment : Fixes a bug in MSpec. The current implementation removes an alias for :respond\_to method while it still needs it. There is a bug in MRI that covers this up. …

---

## [\[ANN\] New Committer: Yoko Harada (yokolet)](https://www.ruby-forum.com/t/ann-new-committer-yoko-harada-yokolet/177313)

<div class="topic-metadata">

**Author:** [@Thomas\_E\_Enebo](https://www.ruby-forum.com/u/Thomas_E_Enebo)\
**Replies:** 1\
**Last updated:** [October 14, 2009, 10:15pm UTC](https://www.ruby-forum.com/t/ann-new-committer-yoko-harada-yokolet/177313 "2009-10-14T22:15:22Z")

</div>

Everyone welcome our newest committer Yoko H. to the team. Yoko will primarily be working on our JRuby embedding APIs and in the near future she will be integrating the jruby-embed project into the main JRuby codebas…

---

## [How to resume execution of a FOR loop after timeout error](https://www.ruby-forum.com/t/how-to-resume-execution-of-a-for-loop-after-timeout-error/177254)

<div class="topic-metadata">

**Author:** [@slead](https://www.ruby-forum.com/u/slead)\
**Replies:** 3\
**Last updated:** [October 14, 2009, 9:53pm UTC](https://www.ruby-forum.com/t/how-to-resume-execution-of-a-for-loop-after-timeout-error/177254 "2009-10-14T21:53:54Z")

</div>

Hi everyone, I’m new to Ruby but familiar with some other programming and scripting languages. I like what I see so far. My question is how to resume execution of a FOR loop, after a certain time has elapsed. Some ps…

---

## [Rubyforge 2.0, revisited](https://www.ruby-forum.com/t/rubyforge-2-0-revisited/177300)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 2\
**Last updated:** [October 14, 2009, 8:23pm UTC](https://www.ruby-forum.com/t/rubyforge-2-0-revisited/177300 "2009-10-14T20:23:00Z")

</div>

A very hastily put together presentation, but I thought the idea worth sharing… http://docs.google.com/present/view?id=df2kprmf\_40d3hzbvhj&interval=5

---

## [Bizarre problem in 1.4.0RC1](https://www.ruby-forum.com/t/bizarre-problem-in-1-4-0rc1/176844)

<div class="topic-metadata">

**Author:** [@a\_mc](https://www.ruby-forum.com/u/a_mc)\
**Replies:** 13\
**Last updated:** [October 14, 2009, 7:33pm UTC](https://www.ruby-forum.com/t/bizarre-problem-in-1-4-0rc1/176844 "2009-10-14T19:33:49Z")

</div>

Hi all, I’m experiencing very strange behavior with 1.4.0RC1. The problem is, I can’t seem to isolate a simple test case, when I extract the offending code from my app, everything works fine. The code works fine unde…

---

## [IE8 popup](https://www.ruby-forum.com/t/ie8-popup/177311)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 7:25pm UTC](https://www.ruby-forum.com/t/ie8-popup/177311 "2009-10-14T19:25:09Z")

</div>

In IE7 I was able to use the following code to click onblur javascript popups: def handle\_onblur\_popup(ie, button, waitTime = 4) #used to handle certain JavaScript popups w = WinClicker.new longName = ie.dir.gsub("/…

---

## [Vlad-git 2.1.0 Released](https://www.ruby-forum.com/t/vlad-git-2-1-0-released/177309)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/vlad-git-2-1-0-released/177309 "2009-10-14T19:08:03Z")

</div>

vlad-git version 2.1.0 has been released! http://github.com/jbarnette/vlad-git http://rubyforge.org/projects/hitsquad Vlad plugin for Git support. This was previously part of Vlad, but all modules outside the core re…

---

## [Prior art of manipulating OpenXML with IronRuby?](https://www.ruby-forum.com/t/prior-art-of-manipulating-openxml-with-ironruby/177297)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 11\
**Last updated:** [October 14, 2009, 6:37pm UTC](https://www.ruby-forum.com/t/prior-art-of-manipulating-openxml-with-ironruby/177297 "2009-10-14T18:37:01Z")

</div>

Hi, I’m going to need manipulation of Excel/Word documents for a production app I’ll use IronRuby there. Did anyone develop some kind of tool or dsl to handle these manipulations already ? I’d like to avoid reinv…

---

## [How to solve a special JRuby and Java syntax conflict?](https://www.ruby-forum.com/t/how-to-solve-a-special-jruby-and-java-syntax-conflict/177286)

<div class="topic-metadata">

**Author:** [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Replies:** 2\
**Last updated:** [October 14, 2009, 6:03pm UTC](https://www.ruby-forum.com/t/how-to-solve-a-special-jruby-and-java-syntax-conflict/177286 "2009-10-14T18:03:03Z")

</div>

Dear all, I’ve posted this previously to the Ruby Forum: In a JRuby script, I try to use Java code from to do matrix calculations. This works in principle fine, however, as described in the accompanying tutorial, J…

---

## [Regarding: deployment](https://www.ruby-forum.com/t/regarding-deployment/197003)

<div class="topic-metadata">

**Author:** [@pradheep](https://www.ruby-forum.com/u/pradheep)\
**Replies:** 3\
**Last updated:** [October 14, 2009, 4:48pm UTC](https://www.ruby-forum.com/t/regarding-deployment/197003 "2009-10-14T16:48:02Z")

</div>

Hi, I am very new to deploy process… i have an ror application and i am using netbeansIDE6.5. i dont know how to deploy and move the application to production mode . Please explain me how to deploy in step by step

---

## [Ruby sql question](https://www.ruby-forum.com/t/ruby-sql-question/177291)

<div class="topic-metadata">

**Author:** [@mshah](https://www.ruby-forum.com/u/mshah)\
**Replies:** 7\
**Last updated:** [October 14, 2009, 4:47pm UTC](https://www.ruby-forum.com/t/ruby-sql-question/177291 "2009-10-14T16:47:48Z")

</div>

Hi, Im using ActiveRecord to find something. \<% @new = User.find\_by\_sql(“SELECT \* FROM users WHERE users.id NOT IN (array)”) %\> Now, i can’t seem to make it look through the array. I had a look for this problem in o…

---

## [Ruby Debugger install on MacOSx](https://www.ruby-forum.com/t/ruby-debugger-install-on-macosx/177290)

<div class="topic-metadata">

**Author:** [@koko](https://www.ruby-forum.com/u/koko)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 4:22pm UTC](https://www.ruby-forum.com/t/ruby-debugger-install-on-macosx/177290 "2009-10-14T16:22:53Z")

</div>

Dear all, How can I install and configure Ruby Debugger on MacosX. My IDE is eclipse Version: 3.4.2 Build id: M20090211-1700 Debugging Engine not started The ‘Fast Ruby Debugger (ruby-debug)’ is selected, but the …

---

## [Jruby and web interface](https://www.ruby-forum.com/t/jruby-and-web-interface/177280)

<div class="topic-metadata">

**Author:** [@rubina](https://www.ruby-forum.com/u/rubina)\
**Replies:** 1\
**Last updated:** [October 14, 2009, 4:10pm UTC](https://www.ruby-forum.com/t/jruby-and-web-interface/177280 "2009-10-14T16:10:35Z")

</div>

Hello Jruby World, Today JRuby has the capability to interface with Java SWING via Netbeans. Is there a Web interface to accomplish the same thing, such as STRUTS, for example? Thank you

---

## [\[ANN\] activerecord-jdbc-adapter 0.9.2](https://www.ruby-forum.com/t/ann-activerecord-jdbc-adapter-0-9-2/176607)

<div class="topic-metadata">

**Author:** [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Replies:** 8\
**Last updated:** [October 14, 2009, 2:09pm UTC](https://www.ruby-forum.com/t/ann-activerecord-jdbc-adapter-0-9-2/176607 "2009-10-14T14:09:59Z")

</div>

Hi all, Just pushed the new activerecord-jdbc-adapter 0.9.2 release. It brings compatibility up to a new level, works with JRuby trunk and the soon-to-be-released JRuby 1.4, and many other fixes ( issues fixed in tot…

---

## [10% off for groups of 5+ at The Compleat Rubyist](https://www.ruby-forum.com/t/10-off-for-groups-of-5-at-the-compleat-rubyist/177279)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 0\
**Last updated:** [October 14, 2009, 1:19pm UTC](https://www.ruby-forum.com/t/10-off-for-groups-of-5-at-the-compleat-rubyist/177279 "2009-10-14T13:19:38Z")

</div>

Hi all – We’re offering a 10% discount to groups of 5 or more signing up for The Compleat Rubyist. Use the code TCR5PLUS when signing up. “The what?” you ask. The Compleat Rubyist is a two-day Ruby training event in …

---

## [Poll on Eval in Ruby](https://www.ruby-forum.com/t/poll-on-eval-in-ruby/176930)

<div class="topic-metadata">

**Author:** [@Kazimir\_Majorinc](https://www.ruby-forum.com/u/Kazimir_Majorinc)\
**Replies:** 9\
**Last updated:** [October 14, 2009, 12:15pm UTC](https://www.ruby-forum.com/t/poll-on-eval-in-ruby/176930 "2009-10-14T12:15:48Z")

</div>

I am Lisp programmer and I write an article on issues as macros, fexprs and eval. I want to compare opinion of Ruby and Lisp programmers on eval. Some readers might think that such post constitute spam on Ruby newsgr…

---

## [How to execute a break in a loop via user input](https://www.ruby-forum.com/t/how-to-execute-a-break-in-a-loop-via-user-input/177250)

<div class="topic-metadata">

**Author:** [@wet](https://www.ruby-forum.com/u/wet)\
**Replies:** 3\
**Last updated:** [October 14, 2009, 10:36am UTC](https://www.ruby-forum.com/t/how-to-execute-a-break-in-a-loop-via-user-input/177250 "2009-10-14T10:36:50Z")

</div>

Hi all, i am a complete noobie here to Ruby and programming in general. I was looking for the best way to break a loop using “user input” via gets. I have a loop running that needs to be broken when the user hits a …

---

## [Enumerating and mixin](https://www.ruby-forum.com/t/enumerating-and-mixin/177188)

<div class="topic-metadata">

**Author:** [@Rajinder\_Y](https://www.ruby-forum.com/u/Rajinder_Y)\
**Replies:** 7\
**Last updated:** [October 14, 2009, 10:25am UTC](https://www.ruby-forum.com/t/enumerating-and-mixin/177188 "2009-10-14T10:25:07Z")

</div>

I am trying to learn the correct way to enumerate in Ruby, a few things are missing in my 1st stab at this. How do I use mixin with Enumerable to rewrite the class I have below? I can’t seem to find a concrete exampl…

---

## [Can I unpack ruby like a gem?](https://www.ruby-forum.com/t/can-i-unpack-ruby-like-a-gem/177243)

<div class="topic-metadata">

**Author:** [@tick](https://www.ruby-forum.com/u/tick)\
**Replies:** 2\
**Last updated:** [October 14, 2009, 10:12am UTC](https://www.ruby-forum.com/t/can-i-unpack-ruby-like-a-gem/177243 "2009-10-14T10:12:53Z")

</div>

Here’s what I like about gems, I can have multiple versions installed parallel and on top of that I can unpack them into vendor/. Why can’t I do that with the ruby versions. I have projects using 1.8 as well as some …

---

## [No Enumerator#\[\]?](https://www.ruby-forum.com/t/no-enumerator/177239)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 8\
**Last updated:** [October 14, 2009, 9:11am UTC](https://www.ruby-forum.com/t/no-enumerator/177239 "2009-10-14T09:11:57Z")

</div>

Currently “ab\\r\\nc”.lines\[0\] NoMethodError: undefined method \[\]' for #\<Enumerator:0x155f220\> from (irb):1 from C:/installs/ruby191p243p2/bin/irb:12:in’ Doesn’t it seem reasonable for this to exist? Thanks. -r

---

## [Get all emails in a string?](https://www.ruby-forum.com/t/get-all-emails-in-a-string/177225)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 3\
**Last updated:** [October 14, 2009, 6:18am UTC](https://www.ruby-forum.com/t/get-all-emails-in-a-string/177225 "2009-10-14T06:18:37Z")

</div>

Hi all I know this question is quite old, but I need to detect all the email addresses in a string. I guess I could use a RegEx, and I stumbled upon TMail that seems to do a great job validating emails. But I just can…

---

## [Ruby Ripper less Ruby 1.9](https://www.ruby-forum.com/t/ruby-ripper-less-ruby-1-9/177242)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 4\
**Last updated:** [October 14, 2009, 4:51am UTC](https://www.ruby-forum.com/t/ruby-ripper-less-ruby-1-9/177242 "2009-10-14T04:51:13Z")

</div>

Can’t seem to find much on this. The last post I could find dated back to 2006. I take it Ripper still can’t be used with 1.8.x?

---

## [Nerd Dinner tonight in Redmond](https://www.ruby-forum.com/t/nerd-dinner-tonight-in-redmond/177245)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 2\
**Last updated:** [October 14, 2009, 12:51am UTC](https://www.ruby-forum.com/t/nerd-dinner-tonight-in-redmond/177245 "2009-10-14T00:51:25Z")

</div>

Please ignore if it’s unfeasible for you to come to the Redmond campus tonight =P Anyone want to the nerd dinner tonight? It’s open to anyone who wants to go. But you must register at this link: http://www.nerddinner…

---

## [Nokogiri: Is there a way to append DOM to another DOM?](https://www.ruby-forum.com/t/nokogiri-is-there-a-way-to-append-dom-to-another-dom/177231)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [October 14, 2009, 12:42am UTC](https://www.ruby-forum.com/t/nokogiri-is-there-a-way-to-append-dom-to-another-dom/177231 "2009-10-14T00:42:03Z")

</div>

Hi all Is there a way to append a DOM to another DOM? Nokogiri::HTML(“ Test ”).join(Nokogiri::HTML(“Test2 ”)) Thanks Josh

---

## [Rice installation issue](https://www.ruby-forum.com/t/rice-installation-issue/177208)

<div class="topic-metadata">

**Author:** [@george\_thomas](https://www.ruby-forum.com/u/george_thomas)\
**Replies:** 4\
**Last updated:** [October 13, 2009, 6:36pm UTC](https://www.ruby-forum.com/t/rice-installation-issue/177208 "2009-10-13T18:36:08Z")

</div>

I have rice gem (rice-1.1.0.gem) downloaded to my folder C:\\Ruby19 I have tried the following at command prompt window to install rice. gem install rice However , I am getting the following error: \<\< Building native…

---

## [\[ANN\] Ruby Developer's Meeting 20091013](https://www.ruby-forum.com/t/ann-ruby-developers-meeting-20091013/176356)

<div class="topic-metadata">

**Author:** [@Yugui](https://www.ruby-forum.com/u/Yugui)\
**Replies:** 4\
**Last updated:** [October 13, 2009, 5:15pm UTC](https://www.ruby-forum.com/t/ann-ruby-developers-meeting-20091013/176356 "2009-10-13T17:15:57Z")

</div>

Yuguie$B$G$9!#e(B e$B2\<5-$NMWNN$Ge(BRubye$B3+H/2q5De(B20091013e$B$r3+:E$7$^$9!#e(B Ruby 1.9.2e$B$K\<h$j9~$^$l$k$G$"$m$&5!G=$rOC$79g$C$?$j!"\>u67$r3NG’$7$?$j!"e(B e$B$=$l$K4p$E$$$Fe(BRuby 1.9.2e$B$N%j%j!\<%97W2h$r7h$a$?…

---

## [How to tell if you're on windows](https://www.ruby-forum.com/t/how-to-tell-if-youre-on-windows/177075)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 11\
**Last updated:** [October 13, 2009, 4:16pm UTC](https://www.ruby-forum.com/t/how-to-tell-if-youre-on-windows/177075 "2009-10-13T16:16:14Z")

</div>

Is it possible to tell that you’re on windows from within jruby? Thanks! -r

---

## [How To Unlock Locked iPod](https://www.ruby-forum.com/t/how-to-unlock-locked-ipod/197002)

<div class="topic-metadata">

**Author:** [@Forum](https://www.ruby-forum.com/u/Forum)\
**Replies:** 0\
**Last updated:** [October 13, 2009, 3:02pm UTC](https://www.ruby-forum.com/t/how-to-unlock-locked-ipod/197002 "2009-10-13T15:02:28Z")

</div>

How To Unlock Locked iPod http://bit.ly/hddpp http://bit.ly/hddpp How To Unlock Locked iPod

---

## [How To Unlock Locked iPod](https://www.ruby-forum.com/t/how-to-unlock-locked-ipod/177214)

<div class="topic-metadata">

**Author:** [@Forum](https://www.ruby-forum.com/u/Forum)\
**Replies:** 0\
**Last updated:** [October 13, 2009, 3:00pm UTC](https://www.ruby-forum.com/t/how-to-unlock-locked-ipod/177214 "2009-10-13T15:00:43Z")

</div>

How To Unlock Locked iPod http://bit.ly/hddpp http://bit.ly/hddpp How To Unlock Locked iPod

---

## [Trouble with local variables](https://www.ruby-forum.com/t/trouble-with-local-variables/177057)

<div class="topic-metadata">

**Author:** [@sevhead](https://www.ruby-forum.com/u/sevhead)\
**Replies:** 6\
**Last updated:** [October 13, 2009, 12:27pm UTC](https://www.ruby-forum.com/t/trouble-with-local-variables/177057 "2009-10-13T12:27:35Z")

</div>

Hello everyone! I’ve been coding with Ruby for about three days, and I just ran into my first big snag. I’ve been working on a quiz, and the first one had questions like this: puts ‘How many classes have a taunt kill…

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

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