# Ruby

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

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

---

## [So many languages/tools, so very confusing!](https://www.ruby-forum.com/t/so-many-languages-tools-so-very-confusing/122851)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [December 12, 2007, 8:48pm UTC](https://www.ruby-forum.com/t/so-many-languages-tools-so-very-confusing/122851 "2007-12-12T20:48:47Z")

</div>

Ruby, Ajax, Flex, CSS/HTML/PHP/ASP… I understand these are programming languages that are used to design database rich websites… however, are these all mutually exclusive? I know a while back, Cold Fusion was Hot, b…

---

## [Ruby 1-click installer for updates](https://www.ruby-forum.com/t/ruby-1-click-installer-for-updates/122824)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 1\
**Last updated:** [December 12, 2007, 8:45pm UTC](https://www.ruby-forum.com/t/ruby-1-click-installer-for-updates/122824 "2007-12-12T20:45:50Z")

</div>

I am currently using Ruby 1.8.21 on a Windows machine. I want to upgrade to a newer version. Do I need to uninstall the current version of Ruby before using the 1-click installer, or can I just go ahead and run the …

---

## [Printing](https://www.ruby-forum.com/t/printing/122702)

<div class="topic-metadata">

**Author:** [@johnsmith](https://www.ruby-forum.com/u/johnsmith)\
**Replies:** 1\
**Last updated:** [December 12, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/printing/122702 "2007-12-12T20:35:16Z")

</div>

hi im trying to: open a .txt file and read all the lines in the file run a regular expression to find in the form of (some text) (then anything in \[\])(some text) iterate through each line in the file until no referenc…

---

## [An advice for Christmas' gift: book about Ruby for experienced user](https://www.ruby-forum.com/t/an-advice-for-christmas-gift-book-about-ruby-for-experienced-user/122657)

<div class="topic-metadata">

**Author:** [@Simone\_M](https://www.ruby-forum.com/u/Simone_M)\
**Replies:** 3\
**Last updated:** [December 12, 2007, 8:34pm UTC](https://www.ruby-forum.com/t/an-advice-for-christmas-gift-book-about-ruby-for-experienced-user/122657 "2007-12-12T20:34:03Z")

</div>

I’d like to buy (for a gift) 1 or 2 books about Ruby for a non-novice user: I don’t know Ruby, so I ask you an advice… Searching on Google, I’ve found these: Programming Ruby: The Pragmatic Programmer’s Guide, Second…

---

## [Gosu 0.7.8, also: Ludum Dare timed gamedev compo this weekend!](https://www.ruby-forum.com/t/gosu-0-7-8-also-ludum-dare-timed-gamedev-compo-this-weekend/122892)

<div class="topic-metadata">

**Author:** [@nex4k](https://www.ruby-forum.com/u/nex4k)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 8:33pm UTC](https://www.ruby-forum.com/t/gosu-0-7-8-also-ludum-dare-timed-gamedev-compo-this-weekend/122892 "2007-12-12T20:33:27Z")

</div>

Hi, first, I want to announce the newest version of Gosu, the free 2D game development library for Ruby and C++. Version 0.7.8 features: Working font fallbacks, i.e. chars outside of the selected/default font can b…

---

## [Fwd: Please Forward: Ruby Quiz Submission](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/229162)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [December 12, 2007, 8:16pm UTC](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/229162 "2007-12-12T20:16:15Z")

</div>

Begin forwarded message:

---

## [Mysql gem: version specification and update problem](https://www.ruby-forum.com/t/mysql-gem-version-specification-and-update-problem/122890)

<div class="topic-metadata">

**Author:** [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Replies:** 2\
**Last updated:** [December 12, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/mysql-gem-version-specification-and-update-problem/122890 "2007-12-12T20:15:38Z")

</div>

The mysql gem has unfortunate interaction between gem versions, platforms, and updating on macosx. I’m trying to figure out if it is a problem with rubygems or the specification for the mysql gem itself. The latest ve…

---

## [Transcoder loading](https://www.ruby-forum.com/t/transcoder-loading/246514)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 0\
**Last updated:** [December 12, 2007, 8:07pm UTC](https://www.ruby-forum.com/t/transcoder-loading/246514 "2007-12-12T20:07:58Z")

</div>

e$B$J$+$@$G$9!#e(B transcodere$B$r3HD%%i%$%V%i%j$K=P$7$F$\_$^$7$?!#e(Bext/e$B$H$OJL$K$7$?$\[$&e(B e$B$,$$$$$+$b$7$l$^$;$s$,!#e(B include/ruby/transcode.he$B$He(Bext/enc/trans/iso\_8859/iso\_8859.ce$B$O!"e(B e$B$=$l$\>$le(…

---

## [Creating multiple objects in loops](https://www.ruby-forum.com/t/creating-multiple-objects-in-loops/122748)

<div class="topic-metadata">

**Author:** [@richardchaven](https://www.ruby-forum.com/u/richardchaven)\
**Replies:** 7\
**Last updated:** [December 12, 2007, 8:07pm UTC](https://www.ruby-forum.com/t/creating-multiple-objects-in-loops/122748 "2007-12-12T20:07:38Z")

</div>

I was wondering if it is possible to create multiple objects within loops, for example; 4.times do #first loop: a = Object.new #second loop: b = Object.new etc end Also can you use the value of an array or hash as …

---

## [PDF::Writer 1.1.4 released](https://www.ruby-forum.com/t/pdf-writer-1-1-4-released/122615)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 1\
**Last updated:** [December 12, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/pdf-writer-1-1-4-released/122615 "2007-12-12T20:01:30Z")

</div>

Hi folks, I’m happy to announce we have our first PDF::Writer maintenance release ready. This includes a number of bug fixes; some of the interesting ones include: Better memory footprint for PDF::SimpleTable Fixed…

---

## [Set and Object equivilence](https://www.ruby-forum.com/t/set-and-object-equivilence/122879)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 7:37pm UTC](https://www.ruby-forum.com/t/set-and-object-equivilence/122879 "2007-12-12T19:37:52Z")

</div>

Hi, I’ve just started with Ruby from Java, and am having trouble getting a set to recognise equivalence between objects. Basically it is adding multiple equal objects to the set. I have created a class and overridden…

---

## [Issue with threads and socket accept](https://www.ruby-forum.com/t/issue-with-threads-and-socket-accept/122883)

<div class="topic-metadata">

**Author:** [@Vasyl\_S](https://www.ruby-forum.com/u/Vasyl_S)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 7:26pm UTC](https://www.ruby-forum.com/t/issue-with-threads-and-socket-accept/122883 "2007-12-12T19:26:38Z")

</div>

Hi, I’m writing a multi-threaded server, and would like to stop it on a signal (SIGINT on Ctrl-C in this case). The problem is that after the first connection is accepted, and then Ctrl-C is hit, the “while accept” l…

---

## [Reading in a file](https://www.ruby-forum.com/t/reading-in-a-file/122768)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 2\
**Last updated:** [December 12, 2007, 7:26pm UTC](https://www.ruby-forum.com/t/reading-in-a-file/122768 "2007-12-12T19:26:00Z")

</div>

hi, i want to create a ruby program that uses a “database” of reference specifications held in a text file to process a set of other files that cite these references, substituting correct citations in the text and ad…

---

## [FileUtils, a useful extension](https://www.ruby-forum.com/t/fileutils-a-useful-extension/121761)

<div class="topic-metadata">

**Author:** [@polypus](https://www.ruby-forum.com/u/polypus)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/fileutils-a-useful-extension/121761 "2007-12-12T19:11:40Z")

</div>

i find these come in real handy, and thought they would be good for inclusion into FileUtils or barring that, then maybe the guys at Facets lib might be interested. they are based on Unix shell test options, i.e. \[ -d…

---

## [RegexpBench 0.5.1 Released](https://www.ruby-forum.com/t/regexpbench-0-5-1-released/122880)

<div class="topic-metadata">

**Author:** [@Judson\_L](https://www.ruby-forum.com/u/Judson_L)\
**Replies:** 0\
**Last updated:** [December 12, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/regexpbench-0-5-1-released/122880 "2007-12-12T19:11:39Z")

</div>

RegexpBench version 0.5.1 has been released! Interactive testing and experimentation with regular expressions. To start, type ‘regexp-bench’ First command: help. Current nicest feature: saving and restoring test str…

---

## [Rutema 0.4.2 Released](https://www.ruby-forum.com/t/rutema-0-4-2-released/122881)

<div class="topic-metadata">

**Author:** [@Vassilis\_R](https://www.ruby-forum.com/u/Vassilis_R)\
**Replies:** 0\
**Last updated:** [December 12, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/rutema-0-4-2-released/122881 "2007-12-12T19:11:38Z")

</div>

rutema version 0.4.2 has been released! This one with a bit of delay, but better late than never. DESCRIPTION: Rutema provides the basis for building tools that can manage the execution of tests as well as an example…

---

## [RegexpBench 0.5.0 Released](https://www.ruby-forum.com/t/regexpbench-0-5-0-released/122492)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [December 12, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/regexpbench-0-5-0-released/122492 "2007-12-12T19:11:37Z")

</div>

RegexpBench version 0.5.0 has been released! Interactive testing and experimentation with regular expressions. Ultimately, you can use it to generate RSpec descriptions based on the interactive testing you do. Change…

---

## [Gem built with 0.9.5 cannot be installed with 0.9.4](https://www.ruby-forum.com/t/gem-built-with-0-9-5-cannot-be-installed-with-0-9-4/122677)

<div class="topic-metadata">

**Author:** [@dkam](https://www.ruby-forum.com/u/dkam)\
**Replies:** 2\
**Last updated:** [December 12, 2007, 7:10pm UTC](https://www.ruby-forum.com/t/gem-built-with-0-9-5-cannot-be-installed-with-0-9-4/122677 "2007-12-12T19:10:17Z")

</div>

Has anybody released a gem built with rubygems 0.9.5? I built the latest version of deep\_test with 0.9.5, but it seems like it cannot be installed with 0.9.4 clients. It shows up in the gem list without a platform (…

---

## [Authentication using PAM](https://www.ruby-forum.com/t/authentication-using-pam/122854)

<div class="topic-metadata">

**Author:** [@Guilherme\_Viana\_CSS](https://www.ruby-forum.com/u/Guilherme_Viana_CSS)\
**Replies:** 0\
**Last updated:** [December 12, 2007, 6:53pm UTC](https://www.ruby-forum.com/t/authentication-using-pam/122854 "2007-12-12T18:53:28Z")

</div>

Hello all, I’ve been trying to use the Ruby/PAM library to authenticate users but I still couldn’t get it working. It looks like Ruby/PAM is not updated (according to the readme file, the last time it was tested, kern…

---

## [Gem 0.9.5, gempath, .gemrc, require on OS X, Works, but my goodness, what a mess](https://www.ruby-forum.com/t/gem-0-9-5-gempath-gemrc-require-on-os-x-works-but-my-goodness-what-a-mess/122852)

<div class="topic-metadata">

**Author:** [@bobh](https://www.ruby-forum.com/u/bobh)\
**Replies:** 0\
**Last updated:** [December 12, 2007, 6:52pm UTC](https://www.ruby-forum.com/t/gem-0-9-5-gempath-gemrc-require-on-os-x-works-but-my-goodness-what-a-mess/122852 "2007-12-12T18:52:15Z")

</div>

Hi, I’m running OS X 10.5.1, have been running Ruby for years, Rails for years… this is not a new install. I’ve got something like 109 gems installed. I upgraded gems to 0.9.5 this morning. I tried to install Rails …

---

## [Windows Ruby application with Visual C++ 2008](https://www.ruby-forum.com/t/windows-ruby-application-with-visual-c-2008/122850)

<div class="topic-metadata">

**Author:** [@Jari\_W](https://www.ruby-forum.com/u/Jari_W)\
**Replies:** 0\
**Last updated:** [December 12, 2007, 6:52pm UTC](https://www.ruby-forum.com/t/windows-ruby-application-with-visual-c-2008/122850 "2007-12-12T18:52:15Z")

</div>

I’m trying to create a standalone Windows program to run some Ruby scripts (pretty much as the examples in the Pickaxe book), but I have some troubles when ruby.h is included. I downloaded the free Visual C++ 2008 Exp…

---

## [Ruby forum is broken; stop using it until fixed](https://www.ruby-forum.com/t/ruby-forum-is-broken-stop-using-it-until-fixed/122820)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/ruby-forum-is-broken-stop-using-it-until-fixed/122820 "2007-12-12T18:40:15Z")

</div>

Ruby-Forum.com is acting as a one-way gateway to the ruby-talk mailing list and comp.lang.ruby newsgroup. I have been wondering recently why I see 2 or 3 people answering the same question, getting no “thank you respo…

---

## [Eigenmethod definition for BasicObjects dumps core](https://www.ruby-forum.com/t/eigenmethod-definition-for-basicobjects-dumps-core/122840)

<div class="topic-metadata">

**Author:** [@sugie](https://www.ruby-forum.com/u/sugie)\
**Replies:** 1\
**Last updated:** [December 12, 2007, 6:39pm UTC](https://www.ruby-forum.com/t/eigenmethod-definition-for-basicobjects-dumps-core/122840 "2007-12-12T18:39:39Z")

</div>

e$B:XF#$H?=$7$^$9!#e(B BasicObjecte$B$NFC0\[%a%=%C%I$rDj5A$9$k$H!"e(Bcoree$B$rEG$/$h$&$G$9!#e(B $ gdb ruby-trunk (snip) (gdb) run -e ‘def (b=BasicObject.new).foo;end’ Starting program: /home/tadashi/svn/ruby/o/trunk/…

---

## [New to ruby](https://www.ruby-forum.com/t/new-to-ruby/122755)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 3\
**Last updated:** [December 12, 2007, 6:36pm UTC](https://www.ruby-forum.com/t/new-to-ruby/122755 "2007-12-12T18:36:04Z")

</div>

Hi i’m completely new to ruby but have some experience in java. First thing first, whats the best version of ruby to download and where from? I have downloaded ruby fxri for windows. Also i have tried to make a small …

---

## [Recursing XML data using REXML](https://www.ruby-forum.com/t/recursing-xml-data-using-rexml/122772)

<div class="topic-metadata">

**Author:** [@cbourne](https://www.ruby-forum.com/u/cbourne)\
**Replies:** 5\
**Last updated:** [December 12, 2007, 5:30pm UTC](https://www.ruby-forum.com/t/recursing-xml-data-using-rexml/122772 "2007-12-12T17:30:15Z")

</div>

Hi, I would like to process an XML file using REXML and recurse down through some sub elements, e.g. the “group” and “cond” elements in the following XML: Test Rule This is a test rule 2 …

---

## [How to start a service with the win32-service gem](https://www.ruby-forum.com/t/how-to-start-a-service-with-the-win32-service-gem/122803)

<div class="topic-metadata">

**Author:** [@anthrax](https://www.ruby-forum.com/u/anthrax)\
**Replies:** 0\
**Last updated:** [December 12, 2007, 11:00am UTC](https://www.ruby-forum.com/t/how-to-start-a-service-with-the-win32-service-gem/122803 "2007-12-12T11:00:57Z")

</div>

Hi I have install the win32-service 0.6.0 and made some test code just like these: require ‘rubygems’ require “win32/service” require “Win32API” include Win32 begin srv = Service.new() srv.binary\_path\_name = "c:…

---

## [Method problem](https://www.ruby-forum.com/t/method-problem/122661)

<div class="topic-metadata">

**Author:** [@johnsmith](https://www.ruby-forum.com/u/johnsmith)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 10:05am UTC](https://www.ruby-forum.com/t/method-problem/122661 "2007-12-12T10:05:55Z")

</div>

Hi there im writing a class which produces refrences in a hash however im trying to deal with multiple authors so i want to write an if statement where if the key already exists push value onto it im unsure of how …

---

## [Problems building ruby1.9 on Blue Gene/L](https://www.ruby-forum.com/t/problems-building-ruby1-9-on-blue-gene-l/122550)

<div class="topic-metadata">

**Author:** [@underbluewaters](https://www.ruby-forum.com/u/underbluewaters)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 1:16am UTC](https://www.ruby-forum.com/t/problems-building-ruby1-9-on-blue-gene-l/122550 "2007-12-12T01:16:38Z")

</div>

Trying to cross-compile a compute node binary of Ruby1.9. First, the configure.in file is still broken from Ruby1.8.6. You need to comment out these lines so the configure script doesn’t break: ./configure.in:706:#AC\_…

---

## [So pty is no longer supported?](https://www.ruby-forum.com/t/so-pty-is-no-longer-supported/122758)

<div class="topic-metadata">

**Author:** [@rubyoncrack](https://www.ruby-forum.com/u/rubyoncrack)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/so-pty-is-no-longer-supported/122758 "2007-12-11T21:22:33Z")

</div>

it would make sense, since it’s a POS.

---

## [RubyConf Videos Baked and Ready =-)](https://www.ruby-forum.com/t/rubyconf-videos-baked-and-ready/122735)

<div class="topic-metadata">

**Author:** [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 2:35pm UTC](https://www.ruby-forum.com/t/rubyconf-videos-baked-and-ready/122735 "2007-12-11T14:35:14Z")

</div>

90% of the videos are up. Cheers, Bill

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

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