# Ruby

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

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

---

## [Hi I have a Debian 4 machine with Ruby 1.8.6 (installed from source) and some gems including Rails](https://www.ruby-forum.com/t/hi-i-have-a-debian-4-machine-with-ruby-1-8-6-installed-from-source-and-some-gems-including-rails/150740)

<div class="topic-metadata">

**Author:** [@The\_N](https://www.ruby-forum.com/u/The_N)\
**Replies:** 2\
**Last updated:** [October 13, 2008, 1:56am UTC](https://www.ruby-forum.com/t/hi-i-have-a-debian-4-machine-with-ruby-1-8-6-installed-from-source-and-some-gems-including-rails/150740 "2008-10-13T01:56:42Z")

</div>

Hi I have a Debian 4 machine with Ruby 1.8.6 (installed from source) and some gems including Rails 2.1 and Phusion Passenger 2.0.3 (mod\_rails, which needs fastthread and rack gems). I want to update to the latest pat…

---

## [Highline: Can I "ask" to STDERR](https://www.ruby-forum.com/t/highline-can-i-ask-to-stderr/150202)

<div class="topic-metadata">

**Author:** [@jpettet](https://www.ruby-forum.com/u/jpettet)\
**Replies:** 3\
**Last updated:** [October 13, 2008, 1:11am UTC](https://www.ruby-forum.com/t/highline-can-i-ask-to-stderr/150202 "2008-10-13T01:11:41Z")

</div>

Hello, fellow ruby enthusiasts! I’m a first time caller, long time listener. Does highline allow you to send the “ask” prompt to STDERR? I often times use it to prompt for passwords in command line tools that I want …

---

## [Help with some codes](https://www.ruby-forum.com/t/help-with-some-codes/150742)

<div class="topic-metadata">

**Author:** [@strawb3rry7ady](https://www.ruby-forum.com/u/strawb3rry7ady)\
**Replies:** 2\
**Last updated:** [October 12, 2008, 9:32pm UTC](https://www.ruby-forum.com/t/help-with-some-codes/150742 "2008-10-12T21:32:13Z")

</div>

heya all! well, am such a newbies in this world of ruby language, though! i found it very interesting language and i am pretty much can catch up myself but not as fast as i’ve thought. anyway, below are some source co…

---

## [Ffmpeg-ruby first release : Now extracting thumbnails](https://www.ruby-forum.com/t/ffmpeg-ruby-first-release-now-extracting-thumbnails/150761)

<div class="topic-metadata">

**Author:** [@gwik](https://www.ruby-forum.com/u/gwik)\
**Replies:** 0\
**Last updated:** [October 12, 2008, 8:45pm UTC](https://www.ruby-forum.com/t/ffmpeg-ruby-first-release-now-extracting-thumbnails/150761 "2008-10-12T20:45:29Z")

</div>

ffmpeg-ruby is a ruby C extension binding to ffmpeg/libav\* library. It’s main purpose is to extract frame in order to make video thumbnails. It also give access to main video attributes (frame rate, bit rate, duratio…

---

## [Logging - Rack](https://www.ruby-forum.com/t/logging-rack/150736)

<div class="topic-metadata">

**Author:** [@ghoti143](https://www.ruby-forum.com/u/ghoti143)\
**Replies:** 3\
**Last updated:** [October 12, 2008, 8:41pm UTC](https://www.ruby-forum.com/t/logging-rack/150736 "2008-10-12T20:41:57Z")

</div>

Hi, I’m starting to look into improving the logging in our app. I read about “Logging”: http://logging.rubyforge.org/ Anyone else using it with JRuby? I started to configure it and it look promising - although so fa…

---

## [Writing an OO wrapper (UI)](https://www.ruby-forum.com/t/writing-an-oo-wrapper-ui/150651)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 9\
**Last updated:** [October 12, 2008, 8:37pm UTC](https://www.ruby-forum.com/t/writing-an-oo-wrapper-ui/150651 "2008-10-12T20:37:11Z")

</div>

I am writing an app generator for ncurses-ruby. While refactoring my apps, I find that the ncurses-ruby calls for any object are still scattered in various switch cases - i.e. not reusable - messy. I thus need to writ…

---

## [Description, what is it?](https://www.ruby-forum.com/t/description-what-is-it/150753)

<div class="topic-metadata">

**Author:** [@rubyernewbie](https://www.ruby-forum.com/u/rubyernewbie)\
**Replies:** 3\
**Last updated:** [October 12, 2008, 8:12pm UTC](https://www.ruby-forum.com/t/description-what-is-it/150753 "2008-10-12T20:12:02Z")

</div>

I read a class like this.what’s the description work for? class Employee description “xxxxxxxx” #some code continue here end

---

## [Compare Arrays](https://www.ruby-forum.com/t/compare-arrays/150729)

<div class="topic-metadata">

**Author:** [@superfly](https://www.ruby-forum.com/u/superfly)\
**Replies:** 6\
**Last updated:** [October 12, 2008, 6:07pm UTC](https://www.ruby-forum.com/t/compare-arrays/150729 "2008-10-12T18:07:00Z")

</div>

Hey, I just have a quick question about arrays. I have two different ones that I would like to compare. Example: Array 1: cats, dogs, monkeys Array 2: cats, fish, dogs, birds, monkeys Now, I would like to compare ar…

---

## [Re: Hi I have a Debian 4 machine with Ruby 1.8.6 (installed from source) and some gems including Rai](https://www.ruby-forum.com/t/re-hi-i-have-a-debian-4-machine-with-ruby-1-8-6-installed-from-source-and-some-gems-including-rai/150754)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [October 12, 2008, 5:16pm UTC](https://www.ruby-forum.com/t/re-hi-i-have-a-debian-4-machine-with-ruby-1-8-6-installed-from-source-and-some-gems-including-rai/150754 "2008-10-12T17:16:35Z")

</div>

On Sun, Oct 12, 2008 at 3:07 AM, The N. removed\_email\_address@domain.invalid wrote: Juan “The N.” Escajadillo Hi Neurochild: Please don’t post your entire message in the subject line. -greg

---

## [Activating a window using ruby code](https://www.ruby-forum.com/t/activating-a-window-using-ruby-code/150744)

<div class="topic-metadata">

**Author:** [@anukulsinghal](https://www.ruby-forum.com/u/anukulsinghal)\
**Replies:** 0\
**Last updated:** [October 12, 2008, 3:28pm UTC](https://www.ruby-forum.com/t/activating-a-window-using-ruby-code/150744 "2008-10-12T15:28:25Z")

</div>

Hi, I am writing a method in ruby named activateWindow(windowHandle). User will pass the window handle of the window that needs to be activated as the argument and the corresponding window should be activated. Can a…

---

## [Deamons.rb: changing the pid directory](https://www.ruby-forum.com/t/deamons-rb-changing-the-pid-directory/150715)

<div class="topic-metadata">

**Author:** [@miken700](https://www.ruby-forum.com/u/miken700)\
**Replies:** 1\
**Last updated:** [October 12, 2008, 11:28am UTC](https://www.ruby-forum.com/t/deamons-rb-changing-the-pid-directory/150715 "2008-10-12T11:28:13Z")

</div>

Hey folks, Does anyone know how I can change the directory that the pid file is put in when using the Daemons gem (http://daemons.rubyforge.org/) ? Thanks! Mike

---

## [Stickler 0.1.1 Released](https://www.ruby-forum.com/t/stickler-0-1-1-released/150734)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 0\
**Last updated:** [October 12, 2008, 8:12am UTC](https://www.ruby-forum.com/t/stickler-0-1-1-released/150734 "2008-10-12T08:12:01Z")

</div>

stickler version 0.1.1 has been released. gem install stickler http://copiousfreetime.rubyforge.org/stickler Stickler is a tool to organize and maintain an internal gem repository. At times it is useful to have compl…

---

## [Success through home business](https://www.ruby-forum.com/t/success-through-home-business/150731)

<div class="topic-metadata">

**Author:** [@sweety](https://www.ruby-forum.com/u/sweety)\
**Replies:** 0\
**Last updated:** [October 12, 2008, 7:50am UTC](https://www.ruby-forum.com/t/success-through-home-business/150731 "2008-10-12T07:50:23Z")

</div>

Success usually comes to those who are too busy to be looking for it Visit online Jobs, Tourism http://www.earnmoneyonnet4all.blogspot.com/ ://www.onlineworldtourism4all.blogspot.com/

---

## [Interfacing the parallel port](https://www.ruby-forum.com/t/interfacing-the-parallel-port/144492)

<div class="topic-metadata">

**Author:** [@darudude](https://www.ruby-forum.com/u/darudude)\
**Replies:** 3\
**Last updated:** [October 12, 2008, 6:24am UTC](https://www.ruby-forum.com/t/interfacing-the-parallel-port/144492 "2008-10-12T06:24:31Z")

</div>

I’m working on a project that requires the outputting of data via the parallel port. Basically I want to set certain lines high and low with ruby. However, I can’t seem to find any example where ruby is used to commun…

---

## [Builder::XmlMarkup extra to\_s tag](https://www.ruby-forum.com/t/builder-xmlmarkup-extra-to-s-tag/150522)

<div class="topic-metadata">

**Author:** [@ted](https://www.ruby-forum.com/u/ted)\
**Replies:** 2\
**Last updated:** [October 12, 2008, 4:47am UTC](https://www.ruby-forum.com/t/builder-xmlmarkup-extra-to-s-tag/150522 "2008-10-12T04:47:29Z")

</div>

Hi, I’m trying to print out some xml and don’t know what I’m doing. I’m getting this \<to\_s/\> tag in the output. Where is it coming from and how do I get rid of it. Here’s my test code. Any help appreciated. CODE: …

---

## [Why is Ruby Website Search Broken?](https://www.ruby-forum.com/t/why-is-ruby-website-search-broken/150642)

<div class="topic-metadata">

**Author:** [@stevedogers](https://www.ruby-forum.com/u/stevedogers)\
**Replies:** 3\
**Last updated:** [October 12, 2008, 4:25am UTC](https://www.ruby-forum.com/t/why-is-ruby-website-search-broken/150642 "2008-10-12T04:25:31Z")

</div>

Is it just me, or is everyone aware that the Ruby main search is broken on Here’s what I keep getting for even simple searches like “uninstall” Application error (Apache) Change this error message for exceptions thro…

---

## [XDG v0.3.0 released](https://www.ruby-forum.com/t/xdg-v0-3-0-released/150714)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [October 11, 2008, 11:43pm UTC](https://www.ruby-forum.com/t/xdg-v0-3-0-released/150714 "2008-10-11T23:43:21Z")

</div>

XDG 0.3.0 has been released. http://xdg.rubyforge.org XDG provides a module for supporting the XDG Base Directory Standard. See: XDG Base Directory Specification This release removes the xdg\_ prefix from the module-l…

---

## [Needing a little help with a ruby program](https://www.ruby-forum.com/t/needing-a-little-help-with-a-ruby-program/150707)

<div class="topic-metadata">

**Author:** [@spudicus87](https://www.ruby-forum.com/u/spudicus87)\
**Replies:** 1\
**Last updated:** [October 11, 2008, 10:09pm UTC](https://www.ruby-forum.com/t/needing-a-little-help-with-a-ruby-program/150707 "2008-10-11T22:09:43Z")

</div>

Ok, so this is what I need to do for the program. I am not the best programmer in the world and I need a little help. Assignment: Create a program that obtains disk usage information from du and uses it to print a hi…

---

## [Mkmf generates corrupt makefile in 1.8.6](https://www.ruby-forum.com/t/mkmf-generates-corrupt-makefile-in-1-8-6/150637)

<div class="topic-metadata">

**Author:** [@avdi](https://www.ruby-forum.com/u/avdi)\
**Replies:** 3\
**Last updated:** [October 11, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/mkmf-generates-corrupt-makefile-in-1-8-6/150637 "2008-10-11T21:13:28Z")

</div>

I just noticed (because libxml-ruby wouldn’t compile) that the mkmf.rb in my version of Ruby 1.8.6 has a bug. The generated makefile prefixes spaces instead of tabs for a couple of the generated make tasks. Specific…

---

## [Needing a little help with a ruby program](https://www.ruby-forum.com/t/needing-a-little-help-with-a-ruby-program/150706)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [October 11, 2008, 9:01pm UTC](https://www.ruby-forum.com/t/needing-a-little-help-with-a-ruby-program/150706 "2008-10-11T21:01:44Z")

</div>

Ok, so this is what I need to do for the program. I am not the best programmer in the world and I need a little help. Assignment: Create a program that obtains disk usage information from du and uses it to print a hi…

---

## [Prevents multiple includes of the same module](https://www.ruby-forum.com/t/prevents-multiple-includes-of-the-same-module/150693)

<div class="topic-metadata">

**Author:** [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Replies:** 1\
**Last updated:** [October 11, 2008, 7:39pm UTC](https://www.ruby-forum.com/t/prevents-multiple-includes-of-the-same-module/150693 "2008-10-11T19:39:24Z")

</div>

Hello, one module defines several CONSTANTS As it is required from few classes I get warning: already initialized constant FOO How can I prevents the redefinition of theses CONSTANTS ? It’s just because it pollutes m…

---

## [Stickler 0.1.0 Released](https://www.ruby-forum.com/t/stickler-0-1-0-released/150588)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 6\
**Last updated:** [October 11, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/stickler-0-1-0-released/150588 "2008-10-11T18:41:48Z")

</div>

stickler version 0.1.0 has been released. gem install stickler http://copiousfreetime.rubyforge.org/stickler Stickler is a tool to organize and maintain an internal gem repository. At times it is useful to have comp…

---

## ["FireRuby" (Ruby script for FirePHP)](https://www.ruby-forum.com/t/fireruby-ruby-script-for-firephp/150695)

<div class="topic-metadata">

**Author:** [@T.N.T](https://www.ruby-forum.com/u/T.N.T)\
**Replies:** 0\
**Last updated:** [October 11, 2008, 6:35pm UTC](https://www.ruby-forum.com/t/fireruby-ruby-script-for-firephp/150695 "2008-10-11T18:35:22Z")

</div>

Hello group Since I couldn’t find anything regarding a ruby version of the FirePHP.class.php for FirePHP so I wrote something myself. I’m just a hobbyist so it’s not the Fine Art and it’s not really festure rich (yet…

---

## [Calc Days from Date](https://www.ruby-forum.com/t/calc-days-from-date/150683)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [October 11, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/calc-days-from-date/150683 "2008-10-11T18:30:41Z")

</div>

Hello. I am Ruby Beginner. Now I am trying to write a code, that calcs days between two dates. I ask the user for a date. Then the User type a german Date (for example 12.06.2006). This is working well. Now, what doe…

---

## [RichUnits 0.4.0](https://www.ruby-forum.com/t/richunits-0-4-0/150645)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 1\
**Last updated:** [October 11, 2008, 6:17pm UTC](https://www.ruby-forum.com/t/richunits-0-4-0/150645 "2008-10-11T18:17:11Z")

</div>

Hi All– Just wanted to let you know about the RichUnits project. This is a library based on Rich Kilmer’s unit system --essentially the same system used by Ruby on Rails. The current project is a combination of the o…

---

## [Wrong file encoding for date.rb on ubuntu](https://www.ruby-forum.com/t/wrong-file-encoding-for-date-rb-on-ubuntu/150684)

<div class="topic-metadata">

**Author:** [@schorsch](https://www.ruby-forum.com/u/schorsch)\
**Replies:** 0\
**Last updated:** [October 11, 2008, 12:55pm UTC](https://www.ruby-forum.com/t/wrong-file-encoding-for-date-rb-on-ubuntu/150684 "2008-10-11T12:55:31Z")

</div>

After upgrading ruby via ubuntu package manager the encoding of the date.rb seems to be wrong, so there are a whole bunch of strange chars inside the file. OS Ubuntu hardy ruby 1.8.6 (2007-09-24 patchlevel 111) \[i486…

---

## [Code Review (External): NumericalFixes](https://www.ruby-forum.com/t/code-review-external-numericalfixes/150343)

<div class="topic-metadata">

**Author:** [@editkid](https://www.ruby-forum.com/u/editkid)\
**Replies:** 8\
**Last updated:** [October 11, 2008, 10:22am UTC](https://www.ruby-forum.com/t/code-review-external-numericalfixes/150343 "2008-10-11T10:22:20Z")

</div>

A number of fixes to pass most of the relevant rubyspecs. BignumOps.cs: Leftshift and Rightshift fixes FixnumOps.cs: Leftshift, Rightshift, Bitwise\_Xor, Bitwise\_And and Bitwise\_Or fixes …

---

## [Help me to better understand modules](https://www.ruby-forum.com/t/help-me-to-better-understand-modules/150598)

<div class="topic-metadata">

**Author:** [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Replies:** 3\
**Last updated:** [October 11, 2008, 8:25am UTC](https://www.ruby-forum.com/t/help-me-to-better-understand-modules/150598 "2008-10-11T08:25:22Z")

</div>

Hello, I would like to use ruby modules for the first time. I understand theirs principle for a basic usage but get quite unsure for the present situation : I want to put some code in a library (railsapp/lib) to lig…

---

## [Thread: super should be first line or last line?](https://www.ruby-forum.com/t/thread-super-should-be-first-line-or-last-line/150617)

<div class="topic-metadata">

**Author:** [@christoforever](https://www.ruby-forum.com/u/christoforever)\
**Replies:** 10\
**Last updated:** [October 11, 2008, 4:10am UTC](https://www.ruby-forum.com/t/thread-super-should-be-first-line-or-last-line/150617 "2008-10-11T04:10:28Z")

</div>

While playing around with ruby threads I noticed that if you dont call super when subclassing a thread you will get an initialization error. So ok we throw a super in the initialize method and that clears things up. U…

---

## [Namecase 1.1.0 Released](https://www.ruby-forum.com/t/namecase-1-1-0-released/150222)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 2\
**Last updated:** [October 11, 2008, 3:25am UTC](https://www.ruby-forum.com/t/namecase-1-1-0-released/150222 "2008-10-11T03:25:21Z")

</div>

namecase version 1.1.0 has been released! http://namecase.rubyforge.org/ NameCase is a Ruby implementation of Lingua::EN::NameCase, a library for converting strings to be properly cased. This is good for converting …

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

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