# Ruby

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

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

---

## [Fix oracle\_adapter to pass test\_assign\_ids IN associations\_test.rb](https://www.ruby-forum.com/t/fix-oracle-adapter-to-pass-test-assign-ids-in-associations-test-rb/132322)

<div class="topic-metadata">

**Author:** [@davidtar](https://www.ruby-forum.com/u/davidtar)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 5:32am UTC](https://www.ruby-forum.com/t/fix-oracle-adapter-to-pass-test-assign-ids-in-associations-test-rb/132322 "2008-03-19T05:32:34Z")

</div>

The oracle\_adapter can fail test\_assign\_ids IN associations\_test.rb if the records within the projects table were not created in ID order. eg if the record with the ID of 2 was created before the record with ID of 1. …

---

## [Wanted: Lead RoR Developer, San Francisco, CA](https://www.ruby-forum.com/t/wanted-lead-ror-developer-san-francisco-ca/132321)

<div class="topic-metadata">

**Author:** [@Vic](https://www.ruby-forum.com/u/Vic)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 5:26am UTC](https://www.ruby-forum.com/t/wanted-lead-ror-developer-san-francisco-ca/132321 "2008-03-19T05:26:06Z")

</div>

RoR Power (http://www.rorpower.com) is a boutique recruiting firm specializing in Ruby on Rails opportunities. We have been retained by a well-funded startup in San Francisco to find a top-notch RoR superstar. The co…

---

## [AJAX without Rails](https://www.ruby-forum.com/t/ajax-without-rails/120791)

<div class="topic-metadata">

**Author:** [@mikisvaz](https://www.ruby-forum.com/u/mikisvaz)\
**Replies:** 24\
**Last updated:** [March 19, 2008, 4:58am UTC](https://www.ruby-forum.com/t/ajax-without-rails/120791 "2008-03-19T04:58:33Z")

</div>

Hi, I’m pretty new to Ajax. I need to do some simple web interfaces for some project I have. A friend told me Rails was a bit to much for what I need, so I’m using eruby and markaby, and I’m pretty happy, and things a…

---

## [Interbase driver problems XP](https://www.ruby-forum.com/t/interbase-driver-problems-xp/132206)

<div class="topic-metadata">

**Author:** [@oniram](https://www.ruby-forum.com/u/oniram)\
**Replies:** 3\
**Last updated:** [March 18, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/interbase-driver-problems-xp/132206 "2008-03-18T23:08:10Z")

</div>

I am trying to compile the ruby Interbase module, but failing. when I try : ruby extconf.rb, I get the following error: checking for main() in gdslib.lib… no checking for main() in gds.lib… no checking for main() in…

---

## [Last call for MWRC registration](https://www.ruby-forum.com/t/last-call-for-mwrc-registration/132288)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 8:18pm UTC](https://www.ruby-forum.com/t/last-call-for-mwrc-registration/132288 "2008-03-18T20:18:47Z")

</div>

just one last reminder. Registration closes tomorrow. If you’re interested in coming to the MountainWest RubyConf Mar 28-29 in Salt Lake City, this is your last chance. http://www.acteva.com/go/mtnwestruby

---

## [How to make an unix library from some ruby code?](https://www.ruby-forum.com/t/how-to-make-an-unix-library-from-some-ruby-code/132148)

<div class="topic-metadata">

**Author:** [@elgato](https://www.ruby-forum.com/u/elgato)\
**Replies:** 8\
**Last updated:** [March 18, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/how-to-make-an-unix-library-from-some-ruby-code/132148 "2008-03-18T20:04:02Z")

</div>

Hello \*, is there any possibility to build an unix library not from C/C++/… code, but from ruby code? IOW, I need to have some functionality “packaged” as an unix library, but I’d like to write it in Ruby and then, s…

---

## [CGI and Methods?](https://www.ruby-forum.com/t/cgi-and-methods/132219)

<div class="topic-metadata">

**Author:** [@tonydm](https://www.ruby-forum.com/u/tonydm)\
**Replies:** 5\
**Last updated:** [March 18, 2008, 5:38pm UTC](https://www.ruby-forum.com/t/cgi-and-methods/132219 "2008-03-18T17:38:19Z")

</div>

Hi all, I’m trying my hand at scripting cgi in ruby. At the same time I’m looking at Rails. So far I love ruby. Still reserving comments on Rails. I have a question though. When coding a cgi script, is it possib…

---

## [Erubis subtemplates](https://www.ruby-forum.com/t/erubis-subtemplates/132245)

<div class="topic-metadata">

**Author:** [@sealedsun](https://www.ruby-forum.com/u/sealedsun)\
**Replies:** 1\
**Last updated:** [March 18, 2008, 4:52pm UTC](https://www.ruby-forum.com/t/erubis-subtemplates/132245 "2008-03-18T16:52:06Z")

</div>

Is it possible to do subtemplating with erubis? I achieved similar behaviour with ERB the following way: template = ERB.new(File.read(‘template.rhtml’)) — in the template i put the following code \<%= ERB.new(IO.r…

---

## [Rmagick problem on Ubuntu](https://www.ruby-forum.com/t/rmagick-problem-on-ubuntu/132262)

<div class="topic-metadata">

**Author:** [@ther](https://www.ruby-forum.com/u/ther)\
**Replies:** 2\
**Last updated:** [March 18, 2008, 2:58pm UTC](https://www.ruby-forum.com/t/rmagick-problem-on-ubuntu/132262 "2008-03-18T14:58:12Z")

</div>

I had installed rmagick gem on ubuntu 7.10. I have also compiled imagemagick from sources becouse rmagick needs \> 6.3. version of imagemagick. Mine is now 6.3.9. At the end everything went fine until I tried to run te…

---

## [MultiMediaPlayer of Ruby for Symbian](https://www.ruby-forum.com/t/multimediaplayer-of-ruby-for-symbian/132259)

<div class="topic-metadata">

**Author:** [@shenoudab](https://www.ruby-forum.com/u/shenoudab)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 1:12pm UTC](https://www.ruby-forum.com/t/multimediaplayer-of-ruby-for-symbian/132259 "2008-03-18T13:12:02Z")

</div>

Dears, Ruby For Symbian 1.0.2 with the MultiMediaPlayer Class I try Playing the wavs or 3gp as in example but nothing happens in the Emulators or E80 Please advice, Shenouda Bertel

---

## [Professional IronRuby book announced by Wrox](https://www.ruby-forum.com/t/professional-ironruby-book-announced-by-wrox/132004)

<div class="topic-metadata">

**Author:** [@softmind](https://www.ruby-forum.com/u/softmind)\
**Replies:** 3\
**Last updated:** [March 18, 2008, 12:24pm UTC](https://www.ruby-forum.com/t/professional-ironruby-book-announced-by-wrox/132004 "2008-03-18T12:24:25Z")

</div>

Hi, It was nice to see this blog here. Its about an upcoming book on IronRuby called " Professional IronRuby " by Wrox. I have been reading blogs by Rob B. on regular basis. He stands as one of very good assests f…

---

## [Trouble with rubyscript2exe and ruby/SDL](https://www.ruby-forum.com/t/trouble-with-rubyscript2exe-and-ruby-sdl/132252)

<div class="topic-metadata">

**Author:** [@sgeos](https://www.ruby-forum.com/u/sgeos)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 11:51am UTC](https://www.ruby-forum.com/t/trouble-with-rubyscript2exe-and-ruby-sdl/132252 "2008-03-18T11:51:10Z")

</div>

I am having trouble getting rubyscript2exe to work with ruby/SDL. Using the cdrom sample: source start require ‘sdl’ SDL.init( SDL::INIT\_CDROM ) print SDL::CD.numDrive,"\\n" print SDL::CD.indexName(0),"\\n" cd=SDL::C…

---

## [About timer?](https://www.ruby-forum.com/t/about-timer/132242)

<div class="topic-metadata">

**Author:** [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Replies:** 3\
**Last updated:** [March 18, 2008, 10:29am UTC](https://www.ruby-forum.com/t/about-timer/132242 "2008-03-18T10:29:22Z")

</div>

hi, I have problem about timer that I want to use with Wxruby. I want to add ‘a’ in the text every 1 second. and this’s my code @textbox4.set\_value(subject) @textbox5.set\_value(search) for i in 0…20 search = search…

---

## [Scruffy - how to assign SVG Builder object](https://www.ruby-forum.com/t/scruffy-how-to-assign-svg-builder-object/132247)

<div class="topic-metadata">

**Author:** [@kurt0314](https://www.ruby-forum.com/u/kurt0314)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 9:45am UTC](https://www.ruby-forum.com/t/scruffy-how-to-assign-svg-builder-object/132247 "2008-03-18T09:45:14Z")

</div>

hi I’m trying to render rectangles and lines. Right now I’m using Scruffy::Layers::Base to render, but the method draw(svg,coords,options={}) is a little confusing. “svg: a Builder object to use for creating SVG cod…

---

## [Standard library documentation](https://www.ruby-forum.com/t/standard-library-documentation/132011)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 17\
**Last updated:** [March 18, 2008, 8:24am UTC](https://www.ruby-forum.com/t/standard-library-documentation/132011 "2008-03-18T08:24:05Z")

</div>

An example of a puzzle I’ve run into many times before - I’m wanting to use the readline module. I go to http://www.gotapi.com/rubystdlib, and look it up, and get a page that tells me essentially nothing that I can us…

---

## [Curious about IronRuby and IronPython on DLR](https://www.ruby-forum.com/t/curious-about-ironruby-and-ironpython-on-dlr/129343)

<div class="topic-metadata">

**Author:** [@softmind](https://www.ruby-forum.com/u/softmind)\
**Replies:** 33\
**Last updated:** [March 18, 2008, 7:51am UTC](https://www.ruby-forum.com/t/curious-about-ironruby-and-ironpython-on-dlr/129343 "2008-03-18T07:51:47Z")

</div>

Hi, Just curious to know more about IronRuby and IronPython. Since both are based on DLR…here are my short questions. (1) Is the progress same with both the languages. (2) Will version 1.0 for both will be in the sam…

---

## [Read the Fresh interview with Mr. John Lam here](https://www.ruby-forum.com/t/read-the-fresh-interview-with-mr-john-lam-here/132233)

<div class="topic-metadata">

**Author:** [@softmind](https://www.ruby-forum.com/u/softmind)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 6:00am UTC](https://www.ruby-forum.com/t/read-the-fresh-interview-with-mr-john-lam-here/132233 "2008-03-18T06:00:30Z")

</div>

Hi, I just came across a nice interview with Mr. John L., and found informative to be shared here. Hope you will like it. Cheers! SoftMind

---

## [Lgamma\_r requires \_REENTRANT on Solaris](https://www.ruby-forum.com/t/lgamma-r-requires-reentrant-on-solaris/132083)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 3\
**Last updated:** [March 18, 2008, 3:47am UTC](https://www.ruby-forum.com/t/lgamma-r-requires-reentrant-on-solaris/132083 "2008-03-18T03:47:14Z")

</div>

e$B1sF#$H?=$7$^$9!#e(B Solaris e$B$Ge(B lgamma\_r e$B$r;H$&$?$a$K$Oe(B \_REENTRANT e$B%^%/%m$r@k8@$9$ke(B e$BI,MW$,$"$k$h$&$G$9!#8=\>u$G$O0EL\[$N@k8@$K$h$C$FJV$jCM$,e(B int e$B$Ke(B e$B$J$C$F$$$k$h$&$G!"7k2LE\*$K4V0c$C$?…

---

## [Simulating "allow\_blank"](https://www.ruby-forum.com/t/simulating-allow-blank/132223)

<div class="topic-metadata">

**Author:** [@laredotornado](https://www.ruby-forum.com/u/laredotornado)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 1:23am UTC](https://www.ruby-forum.com/t/simulating-allow-blank/132223 "2008-03-18T01:23:00Z")

</div>

Hi, I’m using an older version of RoR (1.2.3) – a constraint of the hosting company. When validating a model, the term “allow\_blank” doesn’t seem to be supported. Is there an equivalent way of writing the condition…

---

## [CGI and Methods?](https://www.ruby-forum.com/t/cgi-and-methods/132218)

<div class="topic-metadata">

**Author:** [@tonydm](https://www.ruby-forum.com/u/tonydm)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 12:26am UTC](https://www.ruby-forum.com/t/cgi-and-methods/132218 "2008-03-18T00:26:07Z")

</div>

Hi all, I’m trying my hand at scripting cgi in ruby. At the same time I’m looking at Rails. So far I love ruby. Still reserving comments on Rails. I have a question though. When coding a cgi script, is it possib…

---

## [Gem update --system](https://www.ruby-forum.com/t/gem-update-system/132214)

<div class="topic-metadata">

**Author:** [@Joel\_VanderWerf](https://www.ruby-forum.com/u/Joel_VanderWerf)\
**Replies:** 0\
**Last updated:** [March 17, 2008, 11:11pm UTC](https://www.ruby-forum.com/t/gem-update-system/132214 "2008-03-17T23:11:49Z")

</div>

This is odd… whenever I execute “gem update --system”, the update and install seems to happen, but the version stays at 1.0.1. Shouldn’t gem check if the installed version is current? $ gem -v 1.0.1 $ ruby -v ruby …

---

## [Problem with Webrick/HTTProxy](https://www.ruby-forum.com/t/problem-with-webrick-httproxy/132119)

<div class="topic-metadata">

**Author:** [@eunhyeon](https://www.ruby-forum.com/u/eunhyeon)\
**Replies:** 4\
**Last updated:** [March 17, 2008, 11:06pm UTC](https://www.ruby-forum.com/t/problem-with-webrick-httproxy/132119 "2008-03-17T23:06:29Z")

</div>

I installed ruby 1.8.6 for Windows(Vista Home Premium). And wrote some code like below. require ‘webrick’ require ‘webrick/httpproxy’ s = WEBrick::HTTPProxyServer.new( :BindAddress =\> ‘0.0.0.0’, :Port =\> 8080, :L…

---

## [Any good Ruby/Qt4 tutorials?](https://www.ruby-forum.com/t/any-good-ruby-qt4-tutorials/132193)

<div class="topic-metadata">

**Author:** [@ben\_baka](https://www.ruby-forum.com/u/ben_baka)\
**Replies:** 2\
**Last updated:** [March 17, 2008, 8:39pm UTC](https://www.ruby-forum.com/t/any-good-ruby-qt4-tutorials/132193 "2008-03-17T20:39:30Z")

</div>

I have been searching around for some good tutorials on Ruby/Qt4 tutorials. I have tried the tutorial with the 14 step tutorial but that was not sufficient. Anybody with some good links to some more explanatory tutor…

---

## [Pubsub feature implementation using XMPP4R](https://www.ruby-forum.com/t/pubsub-feature-implementation-using-xmpp4r/132187)

<div class="topic-metadata">

**Author:** [@kumar\_a](https://www.ruby-forum.com/u/kumar_a)\
**Replies:** 0\
**Last updated:** [March 17, 2008, 7:23pm UTC](https://www.ruby-forum.com/t/pubsub-feature-implementation-using-xmpp4r/132187 "2008-03-17T19:23:48Z")

</div>

Hi, I am using XMPP4R to interact with Jabber. I have to use PUBSUB feature of Jabber. I googled, but I couldn’t get proper information. Please give me sample stuff regarding publish-subscribe feature implementation …

---

## [PDF::Writer 1.1.8](https://www.ruby-forum.com/t/pdf-writer-1-1-8/132103)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 2\
**Last updated:** [March 17, 2008, 7:14pm UTC](https://www.ruby-forum.com/t/pdf-writer-1-1-8/132103 "2008-03-17T19:14:05Z")

</div>

Hi folks, With the help of community members, we’ve cut another small maintenance release. This one takes another crack at the page numbering issues, and also fixes a problem with font embedding. Here are the relat…

---

## [Autodetect new RubyGem installs](https://www.ruby-forum.com/t/autodetect-new-rubygem-installs/132003)

<div class="topic-metadata">

**Author:** [@jHurt](https://www.ruby-forum.com/u/jHurt)\
**Replies:** 1\
**Last updated:** [March 17, 2008, 7:07pm UTC](https://www.ruby-forum.com/t/autodetect-new-rubygem-installs/132003 "2008-03-17T19:07:37Z")

</div>

I’m using launchd on Leopard to run gem server. I can have launchd automatically restart the gem server any time a file is updated. Is there any one file that changes every time a gem is installed or updated?

---

## [Argh! more undocumented mysteries: to\_yaml](https://www.ruby-forum.com/t/argh-more-undocumented-mysteries-to-yaml/132073)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 28\
**Last updated:** [March 17, 2008, 5:34pm UTC](https://www.ruby-forum.com/t/argh-more-undocumented-mysteries-to-yaml/132073 "2008-03-17T17:34:09Z")

</div>

Beginner woes, here, no doubt, but woes nevertheless. I’m exploring the wonders of the Object class, and I see Object#to\_yaml. Seems pretty obvious what to expect here, which would seem to account for the total lack o…

---

## [Newbie working with fluid table](https://www.ruby-forum.com/t/newbie-working-with-fluid-table/131975)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 1\
**Last updated:** [March 17, 2008, 4:43pm UTC](https://www.ruby-forum.com/t/newbie-working-with-fluid-table/131975 "2008-03-17T16:43:19Z")

</div>

I’m slowly and excitedly learning to do automated testing via Ruby. I have a webpage with details for a specific video file stored. I can check the details for correctness, but my problem is that not all the details w…

---

## [Problem when require 'tk'](https://www.ruby-forum.com/t/problem-when-require-tk/132105)

<div class="topic-metadata">

**Author:** [@dongzhi](https://www.ruby-forum.com/u/dongzhi)\
**Replies:** 3\
**Last updated:** [March 17, 2008, 4:03pm UTC](https://www.ruby-forum.com/t/problem-when-require-tk/132105 "2008-03-17T16:03:14Z")

</div>

Hi All, My OS is Fedora. I download Ruby source and comppiled. I download ActiveTcl and installed. But, when I do require ‘tk’, ruby say: LoadError:no such file to load – tk. Please help me. Thanks.

---

## [Baffling undefined method error](https://www.ruby-forum.com/t/baffling-undefined-method-error/132024)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 11\
**Last updated:** [March 17, 2008, 3:58pm UTC](https://www.ruby-forum.com/t/baffling-undefined-method-error/132024 "2008-03-17T15:58:48Z")

</div>

I’m getting an error I can’t account for. In a method I’ve written I open a file and access a yaml store: archive\_stored\_list = ‘archive\_stored\_list.yml’ archives\_stored\_catalog = File.open(archive\_stored\_list) {|i| …

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

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