# Ruby

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

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

---

## [Inline text (like Kontera)](https://www.ruby-forum.com/t/inline-text-like-kontera/125791)

<div class="topic-metadata">

**Author:** [@HAL\_9000](https://www.ruby-forum.com/u/HAL_9000)\
**Replies:** 1\
**Last updated:** [January 12, 2008, 2:12am UTC](https://www.ruby-forum.com/t/inline-text-like-kontera/125791 "2008-01-12T02:12:39Z")

</div>

Wondering if anyone has done anything in Ruby like what what Kontera or Vibrant Media are doing? Email me… Thanks, Hal

---

## [Trying to squeeze a variable in here =\>](https://www.ruby-forum.com/t/trying-to-squeeze-a-variable-in-here/125770)

<div class="topic-metadata">

**Author:** [@jackster](https://www.ruby-forum.com/u/jackster)\
**Replies:** 2\
**Last updated:** [January 11, 2008, 11:13pm UTC](https://www.ruby-forum.com/t/trying-to-squeeze-a-variable-in-here/125770 "2008-01-11T23:13:22Z")

</div>

Hi Ruby… I have an SNMP command that I’m using which works fine in my script: There is a static portion that needs to be changed so I can feed in the variable and it’s a bit tricky. I have tried every combination of "…

---

## [Search pattern](https://www.ruby-forum.com/t/search-pattern/125644)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 7\
**Last updated:** [January 11, 2008, 8:59pm UTC](https://www.ruby-forum.com/t/search-pattern/125644 "2008-01-11T20:59:08Z")

</div>

Hi all, I have a Ruby script as follow. What I try to do is to find a pattern in the string and report its position. I wonder how to get the position of pattern in the string. Thank you in advance, Li seq=“5’aaaAAA…

---

## [XMLRPC4R Bignum problem](https://www.ruby-forum.com/t/xmlrpc4r-bignum-problem/125758)

<div class="topic-metadata">

**Author:** [@levelheaded](https://www.ruby-forum.com/u/levelheaded)\
**Replies:** 0\
**Last updated:** [January 11, 2008, 7:43pm UTC](https://www.ruby-forum.com/t/xmlrpc4r-bignum-problem/125758 "2008-01-11T19:43:11Z")

</div>

I am using XML RPC4R package, I have the server implemented in java and I am writing a client in ruby. But i realize I can’t pass Ints bigger than 32bits a parameter to the call or call2 methods in xml rpc client. Wha…

---

## [Dike-0.0.4](https://www.ruby-forum.com/t/dike-0-0-4/125507)

<div class="topic-metadata">

**Author:** [@ara\_howard](https://www.ruby-forum.com/u/ara_howard)\
**Replies:** 4\
**Last updated:** [January 11, 2008, 5:59pm UTC](https://www.ruby-forum.com/t/dike-0-0-4/125507 "2008-01-11T17:59:59Z")

</div>

NAME dike SYNOPSIS a simple memory leak detector for ruby with preconfigured rails hooks. INSTALL gem install dike URIS http://www.codeforpeople.com/lib/ruby/ http://rubyforge.org/projects/codeforpeople/ DESCRI…

---

## [Need command line to run a file 4 times](https://www.ruby-forum.com/t/need-command-line-to-run-a-file-4-times/125721)

<div class="topic-metadata">

**Author:** [@jackster](https://www.ruby-forum.com/u/jackster)\
**Replies:** 12\
**Last updated:** [January 11, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/need-command-line-to-run-a-file-4-times/125721 "2008-01-11T17:33:22Z")

</div>

Hi Ruby Forum… I have a script that I run every minute in cron to gather SNMP statistics and put them in a DB. Since CRON only goes down to one minute intervals and I’d rather not change my code to loop so that I can…

---

## [DRB issue on polling and waiting](https://www.ruby-forum.com/t/drb-issue-on-polling-and-waiting/125733)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 1\
**Last updated:** [January 11, 2008, 5:31pm UTC](https://www.ruby-forum.com/t/drb-issue-on-polling-and-waiting/125733 "2008-01-11T17:31:00Z")

</div>

I have a q on how drb works. Lets say, i run a chat server using drb at port 9000. If 2 clients try to connect to the port 9000 at the same time, how will the server act. will it keep 1 waiting or will it drop the req…

---

## [FXRuby Book Now Available in Beta](https://www.ruby-forum.com/t/fxruby-book-now-available-in-beta/125420)

<div class="topic-metadata">

**Author:** [@Lyle\_J](https://www.ruby-forum.com/u/Lyle_J)\
**Replies:** 2\
**Last updated:** [January 11, 2008, 5:19pm UTC](https://www.ruby-forum.com/t/fxruby-book-now-available-in-beta/125420 "2008-01-11T17:19:52Z")

</div>

All, I’m pleased to report that the FXRuby book has just been released as a Beta book: Pragmatic Bookshelf: By Developers, For Developers That means that although the book is still under development, you can get ear…

---

## [Requiring home-baked C# dlls](https://www.ruby-forum.com/t/requiring-home-baked-c-dlls/125738)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 0\
**Last updated:** [January 11, 2008, 4:26pm UTC](https://www.ruby-forum.com/t/requiring-home-baked-c-dlls/125738 "2008-01-11T16:26:21Z")

</div>

Hi, a quick report: when requiring a home-baked C# dll from ruby (require ‘service.dll’) I get a Ruby.Builtins.LoadError - french error message on my machine, but it could mean something like informations about an ab…

---

## [Problem: grey shadow in CSS vertical text](https://www.ruby-forum.com/t/problem-grey-shadow-in-css-vertical-text/125717)

<div class="topic-metadata">

**Author:** [@marfola](https://www.ruby-forum.com/u/marfola)\
**Replies:** 1\
**Last updated:** [January 11, 2008, 4:02pm UTC](https://www.ruby-forum.com/t/problem-grey-shadow-in-css-vertical-text/125717 "2008-01-11T16:02:18Z")

</div>

I’m trying to implement bottom-to-top vertical text using CSS attributes in IE : writing-mode: tb-rl; filter: flipv fliph; But I have encountered the following: the text is displayed with a grey shadow (instead of a…

---

## [How to use highline](https://www.ruby-forum.com/t/how-to-use-highline/125680)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 2\
**Last updated:** [January 11, 2008, 3:03pm UTC](https://www.ruby-forum.com/t/how-to-use-highline/125680 "2008-01-11T15:03:02Z")

</div>

Hello I am trying highline and am little confused here. for eg menu.choice(:load, “Load a file.”) do |command, details| say(“Loading file with options: #{details}…”) end what can go into command and details. menu…

---

## [Win32ole called from watir script](https://www.ruby-forum.com/t/win32ole-called-from-watir-script/125603)

<div class="topic-metadata">

**Author:** [@shinji](https://www.ruby-forum.com/u/shinji)\
**Replies:** 2\
**Last updated:** [January 11, 2008, 2:42pm UTC](https://www.ruby-forum.com/t/win32ole-called-from-watir-script/125603 "2008-01-11T14:42:35Z")

</div>

I’ve been using WATiR to test a website. At one point, a VBScript dialogue is shown which needs a Yes No response. I found that I can manually browse to the page, and then using the win32ole library, send a yes value …

---

## [Patch submission - sockets](https://www.ruby-forum.com/t/patch-submission-sockets/124512)

<div class="topic-metadata">

**Author:** [@Terence\_L](https://www.ruby-forum.com/u/Terence_L)\
**Replies:** 9\
**Last updated:** [January 11, 2008, 2:05pm UTC](https://www.ruby-forum.com/t/patch-submission-sockets/124512 "2008-01-11T14:05:28Z")

</div>

Hello list, Please find attached the beginnings of a sockets implementation for IronRuby. Included in this patch is the following: Class BasicSocket Class IPSocket Class TCPSocket Class TCPServer These classes aren’…

---

## [Rexml and some rather basic problems](https://www.ruby-forum.com/t/rexml-and-some-rather-basic-problems/125712)

<div class="topic-metadata">

**Author:** [@lasastard](https://www.ruby-forum.com/u/lasastard)\
**Replies:** 2\
**Last updated:** [January 11, 2008, 1:17pm UTC](https://www.ruby-forum.com/t/rexml-and-some-rather-basic-problems/125712 "2008-01-11T13:17:27Z")

</div>

Hi, I’ve been playing around with ruby for a while now, but wouldnt consider myself an experienced user. For a new project I want to use a xml parser to extract some information from a file. I understand that rexml i…

---

## [Why does this code leak?](https://www.ruby-forum.com/t/why-does-this-code-leak/125440)

<div class="topic-metadata">

**Author:** [@ara\_howard](https://www.ruby-forum.com/u/ara_howard)\
**Replies:** 37\
**Last updated:** [January 11, 2008, 11:47am UTC](https://www.ruby-forum.com/t/why-does-this-code-leak/125440 "2008-01-11T11:47:03Z")

</div>

cfp2:~ \> cat a.rb #! /usr/bin/env ruby require ‘net/http’ 3.times do Net::HTTP.start(‘www.google.com’) do |http| http\_response = http.get ‘/’ end p ObjectSpace.each\_object(Net::HTTPResponse){} end cfp2:~ \> ruby …

---

## [Ruby connects the db2?](https://www.ruby-forum.com/t/ruby-connects-the-db2/125706)

<div class="topic-metadata">

**Author:** [@jangmars](https://www.ruby-forum.com/u/jangmars)\
**Replies:** 0\
**Last updated:** [January 11, 2008, 10:55am UTC](https://www.ruby-forum.com/t/ruby-connects-the-db2/125706 "2008-01-11T10:55:57Z")

</div>

Failed to connect to the \[cisfedb\] due to: \[IBM\]\[CLI Driver\] CLI0133E Option type out of range.

---

## [Thanks all](https://www.ruby-forum.com/t/thanks-all/125656)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [January 11, 2008, 8:09am UTC](https://www.ruby-forum.com/t/thanks-all/125656 "2008-01-11T08:09:45Z")

</div>

Just wanted to thank everyone for their work on Ruby. Here is why I love it: very descriptive! I can add functions to existing classes and suddenly String.to\_parsed\_date works and makes sense. Blocks–annoying at the…

---

## [How to monitor an Array's change?](https://www.ruby-forum.com/t/how-to-monitor-an-arrays-change/125563)

<div class="topic-metadata">

**Author:** [@Magicloud\_M](https://www.ruby-forum.com/u/Magicloud_M)\
**Replies:** 3\
**Last updated:** [January 11, 2008, 8:03am UTC](https://www.ruby-forum.com/t/how-to-monitor-an-arrays-change/125563 "2008-01-11T08:03:06Z")

</div>

Hello, Array under .net has some event on content changing. How to do monitor like this in ruby? Thanks.

---

## [KrakÃ³w Ruby Users Group meeting 22. 01.2008](https://www.ruby-forum.com/t/kraka-w-ruby-users-group-meeting-22-01-2008/125695)

<div class="topic-metadata">

**Author:** [@marcin\_r](https://www.ruby-forum.com/u/marcin_r)\
**Replies:** 0\
**Last updated:** [January 11, 2008, 7:51am UTC](https://www.ruby-forum.com/t/kraka-w-ruby-users-group-meeting-22-01-2008/125695 "2008-01-11T07:51:24Z")

</div>

Hello. I would like to invite you to first this year KRUG meeting. 22 January 2008 19.00 We choose new localisation - we’re meeting in “Stara Piekarnia” ( Coordinates) It’s really nice place with comfy couches. An…

---

## [Ruby 1.9 Warning not there?](https://www.ruby-forum.com/t/ruby-1-9-warning-not-there/125692)

<div class="topic-metadata">

**Author:** [@indianguru](https://www.ruby-forum.com/u/indianguru)\
**Replies:** 1\
**Last updated:** [January 11, 2008, 7:09am UTC](https://www.ruby-forum.com/t/ruby-1-9-warning-not-there/125692 "2008-01-11T07:09:51Z")

</div>

I have a simple program: def hello2 name2 puts 'Hello ’ + name2 return ‘success’ end puts(hello2 ‘Ruby’) When I run this in 1.8.6, I get the output as: tmp2.rb:5: warning: parenthesize argument(s) for future versi…

---

## [DateTime new\_offset unexpected results](https://www.ruby-forum.com/t/datetime-new-offset-unexpected-results/125190)

<div class="topic-metadata">

**Author:** [@ggreaves](https://www.ruby-forum.com/u/ggreaves)\
**Replies:** 12\
**Last updated:** [January 11, 2008, 5:00am UTC](https://www.ruby-forum.com/t/datetime-new-offset-unexpected-results/125190 "2008-01-11T05:00:39Z")

</div>

Hello, everybody: I’m new to ruby, but I’m pretty sure this isn’t a problem with me. I’m running ruby 1.8.6 on Windows XP, and using NetBeans as my IDE. My application reads the rise, transit and set times for the sun…

---

## [Help Wanted - TMail Mail Library](https://www.ruby-forum.com/t/help-wanted-tmail-mail-library/125683)

<div class="topic-metadata">

**Author:** [@Mikel\_L](https://www.ruby-forum.com/u/Mikel_L)\
**Replies:** 0\
**Last updated:** [January 11, 2008, 4:36am UTC](https://www.ruby-forum.com/t/help-wanted-tmail-mail-library/125683 "2008-01-11T04:36:41Z")

</div>

Hello all, I am the current maintainer of TMail - a Ruby Email Handling Library Over the past months I have updated this library quite a bit and handled a bunch of bugs reported by you guys and gals (thanks all!). I …

---

## [Net::HTTP Timeout](https://www.ruby-forum.com/t/net-http-timeout/124721)

<div class="topic-metadata">

**Author:** [@thefed](https://www.ruby-forum.com/u/thefed)\
**Replies:** 4\
**Last updated:** [January 11, 2008, 4:22am UTC](https://www.ruby-forum.com/t/net-http-timeout/124721 "2008-01-11T04:22:13Z")

</div>

Yes, I have read the previous thread (http://www.ruby-forum.com/topic/ 105212), but I have one small question: Would it be so terribly bad to change it from: def rbuf\_fill timeout(@read\_timeout) { @rbuf \<\< @io.sy…

---

## [JRuby 1.1 RC 1 Released](https://www.ruby-forum.com/t/jruby-1-1-rc-1-released/125387)

<div class="topic-metadata">

**Author:** [@Thomas\_E](https://www.ruby-forum.com/u/Thomas_E)\
**Replies:** 20\
**Last updated:** [January 11, 2008, 3:10am UTC](https://www.ruby-forum.com/t/jruby-1-1-rc-1-released/125387 "2008-01-11T03:10:43Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.1 RC 1 Homepage: http://www.jruby.org/ Download: http://dist.codehaus.org/jruby/ JRuby 1.1RC1 is the first release candidate of JRuby 1.1. JRuby 1.1 …

---

## [Singleton initilized twice](https://www.ruby-forum.com/t/singleton-initilized-twice/105836)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 11, 2008, 2:45am UTC](https://www.ruby-forum.com/t/singleton-initilized-twice/105836 "2008-01-11T02:45:58Z")

</div>

HI I have a little problem here, I am doing a webserver and I put some calculations on the singleton’s initialization and call the methods fo this class to do some calculations for me (no active record, just memory).…

---

## [Question about Hex =\> Signed Int](https://www.ruby-forum.com/t/question-about-hex-signed-int/125510)

<div class="topic-metadata">

**Author:** [@ratcheer](https://www.ruby-forum.com/u/ratcheer)\
**Replies:** 6\
**Last updated:** [January 11, 2008, 2:12am UTC](https://www.ruby-forum.com/t/question-about-hex-signed-int/125510 "2008-01-11T02:12:17Z")

</div>

Hello, Is there a ruby function to convert the following hexadecimal numbers into the corresponding signed integers or will i need to write something to do the conversion? Sorry if this question is stupid but i’m pre…

---

## [Detect Mac OS X Version](https://www.ruby-forum.com/t/detect-mac-os-x-version/125646)

<div class="topic-metadata">

**Author:** [@Filipe](https://www.ruby-forum.com/u/Filipe)\
**Replies:** 3\
**Last updated:** [January 11, 2008, 12:33am UTC](https://www.ruby-forum.com/t/detect-mac-os-x-version/125646 "2008-01-11T00:33:52Z")

</div>

After Googling for a while I couldn’t find a way of detecting the Mac OS X version ruby is running on. I tryed the RUBY\_PLATFORM constant but it only tells me I’m running Mac OS, not its version. Is there any other wa…

---

## [Gems gone due to bad $:](https://www.ruby-forum.com/t/gems-gone-due-to-bad/125449)

<div class="topic-metadata">

**Author:** [@gga](https://www.ruby-forum.com/u/gga)\
**Replies:** 3\
**Last updated:** [January 11, 2008, 12:01am UTC](https://www.ruby-forum.com/t/gems-gone-due-to-bad/125449 "2008-01-11T00:01:07Z")

</div>

On an Ubuntu box. I have been experimenting with ruby1.9 and now I am finding that gems are gone from 1.8. It seems by RUBYLIB path is never modified. I don’t know if that had anything to do with it or an update of t…

---

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

<div class="topic-metadata">

**Author:** [@Andrey\_Marushkevych](https://www.ruby-forum.com/u/Andrey_Marushkevych)\
**Replies:** 1\
**Last updated:** [January 10, 2008, 11:34pm UTC](https://www.ruby-forum.com/t/unsubscribe/124801 "2008-01-10T23:34:10Z")

</div>

Unsubscribe

---

## [Execution stops once exception is fired](https://www.ruby-forum.com/t/execution-stops-once-exception-is-fired/125426)

<div class="topic-metadata">

**Author:** [@deadlykyo](https://www.ruby-forum.com/u/deadlykyo)\
**Replies:** 5\
**Last updated:** [January 10, 2008, 11:23pm UTC](https://www.ruby-forum.com/t/execution-stops-once-exception-is-fired/125426 "2008-01-10T23:23:10Z")

</div>

Hi all, I am using ruby and watir to test my web application. The problem is that the ruby script stops the execution each time that raises an error. Is there any way by which i can continue execution of the script e…

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

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