# Ruby

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

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

---

## [Properly using Rake::TestTask](https://www.ruby-forum.com/t/properly-using-rake-testtask/89640)

<div class="topic-metadata">

**Author:** [@gga](https://www.ruby-forum.com/u/gga)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 9:15pm UTC](https://www.ruby-forum.com/t/properly-using-rake-testtask/89640 "2007-03-21T21:15:34Z")

</div>

I have a Rakefile that I am using to create and upload a gem. However, I am having a problem with Rake::TestTask not aborting the make when of the unit tests fails. I’m basically doing: spec = Gem::Specification.new …

---

## [O'Reillynet Ruby Blog](https://www.ruby-forum.com/t/oreillynet-ruby-blog/89612)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 1\
**Last updated:** [March 21, 2007, 9:10pm UTC](https://www.ruby-forum.com/t/oreillynet-ruby-blog/89612 "2007-03-21T21:10:33Z")

</div>

If you’d like to help turn the ORA Ruby blog into a shining example of what’s right in the Ruby community, please head over to Gregory Brown’s latest post there: and leave some feedback. If you’re not a regular rea…

---

## [Issue with Getopt-declare incorrect parameter specification](https://www.ruby-forum.com/t/issue-with-getopt-declare-incorrect-parameter-specification/89512)

<div class="topic-metadata">

**Author:** [@Nexos](https://www.ruby-forum.com/u/Nexos)\
**Replies:** 4\
**Last updated:** [March 21, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/issue-with-getopt-declare-incorrect-parameter-specification/89512 "2007-03-21T20:50:32Z")

</div>

Hi, I’m having a weird problem with the “Getopt-declare” library. I wrote: require ‘rubygems’ require ‘Getopt/Declare’ pattern = “.\*” args = Getopt::Declare.new(%q@ -p some regexp; defaults to “.\*” (explanation) …

---

## [YAML (Yet Another Meaningless Languagepopularitystatisticals](https://www.ruby-forum.com/t/yaml-yet-another-meaningless-languagepopularitystatisticals/89539)

<div class="topic-metadata">

**Author:** [@MSEdward\_SEdS\_Bora](https://www.ruby-forum.com/u/MSEdward_SEdS_Bora)\
**Replies:** 3\
**Last updated:** [March 21, 2007, 8:40pm UTC](https://www.ruby-forum.com/t/yaml-yet-another-meaningless-languagepopularitystatisticals/89539 "2007-03-21T20:40:29Z")

</div>

I couldn’t resist … anyhow one of my fellow Forth freaks does this every year. Yes, Ruby is ahead of Forth. But Forth is ahead of Haskell and Erlang. :slight\_smile: http://www.complang.tuwien.ac.at/anton/comp.lang-sta…

---

## [Main-0.0.1 - command line apps for the truly lazy](https://www.ruby-forum.com/t/main-0-0-1-command-line-apps-for-the-truly-lazy/89474)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [March 21, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/main-0-0-1-command-line-apps-for-the-truly-lazy/89474 "2007-03-21T19:43:13Z")

</div>

NAME main.rb SYNOPSIS a class factory and dsl for generating real main programs real quick URI http://rubyforge.org/projects/codeforpeople/ http://codeforpeople.com/lib/ruby/ INSTALL $sudo gem install main DESCR…

---

## [Nees Rhtml Book](https://www.ruby-forum.com/t/nees-rhtml-book/89308)

<div class="topic-metadata">

**Author:** [@saravanan](https://www.ruby-forum.com/u/saravanan)\
**Replies:** 11\
**Last updated:** [March 21, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/nees-rhtml-book/89308 "2007-03-21T19:24:11Z")

</div>

Hi, Please, Any body have, rhtml tutorials/urls to study. Or Where I can get it? Thanks

---

## [Given an object, how to find public methods in included modu](https://www.ruby-forum.com/t/given-an-object-how-to-find-public-methods-in-included-modu/89611)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [March 21, 2007, 6:26pm UTC](https://www.ruby-forum.com/t/given-an-object-how-to-find-public-methods-in-included-modu/89611 "2007-03-21T18:26:02Z")

</div>

Hey :slight\_smile: I’m trying to extend a method for creating a site map for a Ruby on Rails app. This question, I believe, is pretty much just Ruby though, that’s why I’m asking here. Basically, what it does ATM is …

---

## [Cygwin + TempFile + Dir.chdir = failure](https://www.ruby-forum.com/t/cygwin-tempfile-dir-chdir-failure/89586)

<div class="topic-metadata">

**Author:** [@vulpes](https://www.ruby-forum.com/u/vulpes)\
**Replies:** 3\
**Last updated:** [March 21, 2007, 6:11pm UTC](https://www.ruby-forum.com/t/cygwin-tempfile-dir-chdir-failure/89586 "2007-03-21T18:11:00Z")

</div>

I’m running ruby 1.8.5-3 for Cygwin under Win XP Pro SP 2. Here’s some code: require ‘tempfile’ Dir.chdir("./aDir") do Tempfile.open(“johndoe”, “.”) do |f| # Can be even empty end end With this code, the temporar…

---

## [Nil? with block](https://www.ruby-forum.com/t/nil-with-block/89595)

<div class="topic-metadata">

**Author:** [@mdemare](https://www.ruby-forum.com/u/mdemare)\
**Replies:** 8\
**Last updated:** [March 21, 2007, 4:49pm UTC](https://www.ruby-forum.com/t/nil-with-block/89595 "2007-03-21T16:49:48Z")

</div>

If you have a long chain of method calls, but want to check some temporary values for nils, for instance to raise an exception, currently the easiest way is with local variables: e.g.: def zipcode\_for\_user(user) add…

---

## [Mechanize SelectList Issue](https://www.ruby-forum.com/t/mechanize-selectlist-issue/89495)

<div class="topic-metadata">

**Author:** [@jwcooper](https://www.ruby-forum.com/u/jwcooper)\
**Replies:** 1\
**Last updated:** [March 21, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/mechanize-selectlist-issue/89495 "2007-03-21T16:41:47Z")

</div>

Hi, I have been pretty successful in using Mechanize for submitting forms of all types. The following select list has been giving me trouble to no ends. I am not able to get it to submit for any reason. It actuall…

---

## [Nat traversal/stun](https://www.ruby-forum.com/t/nat-traversal-stun/89606)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/nat-traversal-stun/89606 "2007-03-21T16:01:38Z")

</div>

anyone know if a ruby binding to nat traversal/stun code? -a

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/89582)

<div class="topic-metadata">

**Author:** [@susheel\_kumar](https://www.ruby-forum.com/u/susheel_kumar)\
**Replies:** 2\
**Last updated:** [March 21, 2007, 2:17pm UTC](https://www.ruby-forum.com/t/unsubscribe/89582 "2007-03-21T14:17:24Z")

</div>

unsubscribe

---

## [Libxml-ruby](https://www.ruby-forum.com/t/libxml-ruby/89540)

<div class="topic-metadata">

**Author:** [@Mohammad\_K](https://www.ruby-forum.com/u/Mohammad_K)\
**Replies:** 5\
**Last updated:** [March 21, 2007, 2:02pm UTC](https://www.ruby-forum.com/t/libxml-ruby/89540 "2007-03-21T14:02:21Z")

</div>

\[beeplove@vpn ruby-agi-1.1.1\]$ irb irb(main):001:0\> require ‘rubygems’ =\> true irb(main):002:0\> require\_gem ‘libxml-ruby’ =\> true irb(main):003:0\> doc = XML::Document.new() NameError: uninitialized constant XML fr…

---

## [Turing 0.0.7 && cry for help](https://www.ruby-forum.com/t/turing-0-0-7-cry-for-help/48921)

<div class="topic-metadata">

**Author:** [@listsSrubytalk](https://www.ruby-forum.com/u/listsSrubytalk)\
**Replies:** 27\
**Last updated:** [March 21, 2007, 11:53am UTC](https://www.ruby-forum.com/t/turing-0-0-7-cry-for-help/48921 "2007-03-21T11:53:11Z")

</div>

Hello all, I have just released a new library for Ruby: http://turing.rubyforge.org/ Turing is implementation of Captcha (Completely Automated Public Turing-Test to Tell Computers and Humans Apart) that is both easy…

---

## [How to implement SMTP's "RCPT To" func in ruby](https://www.ruby-forum.com/t/how-to-implement-smtps-rcpt-to-func-in-ruby/89585)

<div class="topic-metadata">

**Author:** [@lnes](https://www.ruby-forum.com/u/lnes)\
**Replies:** 1\
**Last updated:** [March 21, 2007, 11:48am UTC](https://www.ruby-forum.com/t/how-to-implement-smtps-rcpt-to-func-in-ruby/89585 "2007-03-21T11:48:11Z")

</div>

Hi all: I want do a email reality validation, it need use a smtp’s command “RCPT to”. I found a php implement there \<Enterprise PHP Development Platform and Services | Zend by Perforce spotlight/ev12apr.php#Heading16\>,…

---

## [FTPS - How to connect with Ruby?](https://www.ruby-forum.com/t/ftps-how-to-connect-with-ruby/89465)

<div class="topic-metadata">

**Author:** [@Jan\_VeselSSS\_S](https://www.ruby-forum.com/u/Jan_VeselSSS_S)\
**Replies:** 4\
**Last updated:** [March 21, 2007, 11:41am UTC](https://www.ruby-forum.com/t/ftps-how-to-connect-with-ruby/89465 "2007-03-21T11:41:10Z")

</div>

Hello, I’m new to Ruby and have the first problem I can’t solve myself after a lot of googling - connecting to a FTPS server (FTP AUTH TLS/ SSL). there’s some library called chilkat, but it’s not free (for this litt…

---

## [Win32Ole, ExternalInterface (Flex), return objects](https://www.ruby-forum.com/t/win32ole-externalinterface-flex-return-objects/89566)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 11:15am UTC](https://www.ruby-forum.com/t/win32ole-externalinterface-flex-return-objects/89566 "2007-03-21T11:15:46Z")

</div>

Hi I am not sure if it is possible. I have a Flex application and a Ruby application, and I use ExternalInterface and Win32Ole as a media so the applications are able to talk to eachother. Everything works perfect w…

---

## [Ruby/Tk and OS X--deployment question](https://www.ruby-forum.com/t/ruby-tk-and-os-x-deployment-question/89502)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 3\
**Last updated:** [March 21, 2007, 9:39am UTC](https://www.ruby-forum.com/t/ruby-tk-and-os-x-deployment-question/89502 "2007-03-21T09:39:42Z")

</div>

I’m learning GUI programming with Ruby/Tk on Mac OS X (10.4.9). How does one deploy standalone Ruby applications on OS X, especially if you are not using Ruby-Cocoa? Is there a tool like py2app (Python) that gathers u…

---

## [Not able to start webrick server](https://www.ruby-forum.com/t/not-able-to-start-webrick-server/89555)

<div class="topic-metadata">

**Author:** [@mayanktoc](https://www.ruby-forum.com/u/mayanktoc)\
**Replies:** 2\
**Last updated:** [March 21, 2007, 8:35am UTC](https://www.ruby-forum.com/t/not-able-to-start-webrick-server/89555 "2007-03-21T08:35:19Z")

</div>

Hi All, I’m not able to start webrick server on my system. Here I’m giving that error which occures during start the webrick. C:\\myapp\>ruby script/server ./script/…/config/boot.rb:28:Warning: require\_gem is obsolete.…

---

## [Test driven development in Rails using fixtures and rake](https://www.ruby-forum.com/t/test-driven-development-in-rails-using-fixtures-and-rake/89418)

<div class="topic-metadata">

**Author:** [@mayanktoc](https://www.ruby-forum.com/u/mayanktoc)\
**Replies:** 2\
**Last updated:** [March 21, 2007, 7:15am UTC](https://www.ruby-forum.com/t/test-driven-development-in-rails-using-fixtures-and-rake/89418 "2007-03-21T07:15:54Z")

</div>

Hi There, “Test driven development in Rails using fixtures and rake”. Can anyone give me suggestion that how I can test the Ruby and Rails application through Fixtures and Rake? I am desperately waiting for your mean…

---

## [\[BUG\]Bus Error](https://www.ruby-forum.com/t/bug-bus-error/89437)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [March 21, 2007, 6:58am UTC](https://www.ruby-forum.com/t/bug-bus-error/89437 "2007-03-21T06:58:30Z")

</div>

i’m using ruby with libxml and libxslt to transfom an xhtml file into an xbel one thru xslt. It seems (not deeply verified) the transform itself works but i get the following error message : $ ./fir2xbel.rb ./fir2xb…

---

## ["unsubscribe"](https://www.ruby-forum.com/t/unsubscribe/89552)

<div class="topic-metadata">

**Author:** [@sampurna](https://www.ruby-forum.com/u/sampurna)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 5:30am UTC](https://www.ruby-forum.com/t/unsubscribe/89552 "2007-03-21T05:30:26Z")

</div>

“unsubscribe”

---

## [Passing data to rant/rake for a customized build?](https://www.ruby-forum.com/t/passing-data-to-rant-rake-for-a-customized-build/89475)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 3\
**Last updated:** [March 21, 2007, 5:20am UTC](https://www.ruby-forum.com/t/passing-data-to-rant-rake-for-a-customized-build/89475 "2007-03-21T05:20:25Z")

</div>

Summary: How do I use a single rantfile or rakefile to perform some varying commands based on data that I want to pass to it? Background: My company makes a Windows-based middleware product helping next-gen game devel…

---

## [Real Beginner Question - (NameError)](https://www.ruby-forum.com/t/real-beginner-question-nameerror/89547)

<div class="topic-metadata">

**Author:** [@CSZ](https://www.ruby-forum.com/u/CSZ)\
**Replies:** 2\
**Last updated:** [March 21, 2007, 5:05am UTC](https://www.ruby-forum.com/t/real-beginner-question-nameerror/89547 "2007-03-21T05:05:23Z")

</div>

Hi ! I’m going my way through a Ruby online tutorial right now and i have following problem: I have two files. File one: wordlist.rb code\_words = { ‘starmonkeys’ =\> ‘Phil and Pete, those prickly chancellors of the …

---

## [Northern VA Ruby User's Group](https://www.ruby-forum.com/t/northern-va-ruby-users-group/89544)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 3:15am UTC](https://www.ruby-forum.com/t/northern-va-ruby-users-group/89544 "2007-03-21T03:15:17Z")

</div>

Hello world - If you’re in the northern Virginia area, drop by the NovaRUG meeting on Wednesday March 21; Doug Sellers is presenting on Rails+Selenium and Sean M. will be talking about Rails+REST. Directions and det…

---

## [Please ignore](https://www.ruby-forum.com/t/please-ignore/89530)

<div class="topic-metadata">

**Author:** [@Mohammad\_K](https://www.ruby-forum.com/u/Mohammad_K)\
**Replies:** 1\
**Last updated:** [March 21, 2007, 1:49am UTC](https://www.ruby-forum.com/t/please-ignore/89530 "2007-03-21T01:49:11Z")

</div>

Please ignore this posting

---

## [Autoloading objects â? Ruby equivalent for PHP5 "\_\_autoload](https://www.ruby-forum.com/t/autoloading-objects-a-ruby-equivalent-for-php5-autoload/99596)

<div class="topic-metadata">

**Author:** [@naum](https://www.ruby-forum.com/u/naum)\
**Replies:** 12\
**Last updated:** [March 21, 2007, 1:10am UTC](https://www.ruby-forum.com/t/autoloading-objects-a-ruby-equivalent-for-php5-autoload/99596 "2007-03-21T01:10:09Z")

</div>

Does there exist a Ruby equivalent to PHP5 “magic” \_\_autoload method that spares the developer from detailing a list of “require” statements? http://us2.php.net/autoload Or is this something that a homebrewed solution…

---

## [Open-uri behind authenticated firewall](https://www.ruby-forum.com/t/open-uri-behind-authenticated-firewall/89532)

<div class="topic-metadata">

**Author:** [@Behrang\_S](https://www.ruby-forum.com/u/Behrang_S)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 12:46am UTC](https://www.ruby-forum.com/t/open-uri-behind-authenticated-firewall/89532 "2007-03-21T00:46:05Z")

</div>

Hi, I am behind an authenticated firewall. I have been able to make gem go through the firewall by setting the HTTP\_PROXY env var to http://user:removed\_email\_address@domain.invalid But the open method of the open-uri…

---

## [What's the difference here? (class extension on run-time)](https://www.ruby-forum.com/t/whats-the-difference-here-class-extension-on-run-time/89518)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 11:47pm UTC](https://www.ruby-forum.com/t/whats-the-difference-here-class-extension-on-run-time/89518 "2007-03-20T23:47:07Z")

</div>

Hi all I’m not very experienced with Ruby yet. I have the following code (from a Ruby on Rails project) that I have adapted from a book and modified a bit: class IncenseFormBuilder \< ActionView::Helpers::FormBuilder …

---

## [Showcasing dynamic soap proxy with wsdlDriver](https://www.ruby-forum.com/t/showcasing-dynamic-soap-proxy-with-wsdldriver/89517)

<div class="topic-metadata">

**Author:** [@lodestone](https://www.ruby-forum.com/u/lodestone)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 11:42pm UTC](https://www.ruby-forum.com/t/showcasing-dynamic-soap-proxy-with-wsdldriver/89517 "2007-03-20T23:42:58Z")

</div>

I’m attempting to convince some naysayers on the values of dynamic languages by creating a fully dynamic SOAP proxy at runtime. wsdlDriverFactory is working like a champ. I have two questions. 1) At runtime, how do …

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

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