# Ruby

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

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

---

## [Ruby Challenge for Beginners #2](https://www.ruby-forum.com/t/ruby-challenge-for-beginners-2/177035)

<div class="topic-metadata">

**Author:** [@indianguru](https://www.ruby-forum.com/u/indianguru)\
**Replies:** 2\
**Last updated:** [October 10, 2009, 11:47pm UTC](https://www.ruby-forum.com/t/ruby-challenge-for-beginners-2/177035 "2009-10-10T23:47:54Z")

</div>

The second installment of the Ruby P.ming Challenge for Newbies (Average Arrival Time For A Flight) is now live at - The problem has been set by Chris S… Entry is free, registration is optional and you stand a chance…

---

## [Better looking directory chooser for tk?](https://www.ruby-forum.com/t/better-looking-directory-chooser-for-tk/176997)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [October 10, 2009, 11:11pm UTC](https://www.ruby-forum.com/t/better-looking-directory-chooser-for-tk/176997 "2009-10-10T23:11:30Z")

</div>

Currently in windows with Tk if I run Tk.chooseDirectory it gives me the cruddy “teeny windows” version that forces you to start at my computer to navigate through, and the window can’t be expanded, even. Anybody k…

---

## [File.addmod?](https://www.ruby-forum.com/t/file-addmod/177017)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [October 10, 2009, 11:09pm UTC](https://www.ruby-forum.com/t/file-addmod/177017 "2009-10-10T23:09:25Z")

</div>

I’m familiar with File.chmod 0777 filename however, anybody know the equivalent to “chmod u+r filename” from the command line–but in ruby? Thanks! -r

---

## [Recommendation for CI server?](https://www.ruby-forum.com/t/recommendation-for-ci-server/176961)

<div class="topic-metadata">

**Author:** [@Joseph\_A](https://www.ruby-forum.com/u/Joseph_A)\
**Replies:** 8\
**Last updated:** [October 10, 2009, 10:43pm UTC](https://www.ruby-forum.com/t/recommendation-for-ci-server/176961 "2009-10-10T22:43:30Z")

</div>

Does anyone have a recommendation for a CI server for a JRuby project? Would you use Java CI server like Hudson, or something like cruisecontrol.rb? Joe

---

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

<div class="topic-metadata">

**Author:** [@Justin\_Lasher](https://www.ruby-forum.com/u/Justin_Lasher)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 8:07pm UTC](https://www.ruby-forum.com/t/unsubscribe/177065 "2009-10-10T20:07:12Z")

</div>

– Justin A. Lasher 386-748-5845 removed\_email\_address@domain.invalid

---

## [\[Ruby 1.9 - Bug #368\] (Open) $B6-3&$K$\*$1$k(B Math.atanh $BEy$NF0:n(B](https://www.ruby-forum.com/t/ruby-1-9-bug-368-open-b6-3-k-1-k-b-math-atanh-bey-nf0-n-b/144260)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 7\
**Last updated:** [October 10, 2009, 7:50pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-368-open-b6-3-k-1-k-b-math-atanh-bey-nf0-n-b/144260 "2009-10-10T19:50:49Z")

</div>

e$B%A%1%C%He(B #368 e$B$,Js9p$5$l$^$7$?!#e(B (by Yui NARUSE) Bug #368: e$B6-3&$K$\*$1$ke(B Math.atanh e$BEy$NF0:ne(B http://redmine.ruby-lang.org/issues/show/368 e$B5/I\<\<Te(B: Yui NARUSE e$B%9%F!\<%?%9e(B: Open e$BM%@…

---

## [\[Feature #1840\](Rejected) Hash $B$KMWAGDI2C$7$F(B self $B$rJV$9%a%=%C%I(B](https://www.ruby-forum.com/t/feature-1840-rejected-hash-b-kmwagdi2c-7-f-b-self-b-rjv-9-a-c-i-b/177063)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 6:58pm UTC](https://www.ruby-forum.com/t/feature-1840-rejected-hash-b-kmwagdi2c-7-f-b-self-b-rjv-9-a-c-i-b/177063 "2009-10-10T18:58:43Z")

</div>

e$B%A%1%C%He(B #1840 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BRejectede$B$KJQ99e(B Hash#update e$B$G$$$$$G$9$h$M!#e(B http://redmine.ruby-lang.org/issues/show/1840

---

## [\[Bug #843\](Assigned) RubyGems include useless libraries](https://www.ruby-forum.com/t/bug-843-assigned-rubygems-include-useless-libraries/177060)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 6:26pm UTC](https://www.ruby-forum.com/t/bug-843-assigned-rubygems-include-useless-libraries/177060 "2009-10-10T18:26:31Z")

</div>

e$B%A%1%C%He(B #843 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE) e$BBjL\>e(B RubyGems e$B$G;HMQ$5$l$F$$$J$$%i%$%V%i%j$,$"$k$+$ie(BRubyGems include useless librariese$B$KJQ99e(B e$B%9%F!\<%?%9e(B Opene$B$+$ie(BAssignede$B$KJ…

---

## [\[Bug #1031\] -U $B%\*%W%7%g%s$N@bL@$,(B --help $B$K$J$$(B](https://www.ruby-forum.com/t/bug-1031-u-b-w-7-g-s-n-bl-b-help-b-k-j-b/177059)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 6:17pm UTC](https://www.ruby-forum.com/t/bug-1031-u-b-w-7-g-s-n-bl-b-help-b-k-j-b/177059 "2009-10-10T18:17:43Z")

</div>

e$B%A%1%C%He(B #1031 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE) e$B$3$l$C$F$I$&$J$C$F$k$s$G$7$g$&!#e(B e$B$J$\*!"C4Ev\<T$Oe(B Developer e$B0J\>e$K$7$+$G$-$J$$$i$7$$!#e(B http://redmine.ruby-lang.org/issues/show/1031

---

## [A lot of free ebook download here](https://www.ruby-forum.com/t/a-lot-of-free-ebook-download-here/177054)

<div class="topic-metadata">

**Author:** [@hihi](https://www.ruby-forum.com/u/hihi)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 5:40pm UTC](https://www.ruby-forum.com/t/a-lot-of-free-ebook-download-here/177054 "2009-10-10T17:40:51Z")

</div>

http://www.book.mywishpond.com

---

## [Couldn't find 'rspec' generator](https://www.ruby-forum.com/t/couldnt-find-rspec-generator/177052)

<div class="topic-metadata">

**Author:** [@prasanna](https://www.ruby-forum.com/u/prasanna)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 4:11pm UTC](https://www.ruby-forum.com/t/couldnt-find-rspec-generator/177052 "2009-10-10T16:11:34Z")

</div>

Hello, I want to add RSpec as a rails plugin to a new rails project. I am using Windows Vista. I did: ruby script/plugin install git://github.com/dchelimsky/rspec.git ruby script/plugin install git://github.com/dch…

---

## [How to control application on Windows](https://www.ruby-forum.com/t/how-to-control-application-on-windows/177032)

<div class="topic-metadata">

**Author:** [@ZWZWZW](https://www.ruby-forum.com/u/ZWZWZW)\
**Replies:** 3\
**Last updated:** [October 10, 2009, 12:11pm UTC](https://www.ruby-forum.com/t/how-to-control-application-on-windows/177032 "2009-10-10T12:11:27Z")

</div>

Hi Gurus I have an application running on Windows XP. How do I or can I accomplish this or is it better to use python for such activities I like to be able to use ruby script to send mouse clicks at a certain locat…

---

## [\[ANN\] au3-0.1.0 released](https://www.ruby-forum.com/t/ann-au3-0-1-0-released/177046)

<div class="topic-metadata">

**Author:** [@quintus](https://www.ruby-forum.com/u/quintus)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 12:02pm UTC](https://www.ruby-forum.com/t/ann-au3-0-1-0-released/177046 "2009-10-10T12:02:06Z")

</div>

Hello Rubyists, A new version of the au3 gem, which is part of the Automations project\[1\], has been released. It’s no longer a C extension, but Ruby-only, thanks to the win32-api gem from the win32utils\[2\] project, s…

---

## [Green Threads - I want them to thrash](https://www.ruby-forum.com/t/green-threads-i-want-them-to-thrash/176959)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 5\
**Last updated:** [October 10, 2009, 11:35am UTC](https://www.ruby-forum.com/t/green-threads-i-want-them-to-thrash/176959 "2009-10-10T11:35:38Z")

</div>

All Day I have tried to accomplish the following using threads, and just could not get it to work. I want them to thrash back and forth having the power to do stuff… I want two threads to execute and fight each other…

---

## [Documenting DSLs](https://www.ruby-forum.com/t/documenting-dsls/176945)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 4\
**Last updated:** [October 10, 2009, 9:43am UTC](https://www.ruby-forum.com/t/documenting-dsls/176945 "2009-10-10T09:43:40Z")

</div>

Has anyone done any work on documenting Ruby DSLs? Eg. RDoc can document this: This plugin … class MyThing \< Plugin # This does … def some … end end But if one were to make a DSL out of it, say: This plugin … pl…

---

## [\[ANN\] ERBook 7.3.0](https://www.ruby-forum.com/t/ann-erbook-7-3-0/177039)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 8:55am UTC](https://www.ruby-forum.com/t/ann-erbook-7-3-0/177039 "2009-10-10T08:55:42Z")

</div>

ERBook 7.3.0 Write books, manuals, and documents in eRuby http://snk.tuxfamily.org/lib/erbook/ ERBook is an extensible document processor that emits \[1\]any document you can im…

---

## [Array help](https://www.ruby-forum.com/t/array-help/177031)

<div class="topic-metadata">

**Author:** [@jegsjegs](https://www.ruby-forum.com/u/jegsjegs)\
**Replies:** 2\
**Last updated:** [October 10, 2009, 5:08am UTC](https://www.ruby-forum.com/t/array-help/177031 "2009-10-10T05:08:12Z")

</div>

I am a brand spankin’ new wannabe ruby programmer. The attached is my first real program outside of the infamous Hello World app. I was told that one who wants to start learning a program is to start out with a simp…

---

## [Unicorn 0.93.3 - OpenBSD compatibility](https://www.ruby-forum.com/t/unicorn-0-93-3-openbsd-compatibility/177028)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 1:29am UTC](https://www.ruby-forum.com/t/unicorn-0-93-3-openbsd-compatibility/177028 "2009-10-10T01:29:51Z")

</div>

Unicorn is a HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels. Slow clients should only be serv…

---

## [Code Review: ConversionFixes](https://www.ruby-forum.com/t/code-review-conversionfixes/177025)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 12:41am UTC](https://www.ruby-forum.com/t/code-review-conversionfixes/177025 "2009-10-10T00:41:51Z")

</div>

tfpt review “/shelveset:ConversionFixes;REDMOND\\tomat” Comment : DLR and Python changes: Adds an explicit Single -\> BigInteger conversion (V4 BigInteger has this conversion). http://ironruby.codeplex.com/WorkItem/V…

---

## [Basic RSpec Error, 'no such file to load'. Help](https://www.ruby-forum.com/t/basic-rspec-error-no-such-file-to-load-help/177024)

<div class="topic-metadata">

**Author:** [@prasanna](https://www.ruby-forum.com/u/prasanna)\
**Replies:** 0\
**Last updated:** [October 10, 2009, 12:33am UTC](https://www.ruby-forum.com/t/basic-rspec-error-no-such-file-to-load-help/177024 "2009-10-10T00:33:35Z")

</div>

Hello, I am new to working with RSpec I get a ‘no such file to load’ error when I run ‘rake spec’. The stack trace is below. At the root of my rails app I did: ruby script/plugin install http://rspec.rubyforge.org…

---

## [Building an Excel spread sheet on UNIX and displaying it in WIndows](https://www.ruby-forum.com/t/building-an-excel-spread-sheet-on-unix-and-displaying-it-in-windows/177016)

<div class="topic-metadata">

**Author:** [@rubina](https://www.ruby-forum.com/u/rubina)\
**Replies:** 1\
**Last updated:** [October 9, 2009, 11:50pm UTC](https://www.ruby-forum.com/t/building-an-excel-spread-sheet-on-unix-and-displaying-it-in-windows/177016 "2009-10-09T23:50:20Z")

</div>

Hi, I have a flat, text file of size (row,col) where row \> 50 and col \> 10. The file is created in a UNIX server. Is there any way to create an Excel spread sheet while in the UNIX server, with the flat file, and th…

---

## [Block passing](https://www.ruby-forum.com/t/block-passing/176903)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 12\
**Last updated:** [October 9, 2009, 10:00pm UTC](https://www.ruby-forum.com/t/block-passing/176903 "2009-10-09T22:00:52Z")

</div>

Here’s a short bit of code from a larger application that is giving me a NullPointerException in convertRubyToJavaInt. I can’t figure out why it is doing that. The problem disappears if you comment out the block that …

---

## [Java\_method and java\_send in master/1.4](https://www.ruby-forum.com/t/java-method-and-java-send-in-master-1-4/176257)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 8\
**Last updated:** [October 9, 2009, 9:20pm UTC](https://www.ruby-forum.com/t/java-method-and-java-send-in-master-1-4/176257 "2009-10-09T21:20:29Z")

</div>

I’ve just finished adding part of the Java Integration proposal, the “java\_send” and “java\_method” methods. This is likely the only part of the “grand unified theory of Java integration” that will get into 1.4, so I w…

---

## [JRruby, Sybase JDBC and DBI - fetching column names](https://www.ruby-forum.com/t/jrruby-sybase-jdbc-and-dbi-fetching-column-names/176965)

<div class="topic-metadata">

**Author:** [@cbourne](https://www.ruby-forum.com/u/cbourne)\
**Replies:** 1\
**Last updated:** [October 9, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/jrruby-sybase-jdbc-and-dbi-fetching-column-names/176965 "2009-10-09T20:57:39Z")

</div>

I have a ruby script which I run using the JRuby Interpreter. The script connects to a Sybase database using DBI and Sybase JDBC (jTDS3.jar and jconn3.jar) My problem is that I have a select query that when I return t…

---

## [Array#accept](https://www.ruby-forum.com/t/array-accept/177013)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [October 9, 2009, 8:45pm UTC](https://www.ruby-forum.com/t/array-accept/177013 "2009-10-09T20:45:56Z")

</div>

Since there’s an Array#reject, shouldn’t there be an Array#accept? -r

---

## [Write a file](https://www.ruby-forum.com/t/write-a-file/176953)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 6\
**Last updated:** [October 9, 2009, 5:47pm UTC](https://www.ruby-forum.com/t/write-a-file/176953 "2009-10-09T17:47:14Z")

</div>

Hi all, I use the following script to write a 2D array. I wonder if there is improvement for them. Thanks, Li ############script########## data\_all=\[ (1…10).to\_a, (1…10).to\_a, (1…10).to\_a, (1…10).to\_a \]# a 2D …

---

## [String of Parameters used as parameter list](https://www.ruby-forum.com/t/string-of-parameters-used-as-parameter-list/176964)

<div class="topic-metadata">

**Author:** [@jspencer78](https://www.ruby-forum.com/u/jspencer78)\
**Replies:** 3\
**Last updated:** [October 9, 2009, 3:23pm UTC](https://www.ruby-forum.com/t/string-of-parameters-used-as-parameter-list/176964 "2009-10-09T15:23:57Z")

</div>

Hi there, I know this might sound unorthodox but I am storing a function and parameters in a database for a particular set of class methods. Most of the functions have the same arguments but a few others have extra p…

---

## [ZipFile.extract overwrite option](https://www.ruby-forum.com/t/zipfile-extract-overwrite-option/176947)

<div class="topic-metadata">

**Author:** [@jimboberlin](https://www.ruby-forum.com/u/jimboberlin)\
**Replies:** 2\
**Last updated:** [October 9, 2009, 12:24pm UTC](https://www.ruby-forum.com/t/zipfile-extract-overwrite-option/176947 "2009-10-09T12:24:29Z")

</div>

Hi I’m trying to extract a Zipfile using the ZipFile Class. According to the docs, Class: Zip::ZipFile" the extract method takes a third param to specify the behaviour if a file already exists. However if I try to …

---

## [Creating lots of folders on ftp server](https://www.ruby-forum.com/t/creating-lots-of-folders-on-ftp-server/176788)

<div class="topic-metadata">

**Author:** [@raimon](https://www.ruby-forum.com/u/raimon)\
**Replies:** 6\
**Last updated:** [October 9, 2009, 12:04pm UTC](https://www.ruby-forum.com/t/creating-lots-of-folders-on-ftp-server/176788 "2009-10-09T12:04:28Z")

</div>

Hello, I have to check some folders on a ftp server, if they don’t exist, create it. The main folder is: project the project has some folders, like 1,2,3,4,5,… and each folder have 12 more folders, one for each mon…

---

## [What is the difference between ir and iirb?](https://www.ruby-forum.com/t/what-is-the-difference-between-ir-and-iirb/176980)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 10:52am UTC](https://www.ruby-forum.com/t/what-is-the-difference-between-ir-and-iirb/176980 "2009-10-09T10:52:56Z")

</div>

When no arguments are passed, they both start a REPL console only that iirb shows the time of each operation. Are there more differences? Thanks, Shay.

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

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