# Ruby

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

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

---

## [Re: Chunky Bacon](https://www.ruby-forum.com/t/re-chunky-bacon/73448)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [October 24, 2006, 6:44pm UTC](https://www.ruby-forum.com/t/re-chunky-bacon/73448 "2006-10-24T18:44:09Z")

</div>

From: Cameron, Gemma (UK) \[mailto:removed\_email\_address@domain.invalid\] Although back to the initial question wtf (excuse my language) has any of this to do with ruby or coding…?! If you read “Why’s Poignant Guide t…

---

## [Re: Chunky Bacon](https://www.ruby-forum.com/t/re-chunky-bacon/73444)

<div class="topic-metadata">

**Author:** [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Replies:** 0\
**Last updated:** [October 24, 2006, 6:32pm UTC](https://www.ruby-forum.com/t/re-chunky-bacon/73444 "2006-10-24T18:32:12Z")

</div>

Southerner! We don’t really get those up here - Booths is much better. ( : Gem

---

## [Re: Chunky Bacon](https://www.ruby-forum.com/t/re-chunky-bacon/73438)

<div class="topic-metadata">

**Author:** [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Replies:** 1\
**Last updated:** [October 24, 2006, 6:24pm UTC](https://www.ruby-forum.com/t/re-chunky-bacon/73438 "2006-10-24T18:24:45Z")

</div>

Another northerner I presume? Lancashire? A southerner wouldn’t know what a meat pie were! I must admit I was taken aback by the tesco’s reference! Gem

---

## [RejectConf](https://www.ruby-forum.com/t/rejectconf/72826)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 13\
**Last updated:** [October 24, 2006, 6:00pm UTC](https://www.ruby-forum.com/t/rejectconf/72826 "2006-10-24T18:00:40Z")

</div>

Jacob Harris and I came up with the idea of doing RejectConf. If you submitted a proposal for rubyconf and got shot down (or just want to give a talk), send me some info or grab me, Jacob, or Eric H. and we’ll make it…

---

## [Ruby Inline](https://www.ruby-forum.com/t/ruby-inline/73410)

<div class="topic-metadata">

**Author:** [@unni.tallman](https://www.ruby-forum.com/u/unni.tallman)\
**Replies:** 4\
**Last updated:** [October 24, 2006, 5:11pm UTC](https://www.ruby-forum.com/t/ruby-inline/73410 "2006-10-24T17:11:29Z")

</div>

How to pass an integer array to a C function, in RubyInline???

---

## [Kumbaya = RubyOSA + iTunes + Marshmallow](https://www.ruby-forum.com/t/kumbaya-rubyosa-itunes-marshmallow/73416)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 0\
**Last updated:** [October 24, 2006, 4:31pm UTC](https://www.ruby-forum.com/t/kumbaya-rubyosa-itunes-marshmallow/73416 "2006-10-24T16:31:16Z")

</div>

Hello, I wanted to share a little hack that my team put together yesterday. If you use OS X, Campfire and Itunes check it out. Kumbaya = RubyOSA + iTunes + Marshmallow http://www.42squared.com/2006/10/24/kumbaya-rub…

---

## [Assertion reflection](https://www.ruby-forum.com/t/assertion-reflection/73412)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 0\
**Last updated:** [October 24, 2006, 4:07pm UTC](https://www.ruby-forum.com/t/assertion-reflection/73412 "2006-10-24T16:07:02Z")

</div>

\[X-posted from the RSpec mailing list\] We discuss RSpec’s assertions, which use ‘should’ for ‘assert’. Micah M. wrote: x.should\_equal 2 a.should\_not\_be nil When they fail they yield messages like: 1 should equ…

---

## [Parseexcel, spreadsheet-excel merger? Gems?](https://www.ruby-forum.com/t/parseexcel-spreadsheet-excel-merger-gems/73349)

<div class="topic-metadata">

**Author:** [@3nd3r](https://www.ruby-forum.com/u/3nd3r)\
**Replies:** 1\
**Last updated:** [October 24, 2006, 3:54pm UTC](https://www.ruby-forum.com/t/parseexcel-spreadsheet-excel-merger-gems/73349 "2006-10-24T15:54:59Z")

</div>

There was indication of the merging of spreadsheet-excel and parseexcel. Does anyone know of any progress in this endeavor? Also, I see spreadsheet-excel has a gem file whereas parseexcel doesn’t. Does parseexcel ha…

---

## [Parsing ruby-code with the ruby-interpreter itself](https://www.ruby-forum.com/t/parsing-ruby-code-with-the-ruby-interpreter-itself/73399)

<div class="topic-metadata">

**Author:** [@cies](https://www.ruby-forum.com/u/cies)\
**Replies:** 1\
**Last updated:** [October 24, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/parsing-ruby-code-with-the-ruby-interpreter-itself/73399 "2006-10-24T15:40:40Z")

</div>

at the moment most code editors are using sets of regexps, and other difficult stuff to do highlighting and syntax error checking… i was (naturally) thinking: why? ruby already contains a nice parser for parsing ruby! …

---

## [Difficulty installing ruby gem termios](https://www.ruby-forum.com/t/difficulty-installing-ruby-gem-termios/73360)

<div class="topic-metadata">

**Author:** [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Replies:** 2\
**Last updated:** [October 24, 2006, 3:26pm UTC](https://www.ruby-forum.com/t/difficulty-installing-ruby-gem-termios/73360 "2006-10-24T15:26:33Z")

</div>

Hello, I’ve just put a fresh install of kubuntu 6.06.1i on my computer. I’m trying to install the ruby gem termios-0.9.4, with gem 0.9.0 and ruby 1.8.4. I’ve used the following commands to no avail. sudo gem instal…

---

## [Adding times](https://www.ruby-forum.com/t/adding-times/73405)

<div class="topic-metadata">

**Author:** [@EBEBEB](https://www.ruby-forum.com/u/EBEBEB)\
**Replies:** 4\
**Last updated:** [October 24, 2006, 2:52pm UTC](https://www.ruby-forum.com/t/adding-times/73405 "2006-10-24T14:52:17Z")

</div>

Ok, I try to use ruby for all sorts on-the-fly things as they come up so that I can practice & learn about it :slight\_smile: So, I’m looking up Ruby in a Nutshell, and amazon says if I order in the next 10 hours and 4…

---

## [\[ANN\] Great step for Ruby CI. Cerberus 0.3.0 released](https://www.ruby-forum.com/t/ann-great-step-for-ruby-ci-cerberus-0-3-0-released/73393)

<div class="topic-metadata">

**Author:** [@anatol](https://www.ruby-forum.com/u/anatol)\
**Replies:** 3\
**Last updated:** [October 24, 2006, 2:42pm UTC](https://www.ruby-forum.com/t/ann-great-step-for-ruby-ci-cerberus-0-3-0-released/73393 "2006-10-24T14:42:12Z")

</div>

Hi, ruby lovers. I am glad to announce 0.3.0 release of Cerberus CI tool. This release is claimed to be greatest step in Cerberus development. Release 0.3.0 brings new cool features that were requested by Cerberus us…

---

## [About file format](https://www.ruby-forum.com/t/about-file-format/73196)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 10\
**Last updated:** [October 24, 2006, 1:30pm UTC](https://www.ruby-forum.com/t/about-file-format/73196 "2006-10-24T13:30:54Z")

</div>

Hi guys, I just wonder what is the default file format which can recognized by File.file?(). I have some files in a folder with this format: OTI-4.001 OTI-4.002 OTI-4.003 OTI-4.004 OTI-4.005 OTI-4.006 OTI-4.007 …

---

## [Learning ruby - metaprogramming question](https://www.ruby-forum.com/t/learning-ruby-metaprogramming-question/73264)

<div class="topic-metadata">

**Author:** [@Luc\_J](https://www.ruby-forum.com/u/Luc_J)\
**Replies:** 5\
**Last updated:** [October 24, 2006, 1:16pm UTC](https://www.ruby-forum.com/t/learning-ruby-metaprogramming-question/73264 "2006-10-24T13:16:48Z")

</div>

Hello all, I started learning Ruby not long ago and I’d really like to understand concepts behind it. Poignant Guide to ruby (http://poignantguide.net/ruby/chapter-6.html) is a very usefull book for this. Below exam…

---

## [Using ActiveRecord to determine database structure](https://www.ruby-forum.com/t/using-activerecord-to-determine-database-structure/73394)

<div class="topic-metadata">

**Author:** [@Karla](https://www.ruby-forum.com/u/Karla)\
**Replies:** 0\
**Last updated:** [October 24, 2006, 11:11am UTC](https://www.ruby-forum.com/t/using-activerecord-to-determine-database-structure/73394 "2006-10-24T11:11:29Z")

</div>

Hi Folks, for a project i have to write a program that determines automatically the stucture of a given database. This means, i have to find out which tables a database has, which attributes those tables have, which t…

---

## [Override Time#to\_s -- how?](https://www.ruby-forum.com/t/override-time-to-s-how/73361)

<div class="topic-metadata">

**Author:** [@blacknight](https://www.ruby-forum.com/u/blacknight)\
**Replies:** 7\
**Last updated:** [October 24, 2006, 10:17am UTC](https://www.ruby-forum.com/t/override-time-to-s-how/73361 "2006-10-24T10:17:00Z")

</div>

Hey everyone, I’d like to override the Time#to\_s function to parse Time objects a specific way – how can I do this from within my script? (Without modifying the Time class itself) Thanks, Ben

---

## [Ruby-prof on amd64](https://www.ruby-forum.com/t/ruby-prof-on-amd64/73375)

<div class="topic-metadata">

**Author:** [@jeremy\_k](https://www.ruby-forum.com/u/jeremy_k)\
**Replies:** 0\
**Last updated:** [October 24, 2006, 9:16am UTC](https://www.ruby-forum.com/t/ruby-prof-on-amd64/73375 "2006-10-24T09:16:40Z")

</div>

The ruby-prof extension seems to fail on amd64. Simplest case: $ uname -a Linux ks 2.6.15-27-amd64-k8 #1 SMP PREEMPT Sat Sep 16 01:57:42 UTC 2006 x86\_64 GNU/Linux $ ruby -v ruby 1.8.4 (2005-12-24) \[x86\_64-linux\] $ …

---

## [How to remove empty element in an array](https://www.ruby-forum.com/t/how-to-remove-empty-element-in-an-array/73312)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 11\
**Last updated:** [October 24, 2006, 8:52am UTC](https://www.ruby-forum.com/t/how-to-remove-empty-element-in-an-array/73312 "2006-10-24T08:52:38Z")

</div>

Hi all, I have an array of \[1,2,’’\] I want change it to \[1,2\]. I check the document about Array but I can’t find a way to remove the empty element. Any comments? Thanks, Li

---

## [FJSON 0.0.5 released - Works on OSX now](https://www.ruby-forum.com/t/fjson-0-0-5-released-works-on-osx-now/73367)

<div class="topic-metadata">

**Author:** [@bct](https://www.ruby-forum.com/u/bct)\
**Replies:** 0\
**Last updated:** [October 24, 2006, 7:54am UTC](https://www.ruby-forum.com/t/fjson-0-0-5-released-works-on-osx-now/73367 "2006-10-24T07:54:30Z")

</div>

Hello, I released version 0.0.5 of FJSON while at Rubyconf. It now works on OSX. I also added UTF-8 escaping. Fast JSON is a port of Florian F.'s JSON library with the rendering implemented in C. It sports large per…

---

## [Ruby Reports (Ruport) 0.6.0](https://www.ruby-forum.com/t/ruby-reports-ruport-0-6-0/73364)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [October 24, 2006, 6:24am UTC](https://www.ruby-forum.com/t/ruby-reports-ruport-0-6-0/73364 "2006-10-24T06:24:11Z")

</div>

= Ruport 0.6.0 Release, the “That Guy” edition = == What is Ruport? == Ruby Reports is a software library that aims to make the task of reporting less tedious and painful. It provides tools for data acquisition, data…

---

## [Bug with Emacs mode for Ruby](https://www.ruby-forum.com/t/bug-with-emacs-mode-for-ruby/73300)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 1\
**Last updated:** [October 24, 2006, 6:10am UTC](https://www.ruby-forum.com/t/bug-with-emacs-mode-for-ruby/73300 "2006-10-24T06:10:11Z")

</div>

There seems to be a bug with Emacs mode of Ruby: For example: I have following three statements and Emacs behaves quite differently with each of them this work pretty fine actually return 1 if @chunked\_data !~ /SESSI…

---

## [Building a Ruby track for Linuxfest Northwest](https://www.ruby-forum.com/t/building-a-ruby-track-for-linuxfest-northwest/73341)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 3\
**Last updated:** [October 24, 2006, 5:44am UTC](https://www.ruby-forum.com/t/building-a-ruby-track-for-linuxfest-northwest/73341 "2006-10-24T05:44:09Z")

</div>

Okay, it’s time to get a Ruby track going at Linuxfest Northwest. I’ve talked to the organizers and they say they’re game for it, if they can get enough quality talks. So take an hour or two this week to figure out w…

---

## [Ruby & activeTcl run solely from a usb flash drive](https://www.ruby-forum.com/t/ruby-activetcl-run-solely-from-a-usb-flash-drive/73329)

<div class="topic-metadata">

**Author:** [@leafhopper](https://www.ruby-forum.com/u/leafhopper)\
**Replies:** 2\
**Last updated:** [October 24, 2006, 2:25am UTC](https://www.ruby-forum.com/t/ruby-activetcl-run-solely-from-a-usb-flash-drive/73329 "2006-10-24T02:25:43Z")

</div>

All, My goal is to run a ruby (gui/tk) from a usb flash drive. I have ruby (for windows) and Active Tcl installed on a usb flash drive. I would like to plug this into a windows os machine and not disrupt the windows …

---

## [Downloading web page as HTML accessed through WATIR](https://www.ruby-forum.com/t/downloading-web-page-as-html-accessed-through-watir/72825)

<div class="topic-metadata">

**Author:** [@michael](https://www.ruby-forum.com/u/michael)\
**Replies:** 3\
**Last updated:** [October 24, 2006, 1:55am UTC](https://www.ruby-forum.com/t/downloading-web-page-as-html-accessed-through-watir/72825 "2006-10-24T01:55:42Z")

</div>

is there anyway to download the page accessed through WATIR as html page?? for instance, require ‘watir’ ie = Watir::IE.start(“http://www.yahoo.com”) above codes will open www.yahoo.com… what should we do to downloa…

---

## [Sizing Widgets](https://www.ruby-forum.com/t/sizing-widgets/72911)

<div class="topic-metadata">

**Author:** [@WoodHacker](https://www.ruby-forum.com/u/WoodHacker)\
**Replies:** 13\
**Last updated:** [October 24, 2006, 12:45am UTC](https://www.ruby-forum.com/t/sizing-widgets/72911 "2006-10-24T00:45:35Z")

</div>

I’m new to Ruby/Gtk and find it, so far, exactly what I want for a GUI. However, I have one problem that I can’t seem to figure out and that has to do with setting sizes of widgets. For example, I want to create a …

---

## [Re: File::open and File.open](https://www.ruby-forum.com/t/re-file-open-and-file-open/73339)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [October 23, 2006, 10:38pm UTC](https://www.ruby-forum.com/t/re-file-open-and-file-open/73339 "2006-10-23T22:38:46Z")

</div>

From: Brad T. What exactly is the difference between these? :: and . are interchangeable for method calls (I think fully): irb(main):001:0\> class Foo; attr\_accessor :bar; end =\> nil irb(main):002:0\> f = Foo.new =\>…

---

## [Vancouver Ruby Brigade: November 7th](https://www.ruby-forum.com/t/vancouver-ruby-brigade-november-7th/73334)

<div class="topic-metadata">

**Author:** [@Zed\_ASShaw](https://www.ruby-forum.com/u/Zed_ASShaw)\
**Replies:** 0\
**Last updated:** [October 23, 2006, 9:57pm UTC](https://www.ruby-forum.com/t/vancouver-ruby-brigade-november-7th/73334 "2006-10-23T21:57:49Z")

</div>

Hello! Just a quick announcement to prime the pump that the next Vancouver Ruby Brigade is November 7th. We are tentatively planning a RubyConf wrap-up, but we’re also looking for ideas. We’ve got a Beast forum (Jos…

---

## [Trouble using puts and getc in different threads](https://www.ruby-forum.com/t/trouble-using-puts-and-getc-in-different-threads/73266)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 6\
**Last updated:** [October 23, 2006, 9:36pm UTC](https://www.ruby-forum.com/t/trouble-using-puts-and-getc-in-different-threads/73266 "2006-10-23T21:36:37Z")

</div>

Hi, I was trying to do a little exercise: Display series of numbers (1,2,3,4, 5…etc) in an infinite loop. The program should quit if someone hits a specific key (ENTER in my case as the escape key requires ugly solut…

---

## [Ruby Software Foundation?](https://www.ruby-forum.com/t/ruby-software-foundation/73328)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [October 23, 2006, 9:14pm UTC](https://www.ruby-forum.com/t/ruby-software-foundation/73328 "2006-10-23T21:14:36Z")

</div>

Are there plans to start a foundation along the lines of the Apache Software Foundation or Python Software Foundation?

---

## [Instant Rails 1.4 and Mongrel](https://www.ruby-forum.com/t/instant-rails-1-4-and-mongrel/73284)

<div class="topic-metadata">

**Author:** [@ike](https://www.ruby-forum.com/u/ike)\
**Replies:** 2\
**Last updated:** [October 23, 2006, 8:09pm UTC](https://www.ruby-forum.com/t/instant-rails-1-4-and-mongrel/73284 "2006-10-23T20:09:48Z")

</div>

I just upgraded to InstantRails 1.4, which, among other things, runs Mongrel in lieu of Webrick. I used to be able to go right to ..\\rails\_apps\\myapp and run ruby script\\server and up would fire Webrick and I could…

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

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