# Ruby

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

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

---

## [WIN32OLE\_METHOD offset\_vtbl](https://www.ruby-forum.com/t/win32ole-method-offset-vtbl/190606)

<div class="topic-metadata">

**Author:** [@kuwamoto\_shintaro](https://www.ruby-forum.com/u/kuwamoto_shintaro)\
**Replies:** 15\
**Last updated:** [June 28, 2010, 2:09pm UTC](https://www.ruby-forum.com/t/win32ole-method-offset-vtbl/190606 "2010-06-28T14:09:10Z")

</div>

e$B$3$s$P$s$oe(B test\_win32ole\_method.rbe$B$Ne(Btest\_offset\_vtble$B$G4|BT$9$k%\*%U%;%C%H$,e(B64e$B%S%C%H4D6-$@$H0\[$J$k$h$&$G$9!#e(B e$B\<!$N%F%9%H$G$O@.8y$7$^$9!#e(B t = WIN32OLE\_TYPE.new(“Microsoft Shell Controls And A…

---

## [How i execute a method variable numer of times](https://www.ruby-forum.com/t/how-i-execute-a-method-variable-numer-of-times/190790)

<div class="topic-metadata">

**Author:** [@noose](https://www.ruby-forum.com/u/noose)\
**Replies:** 2\
**Last updated:** [June 28, 2010, 7:05am UTC](https://www.ruby-forum.com/t/how-i-execute-a-method-variable-numer-of-times/190790 "2010-06-28T07:05:16Z")

</div>

hi ruby example i have this method: def little\_meth puts “hi there\\n” end and say i want to run this method run x number of times. i make program that looks something this way: do little\_meth x times i request…

---

## [About method naming convention with "!"](https://www.ruby-forum.com/t/about-method-naming-convention-with/190784)

<div class="topic-metadata">

**Author:** [@judge](https://www.ruby-forum.com/u/judge)\
**Replies:** 2\
**Last updated:** [June 27, 2010, 11:52pm UTC](https://www.ruby-forum.com/t/about-method-naming-convention-with/190784 "2010-06-27T23:52:36Z")

</div>

Hi, Is there a reason why Array#clear method have not a exclamation mark (!) at the end? Just like Array#map! because the object is altered (so it’s called a dangerous method). In my opinion, Array#clear is an as d…

---

## [\[Bug #3456\] bisarre comma](https://www.ruby-forum.com/t/bug-3456-bisarre-comma/190422)

<div class="topic-metadata">

**Author:** [@Shyouhei\_U](https://www.ruby-forum.com/u/Shyouhei_U)\
**Replies:** 7\
**Last updated:** [June 27, 2010, 8:34pm UTC](https://www.ruby-forum.com/t/bug-3456-bisarre-comma/190422 "2010-06-27T20:34:14Z")

</div>

Bug #3456: bisarre comma http://redmine.ruby-lang.org/issues/show/3456 e$B5/I\<\<Te(B: Shyouhei U. e$B%9%F!\<%?%9e(B: Assigned, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Yukihiro M., e$B%+%F%4%je(B: core, Target version: 1.9.…

---

## [\[Bug #3459\] test\_regexp.rb Segmentation fault on x64-mswin64](https://www.ruby-forum.com/t/bug-3459-test-regexp-rb-segmentation-fault-on-x64-mswin64/190780)

<div class="topic-metadata">

**Author:** [@shintaro\_kuwamoto](https://www.ruby-forum.com/u/shintaro_kuwamoto)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 7:42pm UTC](https://www.ruby-forum.com/t/bug-3459-test-regexp-rb-segmentation-fault-on-x64-mswin64/190780 "2010-06-27T19:42:07Z")

</div>

e$B%A%1%C%He(B #3459 e$B$,99?7$5$l$^$7$?!#e(B (by shintaro kuwamoto) ruby -e"/()/ =~ ‘’" e$B$G%a%b%j3NJ\]\<:GT$7$^$9!#e(B ruby -e"/()/ =~ ’ '" e$B$J$i2?;v$b$J$/DL$j$^$9!#e(B http://redmine.ruby-lang.org/issues/show/34…

---

## [Need Help again ! Jboss deploy error](https://www.ruby-forum.com/t/need-help-again-jboss-deploy-error/190751)

<div class="topic-metadata">

**Author:** [@cyberjom](https://www.ruby-forum.com/u/cyberjom)\
**Replies:** 3\
**Last updated:** [June 27, 2010, 7:39pm UTC](https://www.ruby-forum.com/t/need-help-again-jboss-deploy-error/190751 "2010-06-27T19:39:42Z")

</div>

I’m still new with jruby. I have create very simple rails application. They use warbler to make .war file. After put it to Jboss 5.1 server I have got this message when access the controller =========================…

---

## [\[Bug #3490\] test\_pack\_utf8 failure on mswin64](https://www.ruby-forum.com/t/bug-3490-test-pack-utf8-failure-on-mswin64/190775)

<div class="topic-metadata">

**Author:** [@shintaro\_kuwamoto](https://www.ruby-forum.com/u/shintaro_kuwamoto)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 5:54pm UTC](https://www.ruby-forum.com/t/bug-3490-test-pack-utf8-failure-on-mswin64/190775 "2010-06-27T17:54:59Z")

</div>

Bug #3490: test\_pack\_utf8 failure on mswin64 http://redmine.ruby-lang.org/issues/show/3490 e$B5/I\<\<Te(B: shintaro kuwamoto e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: core, Target version: 1.9.2 rub…

---

## [Ruby's RDocs](https://www.ruby-forum.com/t/rubys-rdocs/190766)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 4\
**Last updated:** [June 27, 2010, 5:06pm UTC](https://www.ruby-forum.com/t/rubys-rdocs/190766 "2010-06-27T17:06:58Z")

</div>

Thanks to Josh C. I finally went and started the documentation project I’ve been planning to do since '09. http://trans.github.com/ruby/core/ The standard library is nearly ready too, and I will need to tie them toge…

---

## [General Confusion](https://www.ruby-forum.com/t/general-confusion/190452)

<div class="topic-metadata">

**Author:** [@cbergy](https://www.ruby-forum.com/u/cbergy)\
**Replies:** 8\
**Last updated:** [June 27, 2010, 4:00pm UTC](https://www.ruby-forum.com/t/general-confusion/190452 "2010-06-27T16:00:40Z")

</div>

I’m confused! I may have bitten off more than I can chew! This question may be more about OOP ion general than Ruby, but since I’m implementing in Ruby (trying to, anyway) I thought I’d start here. If I should be po…

---

## [Newbie - WEbrick, config/routes.rb and multiple instances](https://www.ruby-forum.com/t/newbie-webrick-config-routes-rb-and-multiple-instances/190772)

<div class="topic-metadata">

**Author:** [@tensaiji](https://www.ruby-forum.com/u/tensaiji)\
**Replies:** 4\
**Last updated:** [June 27, 2010, 3:50pm UTC](https://www.ruby-forum.com/t/newbie-webrick-config-routes-rb-and-multiple-instances/190772 "2010-06-27T15:50:52Z")

</div>

Hi, I’ve been going through the book Head First RoR, and in it I’ve been asked to make a tickets app, and then an events app. So: $ rails tickets $ cd tickets $ ruby script/generate scaffold ticket name:string seat…

---

## [Can Ruby 1.9.1 filenames with unicode characters on Windows?](https://www.ruby-forum.com/t/can-ruby-1-9-1-filenames-with-unicode-characters-on-windows/190762)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 2\
**Last updated:** [June 27, 2010, 2:28pm UTC](https://www.ruby-forum.com/t/can-ruby-1-9-1-filenames-with-unicode-characters-on-windows/190762 "2010-06-27T14:28:37Z")

</div>

Can Ruby 1.9.1 finally get a list of filenames if the filenames have unicode characters on Windows? I think back in the Ruby 1.8.6 and 1.8.7 days, that wasn’t possible on Windows.

---

## [State of the union for Ruby CLI libraries?](https://www.ruby-forum.com/t/state-of-the-union-for-ruby-cli-libraries/190254)

<div class="topic-metadata">

**Author:** [@johnf](https://www.ruby-forum.com/u/johnf)\
**Replies:** 17\
**Last updated:** [June 27, 2010, 11:24am UTC](https://www.ruby-forum.com/t/state-of-the-union-for-ruby-cli-libraries/190254 "2010-06-27T11:24:22Z")

</div>

I am starting construction on a somewhat complicated internal application whose primary interface will be the command line. In the past, for similar projects, I’ve just used OptionParser, but I think I need something …

---

## [\[Bug #3485\]\[Closed\] Enumerable#zip returns an array of array](https://www.ruby-forum.com/t/bug-3485-closed-enumerable-zip-returns-an-array-of-array/190770)

<div class="topic-metadata">

**Author:** [@darwin](https://www.ruby-forum.com/u/darwin)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 11:09am UTC](https://www.ruby-forum.com/t/bug-3485-closed-enumerable-zip-returns-an-array-of-array/190770 "2010-06-27T11:09:54Z")

</div>

e$B%A%1%C%He(B #3485 e$B$,99?7$5$l$^$7$?!#e(B (by Marc-Andre L.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B Fixed in r28448 & r28449. Thank you. http://redmine.ruby-lang.org/issues/show/3485

---

## [Erubis 2.6.6 released - a bug fix release](https://www.ruby-forum.com/t/erubis-2-6-6-released-a-bug-fix-release/190767)

<div class="topic-metadata">

**Author:** [@makoto\_kuwata](https://www.ruby-forum.com/u/makoto_kuwata)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 9:35am UTC](https://www.ruby-forum.com/t/erubis-2-6-6-released-a-bug-fix-release/190767 "2010-06-27T09:35:41Z")

</div>

I released Erubis 2.6.6. http://rubyforge.org/frs/?group\_id=1320 http://www.kuwata-lab.com/erubis/ Erubis is another eRuby implementation which is very fast and extensible than ERB and eruby. Changes in this release…

---

## [Random Points within a Circle (#234)](https://www.ruby-forum.com/t/random-points-within-a-circle-234/190425)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 20\
**Last updated:** [June 27, 2010, 7:25am UTC](https://www.ruby-forum.com/t/random-points-within-a-circle-234/190425 "2010-06-27T07:25:45Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this m…

---

## [Odd Issue With DBD::SQLite3 - Inserts Don't Work](https://www.ruby-forum.com/t/odd-issue-with-dbd-sqlite3-inserts-dont-work/190761)

<div class="topic-metadata">

**Author:** [@MaggotChild](https://www.ruby-forum.com/u/MaggotChild)\
**Replies:** 1\
**Last updated:** [June 27, 2010, 3:35am UTC](https://www.ruby-forum.com/t/odd-issue-with-dbd-sqlite3-inserts-dont-work/190761 "2010-06-27T03:35:11Z")

</div>

On Windows XP using Ruby 1.9.1 the following fails to insert: db = DBI.connect(“dbi:SQLite3:#{ARGV.shift}”) s = db.prepare “insert into hits (hit\_id, status\_id, local\_path, remote\_path, created\_at) values (?, ?, ?, ?,…

---

## [RDazzle v1.3.0 released](https://www.ruby-forum.com/t/rdazzle-v1-3-0-released/190725)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 3\
**Last updated:** [June 26, 2010, 11:43pm UTC](https://www.ruby-forum.com/t/rdazzle-v1-3-0-released/190725 "2010-06-26T23:43:59Z")

</div>

= RDazzle home: http://rubyworks.github.com/rdazzle work: GitHub - rubyunworks/rdazzle: Razzle Dazzle Your Document Hassle talk: http://groups.google/group/rubyworks-mailinglist == DESCRIPTION RDazzle is a templat…

---

## [Using ruby as linux shell](https://www.ruby-forum.com/t/using-ruby-as-linux-shell/190758)

<div class="topic-metadata">

**Author:** [@trapper](https://www.ruby-forum.com/u/trapper)\
**Replies:** 2\
**Last updated:** [June 26, 2010, 11:26pm UTC](https://www.ruby-forum.com/t/using-ruby-as-linux-shell/190758 "2010-06-26T23:26:27Z")

</div>

How to access command line parameters of a ruby script?

---

## [Highline giving EOFERROR, input stream exhausted](https://www.ruby-forum.com/t/highline-giving-eoferror-input-stream-exhausted/190709)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 5\
**Last updated:** [June 26, 2010, 9:14pm UTC](https://www.ruby-forum.com/t/highline-giving-eoferror-input-stream-exhausted/190709 "2010-06-26T21:14:44Z")

</div>

I am first taking multiline input from user. User may end input using Ctr-d. Then I use highline’s menu and get: /opt/local/lib/ruby1.9/gems/1.9.1/gems/highline-1.5.2/lib/highline.rb:603:in \`get\_line’: The input stre…

---

## [DNote v1.4.0 released](https://www.ruby-forum.com/t/dnote-v1-4-0-released/190750)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 1\
**Last updated:** [June 26, 2010, 7:08pm UTC](https://www.ruby-forum.com/t/dnote-v1-4-0-released/190750 "2010-06-26T19:08:52Z")

</div>

DNote 1.4.0 has been released. Dnote makes it easy to extract developer’s notes from source code, and supports almost any language. home: http://proutils.github.com/dnote This release adds auto-determination of mar…

---

## [Visual Ruby / Ruby in Steel â€” what's up?](https://www.ruby-forum.com/t/visual-ruby-ruby-in-steel-a-whats-up/190671)

<div class="topic-metadata">

**Author:** [@rogerscardua](https://www.ruby-forum.com/u/rogerscardua)\
**Replies:** 10\
**Last updated:** [June 26, 2010, 6:33pm UTC](https://www.ruby-forum.com/t/visual-ruby-ruby-in-steel-a-whats-up/190671 "2010-06-26T18:33:09Z")

</div>

I’d like to use Visual Studio to work with IronRuby projects. (As a developer and in Ruby, I’m a relative beginner; the group I’m working with is committed to using VS.) Am I correct in understanding that, up until re…

---

## [Local-openid 0.2.0 - Single User, Ephemeral OpenID Provider](https://www.ruby-forum.com/t/local-openid-0-2-0-single-user-ephemeral-openid-provider/190742)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 11:14am UTC](https://www.ruby-forum.com/t/local-openid-0-2-0-single-user-ephemeral-openid-provider/190742 "2010-06-26T11:14:10Z")

</div>

local-openid allows users with shell accounts on servers to authenticate with OpenID consumers by editing a YAML file in their home directory instead of authenticating through HTTP/HTTPS. local-openid: Single User, E…

---

## [\[Bug #3473\]\[Closed\] make clear-installed-list](https://www.ruby-forum.com/t/bug-3473-closed-make-clear-installed-list/190740)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 10:39am UTC](https://www.ruby-forum.com/t/bug-3473-closed-make-clear-installed-list/190740 "2010-06-26T10:39:03Z")

</div>

e$B%A%1%C%He(B #3473 e$B$,99?7$5$l$^$7$?!#e(B (by Nobuyoshi N.) e$B%9%F!\<%?%9e(B Assignede$B$+$ie(BClosede$B$KJQ99e(B fix by r28445 http://redmine.ruby-lang.org/issues/show/3473

---

## [\[Bug #3485\] Enumerable#zip returns an array of array](https://www.ruby-forum.com/t/bug-3485-enumerable-zip-returns-an-array-of-array/190739)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 8:37am UTC](https://www.ruby-forum.com/t/bug-3485-enumerable-zip-returns-an-array-of-array/190739 "2010-06-26T08:37:18Z")

</div>

Bug #3485: Enumerable#zip returns an array of array http://redmine.ruby-lang.org/issues/show/3485 e$B5/I\<\<Te(B: okkez \_ e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: DOC, Target version: 1.9.2 ruby -v…

---

## [Use a string as a method call](https://www.ruby-forum.com/t/use-a-string-as-a-method-call/147159)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 15\
**Last updated:** [June 26, 2010, 7:28am UTC](https://www.ruby-forum.com/t/use-a-string-as-a-method-call/147159 "2010-06-26T07:28:43Z")

</div>

I’m trying to come up with an efficient way of using user input as a way of calling methods. I’m unhappy with the way that I am doing it because it isn’t very flexible. This is what I’m doing now. input = gets.downcas…

---

## [\[Bug #3473\] make clear-installed-list](https://www.ruby-forum.com/t/bug-3473-make-clear-installed-list/190644)

<div class="topic-metadata">

**Author:** [@Usaku\_NAKAMURA](https://www.ruby-forum.com/u/Usaku_NAKAMURA)\
**Replies:** 4\
**Last updated:** [June 26, 2010, 4:13am UTC](https://www.ruby-forum.com/t/bug-3473-make-clear-installed-list/190644 "2010-06-26T04:13:21Z")

</div>

Bug #3473: make clear-installed-list http://redmine.ruby-lang.org/issues/show/3473 e$B5/I\<\<Te(B: Usaku NAKAMURA e$B%9%F!\<%?%9e(B: Assigned, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Nobuyoshi N., e$B%+%F%4%je(B: build, Targ…

---

## [Marshalled data in 1.9](https://www.ruby-forum.com/t/marshalled-data-in-1-9/190625)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 8\
**Last updated:** [June 26, 2010, 2:40am UTC](https://www.ruby-forum.com/t/marshalled-data-in-1-9/190625 "2010-06-26T02:40:53Z")

</div>

Is there the possibility this would fail in 1.9? big = eval(File.read(“out\_inspect.small”)) File.open(“out.marshal”, “w”) do |f| f.write(Marshal.dump(big)) end Marshal.load(File.open(‘out.marshal’, ‘r’)) When I do …

---

## [\[Bug #3473\] make clear-installed-list](https://www.ruby-forum.com/t/bug-3473-make-clear-installed-list/190736)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 2:29am UTC](https://www.ruby-forum.com/t/bug-3473-make-clear-installed-list/190736 "2010-06-26T02:29:46Z")

</div>

e$B%A%1%C%He(B #3473 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.) e$BM%@hEYe(B Normale$B$+$ie(BLowe$B$KJQ99e(B e$B1sF#$G$9!#e(B e$BIaDL$N?M$Oe(B make install e$B$r2?EY$b$7$J$$$7!“e(B.installed.list e$B$,HnBg2=e(B e$B$9$k…

---

## [\[Bug #3472\]\[Closed\] Zlib.#adler32\_combine, Zlib.#crc32\_combine $B$,(B NEWS $B$K:\\$C$F$J$$(B](https://www.ruby-forum.com/t/bug-3472-closed-zlib-adler32-combine-zlib-crc32-combine-b-b-news-b-k-c-f-j-b/190735)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 1:48am UTC](https://www.ruby-forum.com/t/bug-3472-closed-zlib-adler32-combine-zlib-crc32-combine-b-b-news-b-k-c-f-j-b/190735 "2010-06-26T01:48:47Z")

</div>

e$B%A%1%C%He(B #3472 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B This issue was solved with changeset r28443. okkez, thank you for…

---

## [Trunk make test-all reports a lot of Errors](https://www.ruby-forum.com/t/trunk-make-test-all-reports-a-lot-of-errors/190734)

<div class="topic-metadata">

**Author:** [@nagachika](https://www.ruby-forum.com/u/nagachika)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 1:23am UTC](https://www.ruby-forum.com/t/trunk-make-test-all-reports-a-lot-of-errors/190734 "2010-06-26T01:23:02Z")

</div>

e$B:rF|$+$ie(B trunk e$B$Ne(B make test-all e$B$,e(B100e$B$/$i$$$Ne(B Error e$B$r=P$7$F$\*$j$^$9!#e(B test/ruby/envutil.rb e$B$Ge(B ENV.dup e$B$7$F$$$k$N$,860x$N$h$&$G$9!#e(B ENV.clone e$B$G$I$&$G$7$g$&$+!#e(B Index: …

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

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