# Ruby

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

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

---

## ["rake db:migrate" error](https://www.ruby-forum.com/t/rake-db-migrate-error/83308)

<div class="topic-metadata">

**Author:** [@libsfan01](https://www.ruby-forum.com/u/libsfan01)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 7:35pm UTC](https://www.ruby-forum.com/t/rake-db-migrate-error/83308 "2007-01-25T19:35:37Z")

</div>

Hi all Just setup ruby on rails. does anyone know what this error means when i try to run “rake db:migrate” on my new site. rake aborted! undefined method \`\[\]’ for false:FalseClass (See full trace by running task w…

---

## [Re: Regexp and string halts ruby](https://www.ruby-forum.com/t/re-regexp-and-string-halts-ruby/83397)

<div class="topic-metadata">

**Author:** [@BallS\_Donald\_A\_Jr\_S](https://www.ruby-forum.com/u/BallS_Donald_A_Jr_S)\
**Replies:** 0\
**Last updated:** [January 25, 2007, 7:33pm UTC](https://www.ruby-forum.com/t/re-regexp-and-string-halts-ruby/83397 "2007-01-25T19:33:36Z")

</div>

I can confirm this on ruby-1.8.5-win32. Neat. donald

---

## [Accessing ARGVunder SciTE fails; no problem under Command Wi](https://www.ruby-forum.com/t/accessing-argvunder-scite-fails-no-problem-under-command-wi/83191)

<div class="topic-metadata">

**Author:** [@richard](https://www.ruby-forum.com/u/richard)\
**Replies:** 4\
**Last updated:** [January 25, 2007, 6:55pm UTC](https://www.ruby-forum.com/t/accessing-argvunder-scite-fails-no-problem-under-command-wi/83191 "2007-01-25T18:55:29Z")

</div>

Hi, I’ve got the statements: sAppDir = ARGV\[0\] puts “Application Directory = ‘#{sAppDir}’” sFileName= ARGV\[1\] puts “YAML filename = ‘#{sFileName}’” Under SciTE with parameters 1/2 set to xxx/yyy respectively, exec…

---

## [Ruby Books](https://www.ruby-forum.com/t/ruby-books/66965)

<div class="topic-metadata">

**Author:** [@sp00nyg](https://www.ruby-forum.com/u/sp00nyg)\
**Replies:** 20\
**Last updated:** [January 25, 2007, 6:51pm UTC](https://www.ruby-forum.com/t/ruby-books/66965 "2007-01-25T18:51:14Z")

</div>

I am trying to get into Ruby programming so that I could eventually work with Ruby on Rails. Anyone know of good books to get started with Ruby Programming, or even better any Rails books with a good overview/tutorial…

---

## [How to stop nested catch from looking messy?](https://www.ruby-forum.com/t/how-to-stop-nested-catch-from-looking-messy/83390)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 0\
**Last updated:** [January 25, 2007, 6:50pm UTC](https://www.ruby-forum.com/t/how-to-stop-nested-catch-from-looking-messy/83390 "2007-01-25T18:50:29Z")

</div>

I’m writing a parser generator (for fun) and am making use of throw/catch to allow notification of special parse events to “bubble up” through many levels. The trouble is that the code starts to look ugly when I have …

---

## [Mac OS X ruby text editor](https://www.ruby-forum.com/t/mac-os-x-ruby-text-editor/83387)

<div class="topic-metadata">

**Author:** [@the-dark-lord](https://www.ruby-forum.com/u/the-dark-lord)\
**Replies:** 0\
**Last updated:** [January 25, 2007, 6:25pm UTC](https://www.ruby-forum.com/t/mac-os-x-ruby-text-editor/83387 "2007-01-25T18:25:34Z")

</div>

Hello . I used to use SciTE when I used Windows. Now, as I have switched to Mac OS 10.4, please tell me a similar free text editor for Ruby in Mac. Thanks in advance. Thanks in advance. Cheers.

---

## [Python's win32com.client for Ruby?](https://www.ruby-forum.com/t/pythons-win32com-client-for-ruby/83382)

<div class="topic-metadata">

**Author:** [@woodyee](https://www.ruby-forum.com/u/woodyee)\
**Replies:** 1\
**Last updated:** [January 25, 2007, 6:11pm UTC](https://www.ruby-forum.com/t/pythons-win32com-client-for-ruby/83382 "2007-01-25T18:11:19Z")

</div>

Hi! I was looking over the python scripts for Windows (http://www.microsoft.com/technet/scriptcenter/scripts/python/pyindex.mspx?mfr=true). I noticed that most are using win32com.client. Is there a similiar library f…

---

## [Hpricot question](https://www.ruby-forum.com/t/hpricot-question/83284)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [January 25, 2007, 6:01pm UTC](https://www.ruby-forum.com/t/hpricot-question/83284 "2007-01-25T18:01:39Z")

</div>

In a statement like this: doc=Hpricot(open(url)) Is there a way to pull the url as a value from a database?

---

## [Test/spec 0.3, a BDD interface for Test::Unit](https://www.ruby-forum.com/t/test-spec-0-3-a-bdd-interface-for-test-unit/83222)

<div class="topic-metadata">

**Author:** [@cneuhaus](https://www.ruby-forum.com/u/cneuhaus)\
**Replies:** 4\
**Last updated:** [January 25, 2007, 5:35pm UTC](https://www.ruby-forum.com/t/test-spec-0-3-a-bdd-interface-for-test-unit/83222 "2007-01-25T17:35:57Z")

</div>

Hello, today I’m releasing test/spec 0.3, a library to do BDD with Test::Unit. (See below for changes in version 0.3.) == What is test/spec? test/spec layers an RSpec-inspired interface on top of Test::Unit, so you …

---

## [Parsing XML and then sending via SOAP](https://www.ruby-forum.com/t/parsing-xml-and-then-sending-via-soap/83372)

<div class="topic-metadata">

**Author:** [@shinji](https://www.ruby-forum.com/u/shinji)\
**Replies:** 0\
**Last updated:** [January 25, 2007, 5:08pm UTC](https://www.ruby-forum.com/t/parsing-xml-and-then-sending-via-soap/83372 "2007-01-25T17:08:52Z")

</div>

I’m looking to write a small test stub that will read in some XML from a document, and then send it wrapped up in a SOAP envelope. I’ve found the XML.com documentation useful http://www.xml.com/pub/a/2005/11/09/rexml-…

---

## [IntelliJ IDEA Ruby plugin](https://www.ruby-forum.com/t/intellij-idea-ruby-plugin/82887)

<div class="topic-metadata">

**Author:** [@gavin\_s](https://www.ruby-forum.com/u/gavin_s)\
**Replies:** 3\
**Last updated:** [January 25, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/intellij-idea-ruby-plugin/82887 "2007-01-25T17:03:49Z")

</div>

I haven’t seen this mentioned in comp.lang.ruby yet, so here goes… Jetbrains have done their first public release: http://www.jetbrains.net/confluence/display/RUBYDEV/Home Screenshots: http://www.jetbrains.net/conflu…

---

## [Free as in beer Komodo editor](https://www.ruby-forum.com/t/free-as-in-beer-komodo-editor/83368)

<div class="topic-metadata">

**Author:** [@MSEdward\_SEdS\_Bora](https://www.ruby-forum.com/u/MSEdward_SEdS_Bora)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 4:56pm UTC](https://www.ruby-forum.com/t/free-as-in-beer-komodo-editor/83368 "2007-01-25T16:56:44Z")

</div>

The folks at ActiveState have “freed the dragon”. They used to have two versions of Komodo, a “personal edition” which was priced around $29 and was only for non-commercial use and had fewer features, and the fully fe…

---

## [Free as in beer Komodo editor](https://www.ruby-forum.com/t/free-as-in-beer-komodo-editor/83370)

<div class="topic-metadata">

**Author:** [@MSEdward\_SEdS\_Bora](https://www.ruby-forum.com/u/MSEdward_SEdS_Bora)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/free-as-in-beer-komodo-editor/83370 "2007-01-25T16:38:37Z")

</div>

The folks at ActiveState have “freed the dragon”. They used to have two versions of Komodo, a “personal edition” which was priced around $29 and was only for non-commercial use and had fewer features, and the fully fe…

---

## [Running a rake test task within a specific directory](https://www.ruby-forum.com/t/running-a-rake-test-task-within-a-specific-directory/83369)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 0\
**Last updated:** [January 25, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/running-a-rake-test-task-within-a-specific-directory/83369 "2007-01-25T16:30:35Z")

</div>

Hi all, I’m trying to figure out how to setup a task that temporarily changes to a specific directory, runs the tests, and returns to the current directory when finished. In case you’re wondering why, I have some test …

---

## [:= operator](https://www.ruby-forum.com/t/operator/83032)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 10\
**Last updated:** [January 25, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/operator/83032 "2007-01-25T16:21:33Z")

</div>

e$B!!$5$5$@$G$9!#e(B e$B!!e(B:= e$B$C$F%\*%Z%l!\<%?$C$F8@$o$J$$$N$+$J!#$h$/$o$+$i$J$$$s$G!"$b$70c$C$F$$e(B e$B$?$i$h$jE,@Z$J8@$$J}$r65$($F$/$@$5$$!#e(B e$B!!e(B\[Ruby\] local variables new scoping rule e$B!!e(Bhttp://ww…

---

## [Breakpointer GUI](https://www.ruby-forum.com/t/breakpointer-gui/83358)

<div class="topic-metadata">

**Author:** [@weepy](https://www.ruby-forum.com/u/weepy)\
**Replies:** 0\
**Last updated:** [January 25, 2007, 3:35pm UTC](https://www.ruby-forum.com/t/breakpointer-gui/83358 "2007-01-25T15:35:20Z")

</div>

Hi, I remember reading about a breakerpoint client that received an award on Google’s Summer of Code. It sounded excellent. Can’t find much info about it though. Does anyone know if anything ever happened with it ? w…

---

## [Form validation issue in form\_remote\_tag](https://www.ruby-forum.com/t/form-validation-issue-in-form-remote-tag/83359)

<div class="topic-metadata">

**Author:** [@rubyquest](https://www.ruby-forum.com/u/rubyquest)\
**Replies:** 0\
**Last updated:** [January 25, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/form-validation-issue-in-form-remote-tag/83359 "2007-01-25T15:26:24Z")

</div>

In one of my application, I am using form validation check for particular form field before submitting the form. The javascript validation method “validateTitle()” does it work properly. But what my problem is, the pa…

---

## [Form validation issue in form\_remote\_tag](https://www.ruby-forum.com/t/form-validation-issue-in-form-remote-tag/83354)

<div class="topic-metadata">

**Author:** [@rubyquest](https://www.ruby-forum.com/u/rubyquest)\
**Replies:** 0\
**Last updated:** [January 25, 2007, 3:10pm UTC](https://www.ruby-forum.com/t/form-validation-issue-in-form-remote-tag/83354 "2007-01-25T15:10:43Z")

</div>

In one of my application part, I am validating ‘not null’ check of particular field of my form before submitting the form. The javascript function ‘validateTitle’ does it correctly. but what my problem is the form pag…

---

## [Gem unpack problem](https://www.ruby-forum.com/t/gem-unpack-problem/83341)

<div class="topic-metadata">

**Author:** [@regularfry](https://www.ruby-forum.com/u/regularfry)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 2:46pm UTC](https://www.ruby-forum.com/t/gem-unpack-problem/83341 "2007-01-25T14:46:59Z")

</div>

Does anybody have any idea why this happens? $ gem unpack hoe-1.1.7.gem ERROR: While executing gem … (ArgumentError) install directory “hoe-1.1.7” not absolute $ gem unpack hoe ERROR: While executing gem … (Argume…

---

## [Class Variables and Singelton Mix-Ins](https://www.ruby-forum.com/t/class-variables-and-singelton-mix-ins/83314)

<div class="topic-metadata">

**Author:** [@sebastian](https://www.ruby-forum.com/u/sebastian)\
**Replies:** 3\
**Last updated:** [January 25, 2007, 1:57pm UTC](https://www.ruby-forum.com/t/class-variables-and-singelton-mix-ins/83314 "2007-01-25T13:57:13Z")

</div>

I’m trying to find a way to declare class variables in a module that can be mixed into class methods and retain scope for only that particular class instead of being defacto module-variables. Here’s a simplified examp…

---

## [Array and instance variable problem?](https://www.ruby-forum.com/t/array-and-instance-variable-problem/83212)

<div class="topic-metadata">

**Author:** [@maximeg](https://www.ruby-forum.com/u/maximeg)\
**Replies:** 7\
**Last updated:** [January 25, 2007, 1:00pm UTC](https://www.ruby-forum.com/t/array-and-instance-variable-problem/83212 "2007-01-25T13:00:36Z")

</div>

Look at the code below, I got strange results, I know that there is a problem in the code but I can’t find it. I expect to have an array like this: \[\[4, 4\], \[8, 1024\], \[1024, 1024\], \[1024, 1024\], \[1024, 1024\], \[1024, …

---

## [Can it be shorter?](https://www.ruby-forum.com/t/can-it-be-shorter/83301)

<div class="topic-metadata">

**Author:** [@Dorren](https://www.ruby-forum.com/u/Dorren)\
**Replies:** 9\
**Last updated:** [January 25, 2007, 12:49pm UTC](https://www.ruby-forum.com/t/can-it-be-shorter/83301 "2007-01-25T12:49:34Z")

</div>

doing access control on rails controller, ------ I have this input -------------- hash = {“index” =\> “list”, \[“edit”, “update”\] =\> “manage\_one”, \[“new”, “create”, “destroy”\] =\> “manage\_all”} ------- I want this outp…

---

## [Ruby and library paths](https://www.ruby-forum.com/t/ruby-and-library-paths/83331)

<div class="topic-metadata">

**Author:** [@dale](https://www.ruby-forum.com/u/dale)\
**Replies:** 7\
**Last updated:** [January 25, 2007, 10:22am UTC](https://www.ruby-forum.com/t/ruby-and-library-paths/83331 "2007-01-25T10:22:08Z")

</div>

Hi there I’m (brand) new to Ruby, so treat my questions in that light. On trying to install Beast (web forum software on Rails) I am required to test that requiring fcgi, or fcgi.so returns true from within irb. $ ir…

---

## [Trickery in the ancestors chain](https://www.ruby-forum.com/t/trickery-in-the-ancestors-chain/83234)

<div class="topic-metadata">

**Author:** [@paolo\_p](https://www.ruby-forum.com/u/paolo_p)\
**Replies:** 10\
**Last updated:** [January 25, 2007, 9:56am UTC](https://www.ruby-forum.com/t/trickery-in-the-ancestors-chain/83234 "2007-01-25T09:56:02Z")

</div>

Try this: module M def hello; p ‘M’; end end class C def hello; p ‘C’; end end class D \< C; end class C; include M; end class D; include M; end D.ancestors -\> \[D, C, M, Object, Kernel\] D.n…

---

## [Tk text tag\_configure](https://www.ruby-forum.com/t/tk-text-tag-configure/83318)

<div class="topic-metadata">

**Author:** [@Ed\_Redman](https://www.ruby-forum.com/u/Ed_Redman)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 7:40am UTC](https://www.ruby-forum.com/t/tk-text-tag-configure/83318 "2007-01-25T07:40:43Z")

</div>

I am trying to use Ruby/tk and a TkText object and change the text font on each line. I can set the font and fontsize but when I do change the Tktext object. All the text is changed. I believe I have to tag the text …

---

## [New Singleton Class Word-of-the-Month ;-)](https://www.ruby-forum.com/t/new-singleton-class-word-of-the-month/83107)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 9\
**Last updated:** [January 25, 2007, 5:27am UTC](https://www.ruby-forum.com/t/new-singleton-class-word-of-the-month/83107 "2007-01-25T05:27:36Z")

</div>

This months word: quin·tes·sence From Merriam-Webster: Main Entry: quin·tes·sence Pronunciation: kwin-'te-s&n(t)s Function: noun Etymology: Middle English, from Middle French quinte essence, from Medieval Latin …

---

## [Off-topic: c language and bioinformatics](https://www.ruby-forum.com/t/off-topic-c-language-and-bioinformatics/83269)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 4:11am UTC](https://www.ruby-forum.com/t/off-topic-c-language-and-bioinformatics/83269 "2007-01-25T04:11:30Z")

</div>

Hi all, It is an off-topic in Ruby. But I just wonder if anyone out there knows a website or books talking c langauge in bioinformatics or with some simple codes to read files and processing DNA sequences? Thanks, L…

---

## [Win32 COM events](https://www.ruby-forum.com/t/win32-com-events/81885)

<div class="topic-metadata">

**Author:** [@Tim\_U](https://www.ruby-forum.com/u/Tim_U)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 3:48am UTC](https://www.ruby-forum.com/t/win32-com-events/81885 "2007-01-25T03:48:28Z")

</div>

Hello All. I want to translate the following VB code to Ruby. Does anybody know how to handle these events? Dim WithEvents myOBJ As SomeOBJ Private Sub myOBJ\_SomeEvent(ByVal nCommand As Integer, ByRef cResult As Str…

---

## [RubyQuiz suggestion](https://www.ruby-forum.com/t/rubyquiz-suggestion/83289)

<div class="topic-metadata">

**Author:** [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 3:05am UTC](https://www.ruby-forum.com/t/rubyquiz-suggestion/83289 "2007-01-25T03:05:23Z")

</div>

I’d like to suggest a topic for an upcoming RubyQuiz: http://page.mi.fu-berlin.de/~prechelt/phonecode/taskdescription.html has the full description. Why? It’s a problem (realistic enough to be worthwhile, but still s…

---

## [Displaying HTML with OLE](https://www.ruby-forum.com/t/displaying-html-with-ole/83158)

<div class="topic-metadata">

**Author:** [@richard](https://www.ruby-forum.com/u/richard)\
**Replies:** 5\
**Last updated:** [January 25, 2007, 2:45am UTC](https://www.ruby-forum.com/t/displaying-html-with-ole/83158 "2007-01-25T02:45:22Z")

</div>

Hi, I’m running WinXP/SP2 and Ruby 1.8.2. I tried the sample below from The Ruby Way,2nd ed., with modified HTML (which I tested independently). When I run it in a Command Window, I get: K:\_Projects\\Ruby\_Ruby\_Techniq…

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

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