# Ruby

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

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

---

## [Gmane missed a time period?](https://www.ruby-forum.com/t/gmane-missed-a-time-period/118765)

<div class="topic-metadata">

**Author:** [@mortee](https://www.ruby-forum.com/u/mortee)\
**Replies:** 2\
**Last updated:** [October 30, 2007, 7:56pm UTC](https://www.ruby-forum.com/t/gmane-missed-a-time-period/118765 "2007-10-30T19:56:10Z")

</div>

Are there other people here who use gmane.org to read this list? Has anyone noticed that between today around 7AM to 5PM CET no messages appeared, and since then there are replies to here non-existent threads? mortee

---

## [Experiences with Exerb?](https://www.ruby-forum.com/t/experiences-with-exerb/118763)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [October 30, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/experiences-with-exerb/118763 "2007-10-30T19:11:03Z")

</div>

I’m dropping this here since there isn’t too much information about Exerb \[1\] There is also RubyScript2exe \[2\] but this is different, since instead of use stub executable to unpack your application in a temp folder it …

---

## [Link to us](https://www.ruby-forum.com/t/link-to-us/118743)

<div class="topic-metadata">

**Author:** [@rajatgarg](https://www.ruby-forum.com/u/rajatgarg)\
**Replies:** 1\
**Last updated:** [October 30, 2007, 6:45pm UTC](https://www.ruby-forum.com/t/link-to-us/118743 "2007-10-30T18:45:20Z")

</div>

Hi Guys, I am trying to have a module on each of the pages of my website, where user can click and take a link to the page. They can then embed that link on their website to link to our site’s page. How do I code to…

---

## [Parseexcel installation](https://www.ruby-forum.com/t/parseexcel-installation/118610)

<div class="topic-metadata">

**Author:** [@analogy](https://www.ruby-forum.com/u/analogy)\
**Replies:** 1\
**Last updated:** [October 30, 2007, 6:30pm UTC](https://www.ruby-forum.com/t/parseexcel-installation/118610 "2007-10-30T18:30:08Z")

</div>

Can anyone assist me with a simple explanation of installing the parseexcel gem? I’m trying to follow the instructions provided with the download, but keep running into a wall. Thanks in advance!!

---

## [Db4o oo database for ruby?](https://www.ruby-forum.com/t/db4o-oo-database-for-ruby/118705)

<div class="topic-metadata">

**Author:** [@gerpux](https://www.ruby-forum.com/u/gerpux)\
**Replies:** 2\
**Last updated:** [October 30, 2007, 6:23pm UTC](https://www.ruby-forum.com/t/db4o-oo-database-for-ruby/118705 "2007-10-30T18:23:42Z")

</div>

Hi! I saw that the guys at db4o support ruby to some degree and I wanted to know if anyone tried the db under ruby. Is this functional? http://developer.db4o.com/ProjectSpaces/view.aspx/Tools\_And\_Add-Ons/Language\_Bind…

---

## [Check if a parameter is a constant or an object?](https://www.ruby-forum.com/t/check-if-a-parameter-is-a-constant-or-an-object/118733)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [October 30, 2007, 6:08pm UTC](https://www.ruby-forum.com/t/check-if-a-parameter-is-a-constant-or-an-object/118733 "2007-10-30T18:08:57Z")

</div>

Hi all def some\_method(arg) How do I check here if arg is a constant or an object? end Thanks :slight\_smile: Josh

---

## [Using backticks ( \`cmd\`) hang child processes?](https://www.ruby-forum.com/t/using-backticks-cmd-hang-child-processes/118604)

<div class="topic-metadata">

**Author:** [@noam](https://www.ruby-forum.com/u/noam)\
**Replies:** 3\
**Last updated:** [October 30, 2007, 5:39pm UTC](https://www.ruby-forum.com/t/using-backticks-cmd-hang-child-processes/118604 "2007-10-30T17:39:00Z")

</div>

Hi All, i execute small ruby code: puts(“in x\\n”) x = Thread.current y = Thread.start { i = 0; while (1) puts(“in y #{i}\\n”) STDOUT.flush() i +=1; end puts(“in y1\\n”) STDOUT.flush() } puts("in x1\\n") STD…

---

## [Ruby Radius Dictionary](https://www.ruby-forum.com/t/ruby-radius-dictionary/118369)

<div class="topic-metadata">

**Author:** [@Aby\_azid\_A](https://www.ruby-forum.com/u/Aby_azid_A)\
**Replies:** 6\
**Last updated:** [October 30, 2007, 4:46pm UTC](https://www.ruby-forum.com/t/ruby-radius-dictionary/118369 "2007-10-30T16:46:23Z")

</div>

Hie, Im trying to communicate with radius server using example file from ruby-radius-0.9.9 and encountered with this error “/usr/lib/ruby/site\_ruby/1.8/radius/dictionary.rb:294:in vsattr\_numtype': undefined method\[\]’…

---

## [\[ANN\] One-Click Ruby Installer 186-26 Release Candidate 2](https://www.ruby-forum.com/t/ann-one-click-ruby-installer-186-26-release-candidate-2/118749)

<div class="topic-metadata">

**Author:** [@Curt\_SWorkS\_Hibbs](https://www.ruby-forum.com/u/Curt_SWorkS_Hibbs)\
**Replies:** 0\
**Last updated:** [October 30, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/ann-one-click-ruby-installer-186-26-release-candidate-2/118749 "2007-10-30T16:21:47Z")

</div>

This is the 2nd Release Candidate for Ruby 1.8.6-p111 by One-Click-Installer Team. This update RC2 integrates a few updated packages and also two new ones: FastCGI and ruby-fcgi support. These two new extensions all…

---

## [Binary Search 0.0.2 released](https://www.ruby-forum.com/t/binary-search-0-0-2-released/118622)

<div class="topic-metadata">

**Author:** [@luispulidoman](https://www.ruby-forum.com/u/luispulidoman)\
**Replies:** 4\
**Last updated:** [October 30, 2007, 4:04pm UTC](https://www.ruby-forum.com/t/binary-search-0-0-2-released/118622 "2007-10-30T16:04:40Z")

</div>

Hi A few weeks after Ruby Q. 139 I found myself needing again to do a binary search in a big text file. So I converted the solution submitted to OOP and released it as a rubygem. With this gem, you create first an in…

---

## [Is there a better way to do this? (write something to a file](https://www.ruby-forum.com/t/is-there-a-better-way-to-do-this-write-something-to-a-file/118716)

<div class="topic-metadata">

**Author:** [@crenner](https://www.ruby-forum.com/u/crenner)\
**Replies:** 8\
**Last updated:** [October 30, 2007, 2:35pm UTC](https://www.ruby-forum.com/t/is-there-a-better-way-to-do-this-write-something-to-a-file/118716 "2007-10-30T14:35:59Z")

</div>

Is there a better way to write text to a file? File.open("/file/location/new.txt",“w”) {|file| file.write “data to write”} It just seems a bit long winded and unmessy Thanks Chris

---

## [Book about design pattern](https://www.ruby-forum.com/t/book-about-design-pattern/118693)

<div class="topic-metadata">

**Author:** [@coolgeng\_coolgeng](https://www.ruby-forum.com/u/coolgeng_coolgeng)\
**Replies:** 7\
**Last updated:** [October 30, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/book-about-design-pattern/118693 "2007-10-30T14:05:55Z")

</div>

Dear all, I have some base knowledge about ruby on rails. Is there some perfect book about design pattern? Thanks

---

## [What is the difference between two block?](https://www.ruby-forum.com/t/what-is-the-difference-between-two-block/118707)

<div class="topic-metadata">

**Author:** [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Replies:** 7\
**Last updated:** [October 30, 2007, 1:57pm UTC](https://www.ruby-forum.com/t/what-is-the-difference-between-two-block/118707 "2007-10-30T13:57:33Z")

</div>

Dear friends, What is the difference between do … end block and { … }. Is there any big difference.while doign the program more than one do and also we can have inside one do … end. like this do puts hai do puts …

---

## [Ruby2exe with tk](https://www.ruby-forum.com/t/ruby2exe-with-tk/118714)

<div class="topic-metadata">

**Author:** [@Martyn](https://www.ruby-forum.com/u/Martyn)\
**Replies:** 0\
**Last updated:** [October 30, 2007, 11:43am UTC](https://www.ruby-forum.com/t/ruby2exe-with-tk/118714 "2007-10-30T11:43:22Z")

</div>

Hi I have recently prototyped an embedded medical project (target embedded C) in ruby, for speed of development (very fast!), using TK for simulating display, buttons etc. My client on seeing the prototype has asked …

---

## [Ruby Survey/Questionaire?](https://www.ruby-forum.com/t/ruby-survey-questionaire/118709)

<div class="topic-metadata">

**Author:** [@remco](https://www.ruby-forum.com/u/remco)\
**Replies:** 0\
**Last updated:** [October 30, 2007, 10:49am UTC](https://www.ruby-forum.com/t/ruby-survey-questionaire/118709 "2007-10-30T10:49:36Z")

</div>

Hi there, Is there a gem or script available for a survey/Questionaire…so i can take surveys from the visitors of our website… I want to offer multiply-choice options…and each answer has a score…based on the score th…

---

## [RubyConf wifi](https://www.ruby-forum.com/t/rubyconf-wifi/118651)

<div class="topic-metadata">

**Author:** [@pie-r-squared](https://www.ruby-forum.com/u/pie-r-squared)\
**Replies:** 7\
**Last updated:** [October 30, 2007, 10:36am UTC](https://www.ruby-forum.com/t/rubyconf-wifi/118651 "2007-10-30T10:36:40Z")

</div>

For those going to RubyConf, it appears that WiFi is available at the hotel, but it’s only free if you sign up for Omni’s (free) Select Guest program: http://www.omnihotels.com/Home/FindAHotel/Charlotte/HotelHighlight…

---

## [Zip an existing directory?](https://www.ruby-forum.com/t/zip-an-existing-directory/118676)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 17\
**Last updated:** [October 30, 2007, 8:26am UTC](https://www.ruby-forum.com/t/zip-an-existing-directory/118676 "2007-10-30T08:26:05Z")

</div>

Hello, I am trying to zip an existing directory using the following code: system(“zip /Users/petermarks/Desktop/orbus/public/1/daily/2007-10-29”) but get this error: zip error: Nothing to do! (/Users/petermarks/Desk…

---

## [ANN: Sequel 0.3.1 Released](https://www.ruby-forum.com/t/ann-sequel-0-3-1-released/118701)

<div class="topic-metadata">

**Author:** [@ciconia](https://www.ruby-forum.com/u/ciconia)\
**Replies:** 0\
**Last updated:** [October 30, 2007, 8:11am UTC](https://www.ruby-forum.com/t/ann-sequel-0-3-1-released/118701 "2007-10-30T08:11:36Z")

</div>

Sequel version 0.3.1 has just been released. This release includes an experimental Oracle adapter, better Database#fetch functionality, and other minor bug fixes and improvements. Following is a discussion of the chan…

---

## [Good learning-by-doing projects?](https://www.ruby-forum.com/t/good-learning-by-doing-projects/118664)

<div class="topic-metadata">

**Author:** [@SSSSSren\_Andersen](https://www.ruby-forum.com/u/SSSSSren_Andersen)\
**Replies:** 13\
**Last updated:** [October 30, 2007, 6:54am UTC](https://www.ruby-forum.com/t/good-learning-by-doing-projects/118664 "2007-10-30T06:54:25Z")

</div>

Hello all, I’m fairly new to ruby coming from some Java. I’ve been reading “The pragmatic programmers guide”, which is pretty good. But, I always find it’s easier to learn the language using it, rather than just re…

---

## [Jruby and case insensitive environment variables on win32](https://www.ruby-forum.com/t/jruby-and-case-insensitive-environment-variables-on-win32/118683)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 2\
**Last updated:** [October 30, 2007, 6:47am UTC](https://www.ruby-forum.com/t/jruby-and-case-insensitive-environment-variables-on-win32/118683 "2007-10-30T06:47:25Z")

</div>

When converting a Win32/Ruby application to JRuby, I ran into an interesting quirk - the Windows Ruby interpreter (1.8.6 from the one-click installer) let me “get away” with whatever mix of upper and lower case I like…

---

## [Ruby libpcap fails when passing command-line argument](https://www.ruby-forum.com/t/ruby-libpcap-fails-when-passing-command-line-argument/118697)

<div class="topic-metadata">

**Author:** [@kenny\_roytman](https://www.ruby-forum.com/u/kenny_roytman)\
**Replies:** 0\
**Last updated:** [October 30, 2007, 6:44am UTC](https://www.ruby-forum.com/t/ruby-libpcap-fails-when-passing-command-line-argument/118697 "2007-10-30T06:44:29Z")

</div>

Hi, Can someone please help me out here? I’m trying to use Ruby/Libpcap extension to write a rudimentary packet sniffer. I downloaded ruby/libpcap 0.6 from http://www.goto.info.waseda.ac.jp/~fukusima/ruby/pcap-e.ht…

---

## [.txt on README?](https://www.ruby-forum.com/t/txt-on-readme/118657)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 5\
**Last updated:** [October 30, 2007, 6:25am UTC](https://www.ruby-forum.com/t/txt-on-readme/118657 "2007-10-30T06:25:48Z")

</div>

I’m curious about use the .txt extension on README. I know Hoe does this. Why? Is this just to make it easier for Windows developers? Or is there some other reason? T.

---

## [Case sensitivity](https://www.ruby-forum.com/t/case-sensitivity/118694)

<div class="topic-metadata">

**Author:** [@Sanghyeon\_S](https://www.ruby-forum.com/u/Sanghyeon_S)\
**Replies:** 1\
**Last updated:** [October 30, 2007, 6:11am UTC](https://www.ruby-forum.com/t/case-sensitivity/118694 "2007-10-30T06:11:48Z")

</div>

There are still some places in IronRuby that depends on case insensitive file system. :compile\_testhost task generates IronRubyTestHost.exe, but :test\_compiler task runs ironrubytesthost.exe. test\_\*.rb requires util/…

---

## [Range](https://www.ruby-forum.com/t/range/118526)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 1\
**Last updated:** [October 30, 2007, 6:07am UTC](https://www.ruby-forum.com/t/range/118526 "2007-10-30T06:07:07Z")

</div>

http://hagenlocher.org/software/Range.diff.txt This patch fixes Range.to\_s to correctly show … instead of … for exclusive ranges. It adds the functions “step” and “hash”. It adds the aliases “eql?” for “==” and “incl…

---

## [How to trim a string](https://www.ruby-forum.com/t/how-to-trim-a-string/118685)

<div class="topic-metadata">

**Author:** [@danywu](https://www.ruby-forum.com/u/danywu)\
**Replies:** 3\
**Last updated:** [October 30, 2007, 4:22am UTC](https://www.ruby-forum.com/t/how-to-trim-a-string/118685 "2007-10-30T04:22:03Z")

</div>

Hi everyone, I’m a newbie who’s just started experimenting with Ruby and Rails. At the moment I’m looking for a way to return an x number of characters from a string, eg. 5 characters starting from position 10 in the …

---

## [Getting a stack trace of a running thread](https://www.ruby-forum.com/t/getting-a-stack-trace-of-a-running-thread/118688)

<div class="topic-metadata">

**Author:** [@bdeverea](https://www.ruby-forum.com/u/bdeverea)\
**Replies:** 0\
**Last updated:** [October 30, 2007, 3:00am UTC](https://www.ruby-forum.com/t/getting-a-stack-trace-of-a-running-thread/118688 "2007-10-30T03:00:07Z")

</div>

I’m trying to update a tool we’ve developed here at Rapleaf for observing what the threads in your app are up to (thread-dump). One of the limitations of thread-dump is that it can only produce the file, function and …

---

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

<div class="topic-metadata">

**Author:** [@Jeremy\_Fisher](https://www.ruby-forum.com/u/Jeremy_Fisher)\
**Replies:** 0\
**Last updated:** [October 30, 2007, 2:42am UTC](https://www.ruby-forum.com/t/no-subject/118686 "2007-10-30T02:42:35Z")

</div>

“unsubscribe”

---

## [Mkmf problems on Mac OS X Leopard](https://www.ruby-forum.com/t/mkmf-problems-on-mac-os-x-leopard/118626)

<div class="topic-metadata">

**Author:** [@Wincent\_C](https://www.ruby-forum.com/u/Wincent_C)\
**Replies:** 7\
**Last updated:** [October 30, 2007, 2:10am UTC](https://www.ruby-forum.com/t/mkmf-problems-on-mac-os-x-leopard/118626 "2007-10-30T02:10:28Z")

</div>

Here’s an excerpt from a simple extconf.rb: have\_header('antlr3.h') have\_library('antlr3c', 'antlr3ParserNew') The “have\_library” line worked fine on the previous version of Mac OS X (Tiger), but under Leopard it can’…

---

## [Checkers library](https://www.ruby-forum.com/t/checkers-library/118492)

<div class="topic-metadata">

**Author:** [@helder](https://www.ruby-forum.com/u/helder)\
**Replies:** 13\
**Last updated:** [October 30, 2007, 1:53am UTC](https://www.ruby-forum.com/t/checkers-library/118492 "2007-10-30T01:53:32Z")

</div>

Does anyone know if there’s a sort of library for the game Checkers in Ruby? Something that would, at least: given a board state and a player, tell me what the legal moves are; given a board state and a move, tell me …

---

## [RubyCocoa dmg on 10.4](https://www.ruby-forum.com/t/rubycocoa-dmg-on-10-4/118652)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 1\
**Last updated:** [October 30, 2007, 1:05am UTC](https://www.ruby-forum.com/t/rubycocoa-dmg-on-10-4/118652 "2007-10-30T01:05:37Z")

</div>

Much in the way that Charles Dickens asked Dr. Who, I, too, want to know if my efforts will be fruitless. Whenever I try to install the RubyCocoa dmg for 10.4.9, I get an “install failed” at the end of my attempted i…

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

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