# Ruby

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

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

---

## [Changing port for WEBrick?](https://www.ruby-forum.com/t/changing-port-for-webrick/70174)

<div class="topic-metadata">

**Author:** [@John\_NSAlegre](https://www.ruby-forum.com/u/John_NSAlegre)\
**Replies:** 2\
**Last updated:** [February 18, 2006, 8:57pm UTC](https://www.ruby-forum.com/t/changing-port-for-webrick/70174 "2006-02-18T20:57:53Z")

</div>

After working with rails code I have decided that WEBrick would be quite usefull for serving documents to a local LAN. To that end I want to have WEBrick listen over a different port for each set of documents I need …

---

## [Printing in Ruby](https://www.ruby-forum.com/t/printing-in-ruby/70131)

<div class="topic-metadata">

**Author:** [@analoguedragon](https://www.ruby-forum.com/u/analoguedragon)\
**Replies:** 1\
**Last updated:** [February 18, 2006, 7:36pm UTC](https://www.ruby-forum.com/t/printing-in-ruby/70131 "2006-02-18T19:36:08Z")

</div>

It seems there is not a lot of information on this subject so I have a few questions: How can you do simple printing from Ruby? If you have a string how can you print it? At the very least I would like to be able to…

---

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

<div class="topic-metadata">

**Author:** [@brian](https://www.ruby-forum.com/u/brian)\
**Replies:** 0\
**Last updated:** [February 18, 2006, 7:30pm UTC](https://www.ruby-forum.com/t/specializing-range/70132 "2006-02-18T19:30:06Z")

</div>

Hello, I was using Dates in a Range and my program was running very slowly. I realized the cause was my calling Range#max when the range was large. The max implementation is to iterate though the entire range to det…

---

## [Ruby Web Start?](https://www.ruby-forum.com/t/ruby-web-start/70001)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [February 18, 2006, 7:17pm UTC](https://www.ruby-forum.com/t/ruby-web-start/70001 "2006-02-18T19:17:58Z")

</div>

Hi, I’ve been poking my nose into some Java books over the last week. Java Web Start applications seem like the coolest thing. From what I understand when you click an app link on a web page you automatically downloa…

---

## [Erb rdoc wrong?](https://www.ruby-forum.com/t/erb-rdoc-wrong/70130)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [February 18, 2006, 7:11pm UTC](https://www.ruby-forum.com/t/erb-rdoc-wrong/70130 "2006-02-18T19:11:52Z")

</div>

Greetings. I am trying to use Erb to process a plain-text template. Following the RDoc documentation at http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html, I can’t get the first plain-text example to …

---

## [Neuroimage software - scientific computing and visualization](https://www.ruby-forum.com/t/neuroimage-software-scientific-computing-and-visualization/100078)

<div class="topic-metadata">

**Author:** [@Darren\_LSWeber](https://www.ruby-forum.com/u/Darren_LSWeber)\
**Replies:** 19\
**Last updated:** [February 18, 2006, 6:53pm UTC](https://www.ruby-forum.com/t/neuroimage-software-scientific-computing-and-visualization/100078 "2006-02-18T18:53:27Z")

</div>

Hi, I’ve been programming with perl, a bit of python and a lot of matlab. I’ve become very curious about ruby and considering whether or not to take it on as my main development environment in the near future. I cou…

---

## [Ruby/DBI 0.1.0: Not Dead Yet](https://www.ruby-forum.com/t/ruby-dbi-0-1-0-not-dead-yet/70107)

<div class="topic-metadata">

**Author:** [@Francis\_H](https://www.ruby-forum.com/u/Francis_H)\
**Replies:** 0\
**Last updated:** [February 18, 2006, 5:58pm UTC](https://www.ruby-forum.com/t/ruby-dbi-0-1-0-not-dead-yet/70107 "2006-02-18T17:58:57Z")

</div>

After a long, deep slumber of more than 18 months, Ruby/DBI awakens and lumbers forward into the countryside. Rise, Ruby/DBI, rise! Strike terror deep in the hearts of Rubyists everywhere! Ahem. http://rubyforge.org/p…

---

## [Ackbar, KirbyBase, and Agile Web Development With Rails Blog](https://www.ruby-forum.com/t/ackbar-kirbybase-and-agile-web-development-with-rails-blog/70106)

<div class="topic-metadata">

**Author:** [@Jamey\_C](https://www.ruby-forum.com/u/Jamey_C)\
**Replies:** 0\
**Last updated:** [February 18, 2006, 5:46pm UTC](https://www.ruby-forum.com/t/ackbar-kirbybase-and-agile-web-development-with-rails-blog/70106 "2006-02-18T17:46:50Z")

</div>

Just wanted to announce that I’m starting a blog about my experiences of building the Depot application from Agile Web D. with Rails, using Ackbar/KirbyBase instead of MySQL. You can find the blog here: Jamey C.

---

## [Alpha Compositing with RMagick](https://www.ruby-forum.com/t/alpha-compositing-with-rmagick/53961)

<div class="topic-metadata">

**Author:** [@tim-hunter](https://www.ruby-forum.com/u/tim-hunter)\
**Replies:** 0\
**Last updated:** [February 18, 2006, 5:40pm UTC](https://www.ruby-forum.com/t/alpha-compositing-with-rmagick/53961 "2006-02-18T17:40:46Z")

</div>

I’ve just uploaded the 2nd in what I hope will be a continuing series of articles about RMagick. This one is part 1 of a 2- (or more) parter about alpha compositing. You can read it here: http://rmagick.rubyforge.org/…

---

## [Dot-product operators and strides for linear algebra](https://www.ruby-forum.com/t/dot-product-operators-and-strides-for-linear-algebra/69464)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [February 18, 2006, 5:31pm UTC](https://www.ruby-forum.com/t/dot-product-operators-and-strides-for-linear-algebra/69464 "2006-02-18T17:31:42Z")

</div>

Hi, I am looking for the suitability of ruby for numerical applications. I am currently using MATLAB and Octave for this purpose (see www.octave.org, www.mathworks.com). For vectors and matrices a single “" or “/”…

---

## [DB2 UDB connectivity](https://www.ruby-forum.com/t/db2-udb-connectivity/53960)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 0\
**Last updated:** [February 18, 2006, 4:37pm UTC](https://www.ruby-forum.com/t/db2-udb-connectivity/53960 "2006-02-18T16:37:36Z")

</div>

I have a second shot at getting our dpt to use Ruby now that the ‘perl guy’ has left, but i’m back to the original hurdle that stopped us from using this previously. Basically, I cannot connect to DB2 and have tried A…

---

## [RDoc format](https://www.ruby-forum.com/t/rdoc-format/70085)

<div class="topic-metadata">

**Author:** [@brian](https://www.ruby-forum.com/u/brian)\
**Replies:** 1\
**Last updated:** [February 18, 2006, 4:34pm UTC](https://www.ruby-forum.com/t/rdoc-format/70085 "2006-02-18T16:34:18Z")

</div>

Hello all, One format of RDocs comes with a very useful \[ show source \] link for each method. Example (http://api.rubyonrails.com/ ). Another format of RDocs we often see does not provide those links. Here’s an e…

---

## [How to translate a C tree structure to ruby tree objects](https://www.ruby-forum.com/t/how-to-translate-a-c-tree-structure-to-ruby-tree-objects/70086)

<div class="topic-metadata">

**Author:** [@anne001](https://www.ruby-forum.com/u/anne001)\
**Replies:** 1\
**Last updated:** [February 18, 2006, 4:19pm UTC](https://www.ruby-forum.com/t/how-to-translate-a-c-tree-structure-to-ruby-tree-objects/70086 "2006-02-18T16:19:12Z")

</div>

I want to draw a figure with opengl. The key seems to start from a tree structure. The top of the tree is the trunk, there are several childrens, head, upper arms upper legs, each of these have children of their own… …

---

## [Mongrel 0.3.4 -- Win32 Gems/Better CGIWrapper](https://www.ruby-forum.com/t/mongrel-0-3-4-win32-gems-better-cgiwrapper/69100)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 7\
**Last updated:** [February 18, 2006, 4:13pm UTC](https://www.ruby-forum.com/t/mongrel-0-3-4-win32-gems-better-cgiwrapper/69100 "2006-02-18T16:13:07Z")

</div>

Hello Everyone, Today’s Mongrel is the first release to sport spiffy pre-built win32 gems. This comes thanks to Wilson B. donating some Rakefile magic that does the stuff for me. Everyone who uses win32 should send…

---

## [No such file to load](https://www.ruby-forum.com/t/no-such-file-to-load/69424)

<div class="topic-metadata">

**Author:** [@misiek](https://www.ruby-forum.com/u/misiek)\
**Replies:** 2\
**Last updated:** [February 18, 2006, 4:13pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load/69424 "2006-02-18T16:13:07Z")

</div>

I need to load lib/geocoder so I added to my controler require ‘lib/geocoder’ I am sure I got this file with ‘lib/geocoder’ so what is going on ? no such file to load – lib/geocoder RAILS\_ROOT: /home/ftp/workspace/…

---

## [Source for Programming!](https://www.ruby-forum.com/t/source-for-programming/70059)

<div class="topic-metadata">

**Author:** [@mid](https://www.ruby-forum.com/u/mid)\
**Replies:** 2\
**Last updated:** [February 18, 2006, 3:36pm UTC](https://www.ruby-forum.com/t/source-for-programming/70059 "2006-02-18T15:36:49Z")

</div>

Hello, Good Programming Source and Much More ! http://get-best.com/IT\_Interview\_Questions/programming.htm

---

## [Socket problem under Windows](https://www.ruby-forum.com/t/socket-problem-under-windows/70084)

<div class="topic-metadata">

**Author:** [@groowey](https://www.ruby-forum.com/u/groowey)\
**Replies:** 0\
**Last updated:** [February 18, 2006, 2:15pm UTC](https://www.ruby-forum.com/t/socket-problem-under-windows/70084 "2006-02-18T14:15:27Z")

</div>

After reinstalling my windows i noticed all the programs using sockets(even local 127.0.0.1 simple server-client programs) stopped working. I have granted all firewall access rights, but nothing. In FreeRIDE, the proc…

---

## [Still trying to grok GC & continuations](https://www.ruby-forum.com/t/still-trying-to-grok-gc-continuations/70065)

<div class="topic-metadata">

**Author:** [@Christoffer\_LernSSS](https://www.ruby-forum.com/u/Christoffer_LernSSS)\
**Replies:** 0\
**Last updated:** [February 18, 2006, 12:26pm UTC](https://www.ruby-forum.com/t/still-trying-to-grok-gc-continuations/70065 "2006-02-18T12:26:54Z")

</div>

Hello continuation gurus and others! I still don’t understand why I keep having so many non-gc:ed continuations in my code. Below is some sample code where each coroutine seem intent on hogging 3 continuations each. …

---

## [Rubygems and Config::CONFIG](https://www.ruby-forum.com/t/rubygems-and-config-config/69185)

<div class="topic-metadata">

**Author:** [@cage](https://www.ruby-forum.com/u/cage)\
**Replies:** 2\
**Last updated:** [February 18, 2006, 11:05am UTC](https://www.ruby-forum.com/t/rubygems-and-config-config/69185 "2006-02-18T11:05:40Z")

</div>

Hello, I have two versions of ruby installed, rooted at different source trees. In order to make them not collide in my $PATH, I simply configured one with a program-suffix: EPREFIX1/bin/ruby EPREFIX2/bin/ruby18 L…

---

## [One-Click Ruby Installer 184-16 preview3 is available!](https://www.ruby-forum.com/t/one-click-ruby-installer-184-16-preview3-is-available/53350)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 8\
**Last updated:** [February 18, 2006, 9:38am UTC](https://www.ruby-forum.com/t/one-click-ruby-installer-184-16-preview3-is-available/53350 "2006-02-18T09:38:13Z")

</div>

=== One-Click Ruby Installer 184-16 preview3 is available! === This iteration includes the missing DBI support with the ODBC driver (the Oracle driver is no longer included… if your need it, you’ll hvae to install tha…

---

## [Ruby scripts as Win32-Service](https://www.ruby-forum.com/t/ruby-scripts-as-win32-service/69942)

<div class="topic-metadata">

**Author:** [@mercan01](https://www.ruby-forum.com/u/mercan01)\
**Replies:** 9\
**Last updated:** [February 18, 2006, 9:38am UTC](https://www.ruby-forum.com/t/ruby-scripts-as-win32-service/69942 "2006-02-18T09:38:13Z")

</div>

I’ve through together a ruby script as test for a monitoring app for a few Win32 user processes I’m stuck with supporting. I’ve gotten most of the management setup, however, I’m stuck trying to figure out how to run t…

---

## [File.exist? svn2rss.rb](https://www.ruby-forum.com/t/file-exist-svn2rss-rb/53900)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 4\
**Last updated:** [February 18, 2006, 4:05am UTC](https://www.ruby-forum.com/t/file-exist-svn2rss-rb/53900 "2006-02-18T04:05:55Z")

</div>

Hello, We’re migrating from CVS to Subversion and I am looking for a Ruby post-commit hook to produce an RSS feed. I found this November '05 post by Jamis, http://comox.textdrive.com/pipermail/budgetwise/2005-Novembe…

---

## [NWS-NOAA: accessing attributes with SOAP4R](https://www.ruby-forum.com/t/nws-noaa-accessing-attributes-with-soap4r/69588)

<div class="topic-metadata">

**Author:** [@Tom\_Verbeure](https://www.ruby-forum.com/u/Tom_Verbeure)\
**Replies:** 2\
**Last updated:** [February 18, 2006, 12:04am UTC](https://www.ruby-forum.com/t/nws-noaa-accessing-attributes-with-soap4r/69588 "2006-02-18T00:04:36Z")

</div>

Hi Ruby Guru’s, I’ve successfully retrieved data from the NWS weather server with the example that was give at the following link: http://groups.google.com/group/comp.lang.ruby/msg/5fb9a1506ea46b2e So far so good. H…

---

## [How to create an ruby array from C or C++](https://www.ruby-forum.com/t/how-to-create-an-ruby-array-from-c-or-c/53948)

<div class="topic-metadata">

**Author:** [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Replies:** 1\
**Last updated:** [February 17, 2006, 10:12pm UTC](https://www.ruby-forum.com/t/how-to-create-an-ruby-array-from-c-or-c/53948 "2006-02-17T22:12:46Z")

</div>

Hi, Does anyone know how to create a ruby array from C or C++? thanks you very much Sayoyo

---

## [Re: getoptlong, getopt, parseopt, which one to use for comma](https://www.ruby-forum.com/t/re-getoptlong-getopt-parseopt-which-one-to-use-for-comma/69844)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [February 17, 2006, 9:14pm UTC](https://www.ruby-forum.com/t/re-getoptlong-getopt-parseopt-which-one-to-use-for-comma/69844 "2006-02-17T21:14:58Z")

</div>

by use commandline? I mean use Jim F.'s ‘commandline’ package: http://raa.ruby-lang.org/project/commandline/ Regards, Dan

---

## [Re: getoptlong, getopt, parseopt, which one to use for comma](https://www.ruby-forum.com/t/re-getoptlong-getopt-parseopt-which-one-to-use-for-comma/53945)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 2\
**Last updated:** [February 17, 2006, 9:11pm UTC](https://www.ruby-forum.com/t/re-getoptlong-getopt-parseopt-which-one-to-use-for-comma/53945 "2006-02-17T21:11:54Z")

</div>

There seems to be several options out there. Which one should be used when creating command line tools? it keeps things exciting to mix them up in unpredictable ways preferably in obfusicated code. :wink: seri…

---

## [Newbie: how to dynamically add methods?](https://www.ruby-forum.com/t/newbie-how-to-dynamically-add-methods/53907)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 6\
**Last updated:** [February 17, 2006, 9:08pm UTC](https://www.ruby-forum.com/t/newbie-how-to-dynamically-add-methods/53907 "2006-02-17T21:08:49Z")

</div>

The PickAxe doesn’t seem to cover details of how to dynamically create class or add methods to existing classes. For example, sometimes I see people doing things like this: class \<\< self … and I’m wondering exactly…

---

## [Some error happends when I use SDL model](https://www.ruby-forum.com/t/some-error-happends-when-i-use-sdl-model/69640)

<div class="topic-metadata">

**Author:** [@cfc](https://www.ruby-forum.com/u/cfc)\
**Replies:** 1\
**Last updated:** [February 17, 2006, 8:50pm UTC](https://www.ruby-forum.com/t/some-error-happends-when-i-use-sdl-model/69640 "2006-02-17T20:50:33Z")

</div>

Hi, I’ve get some problem… When I use the SDL model in my application, RDE showed the following message… D:/MinGW/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in \`require\_\_’: no such file to load –…

---

## [Ruby TK GUI question](https://www.ruby-forum.com/t/ruby-tk-gui-question/69691)

<div class="topic-metadata">

**Author:** [@rubyman](https://www.ruby-forum.com/u/rubyman)\
**Replies:** 2\
**Last updated:** [February 17, 2006, 8:50pm UTC](https://www.ruby-forum.com/t/ruby-tk-gui-question/69691 "2006-02-17T20:50:33Z")

</div>

Hi, I am writing a Ruby GUI TK application where the top-most portion of the screen is a line of static menu buttons. I would like the remaining lower portion of the screen to be dynamic - as an example, one of the t…

---

## [Getoptlong, getopt, parseopt, which one to use for command l](https://www.ruby-forum.com/t/getoptlong-getopt-parseopt-which-one-to-use-for-command-l/69796)

<div class="topic-metadata">

**Author:** [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Replies:** 2\
**Last updated:** [February 17, 2006, 8:38pm UTC](https://www.ruby-forum.com/t/getoptlong-getopt-parseopt-which-one-to-use-for-command-l/69796 "2006-02-17T20:38:28Z")

</div>

There seems to be several options out there. Which one should be used when creating command line tools?

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

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