# Ruby

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

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

---

## [Looking for energetic and passionate Ruby on Rails developer](https://www.ruby-forum.com/t/looking-for-energetic-and-passionate-ruby-on-rails-developer/77349)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [November 27, 2006, 8:40am UTC](https://www.ruby-forum.com/t/looking-for-energetic-and-passionate-ruby-on-rails-developer/77349 "2006-11-27T08:40:50Z")

</div>

Hi, We are a well funded startup in Silicon Valley that is tackling an unserved/underserved market of 15 Million real estate investors in US and are looking for a passionate and energetic developer to work with the c…

---

## [Extremely Noobish Documentation Question](https://www.ruby-forum.com/t/extremely-noobish-documentation-question/77319)

<div class="topic-metadata">

**Author:** [@mepaco](https://www.ruby-forum.com/u/mepaco)\
**Replies:** 15\
**Last updated:** [November 27, 2006, 7:36am UTC](https://www.ruby-forum.com/t/extremely-noobish-documentation-question/77319 "2006-11-27T07:36:45Z")

</div>

Hello all, I am a Java programmer and am attempting to learn Ruby. What I have seen so far, I really like. I have been through two of the tutorials linked to from the main site and read the Poignant Guide to Ruby. …

---

## [Fwd: Ruby Quiz #103: DictionaryMatcher](https://www.ruby-forum.com/t/fwd-ruby-quiz-103-dictionarymatcher/229105)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [November 27, 2006, 5:26am UTC](https://www.ruby-forum.com/t/fwd-ruby-quiz-103-dictionarymatcher/229105 "2006-11-27T05:26:34Z")

</div>

Begin forwarded message:

---

## [What can Ruby offer?](https://www.ruby-forum.com/t/what-can-ruby-offer/77160)

<div class="topic-metadata">

**Author:** [@Smokey\_The\_B](https://www.ruby-forum.com/u/Smokey_The_B)\
**Replies:** 3\
**Last updated:** [November 27, 2006, 5:03am UTC](https://www.ruby-forum.com/t/what-can-ruby-offer/77160 "2006-11-27T05:03:24Z")

</div>

I have been looking into the Ruby language for awhile now…reading lots of information on its capabilities and whatnot. I bought the Programming Ruby book as well to look into it some more. What blurs the lines is info…

---

## [Ruby hangs on OSX](https://www.ruby-forum.com/t/ruby-hangs-on-osx/76934)

<div class="topic-metadata">

**Author:** [@Mariano\_K](https://www.ruby-forum.com/u/Mariano_K)\
**Replies:** 3\
**Last updated:** [November 27, 2006, 1:52am UTC](https://www.ruby-forum.com/t/ruby-hangs-on-osx/76934 "2006-11-27T01:52:18Z")

</div>

Hi, I encountered a strange problem. When running “ruby soduku\_test.rb -n test\_next\_cell” the process hangs and eats up all of the assigned CPU . I have no idea why that is … I asked a friend to run it on windows and…

---

## [Problem building mysql gem](https://www.ruby-forum.com/t/problem-building-mysql-gem/77328)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 0\
**Last updated:** [November 27, 2006, 1:50am UTC](https://www.ruby-forum.com/t/problem-building-mysql-gem/77328 "2006-11-27T01:50:04Z")

</div>

I’ve just switched to Fedora and am trying to do a “gem install mysql”. Right at the beginning, I’m getting the error find\_library: checking for mysql\_query() in -lmysqlclient… no “gcc -o conftest -I. -I/usr/lib/ruby/…

---

## [Ruby/Informix 0.3.0](https://www.ruby-forum.com/t/ruby-informix-0-3-0/77323)

<div class="topic-metadata">

**Author:** [@Gerardo\_SSGSSS\_mez](https://www.ruby-forum.com/u/Gerardo_SSGSSS_mez)\
**Replies:** 2\
**Last updated:** [November 26, 2006, 11:52pm UTC](https://www.ruby-forum.com/t/ruby-informix-0-3-0/77323 "2006-11-26T23:52:03Z")

</div>

Ruby/Informix is a Ruby extension for connecting to IBM Informix Dynamic Server, written in ESQL/C. It is being developed and heavily tested on Solaris/SPARC. It has been reported to work on Linux Fedora, SuSE Linux a…

---

## [REXML and Date interaction](https://www.ruby-forum.com/t/rexml-and-date-interaction/77320)

<div class="topic-metadata">

**Author:** [@revans](https://www.ruby-forum.com/u/revans)\
**Replies:** 5\
**Last updated:** [November 26, 2006, 11:46pm UTC](https://www.ruby-forum.com/t/rexml-and-date-interaction/77320 "2006-11-26T23:46:02Z")

</div>

Hi, I have a problem parsing dates from XML. I have this little program which produces an error, and I was able to fix it by moving the date parsing into a class that is distinct from the xml processing. Below is a b…

---

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

<div class="topic-metadata">

**Author:** [@stevedogers](https://www.ruby-forum.com/u/stevedogers)\
**Replies:** 2\
**Last updated:** [November 26, 2006, 11:42pm UTC](https://www.ruby-forum.com/t/gem-update-question/77248 "2006-11-26T23:42:07Z")

</div>

Hi, I have 2 questions: Running on Win XP BTW. when I run gem update I get prompted ‘Select which gem to install for your platform (i386-mswin32)’. It then list a few choices for each gem, usually the past 4 or 5 v…

---

## [Problem while installing RMagick on Mac OS X](https://www.ruby-forum.com/t/problem-while-installing-rmagick-on-mac-os-x/77302)

<div class="topic-metadata">

**Author:** [@laurent](https://www.ruby-forum.com/u/laurent)\
**Replies:** 4\
**Last updated:** [November 26, 2006, 11:32pm UTC](https://www.ruby-forum.com/t/problem-while-installing-rmagick-on-mac-os-x/77302 "2006-11-26T23:32:00Z")

</div>

Hi, I’ve got a problem when installing RMagick from the source. I’m working on Mac OS X (Intel) 10.4.8 I’ve installed ImageMagick (and dependencies) Release 6.3.0-6 Here are the steps for installing RMagick mkdir de…

---

## [Site\_ruby](https://www.ruby-forum.com/t/site-ruby/77283)

<div class="topic-metadata">

**Author:** [@Daniel\_DeLorme](https://www.ruby-forum.com/u/Daniel_DeLorme)\
**Replies:** 3\
**Last updated:** [November 26, 2006, 11:30pm UTC](https://www.ruby-forum.com/t/site-ruby/77283 "2006-11-26T23:30:39Z")

</div>

Can anyone explain what the site\_ruby directory is for? Why use that directory instead of /usr/local/lib/ruby/ ? Only rubygems seems to use that directory.

---

## [Difference between using irb and window promt](https://www.ruby-forum.com/t/difference-between-using-irb-and-window-promt/77316)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 0\
**Last updated:** [November 26, 2006, 10:29pm UTC](https://www.ruby-forum.com/t/difference-between-using-irb-and-window-promt/77316 "2006-11-26T22:29:20Z")

</div>

Hi all, I just write a script to change the filenames within a folder. Out of curiosity I want to see the differences bewteen using irb and window promt. I run the script from the window promt and I get what I want. B…

---

## [RoR: model on basis of a view on a LEFT JOIN?](https://www.ruby-forum.com/t/ror-model-on-basis-of-a-view-on-a-left-join/77312)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [November 26, 2006, 10:07pm UTC](https://www.ruby-forum.com/t/ror-model-on-basis-of-a-view-on-a-left-join/77312 "2006-11-26T22:07:37Z")

</div>

Hi, I want to make a RoR webapp and on one screen the user should see products and his/her own rating: PRODUCT YOUR RATING product100 \<no rating yet, add rating widget\> product101 \*\*\*\* product102 …

---

## [How to re-name a file from Ruby script](https://www.ruby-forum.com/t/how-to-re-name-a-file-from-ruby-script/77313)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 5\
**Last updated:** [November 26, 2006, 9:49pm UTC](https://www.ruby-forum.com/t/how-to-re-name-a-file-from-ruby-script/77313 "2006-11-26T21:49:00Z")

</div>

Hi all, I have a folder containing many files with format LIPID5-2.001 LIPID5-2.002 … LIPID5-2.200 I want to change all of them into LIPID5-3.001 LIPID5-3.002 … LIPID5-3.200 I write a script as follows. Based …

---

## [Problem reinstalling mysql gem](https://www.ruby-forum.com/t/problem-reinstalling-mysql-gem/77214)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 6\
**Last updated:** [November 26, 2006, 9:15pm UTC](https://www.ruby-forum.com/t/problem-reinstalling-mysql-gem/77214 "2006-11-26T21:15:26Z")

</div>

I had to reload my system and am trying to bring up ruby on my kubuntu system. I’ve compiled / installed ruby and rubygems. I then run sudo gem install mysql -y I select 2 when it asks for mysql 2.7 (ruby). It then ru…

---

## [ANN: RuPy Ruby & Python Conference 2007](https://www.ruby-forum.com/t/ann-rupy-ruby-python-conference-2007/77305)

<div class="topic-metadata">

**Author:** [@Katarzyna\_Bylec](https://www.ruby-forum.com/u/Katarzyna_Bylec)\
**Replies:** 3\
**Last updated:** [November 26, 2006, 8:44pm UTC](https://www.ruby-forum.com/t/ann-rupy-ruby-python-conference-2007/77305 "2006-11-26T20:44:59Z")

</div>

Hello, we would like to invite you to one of the biggest Ruby and Python events in central-eastern Europe next year. RuPy Conference dedicated to Ruby and Python programming languages will take place in April 14-15, …

---

## [Torrent library for Ruby](https://www.ruby-forum.com/t/torrent-library-for-ruby/77149)

<div class="topic-metadata">

**Author:** [@andreim](https://www.ruby-forum.com/u/andreim)\
**Replies:** 1\
**Last updated:** [November 26, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/torrent-library-for-ruby/77149 "2006-11-26T19:15:09Z")

</div>

Hi folks, I’m fairly new to Ruby and the whole Ruby on Rails thing, although I have some experience with ASP.NET and C#. I’m trying to learn Ruby and Ruby on Rails through some pet projects, like a small backup scrip…

---

## [How do I contribute to Ruby?](https://www.ruby-forum.com/t/how-do-i-contribute-to-ruby/76972)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 14\
**Last updated:** [November 26, 2006, 5:32pm UTC](https://www.ruby-forum.com/t/how-do-i-contribute-to-ruby/76972 "2006-11-26T17:32:59Z")

</div>

check this out, this is the whiniest change ever, but what I want is this to work: irb(main):001:0\> “”.is\_a? String =\> true irb(main):002:0\> \[\].is\_an? Array NoMethodError: undefined method \`is\_an?’ for \[\]:Array fro…

---

## [Calling methods from within singleton class](https://www.ruby-forum.com/t/calling-methods-from-within-singleton-class/77243)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 1\
**Last updated:** [November 26, 2006, 1:38pm UTC](https://www.ruby-forum.com/t/calling-methods-from-within-singleton-class/77243 "2006-11-26T13:38:43Z")

</div>

I’d like some clarification on the following simple examples. class Foo self end # Foo class \<\< Foo self end # #Class:Foo No surprise there. In the first case I’m defining the class and r…

---

## [Changing the definition of RUBY\_VERSION\_CODE](https://www.ruby-forum.com/t/changing-the-definition-of-ruby-version-code/77293)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 0\
**Last updated:** [November 26, 2006, 11:20am UTC](https://www.ruby-forum.com/t/changing-the-definition-of-ruby-version-code/77293 "2006-11-26T11:20:35Z")

</div>

e$B!!8=:\_!“e(B RUBY\_VERSION\_CODE e$B$Oe(B 185 e$B$N$h$&$J;07e$NCM$KDj5A$5$l$Fe(B e$B$$$^$9$,!”:#2s$Ne(B patchlevel e$B$NF3F~$K8F1~$7$F0J2\<$N$h$&$KDj5A$re(B e$BJQ99$7$?$$$G$9!#$$$+$,$G$7$g$&$+!#e(B #define RUBY\_VERSI…

---

## [Checkbox](https://www.ruby-forum.com/t/checkbox/102592)

<div class="topic-metadata">

**Author:** [@chandrahas](https://www.ruby-forum.com/u/chandrahas)\
**Replies:** 1\
**Last updated:** [November 26, 2006, 10:20am UTC](https://www.ruby-forum.com/t/checkbox/102592 "2006-11-26T10:20:30Z")

</div>

Hi Guys, I am working out for assigning the check boxes to the new entries in a view(form). And now the thing is i have to add functionality to those check boxes so that when i make multiple selections and press a but…

---

## [Gem query finds gem, yet require fails](https://www.ruby-forum.com/t/gem-query-finds-gem-yet-require-fails/75704)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 5\
**Last updated:** [November 26, 2006, 3:24am UTC](https://www.ruby-forum.com/t/gem-query-finds-gem-yet-require-fails/75704 "2006-11-26T03:24:08Z")

</div>

I’m setting up a secondary machine to run tests. I’ve run into a problem with gems not being found. Everything works fine on my primary machine, and I haven’t been able to tease out what the difference is in the two s…

---

## [Only one root window in RubyTk](https://www.ruby-forum.com/t/only-one-root-window-in-rubytk/76977)

<div class="topic-metadata">

**Author:** [@tarazed](https://www.ruby-forum.com/u/tarazed)\
**Replies:** 4\
**Last updated:** [November 26, 2006, 1:52am UTC](https://www.ruby-forum.com/t/only-one-root-window-in-rubytk/76977 "2006-11-26T01:52:05Z")

</div>

I have just started using ruby after 15 years with Tcl/Tk/C/C++ and have encountered a problem trying to create a second toplevel window. This was trivial in tcl. In ruby the second window has the same object refere…

---

## [Syntax error](https://www.ruby-forum.com/t/syntax-error/77221)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 10\
**Last updated:** [November 25, 2006, 10:31pm UTC](https://www.ruby-forum.com/t/syntax-error/77221 "2006-11-25T22:31:49Z")

</div>

something strange, if i run my script like that : $ /opt/local/bin/ruby myscript.rb no prob the shebang in my script is : #!/usr/bin/env ruby -w which ruby give me the above ruby (under /opt) then, running this scr…

---

## [Strange Error with parseexcel and classifier](https://www.ruby-forum.com/t/strange-error-with-parseexcel-and-classifier/77275)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [November 25, 2006, 10:01pm UTC](https://www.ruby-forum.com/t/strange-error-with-parseexcel-and-classifier/77275 "2006-11-25T22:01:46Z")

</div>

So I get this strange error when I have the follow two gems in the same program: require ‘parseexcel’ require ‘classifier’ #bayesian library Here’s the error: c:/Ruby/lib/ruby/gems/1.8/gems/parseexcel-0.5.1.1/lib/pa…

---

## [RedCloth issues](https://www.ruby-forum.com/t/redcloth-issues/76938)

<div class="topic-metadata">

**Author:** [@asetzler](https://www.ruby-forum.com/u/asetzler)\
**Replies:** 8\
**Last updated:** [November 25, 2006, 9:29pm UTC](https://www.ruby-forum.com/t/redcloth-issues/76938 "2006-11-25T21:29:44Z")

</div>

I used RedCloth for the first time for my Quiz entry, and I came across a few unexpected features… something as simple as text = \<\<EOT Double the value of ‘a’. a\*=2 also double ‘b’ b\*=2 EOT puts RedCloth.new(te…

---

## [Having three ruby versions installed](https://www.ruby-forum.com/t/having-three-ruby-versions-installed/77225)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [November 25, 2006, 9:25pm UTC](https://www.ruby-forum.com/t/having-three-ruby-versions-installed/77225 "2006-11-25T21:25:42Z")

</div>

on my box running Mac OS X (Tiger the latest) i do have three ruby versions : /usr/bin/ruby # Apple’s default installed version : =\> 1.8.2 /opt/local/bin/ruby # the MacPort version : =\> 1.8.5 /Users/yvon/bin/jrub…

---

## [Re: Where can I find an Hpricot gem?](https://www.ruby-forum.com/t/re-where-can-i-find-an-hpricot-gem/77277)

<div class="topic-metadata">

**Author:** [@bbiker](https://www.ruby-forum.com/u/bbiker)\
**Replies:** 0\
**Last updated:** [November 25, 2006, 9:15pm UTC](https://www.ruby-forum.com/t/re-where-can-i-find-an-hpricot-gem/77277 "2006-11-25T21:15:42Z")

</div>

On Nov 22, 9:27 am, “Just Another Victim of the Ambient M.” removed\_email\_address@domain.invalid wrote: I tried to install the new mechanize gem package but it failed saying I needed Hpricot. So, I’m trying to find…

---

## [Fwd: Your Photo Upload Failed](https://www.ruby-forum.com/t/fwd-your-photo-upload-failed/77268)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 1\
**Last updated:** [November 25, 2006, 8:37pm UTC](https://www.ruby-forum.com/t/fwd-your-photo-upload-failed/77268 "2006-11-25T20:37:39Z")

</div>

Am I the only person who gets Flickr upload failure messages every time he posts to Ruby-Talk? I mailed this to Flickr and got a response from Stewart Butterfield. He was like, “It’s probably some idiot spammer.” Jus…

---

## [Problems with String#hash](https://www.ruby-forum.com/t/problems-with-string-hash/77111)

<div class="topic-metadata">

**Author:** [@gmichelson](https://www.ruby-forum.com/u/gmichelson)\
**Replies:** 7\
**Last updated:** [November 25, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/problems-with-string-hash/77111 "2006-11-25T19:15:30Z")

</div>

Dear devs, I am facing a very NASTY problem with String#hash Here is the same code that I run on 3 different computers: root@kosh:~ # irb irb(main):001:0\> “User”.hash =\> 690465448 irb(main):002:0\> VERSION =\> “1.8.…

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

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