# Ruby

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

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

---

## [Displaying the load the server is under?](https://www.ruby-forum.com/t/displaying-the-load-the-server-is-under/98543)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 4\
**Last updated:** [July 19, 2006, 6:04am UTC](https://www.ruby-forum.com/t/displaying-the-load-the-server-is-under/98543 "2006-07-19T06:04:38Z")

</div>

On my program I want to display the load the server is currently under. The application I’m writing can get pretty intense and it based on a number of factors. I want the user to be able to tell when they are using th…

---

## [IO.popen question](https://www.ruby-forum.com/t/io-popen-question/98903)

<div class="topic-metadata">

**Author:** [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Replies:** 2\
**Last updated:** [July 19, 2006, 5:31am UTC](https://www.ruby-forum.com/t/io-popen-question/98903 "2006-07-19T05:31:40Z")

</div>

I posted this on the Rails forum but is really just a ruby question… //// iâ??m fairly new to ruby… any suggestions getting the below to work… iâ??d like to use myfile\_field.read within encodeVideo and then self.dat…

---

## [Super's not so super today](https://www.ruby-forum.com/t/supers-not-so-super-today/98881)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 9\
**Last updated:** [July 19, 2006, 4:56am UTC](https://www.ruby-forum.com/t/supers-not-so-super-today/98881 "2006-07-19T04:56:11Z")

</div>

Can anyone help me get around this? class C def r ; “r” ; end end module M def r #return ‘{’ + super + ‘}’ target = lambda{ super } b( target ) end def b( target ) ‘{’ + target.call + ‘}’ end end module N …

---

## [How to use variable in a regular expression](https://www.ruby-forum.com/t/how-to-use-variable-in-a-regular-expression/98934)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [July 19, 2006, 4:42am UTC](https://www.ruby-forum.com/t/how-to-use-variable-in-a-regular-expression/98934 "2006-07-19T04:42:57Z")

</div>

HI For ex i want to check for pattern variable in watir - Ruby and search like following pattern= ‘oo’ ie.button(:value, /pattern/i).click How do i do it. Seede

---

## [Newbie demo 2 sceptics in my company](https://www.ruby-forum.com/t/newbie-demo-2-sceptics-in-my-company/98843)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 10\
**Last updated:** [July 19, 2006, 4:04am UTC](https://www.ruby-forum.com/t/newbie-demo-2-sceptics-in-my-company/98843 "2006-07-19T04:04:23Z")

</div>

…i have 1.8.2…and i want to do a http hello world program in a web browser entirely self-contained within one computer using 1.8.2 ruby … and a (maybe the in the same ruby program) hello world using GUI windows withi…

---

## [Preferred monkeypatching technique](https://www.ruby-forum.com/t/preferred-monkeypatching-technique/98351)

<div class="topic-metadata">

**Author:** [@tomfarm](https://www.ruby-forum.com/u/tomfarm)\
**Replies:** 55\
**Last updated:** [July 19, 2006, 3:54am UTC](https://www.ruby-forum.com/t/preferred-monkeypatching-technique/98351 "2006-07-19T03:54:22Z")

</div>

Allow me to present a scenario: class Firetruck def put\_out\_fire(options = {}) # code end end Pretend Firetruck is in a 3rd party application (like Rails) that is happy to allow plugins to modify core code. Now, l…

---

## [Re: Negative Sleep (#87)](https://www.ruby-forum.com/t/re-negative-sleep-87/98936)

<div class="topic-metadata">

**Author:** [@digitalpodcast](https://www.ruby-forum.com/u/digitalpodcast)\
**Replies:** 0\
**Last updated:** [July 19, 2006, 3:44am UTC](https://www.ruby-forum.com/t/re-negative-sleep-87/98936 "2006-07-19T03:44:55Z")

</div>

Hi, I am a beginner, so please forgive my newbish skills :slight\_smile: I just discovered RubyQuiz, I think it is a great idea, and I thought about submitting my own solution. I haven’t given an alternative interpre…

---

## [Ruby SOAP Client Question](https://www.ruby-forum.com/t/ruby-soap-client-question/98891)

<div class="topic-metadata">

**Author:** [@gregarican](https://www.ruby-forum.com/u/gregarican)\
**Replies:** 5\
**Last updated:** [July 19, 2006, 3:29am UTC](https://www.ruby-forum.com/t/ruby-soap-client-question/98891 "2006-07-19T03:29:05Z")

</div>

I am attempting to write a small SOAP client script using Ruby 1.8.2 for Windows. The SOAP server will be located on the other side of an authenticating proxy server. I see there’s a #setHttpProxy method available tha…

---

## [Calling DLL from Ruby](https://www.ruby-forum.com/t/calling-dll-from-ruby/98910)

<div class="topic-metadata">

**Author:** [@Chintakrindi\_Meghan](https://www.ruby-forum.com/u/Chintakrindi_Meghan)\
**Replies:** 1\
**Last updated:** [July 19, 2006, 1:34am UTC](https://www.ruby-forum.com/t/calling-dll-from-ruby/98910 "2006-07-19T01:34:22Z")

</div>

Hi All Recently I was trying to call an open source tool (STAF) from Watir(Ruby). I am supposed to call DDVariableStore.dll But when the program is being executed, I get the error :- D:/Program Files/Watir/unittests…

---

## [Process xml in a page](https://www.ruby-forum.com/t/process-xml-in-a-page/98777)

<div class="topic-metadata">

**Author:** [@siguva](https://www.ruby-forum.com/u/siguva)\
**Replies:** 5\
**Last updated:** [July 19, 2006, 1:20am UTC](https://www.ruby-forum.com/t/process-xml-in-a-page/98777 "2006-07-19T01:20:40Z")

</div>

Hi all, I would like to process the xml in the url below, but I am unsure how. I’ve always had APIs to help me out before, so this is new. http://clinicaltrials.gov/show/NCT00001372?displayxml=true I want to get this…

---

## [Rubywebdialog](https://www.ruby-forum.com/t/rubywebdialog/98404)

<div class="topic-metadata">

**Author:** [@rajib](https://www.ruby-forum.com/u/rajib)\
**Replies:** 6\
**Last updated:** [July 19, 2006, 12:53am UTC](https://www.ruby-forum.com/t/rubywebdialog/98404 "2006-07-19T00:53:23Z")

</div>

This is rajib a ruby nub…e . I was looking for some serious gui programming on GUI in ruby when i came upon the Rubywebdialog … a wonderful approach for universal GUI. I rushed througn the instruction etc in http://w…

---

## [Jruby, JDBC](https://www.ruby-forum.com/t/jruby-jdbc/98917)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [July 19, 2006, 12:50am UTC](https://www.ruby-forum.com/t/jruby-jdbc/98917 "2006-07-19T00:50:02Z")

</div>

Howdy- I’m trying to build a simple connection to Oracle using JRuby. I’m a JRuby newbie, so my method may be quite flawed. But I cannot seem to get JRuby to recognize jars in the classpath (demonstration below). I …

---

## [Interactive mode](https://www.ruby-forum.com/t/interactive-mode/98732)

<div class="topic-metadata">

**Author:** [@kly](https://www.ruby-forum.com/u/kly)\
**Replies:** 11\
**Last updated:** [July 19, 2006, 12:40am UTC](https://www.ruby-forum.com/t/interactive-mode/98732 "2006-07-19T00:40:36Z")

</div>

Hi Is there some sort of ‘python -i’ equivalent for ruby or irb? I can’t seem to find it. I know you can ‘load’ or ‘require’ a module, but I need to load the file into the current scope. Currently all I seem to be abl…

---

## [Uh oh. In a corner. Need help](https://www.ruby-forum.com/t/uh-oh-in-a-corner-need-help/98784)

<div class="topic-metadata">

**Author:** [@xmg-eric](https://www.ruby-forum.com/u/xmg-eric)\
**Replies:** 3\
**Last updated:** [July 19, 2006, 12:05am UTC](https://www.ruby-forum.com/t/uh-oh-in-a-corner-need-help/98784 "2006-07-19T00:05:19Z")

</div>

My rakefile needs to abort when an html file can’t be parsed into REXML, so I can report the error and fix it. But… Running tidy in a subshell, I can find no way to access the error message it sends to std error. I …

---

## [\[ANN\] ruby-debug 0.2](https://www.ruby-forum.com/t/ann-ruby-debug-0-2/98714)

<div class="topic-metadata">

**Author:** [@kent](https://www.ruby-forum.com/u/kent)\
**Replies:** 1\
**Last updated:** [July 18, 2006, 11:22pm UTC](https://www.ruby-forum.com/t/ann-ruby-debug-0-2/98714 "2006-07-18T23:22:32Z")

</div>

Hello Everyone, ruby-debug 0.2 is now available. Changes: Remote debugging Bugfixes Big thanks to Max M. for providing win32 binary for this release. Installation: $ gem install ruby-debug For more information: …

---

## [Ri, rdoc, gems, and rails](https://www.ruby-forum.com/t/ri-rdoc-gems-and-rails/98803)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 6\
**Last updated:** [July 18, 2006, 10:56pm UTC](https://www.ruby-forum.com/t/ri-rdoc-gems-and-rails/98803 "2006-07-18T22:56:58Z")

</div>

One great new feature of rubygems 0.9 is that we now have ri for installed gems as well. That’s super! I’m not getting this for rails, even though I have the gems installed. Why is this, and how can I add rails’ to r…

---

## [Negative Sleep (#87)](https://www.ruby-forum.com/t/negative-sleep-87/98405)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 23\
**Last updated:** [July 18, 2006, 10:18pm UTC](https://www.ruby-forum.com/t/negative-sleep-87/98405 "2006-07-18T22:18:50Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [\[ANN\] Cerberus Continuous Integration tool released](https://www.ruby-forum.com/t/ann-cerberus-continuous-integration-tool-released/98578)

<div class="topic-metadata">

**Author:** [@anatol](https://www.ruby-forum.com/u/anatol)\
**Replies:** 2\
**Last updated:** [July 18, 2006, 9:00pm UTC](https://www.ruby-forum.com/t/ann-cerberus-continuous-integration-tool-released/98578 "2006-07-18T21:00:16Z")

</div>

Cerberus is a Continuous Integration (CI) software. Cerberus could be periodically run from scheduler and check if application tests are broken. If it happens then Cerberus will send notification to developers. Cerber…

---

## [Irb and fxri](https://www.ruby-forum.com/t/irb-and-fxri/98880)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 0\
**Last updated:** [July 18, 2006, 8:32pm UTC](https://www.ruby-forum.com/t/irb-and-fxri/98880 "2006-07-18T20:32:14Z")

</div>

Is there anyway to enable tab completion in fxri’s irb?

---

## [Embarrassing question -](https://www.ruby-forum.com/t/embarrassing-question/98873)

<div class="topic-metadata">

**Author:** [@crose1](https://www.ruby-forum.com/u/crose1)\
**Replies:** 3\
**Last updated:** [July 18, 2006, 8:01pm UTC](https://www.ruby-forum.com/t/embarrassing-question/98873 "2006-07-18T20:01:21Z")

</div>

Aren’t people a little embarrassed that the search facility of these forums is broken? Just asking - it sure would be helpful - Chris

---

## [Difference between include and require for modules?](https://www.ruby-forum.com/t/difference-between-include-and-require-for-modules/98850)

<div class="topic-metadata">

**Author:** [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Replies:** 1\
**Last updated:** [July 18, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/difference-between-include-and-require-for-modules/98850 "2006-07-18T18:57:26Z")

</div>

What I understand from require statement is that the argument to it is a file, where as include requires module/class name. But once I do a require for a specific ruby file which has various modules and classes, does…

---

## [Dnssd and avahi?](https://www.ruby-forum.com/t/dnssd-and-avahi/98856)

<div class="topic-metadata">

**Author:** [@dishkuvek](https://www.ruby-forum.com/u/dishkuvek)\
**Replies:** 0\
**Last updated:** [July 18, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/dnssd-and-avahi/98856 "2006-07-18T17:43:03Z")

</div>

Has anybody got the dnssd gem to build against avahi? avahi supposedly has howl and bonjour compatibility add-ons. I’ve installed those (and the headers) and it still does’nt fly. Just wondered if anyone else had cra…

---

## [1.8.5-preview1$B$G(Bsegv](https://www.ruby-forum.com/t/1-8-5-preview1-b-g-bsegv/98782)

<div class="topic-metadata">

**Author:** [@akira\_yamada\_S\_SSB](https://www.ruby-forum.com/u/akira_yamada_S_SSB)\
**Replies:** 1\
**Last updated:** [July 18, 2006, 5:39pm UTC](https://www.ruby-forum.com/t/1-8-5-preview1-b-g-bsegv/98782 "2006-07-18T17:39:32Z")

</div>

e$BMWNN$rF@$J$$e(Bsubjecte$B$G$9$$$^$;$s!#e(B URL:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376618 e$B$H$$$&%l%\]!\<%H$,FO$$$F$$$^$7$F!"e(B e$B%Q%C%1!\<%8E\*$K$Oe(Bpreview1e$B$G$O$J$$$N$G$9$,e(B e$BF1MM$N8=\>\]$,?tF…

---

## [Rdoc with hyperlinks](https://www.ruby-forum.com/t/rdoc-with-hyperlinks/98641)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 3\
**Last updated:** [July 18, 2006, 5:22pm UTC](https://www.ruby-forum.com/t/rdoc-with-hyperlinks/98641 "2006-07-18T17:22:36Z")

</div>

More often than not, I find when browsing rdoc, that I need to see the full source to answer questions - not just the excerpt. It would be great if the file references in html rdoc could be hyperlinks to the file loca…

---

## [Program works in irb, but not in script](https://www.ruby-forum.com/t/program-works-in-irb-but-not-in-script/98847)

<div class="topic-metadata">

**Author:** [@johnf](https://www.ruby-forum.com/u/johnf)\
**Replies:** 2\
**Last updated:** [July 18, 2006, 5:05pm UTC](https://www.ruby-forum.com/t/program-works-in-irb-but-not-in-script/98847 "2006-07-18T17:05:25Z")

</div>

Hey folks, Apologies if this is a very extreme utterly really nubie question, but I am trying to learn Ruby and have run into a bit of a snag with a small program that attempts to define a method with four variables…

---

## [Systir - System Testing In Ruby](https://www.ruby-forum.com/t/systir-system-testing-in-ruby/98845)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 0\
**Last updated:** [July 18, 2006, 4:46pm UTC](https://www.ruby-forum.com/t/systir-system-testing-in-ruby/98845 "2006-07-18T16:46:11Z")

</div>

Hi, Systir has been bandied about everywhere (http://atomicobject.com/systir.page).Has anyone got any really good documentation or examples on it? Because I couldn’t make head or tail of it, and this is not just me, …

---

## [How to learn ruby language?](https://www.ruby-forum.com/t/how-to-learn-ruby-language/98781)

<div class="topic-metadata">

**Author:** [@roopeman](https://www.ruby-forum.com/u/roopeman)\
**Replies:** 5\
**Last updated:** [July 18, 2006, 4:39pm UTC](https://www.ruby-forum.com/t/how-to-learn-ruby-language/98781 "2006-07-18T16:39:59Z")

</div>

How to learn ruby language? where i can find some simple code to learn? the rubyquiz.com is too hard to understand for me!

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/98737)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 2\
**Last updated:** [July 18, 2006, 4:18pm UTC](https://www.ruby-forum.com/t/no-subject/98737 "2006-07-18T16:18:24Z")

</div>

On Jul 14, 2006, at 8:31 PM, Ryan R. wrote: Pathing works most of the time, but I had some problems with RadRails/ Eclipse because it doesn’t appear to honor pathing provided in .profile or .login. Which prompted …

---

## [$B%(%i!\<%A%'%C%/$N$J$$(Bmalloc](https://www.ruby-forum.com/t/b-i-a-c-n-j-bmalloc/98822)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 1\
**Last updated:** [July 18, 2006, 3:25pm UTC](https://www.ruby-forum.com/t/b-i-a-c-n-j-bmalloc/98822 "2006-07-18T15:25:03Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B http://www.nongnu.org/failmalloc/e$B$r8+$F!“e(Bmalloce$B$NLa$jCM$re(B e$B%A%'%C%/$7$F$J$$%3!\<%I$rC5$7$?$N$G$9$,!”$U$?$D$\[$IH=CG$G$-$Je(B e$B$$%U%!%$%k$,$"$j$^$7$?!#e(B win32/win32.c:…

---

## [Numeric#step](https://www.ruby-forum.com/t/numeric-step/98683)

<div class="topic-metadata">

**Author:** [@Tadayoshi\_F](https://www.ruby-forum.com/u/Tadayoshi_F)\
**Replies:** 1\
**Last updated:** [July 18, 2006, 3:12pm UTC](https://www.ruby-forum.com/t/numeric-step/98683 "2006-07-18T15:12:34Z")

</div>

e$B$U$J$P$G$9!#e(B Numeric#step e$B$G$9$,!“e(B1.0/0 = e$BL58BBg$G$”$k$H$-!"e(B $ ruby -v -eInf=1.0/0 -e’1.step(Inf, Inf){|x| p x}’ ruby 1.8.4 (2005-12-24) \[i386-freebsd5.4\] $ ruby -v -r bigdecimal -r bigdecimal/util …

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

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