# Ruby

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

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

---

## [Setup.rb problems and possible fix](https://www.ruby-forum.com/t/setup-rb-problems-and-possible-fix/56686)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 7\
**Last updated:** [April 5, 2006, 4:43pm UTC](https://www.ruby-forum.com/t/setup-rb-problems-and-possible-fix/56686 "2006-04-05T16:43:49Z")

</div>

As I reported earlier there seems to be some issues with setup.rb. After investingating deeper it appears that there may be some very odd bugs lurking within. There’s is a lot of good code in their, but I’m starting t…

---

## [Testing DiGraph (#73)](https://www.ruby-forum.com/t/testing-digraph-73/56480)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 20\
**Last updated:** [April 5, 2006, 4:34pm UTC](https://www.ruby-forum.com/t/testing-digraph-73/56480 "2006-04-05T16:34:28Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [Load\_driver Error - while connecting to DB2. Pl help](https://www.ruby-forum.com/t/load-driver-error-while-connecting-to-db2-pl-help/56874)

<div class="topic-metadata">

**Author:** [@dinesh](https://www.ruby-forum.com/u/dinesh)\
**Replies:** 1\
**Last updated:** [April 5, 2006, 1:56pm UTC](https://www.ruby-forum.com/t/load-driver-error-while-connecting-to-db2-pl-help/56874 "2006-04-05T13:56:49Z")

</div>

Hi, I’m trying to connect to DB2 from Ruby, and here are the steps i followed, but still no luck. Can any one please reply to me! 1)Installed Ruby 1.8.4 2)Installed ruby-db2-0.4.4 3)Installed MS VC 2003 4)Installed…

---

## [Good Test Plans](https://www.ruby-forum.com/t/good-test-plans/93533)

<div class="topic-metadata">

**Author:** [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Replies:** 6\
**Last updated:** [April 5, 2006, 12:49pm UTC](https://www.ruby-forum.com/t/good-test-plans/93533 "2006-04-05T12:49:27Z")

</div>

This isn’t a ruby question specifically but I’m sure you guys have some good ideas. I need a good test plan template. I am currently using an open office spreadsheet that is set up for a test plan, but I hate it. Is…

---

## [Length of backtrace displayed by ruby](https://www.ruby-forum.com/t/length-of-backtrace-displayed-by-ruby/93543)

<div class="topic-metadata">

**Author:** [@Sylvain\_J](https://www.ruby-forum.com/u/Sylvain_J)\
**Replies:** 8\
**Last updated:** [April 5, 2006, 11:41am UTC](https://www.ruby-forum.com/t/length-of-backtrace-displayed-by-ruby/93543 "2006-04-05T11:41:54Z")

</div>

Is there a way to remove the maximum backtrace length displayed by the interpreter when an exception terminates the process ? It makes the backtrace totally useless in situations where it is long and the interesting …

---

## [What means 1\_000\_000](https://www.ruby-forum.com/t/what-means-1-000-000/56877)

<div class="topic-metadata">

**Author:** [@eduardo](https://www.ruby-forum.com/u/eduardo)\
**Replies:** 2\
**Last updated:** [April 5, 2006, 11:04am UTC](https://www.ruby-forum.com/t/what-means-1-000-000/56877 "2006-04-05T11:04:45Z")

</div>

Hi all, trying ri and reading documentation for Benchmark I’ve seen an example that says: Benchmark.measure {“a”\*1\_000\_000} What’s that literall? I’ve tried to do it with 1000000 instead of 1\_000\_000 and it works t…

---

## [How slow could ruby be compared to Python or Perl?](https://www.ruby-forum.com/t/how-slow-could-ruby-be-compared-to-python-or-perl/93338)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 17\
**Last updated:** [April 5, 2006, 10:30am UTC](https://www.ruby-forum.com/t/how-slow-could-ruby-be-compared-to-python-or-perl/93338 "2006-04-05T10:30:55Z")

</div>

This might be a stupid question, but I really wonder if ruby is much slower than python and perl.

---

## [Ruby for system administration](https://www.ruby-forum.com/t/ruby-for-system-administration/56810)

<div class="topic-metadata">

**Author:** [@Tassilo\_Horn](https://www.ruby-forum.com/u/Tassilo_Horn)\
**Replies:** 4\
**Last updated:** [April 5, 2006, 9:41am UTC](https://www.ruby-forum.com/t/ruby-for-system-administration/56810 "2006-04-05T09:41:43Z")

</div>

Hi, since I don’t like bash or other shell languages too much, I’ve started writing more and more system administration scripts in ruby, which works great and saves much time. I invoke the commands which should be ex…

---

## [Calling R from Ruby](https://www.ruby-forum.com/t/calling-r-from-ruby/89868)

<div class="topic-metadata">

**Author:** [@alexg](https://www.ruby-forum.com/u/alexg)\
**Replies:** 34\
**Last updated:** [April 5, 2006, 9:14am UTC](https://www.ruby-forum.com/t/calling-r-from-ruby/89868 "2006-04-05T09:14:11Z")

</div>

Hi, I’m interested in making (well using, but I might be prepared to make) a bridge between Ruby and R. The RSPerl and RSPython packages seem to do pretty much what I want to do (in Perl and Python). My first questio…

---

## [Using File.open block to manage svnadmin dump stream](https://www.ruby-forum.com/t/using-file-open-block-to-manage-svnadmin-dump-stream/56789)

<div class="topic-metadata">

**Author:** [@greenbox](https://www.ruby-forum.com/u/greenbox)\
**Replies:** 9\
**Last updated:** [April 5, 2006, 8:59am UTC](https://www.ruby-forum.com/t/using-file-open-block-to-manage-svnadmin-dump-stream/56789 "2006-04-05T08:59:06Z")

</div>

While working on a script to manage dumps from a subversion repository of mine, I found that when I used a File.open block to work with the stream returned by svnadmin dump, I would get errors regarding a malformed he…

---

## [Rubyholic v1.1](https://www.ruby-forum.com/t/rubyholic-v1-1/93620)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [April 5, 2006, 8:28am UTC](https://www.ruby-forum.com/t/rubyholic-v1-1/93620 "2006-04-05T08:28:19Z")

</div>

rubyholic.com exists to help rubyists organize and makes it easier for organizers and potential members to find each other. http://rubyholic.com Rubyholic now features group calendars using iCalendar. You can subscr…

---

## [Ruby-WATir Browser opening issue](https://www.ruby-forum.com/t/ruby-watir-browser-opening-issue/56748)

<div class="topic-metadata">

**Author:** [@Mukund](https://www.ruby-forum.com/u/Mukund)\
**Replies:** 2\
**Last updated:** [April 5, 2006, 7:27am UTC](https://www.ruby-forum.com/t/ruby-watir-browser-opening-issue/56748 "2006-04-05T07:27:17Z")

</div>

Problem: Ruby Script which is running perfectly fine with windows2k O/s is not openign IE browser in Win2k3 server Standard Edition. It is Displaying message on windows status bar as ‘Detecting proxy setting…’. Initia…

---

## [alias$B$H(Bcaller](https://www.ruby-forum.com/t/alias-b-h-bcaller/56039)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 6\
**Last updated:** [April 5, 2006, 7:00am UTC](https://www.ruby-forum.com/t/alias-b-h-bcaller/56039 "2006-04-05T07:00:00Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B e$B85%M%?$Oe(B http://www.yohasebe.com/diary/diary\_search.php?id=142 e$B$J$N$G$9$,!“$3$N%9%/%j%W%H$O!”\<B$O8=:\_$Ne(B1.8e$B:G?7$\*$h$Se(B1.9e$B$G$Oe(B e$BF0:n$7$^$;$s!#e(…

---

## [Rake and rdoc help needed - target seems to be generated twi](https://www.ruby-forum.com/t/rake-and-rdoc-help-needed-target-seems-to-be-generated-twi/56863)

<div class="topic-metadata">

**Author:** [@aseldo](https://www.ruby-forum.com/u/aseldo)\
**Replies:** 1\
**Last updated:** [April 5, 2006, 6:24am UTC](https://www.ruby-forum.com/t/rake-and-rdoc-help-needed-target-seems-to-be-generated-twi/56863 "2006-04-05T06:24:44Z")

</div>

Hello, I set up some rake tasks to generate documentation for my rails app. I started with the doc:app task from rails and the rdoctask in rake definitions. I’m learning rake so please go easy on me. :wink: Here is …

---

## [DBD::ODBC looks in /etc not /usr/local/etc for odbc files](https://www.ruby-forum.com/t/dbd-odbc-looks-in-etc-not-usr-local-etc-for-odbc-files/93588)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 1\
**Last updated:** [April 5, 2006, 3:51am UTC](https://www.ruby-forum.com/t/dbd-odbc-looks-in-etc-not-usr-local-etc-for-odbc-files/93588 "2006-04-05T03:51:45Z")

</div>

All, I had installed the freetds and unixODBC packages onto my Linux system using RPMs. These RPMs installed these two packages into / basically (config files in /etc, libraries in /lib and so forth). However, when …

---

## [System() with .msi files on WinXP](https://www.ruby-forum.com/t/system-with-msi-files-on-winxp/93590)

<div class="topic-metadata">

**Author:** [@brad7a0](https://www.ruby-forum.com/u/brad7a0)\
**Replies:** 6\
**Last updated:** [April 5, 2006, 2:30am UTC](https://www.ruby-forum.com/t/system-with-msi-files-on-winxp/93590 "2006-04-05T02:30:00Z")

</div>

I have a ruby script that installs several windows applications like this: programs.each { |p| system§ } This works great with .exe installers, but if the program is a .msi installer, nothing happens and ruby exits w…

---

## [Re: Ruby Weekly News 27th March - 2nd April 2006](https://www.ruby-forum.com/t/re-ruby-weekly-news-27th-march-2nd-april-2006/93586)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 2\
**Last updated:** [April 5, 2006, 12:58am UTC](https://www.ruby-forum.com/t/re-ruby-weekly-news-27th-march-2nd-april-2006/93586 "2006-04-05T00:58:30Z")

</div>

support. multi-method support) is yet another April 1st joke. I’m subscribed to ruby-dev and the message referred to in in that summary (\[ruby-dev:28533\]) doesn’t exist: indeed, the last message is \[ruby-dev:28505\]…

---

## [Select in rhtml](https://www.ruby-forum.com/t/select-in-rhtml/93589)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [April 4, 2006, 11:54pm UTC](https://www.ruby-forum.com/t/select-in-rhtml/93589 "2006-04-04T23:54:31Z")

</div>

I’m trying to get a select box of categories to appear in my items views after I created everything using generate scaffold, but I can’t get the categories to appear in my forms. class ItemsController \< ApplicationCon…

---

## [Re: Does Ruby simplify our tasks and lives?](https://www.ruby-forum.com/t/re-does-ruby-simplify-our-tasks-and-lives/93515)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 3\
**Last updated:** [April 4, 2006, 11:45pm UTC](https://www.ruby-forum.com/t/re-does-ruby-simplify-our-tasks-and-lives/93515 "2006-04-04T23:45:27Z")

</div>

Simplicity \[mailto:removed\_email\_address@domain.invalid\] wrote last Tuesday, April 04, 2006 3:24 PM: #I suppose anyone can make something complex or messy, no #matter what the language or tool. Agree? yes, but why c…

---

## [Mongrel Web Server 0.3.12.2 -- Iron Mongrel (Parser Fix)](https://www.ruby-forum.com/t/mongrel-web-server-0-3-12-2-iron-mongrel-parser-fix/93554)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 9\
**Last updated:** [April 4, 2006, 11:17pm UTC](https://www.ruby-forum.com/t/mongrel-web-server-0-3-12-2-iron-mongrel-parser-fix/93554 "2006-04-04T23:17:24Z")

</div>

Hello Everyone, This is an ultra quick announce for a bug fix release to Mongrel. It corrects a small change in the HTTP parser that causes an error when people use multi-part forms in a certain way. The fix is lit…

---

## [Ruby-odbc installation problem](https://www.ruby-forum.com/t/ruby-odbc-installation-problem/93583)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 0\
**Last updated:** [April 4, 2006, 11:16pm UTC](https://www.ruby-forum.com/t/ruby-odbc-installation-problem/93583 "2006-04-04T23:16:27Z")

</div>

Ruby 1.8.4 ruby-odbc 0.997 I setup ruby-odbc using: rubyextconf.rb make make install I then installed the Ruby DBD ODBC package into site\_ruby. I have successfully installed freetds and unixODBC into /usr/local/\* …

---

## [Rake's PackageTask should have tar -h for symbolic links](https://www.ruby-forum.com/t/rakes-packagetask-should-have-tar-h-for-symbolic-links/93547)

<div class="topic-metadata">

**Author:** [@Ed\_Howland](https://www.ruby-forum.com/u/Ed_Howland)\
**Replies:** 3\
**Last updated:** [April 4, 2006, 11:14pm UTC](https://www.ruby-forum.com/t/rakes-packagetask-should-have-tar-h-for-symbolic-links/93547 "2006-04-04T23:14:11Z")

</div>

Hi, I have a need to have Rake::PackageTask implement the -h option on tar +gz and bz2. This would allow for tar to include any linked files/folders. The workaround is to cp -r the entire contents of the linked dir. …

---

## [Re: Mongrel Web Server 0.3.12.2 -- Iron Mongrel (Parser Fix)](https://www.ruby-forum.com/t/re-mongrel-web-server-0-3-12-2-iron-mongrel-parser-fix/93575)

<div class="topic-metadata">

**Author:** [@William\_SBillS\_Froe](https://www.ruby-forum.com/u/William_SBillS_Froe)\
**Replies:** 0\
**Last updated:** [April 4, 2006, 9:47pm UTC](https://www.ruby-forum.com/t/re-mongrel-web-server-0-3-12-2-iron-mongrel-parser-fix/93575 "2006-04-04T21:47:56Z")

</div>

Thanks for clearing this up. I’m looking forward to trying out Mongrel! –Bill

---

## [Validating all php generated html code?](https://www.ruby-forum.com/t/validating-all-php-generated-html-code/56844)

<div class="topic-metadata">

**Author:** [@PaatschS\_Bernd](https://www.ruby-forum.com/u/PaatschS_Bernd)\
**Replies:** 0\
**Last updated:** [April 4, 2006, 9:41pm UTC](https://www.ruby-forum.com/t/validating-all-php-generated-html-code/56844 "2006-04-04T21:41:44Z")

</div>

Hello ruby team. I got a new interesting assignment, to validate all html code of all our products. Doing this manual would take me a very long time. Thus I seek an automated solution and wonder if anybody has done s…

---

## [Mixins and initialize/initialize\_copy](https://www.ruby-forum.com/t/mixins-and-initialize-initialize-copy/93536)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [April 4, 2006, 9:38pm UTC](https://www.ruby-forum.com/t/mixins-and-initialize-initialize-copy/93536 "2006-04-04T21:38:43Z")

</div>

Hello, I have created a mixin module that overwrites initialize and initialize\_copy. This works fine until a class that uses the mixin wants to overwrite initialize and/or initialize\_copy, too. I can replace initia…

---

## [Is there a decent Ruby zine? Like the regular Javalobby one?](https://www.ruby-forum.com/t/is-there-a-decent-ruby-zine-like-the-regular-javalobby-one/93569)

<div class="topic-metadata">

**Author:** [@biot023](https://www.ruby-forum.com/u/biot023)\
**Replies:** 2\
**Last updated:** [April 4, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/is-there-a-decent-ruby-zine-like-the-regular-javalobby-one/93569 "2006-04-04T20:52:24Z")

</div>

Hi – can anyone reccommend a Ruby 'zine? Like the Javalobby magazine (which I still very much enjoy). Or maybe some other way of staying in touch w/ all things Ruby in a very user-friendly way? Cheers, doug.

---

## [Re: Mongrel Web Server 0.3.12.2 -- Iron Mongrel (Parser Fix)](https://www.ruby-forum.com/t/re-mongrel-web-server-0-3-12-2-iron-mongrel-parser-fix/56839)

<div class="topic-metadata">

**Author:** [@William\_SBillS\_Froe](https://www.ruby-forum.com/u/William_SBillS_Froe)\
**Replies:** 1\
**Last updated:** [April 4, 2006, 8:42pm UTC](https://www.ruby-forum.com/t/re-mongrel-web-server-0-3-12-2-iron-mongrel-parser-fix/56839 "2006-04-04T20:42:57Z")

</div>

Ok so I tried this and it is asking me to choose the version. What is the difference between the ruby and mswin32 versions. Is the ruby version simply a generic version for all platforms including windows? Just curi…

---

## [Examine Folder Contents?](https://www.ruby-forum.com/t/examine-folder-contents/93395)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 10\
**Last updated:** [April 4, 2006, 8:06pm UTC](https://www.ruby-forum.com/t/examine-folder-contents/93395 "2006-04-04T20:06:14Z")

</div>

Hi all I’d like Ruby to open a folder, search it for files and then store all files names of .png files in an array and close the folder. So after this I can do anything I like with the png files in the array… How do…

---

## [Ruby-talk-ctl doesn't let me unsubscribe using UTF-8](https://www.ruby-forum.com/t/ruby-talk-ctl-doesnt-let-me-unsubscribe-using-utf-8/93546)

<div class="topic-metadata">

**Author:** [@Tim\_Shadel](https://www.ruby-forum.com/u/Tim_Shadel)\
**Replies:** 1\
**Last updated:** [April 4, 2006, 6:12pm UTC](https://www.ruby-forum.com/t/ruby-talk-ctl-doesnt-let-me-unsubscribe-using-utf-8/93546 "2006-04-04T18:12:58Z")

</div>

OK. I’d like to follow the list in archives, instead of my inbox. I’ve been trying to unsubscribe. I’ve Read The Fine Manual \[1\], and used Google frequently, but to no avail. Every time I send a message to removed\_e…

---

## [Is relative validation possible?](https://www.ruby-forum.com/t/is-relative-validation-possible/93528)

<div class="topic-metadata">

**Author:** [@RSSSSRLover](https://www.ruby-forum.com/u/RSSSSRLover)\
**Replies:** 1\
**Last updated:** [April 4, 2006, 6:09pm UTC](https://www.ruby-forum.com/t/is-relative-validation-possible/93528 "2006-04-04T18:09:57Z")

</div>

now when i use validates\_format\_of / validates\_numericality\_of / … it also checks if something is filled in and this is what i dont want how can i make that if only someone would fill a field, it would be checked on t…

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

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