# Ruby

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

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

---

## [0.01.to\_s -\> "1.0"](https://www.ruby-forum.com/t/0-01-to-s-1-0/176635)

<div class="topic-metadata">

**Author:** [@tam](https://www.ruby-forum.com/u/tam)\
**Replies:** 2\
**Last updated:** [October 17, 2009, 12:03pm UTC](https://www.ruby-forum.com/t/0-01-to-s-1-0/176635 "2009-10-17T12:03:10Z")

</div>

Hi, I located very strange behavior of float under Linux. 0.123 is converted to 123.0 under windows 0.123 is converted correctly to 0.123. Here is samples: ruby -v ruby 1.8.6 (2009-08-04 patchlevel 383) \[i686-lin…

---

## [Texticle 1.0.1 Released](https://www.ruby-forum.com/t/texticle-1-0-1-released/177439)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 1\
**Last updated:** [October 17, 2009, 11:35am UTC](https://www.ruby-forum.com/t/texticle-1-0-1-released/177439 "2009-10-17T11:35:34Z")

</div>

Get ready to tickle some text with texticle! A new version is released! texticle version 1.0.1 has been released! http://texticle.rubyforge.org/ Texticle exposes full text search capabilities from PostgreSQL, and a…

---

## [Test-unit 2.0.4](https://www.ruby-forum.com/t/test-unit-2-0-4/177445)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 0\
**Last updated:** [October 17, 2009, 9:12am UTC](https://www.ruby-forum.com/t/test-unit-2-0-4/177445 "2009-10-17T09:12:12Z")

</div>

Hi, test-unit 2.0.4 has been released: http://test-unit.rubyforge.org/ Install: % sudo gem install test-unit Highlights: This release includes colorized diff (\*1) and TAP (\*2) runner. (\*1) http://test-unit.rubyfor…

---

## [\[Bug #2208\] Exception#inspect $B$N(B message $BIt$,(B inspect $B$5$l$F$$$J$$(B](https://www.ruby-forum.com/t/bug-2208-exception-inspect-b-n-b-message-bit-b-inspect-b-5-l-f-j-b/177266)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 1\
**Last updated:** [October 17, 2009, 5:08am UTC](https://www.ruby-forum.com/t/bug-2208-exception-inspect-b-n-b-message-bit-b-inspect-b-5-l-f-j-b/177266 "2009-10-17T05:08:10Z")

</div>

Bug #2208: Exception#inspect e$B$Ne(B message e$BIt$,e(B inspect e$B$5$l$F$$$J$$e(B http://redmine.ruby-lang.org/issues/show/2208 e$B5/I\<\<Te(B: Yui NARUSE e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B:…

---

## [Code Review: BFX.1](https://www.ruby-forum.com/t/code-review-bfx-1/177440)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [October 17, 2009, 4:25am UTC](https://www.ruby-forum.com/t/code-review-bfx-1/177440 "2009-10-17T04:25:26Z")

</div>

tfpt review “/shelveset:BFX.1;REDMOND\\tomat” Comment : DLR: Fixes ErrorSink to throw SyntaxErrorException only if the severity is FatalError or Error (i.e. not for warnings). Ruby: Fixes bugs: http://ironruby.cod…

---

## [...internal jruby stack elided](https://www.ruby-forum.com/t/internal-jruby-stack-elided/177191)

<div class="topic-metadata">

**Author:** [@joshmoore](https://www.ruby-forum.com/u/joshmoore)\
**Replies:** 9\
**Last updated:** [October 17, 2009, 4:19am UTC](https://www.ruby-forum.com/t/internal-jruby-stack-elided/177191 "2009-10-17T04:19:35Z")

</div>

Hi, I am using JRuby to run rails on the GAE for a couple of months now. Everything has been going fine until recently. Recently I have started to get a bunch of errors with this as the root cause: javax.servlet.Ser…

---

## [Chronic and Time Spans](https://www.ruby-forum.com/t/chronic-and-time-spans/177438)

<div class="topic-metadata">

**Author:** [@MaggotChild](https://www.ruby-forum.com/u/MaggotChild)\
**Replies:** 0\
**Last updated:** [October 17, 2009, 3:15am UTC](https://www.ruby-forum.com/t/chronic-and-time-spans/177438 "2009-10-17T03:15:46Z")

</div>

Chronic.parse ‘past 2 months’, :guess =\> false =\> Sun Aug 16 18:01:15 -0700 2009…Sun Aug 16 18:01:16 -0700 2009 past 2 months represent time spans not a single day. Chronic.parse ‘this past week’, :guess =\> false …

---

## [Code Review: BF.3](https://www.ruby-forum.com/t/code-review-bf-3/177433)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [October 17, 2009, 1:29am UTC](https://www.ruby-forum.com/t/code-review-bf-3/177433 "2009-10-17T01:29:15Z")

</div>

tfpt review “/shelveset:BF.3;REDMOND\\tomat” Comment : DLR: Fixes ScriptScope’s BindSetMember - it needs to convert the result expression to Object. Fixes http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=2…

---

## [Glibc detected \*\*\* ruby: malloc(): memory corruption:](https://www.ruby-forum.com/t/glibc-detected-ruby-malloc-memory-corruption/177430)

<div class="topic-metadata">

**Author:** [@thegoatboy](https://www.ruby-forum.com/u/thegoatboy)\
**Replies:** 1\
**Last updated:** [October 17, 2009, 12:30am UTC](https://www.ruby-forum.com/t/glibc-detected-ruby-malloc-memory-corruption/177430 "2009-10-17T00:30:40Z")

</div>

hello I have been experiencing some problems with my rails site, especially eith rmagick. My images uploaded are wrong, so I thought I would test my rmagick app with a bit of ruby code #!/usr/bin/env ruby -wKU …

---

## [Method parameter modifiers: out and ref](https://www.ruby-forum.com/t/method-parameter-modifiers-out-and-ref/177427)

<div class="topic-metadata">

**Author:** [@James\_Thompson](https://www.ruby-forum.com/u/James_Thompson)\
**Replies:** 2\
**Last updated:** [October 16, 2009, 10:40pm UTC](https://www.ruby-forum.com/t/method-parameter-modifiers-out-and-ref/177427 "2009-10-16T22:40:02Z")

</div>

I am trying to work with a .NET lib that uses ref modifiers on some method params and am not sure how to work with them from Ruby. I know with out modifiers that those parameters become part of the return values, but …

---

## [Osx\_keychain 1.0.0 Released](https://www.ruby-forum.com/t/osx-keychain-1-0-0-released/177425)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 10:21pm UTC](https://www.ruby-forum.com/t/osx-keychain-1-0-0-released/177425 "2009-10-16T22:21:54Z")

</div>

osx\_keychain version 1.0.0 has been released! http://rubyforge.org/projects/seattlerb Provides API and a command line tool to Access the OS X Keychain. The command line tool isn’t actually useful (use security instea…

---

## [Image voodoo failing in jruby 1.4.0RC1](https://www.ruby-forum.com/t/image-voodoo-failing-in-jruby-1-4-0rc1/177422)

<div class="topic-metadata">

**Author:** [@chiefgeek](https://www.ruby-forum.com/u/chiefgeek)\
**Replies:** 1\
**Last updated:** [October 16, 2009, 10:11pm UTC](https://www.ruby-forum.com/t/image-voodoo-failing-in-jruby-1-4-0rc1/177422 "2009-10-16T22:11:57Z")

</div>

Having a problem where image\_voodoo no longer works under jruby 1.4.0RC1, anyone have any idea? /opt/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/image\_voodoo-0.6/lib/image\_voodoo/awt.rb:15:in to\_java': too big for signed b…

---

## [\[Feature #1333\] Delegator \< BasicObject](https://www.ruby-forum.com/t/feature-1333-delegator-basicobject/164269)

<div class="topic-metadata">

**Author:** [@Shyouhei\_U](https://www.ruby-forum.com/u/Shyouhei_U)\
**Replies:** 1\
**Last updated:** [October 16, 2009, 9:56pm UTC](https://www.ruby-forum.com/t/feature-1333-delegator-basicobject/164269 "2009-10-16T21:56:43Z")

</div>

Feature #1333: Delegator \< BasicObject http://redmine.ruby-lang.org/issues/show/1333 e$B5/I\<\<Te(B: Shyouhei U. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low e$B%+%F%4%je(B: lib, Target version: 1.9.2 Delegatore$B$re(BBa…

---

## [Matching against a zillion patterns](https://www.ruby-forum.com/t/matching-against-a-zillion-patterns/177340)

<div class="topic-metadata">

**Author:** [@georgeuoa](https://www.ruby-forum.com/u/georgeuoa)\
**Replies:** 17\
**Last updated:** [October 16, 2009, 9:37pm UTC](https://www.ruby-forum.com/t/matching-against-a-zillion-patterns/177340 "2009-10-16T21:37:23Z")

</div>

i have some script in which i would like to match a string against ‘many’ regular expressions patterns. def group(string) if string=~ /pattern1 |patter2|pattern3|pattern(N)/ #where N =\>100 group =1 else … end en…

---

## [SimpleDelegator.new(0).method(:succ): delegator does not forward private methods](https://www.ruby-forum.com/t/simpledelegator-new-0-method-succ-delegator-does-not-forward-private-methods/177412)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 5:46pm UTC](https://www.ruby-forum.com/t/simpledelegator-new-0-method-succ-delegator-does-not-forward-private-methods/177412 "2009-10-16T17:46:10Z")

</div>

e$B0J2\<$N$h$&$K$7$?$H$-$K!“e(B delegator does not forward private methods e$B$H$$$&7Y9p$,=P$k$N$G$9$,!”$J$s$G$G$7$g$&e(B? % ./ruby -rdelegate -ve ‘p SimpleDelegator.new(0).method(:succ)’ ruby 1.9.2dev (2009-10-16 tru…

---

## [AR\_Extension help](https://www.ruby-forum.com/t/ar-extension-help/177400)

<div class="topic-metadata">

**Author:** [@kingston](https://www.ruby-forum.com/u/kingston)\
**Replies:** 1\
**Last updated:** [October 16, 2009, 5:37pm UTC](https://www.ruby-forum.com/t/ar-extension-help/177400 "2009-10-16T17:37:51Z")

</div>

I using ar\_extensions for mass insertions I found it very effective all I want is to cache the inserted records into the variable when they are inserted something of this kind for a single insert command cached\_recor…

---

## [Joker-1.0.0](https://www.ruby-forum.com/t/joker-1-0-0/177371)

<div class="topic-metadata">

**Author:** [@fstroehle](https://www.ruby-forum.com/u/fstroehle)\
**Replies:** 2\
**Last updated:** [October 16, 2009, 5:22pm UTC](https://www.ruby-forum.com/t/joker-1-0-0/177371 "2009-10-16T17:22:45Z")

</div>

Hi folks, I’m proud to present the new version of Joker, a wildcard (or glob pattern) matching library. This time rewritten in C. Should be fast now… :wink: The featureset is identical to the 0.0.1 version, so no s…

---

## [Best way to work with jruby-complete.jar?](https://www.ruby-forum.com/t/best-way-to-work-with-jruby-complete-jar/177402)

<div class="topic-metadata">

**Author:** [@Heiko\_W.Rupp](https://www.ruby-forum.com/u/Heiko_W.Rupp)\
**Replies:** 2\
**Last updated:** [October 16, 2009, 5:16pm UTC](https://www.ruby-forum.com/t/best-way-to-work-with-jruby-complete-jar/177402 "2009-10-16T17:16:53Z")

</div>

Hi, so I am using jruby-complete.jar in my JSR223 stuff and on the command line I have the jruby install from macports. What is the best way to select everything from jruby-complete.jar here? Especially as I see bin…

---

## [Sys-proctable 0.9.0](https://www.ruby-forum.com/t/sys-proctable-0-9-0/177411)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 4:48pm UTC](https://www.ruby-forum.com/t/sys-proctable-0-9-0/177411 "2009-10-16T16:48:47Z")

</div>

Hi, sys-proctable 0.9.0 has been released! = What is it? A library for getting process table information, i.e. information about the processes running on your system. = Is that it? It also provides a Sys::Top class…

---

## [\[BUG: trunk\] GC mark bug](https://www.ruby-forum.com/t/bug-trunk-gc-mark-bug/177053)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 6\
**Last updated:** [October 16, 2009, 3:41pm UTC](https://www.ruby-forum.com/t/bug-trunk-gc-mark-bug/177053 "2009-10-16T15:41:28Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!0J2\<$N$h$&$K!$e(BGC.stress = true e$B$H$7$Fe(B fileutils e$B$re(B require e$B$9$k$He(B SEGV e$B$7$^$9!%B?J,!$e(Bmark e$B%\_%9$J$s$8$c$J$$$+$H;W$$$^$9!%$h$/$o$+$i$J$$$N$G!$$He(B e$B$j$"$($:EP…

---

## [\[Bug #1904\] cmp required?](https://www.ruby-forum.com/t/bug-1904-cmp-required/173314)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 7\
**Last updated:** [October 16, 2009, 10:17am UTC](https://www.ruby-forum.com/t/bug-1904-cmp-required/173314 "2009-10-16T10:17:46Z")

</div>

Bug #1904: cmp required? http://redmine.ruby-lang.org/issues/show/1904 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low ruby -v: ruby 1.9.2dev (2009-08-06 trunk 24412) \[i386-cygwin\] e$B$\[$:…

---

## [\[Bug #2208\](Assigned) Exception#inspect $B$N(B message $BIt$,(B inspect $B$5$l$F$$$J$$(B](https://www.ruby-forum.com/t/bug-2208-assigned-exception-inspect-b-n-b-message-bit-b-inspect-b-5-l-f-j-b/177394)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 8:17am UTC](https://www.ruby-forum.com/t/bug-2208-assigned-exception-inspect-b-n-b-message-bit-b-inspect-b-5-l-f-j-b/177394 "2009-10-16T08:17:11Z")

</div>

e$B%A%1%C%He(B #2208 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BAssignede$B$KJQ99e(B e$BC4Ev\<Te(B Yui NARUSEe$B$K%;%C%He(B e$B$J$\*!"$3$NLdBj$N=i=P$Oe(B はじめてのにき(2009-10-14) e$B$G$9!#e(B …

---

## [\[ANN\] zena 0.15.0 gem release](https://www.ruby-forum.com/t/ann-zena-0-15-0-gem-release/197004)

<div class="topic-metadata">

**Author:** [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Replies:** 3\
**Last updated:** [October 16, 2009, 7:12am UTC](https://www.ruby-forum.com/t/ann-zena-0-15-0-gem-release/197004 "2009-10-16T07:12:48Z")

</div>

First public release for zena, the CMS with super natural powers ! zena is a Ruby on Rails CMS with a focus on usability, ease of customization and web 2.0 goodness. More information on this release: http://bit.ly/1CR…

---

## [Class Level inheritable attributes - are we there yet?](https://www.ruby-forum.com/t/class-level-inheritable-attributes-are-we-there-yet/177064)

<div class="topic-metadata">

**Author:** [@dreamcat\_four](https://www.ruby-forum.com/u/dreamcat_four)\
**Replies:** 33\
**Last updated:** [October 16, 2009, 5:16am UTC](https://www.ruby-forum.com/t/class-level-inheritable-attributes-are-we-there-yet/177064 "2009-10-16T05:16:56Z")

</div>

Hi, I’m having trouble understanding why this isn’t available from the Ruby core? Does core not provide an alternative / satisfactory implementation of this? clia.rb - Class Level Inheritable Attributes module Clas…

---

## [Ar\_mailer 1.5.0 Released](https://www.ruby-forum.com/t/ar-mailer-1-5-0-released/177382)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 1\
**Last updated:** [October 16, 2009, 5:02am UTC](https://www.ruby-forum.com/t/ar-mailer-1-5-0-released/177382 "2009-10-16T05:02:18Z")

</div>

ar\_mailer version 1.5.0 has been released! http://seattlerb.rubyforge.org/ar\_mailer http://rubyforge.org/projects/seattlerb http://rubyforge.org/tracker/?func=add&group\_id=1513&atid=5921 ar\_mailer is a two-phase deliv…

---

## [Qt. Dialog and main windows location](https://www.ruby-forum.com/t/qt-dialog-and-main-windows-location/177389)

<div class="topic-metadata">

**Author:** [@born\_in\_USSR](https://www.ruby-forum.com/u/born_in_USSR)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 4:51am UTC](https://www.ruby-forum.com/t/qt-dialog-and-main-windows-location/177389 "2009-10-16T04:51:58Z")

</div>

I’m new in Qt. I create main and dialog windows in Qt4 Designer. I want to place dialog window in the middle of main window, and place main window in the center of screen. Is it possible? code: require ‘Qt4’ requi…

---

## [Native Extensions](https://www.ruby-forum.com/t/native-extensions/176849)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 21\
**Last updated:** [October 16, 2009, 4:02am UTC](https://www.ruby-forum.com/t/native-extensions/176849 "2009-10-16T04:02:00Z")

</div>

I noticed on the road-map this item under .NET Interop: \[P3\] COM: for Win32OLE compatibility Is that the same thing as supporting native extensions? If not, is it on the roadmap to support such a thing? Also, is there…

---

## [Ir.exe command line arguments question](https://www.ruby-forum.com/t/ir-exe-command-line-arguments-question/177045)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 2\
**Last updated:** [October 16, 2009, 3:08am UTC](https://www.ruby-forum.com/t/ir-exe-command-line-arguments-question/177045 "2009-10-16T03:08:07Z")

</div>

Hi there, I’m going through ir.exe’s command line arguments and I have a few questions: -X:AutoIndent and -X:TabCompletion are currently not implemented. Are they in the plans for V1? -save \[path\] what does it do? …

---

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

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 1\
**Last updated:** [October 16, 2009, 1:59am UTC](https://www.ruby-forum.com/t/re-what-is-the-difference-between-ir-and-iirb/177002 "2009-10-16T01:59:38Z")

</div>

Iirb is actually a library and has more features. Iirb: can set the prompt in a .irbrc file can be nested (you can start a new irb session from within irb, even giving it a new target object to use as self) as a libr…

---

## [Output file name based on original file name](https://www.ruby-forum.com/t/output-file-name-based-on-original-file-name/177369)

<div class="topic-metadata">

**Author:** [@cidol](https://www.ruby-forum.com/u/cidol)\
**Replies:** 2\
**Last updated:** [October 15, 2009, 11:54pm UTC](https://www.ruby-forum.com/t/output-file-name-based-on-original-file-name/177369 "2009-10-15T23:54:21Z")

</div>

I have a simple txt parsing script that I’d like to have the output be named after the original text file. original = original.txt output = original\_output.txt I’m just doing a simple file.open, and couldn’t find any…

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

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