# Ruby

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

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

---

## [JRuby 1.4.0RC3 Released](https://www.ruby-forum.com/t/jruby-1-4-0rc3-released/178092)

<div class="topic-metadata">

**Author:** [@Thomas\_E\_Enebo](https://www.ruby-forum.com/u/Thomas_E_Enebo)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 11:33pm UTC](https://www.ruby-forum.com/t/jruby-1-4-0rc3-released/178092 "2009-10-28T23:33:44Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.4.0RC3 Homepage: http://www.jruby.org/ Download: Downloads — JRuby.org Third time is a charm! Actually, this third release candidate is largely for …

---

## [IronMagick](https://www.ruby-forum.com/t/ironmagick/178083)

<div class="topic-metadata">

**Author:** [@Seo\_S](https://www.ruby-forum.com/u/Seo_S)\
**Replies:** 1\
**Last updated:** [October 28, 2009, 11:09pm UTC](https://www.ruby-forum.com/t/ironmagick/178083 "2009-10-28T23:09:43Z")

</div>

Motivated by recent discussion, here is four hours hack… I implemented RMagick API just enough to run a Gruff graph library example. http://nubyonrails.com/pages/gruff/ You can compare these two pictures to gauge th…

---

## [Scrubyt fails](https://www.ruby-forum.com/t/scrubyt-fails/176474)

<div class="topic-metadata">

**Author:** [@white](https://www.ruby-forum.com/u/white)\
**Replies:** 2\
**Last updated:** [October 28, 2009, 10:59pm UTC](https://www.ruby-forum.com/t/scrubyt-fails/176474 "2009-10-28T22:59:07Z")

</div>

Hi there, I’m trying to use Scrubyt for my project however it fails on me. I took the source code sample from the Wiki: require ‘rubygems’ require ‘scrubyt’ google\_data = Scrubyt::Extractor.define do #Perform the…

---

## [Code Review: Scopes3](https://www.ruby-forum.com/t/code-review-scopes3/178082)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 10:36pm UTC](https://www.ruby-forum.com/t/code-review-scopes3/178082 "2009-10-28T22:36:21Z")

</div>

tfpt review “/shelveset:Scopes3;REDMOND\\tomat” Comment : DLR: Misc fixes to Hosting API: Implements BindInvokeMember on ScopeStorage. Makes ScriptScope constructor internal. ObjectOperations.GetMember … performs la…

---

## [FFI and pointers](https://www.ruby-forum.com/t/ffi-and-pointers/178065)

<div class="topic-metadata">

**Author:** [@Thorsten\_H](https://www.ruby-forum.com/u/Thorsten_H)\
**Replies:** 2\
**Last updated:** [October 28, 2009, 10:05pm UTC](https://www.ruby-forum.com/t/ffi-and-pointers/178065 "2009-10-28T22:05:20Z")

</div>

Hello, I’m playing around with FFI and encountered a problem, I could not solve till now. Let’s assume I use standard C’s malloc in my wrapper: attach\_function :malloc, \[:int\], :pointer so far no problem. But what n…

---

## [Miniruby](https://www.ruby-forum.com/t/miniruby/177994)

<div class="topic-metadata">

**Author:** [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Replies:** 5\
**Last updated:** [October 28, 2009, 9:53pm UTC](https://www.ruby-forum.com/t/miniruby/177994 "2009-10-28T21:53:29Z")

</div>

Is miniruby needed to install ruby for Unix? If so, where can I find it? Thanks.

---

## [Are you interested?](https://www.ruby-forum.com/t/are-you-interested/178081)

<div class="topic-metadata">

**Author:** [@Number0nE](https://www.ruby-forum.com/u/Number0nE)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 9:30pm UTC](https://www.ruby-forum.com/t/are-you-interested/178081 "2009-10-28T21:30:48Z")

</div>

Watch free tv online 320 channels from 32 countries http://www.mwk-g.info

---

## [Re: class model question](https://www.ruby-forum.com/t/re-class-model-question/178079)

<div class="topic-metadata">

**Author:** [@Dosanjh\_Gurdipe](https://www.ruby-forum.com/u/Dosanjh_Gurdipe)\
**Replies:** 2\
**Last updated:** [October 28, 2009, 8:55pm UTC](https://www.ruby-forum.com/t/re-class-model-question/178079 "2009-10-28T20:55:33Z")

</div>

Hi All, Re: re: class model question I’m new to ruby and trying to build a quick application using instant rails I want to create an application that lets you add a persons details, addresses and contacts such as mo…

---

## [Ruby debug version](https://www.ruby-forum.com/t/ruby-debug-version/178077)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 8:45pm UTC](https://www.ruby-forum.com/t/ruby-debug-version/178077 "2009-10-28T20:45:25Z")

</div>

Hi all. I’ve been toying with the idea of creating a patched version of ruby that is “debug friendly” for helping find leaks, et al. Some ideas for it would be: enable GC\_DEBUG so you can know which ruby line create…

---

## [Return values in rdoc method header](https://www.ruby-forum.com/t/return-values-in-rdoc-method-header/178057)

<div class="topic-metadata">

**Author:** [@leveille](https://www.ruby-forum.com/u/leveille)\
**Replies:** 2\
**Last updated:** [October 28, 2009, 7:51pm UTC](https://www.ruby-forum.com/t/return-values-in-rdoc-method-header/178057 "2009-10-28T19:51:04Z")

</div>

The rdoc heading for Array\[index\] method says: array\[index\] = obj â†’ obj and for String.new: String.new(str="") =\> new\_str When I document my own classes, how do I make the part that shows return values with the ar…

---

## [Is this a bug?](https://www.ruby-forum.com/t/is-this-a-bug/178063)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [October 28, 2009, 7:18pm UTC](https://www.ruby-forum.com/t/is-this-a-bug/178063 "2009-10-28T19:18:31Z")

</div>

unpack jruby… rdp@li49-39:~/dev/downloads/jruby-1.4.0RC2/bin$ ./gem install ruby\_core\_ri --source=http://gemcutter.org /usr/bin/env: jruby: No such file or directory ? Thanks. -r

---

## [Ruby IDE ScriptDev V2.3 released](https://www.ruby-forum.com/t/ruby-ide-scriptdev-v2-3-released/178056)

<div class="topic-metadata">

**Author:** [@x\_yf](https://www.ruby-forum.com/u/x_yf)\
**Replies:** 2\
**Last updated:** [October 28, 2009, 7:18pm UTC](https://www.ruby-forum.com/t/ruby-ide-scriptdev-v2-3-released/178056 "2009-10-28T19:18:31Z")

</div>

ScriptDev is developed by a powerful scripting language integrated development environment(IDE), can be used for Python, Ruby, Lua, Tcl, Perl, etc. scripting language, such as the development and debugging. ScriptDev …

---

## [sockaddr\_storage$B$N%a%s%P(B](https://www.ruby-forum.com/t/sockaddr-storage-b-n-a-s-p-b/177414)

<div class="topic-metadata">

**Author:** [@Yutaka\_K](https://www.ruby-forum.com/u/Yutaka_K)\
**Replies:** 3\
**Last updated:** [October 28, 2009, 5:46pm UTC](https://www.ruby-forum.com/t/sockaddr-storage-b-n-a-s-p-b/177414 "2009-10-28T17:46:00Z")

</div>

e$B6bK$H?=$7$^$9!#e(B AIXe$B$Ge(Bss\_lene$B$,$J$$$H$$$o$l$Fe(Bsocket.soe$B$,$D$/$l$J$$$N$G$9$,!"e(B e$B%a%s%P$rD4$Y$F$\_$k$H!"e(Bss\_familye$B$He(B\_\_ss\_lene$B$H$$$&AH$\_9g$o$;$G$7$?!#e(B e$B8=\>ue(Bext/socket/extconf.rbe$B…

---

## [Marshal erro with non ascii chars](https://www.ruby-forum.com/t/marshal-erro-with-non-ascii-chars/177975)

<div class="topic-metadata">

**Author:** [@marcelocavaco](https://www.ruby-forum.com/u/marcelocavaco)\
**Replies:** 3\
**Last updated:** [October 28, 2009, 5:07pm UTC](https://www.ruby-forum.com/t/marshal-erro-with-non-ascii-chars/177975 "2009-10-28T17:07:42Z")

</div>

first. sorry about my english. i dont speak english very well. please, someone help me… i have an array with 2 colums. ex: myfiles\[1\] = name of file myfiles\[2\] = text of file i used marshal.dump in this array. lat…

---

## [Help With Homework Code](https://www.ruby-forum.com/t/help-with-homework-code/178028)

<div class="topic-metadata">

**Author:** [@rickbocas](https://www.ruby-forum.com/u/rickbocas)\
**Replies:** 10\
**Last updated:** [October 28, 2009, 4:59pm UTC](https://www.ruby-forum.com/t/help-with-homework-code/178028 "2009-10-28T16:59:44Z")

</div>

Another user posted a question about a dice game earlier. I have this same assignment. The goal of the assignment is the create a program to roll two dice, add the number of those dice to the score, and if you get a 1…

---

## [Regexp: rubular VS match. Why is the result different?](https://www.ruby-forum.com/t/regexp-rubular-vs-match-why-is-the-result-different/178050)

<div class="topic-metadata">

**Author:** [@spitfire](https://www.ruby-forum.com/u/spitfire)\
**Replies:** 4\
**Last updated:** [October 28, 2009, 4:01pm UTC](https://www.ruby-forum.com/t/regexp-rubular-vs-match-why-is-the-result-different/178050 "2009-10-28T16:01:42Z")

</div>

I have to capture by means of regexp the content between ‘\<’ and ‘\>’ as instance: str = ‘anystringanystringanystringanystring’ I need the array\[‘hour’,'min,‘sec’\] I have written the regexp: /(\<(\[^\<\>\]+)\>)+/ and I hav…

---

## [Ruby FFI: fixed size char array inside struct](https://www.ruby-forum.com/t/ruby-ffi-fixed-size-char-array-inside-struct/178030)

<div class="topic-metadata">

**Author:** [@daniel\_SSSSkerud](https://www.ruby-forum.com/u/daniel_SSSSkerud)\
**Replies:** 1\
**Last updated:** [October 28, 2009, 2:32pm UTC](https://www.ruby-forum.com/t/ruby-ffi-fixed-size-char-array-inside-struct/178030 "2009-10-28T14:32:10Z")

</div>

(I dind’t find an official Ruby FFI mailing-list so I try here) I have a char array baked into a struct (not a pointer), and I have problems describing it in a layout. struct { uint8 Value; uint8 String\[SIZE\_OF\_ARRA…

---

## [Issue with ActionMailer that appears to run deep](https://www.ruby-forum.com/t/issue-with-actionmailer-that-appears-to-run-deep/177993)

<div class="topic-metadata">

**Author:** [@James\_Thompson](https://www.ruby-forum.com/u/James_Thompson)\
**Replies:** 2\
**Last updated:** [October 28, 2009, 2:00pm UTC](https://www.ruby-forum.com/t/issue-with-actionmailer-that-appears-to-run-deep/177993 "2009-10-28T14:00:33Z")

</div>

I just posted an issue: http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=2946 It looks like something is going odd between the UTC method defined in TimeOps.cs and the RACC parser. Anyone who understands the…

---

## [Scope Missunderstanding](https://www.ruby-forum.com/t/scope-missunderstanding/177998)

<div class="topic-metadata">

**Author:** [@Mex\_Noob\_Y](https://www.ruby-forum.com/u/Mex_Noob_Y)\
**Replies:** 3\
**Last updated:** [October 28, 2009, 10:54am UTC](https://www.ruby-forum.com/t/scope-missunderstanding/177998 "2009-10-28T10:54:43Z")

</div>

i got a module x and then a class z and inside this class i do a Net::HTTP call and it looks for it inside module x … and i am clueless… i get uninitialized constant ModuleX::Net::HTTP i am new to ruby… and i just do…

---

## [Try to copy text between two know string](https://www.ruby-forum.com/t/try-to-copy-text-between-two-know-string/177884)

<div class="topic-metadata">

**Author:** [@ahmad](https://www.ruby-forum.com/u/ahmad)\
**Replies:** 4\
**Last updated:** [October 28, 2009, 9:17am UTC](https://www.ruby-forum.com/t/try-to-copy-text-between-two-know-string/177884 "2009-10-28T09:17:13Z")

</div>

Hello, I have a sample text, like this; eg; def test = 100; puts test (1…10).each { |i| puts i } end how can I copy the text in range between ‘def’ and ‘end’, which are test = 100; puts test (1…10).each { |i| …

---

## [Watir or selenium](https://www.ruby-forum.com/t/watir-or-selenium/177983)

<div class="topic-metadata">

**Author:** [@erika](https://www.ruby-forum.com/u/erika)\
**Replies:** 5\
**Last updated:** [October 28, 2009, 8:58am UTC](https://www.ruby-forum.com/t/watir-or-selenium/177983 "2009-10-28T08:58:29Z")

</div>

Hi, I’m searching any info of comparing Watir and Selenium. I have found a lot of usefull links&tips on the internet, but if you have some recent comparison of these two let me know. Many thanks, E.

---

## [\[Bug #2302\] Encoding.filesystem\_encoding](https://www.ruby-forum.com/t/bug-2302-encoding-filesystem-encoding/178026)

<div class="topic-metadata">

**Author:** [@Usaku\_NAKAMURA](https://www.ruby-forum.com/u/Usaku_NAKAMURA)\
**Replies:** 2\
**Last updated:** [October 28, 2009, 8:37am UTC](https://www.ruby-forum.com/t/bug-2302-encoding-filesystem-encoding/178026 "2009-10-28T08:37:26Z")

</div>

Bug #2302: Encoding.filesystem\_encoding http://redmine.ruby-lang.org/issues/show/2302 e$B5/I\<\<Te(B: Usaku NAKAMURA e$B%9%F!\<%?%9e(B: Assigned, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Yui NARUSE, e$B%+%F%4%je(B: M17N, Targ…

---

## [Hey I need help with my code](https://www.ruby-forum.com/t/hey-i-need-help-with-my-code/178021)

<div class="topic-metadata">

**Author:** [@bguan](https://www.ruby-forum.com/u/bguan)\
**Replies:** 4\
**Last updated:** [October 28, 2009, 5:49am UTC](https://www.ruby-forum.com/t/hey-i-need-help-with-my-code/178021 "2009-10-28T05:49:25Z")

</div>

Hello guys I am doing a little something for class but I need help Okay the point of the game is to roll to random dice and if the dice lands on \[one\] you lose or if you dont you get to add up the two sums of what you…

---

## [Git pull complete](https://www.ruby-forum.com/t/git-pull-complete/178011)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 12:30am UTC](https://www.ruby-forum.com/t/git-pull-complete/178011 "2009-10-28T00:30:19Z")

</div>

I’ve successfully pulled in changes from Shri, Jimmy, Ivan and myself, with a couple modifications. I’ve reverted Ivan’s change to FileOps.cs since it caused tests to fail across the board. Jimmy reverted my deletion…

---

## [Array#collect in a method call, not working for me](https://www.ruby-forum.com/t/array-collect-in-a-method-call-not-working-for-me/177878)

<div class="topic-metadata">

**Author:** [@roa](https://www.ruby-forum.com/u/roa)\
**Replies:** 8\
**Last updated:** [October 28, 2009, 12:18am UTC](https://www.ruby-forum.com/t/array-collect-in-a-method-call-not-working-for-me/177878 "2009-10-28T00:18:21Z")

</div>

I am sure I’m making a newbie mistake, as I’ve just started learning Ruby, and would really appreciate someone pointing out what I’ve done wrong, why it is wrong, and how it should be done. Thanks in advance. I am wri…

---

## [SQL Shell for MS Access](https://www.ruby-forum.com/t/sql-shell-for-ms-access/177971)

<div class="topic-metadata">

**Author:** [@azgar](https://www.ruby-forum.com/u/azgar)\
**Replies:** 10\
**Last updated:** [October 27, 2009, 11:00pm UTC](https://www.ruby-forum.com/t/sql-shell-for-ms-access/177971 "2009-10-27T23:00:10Z")

</div>

What I want is an SQL command prompt allowing me to run SQL queries against an Access .mdb. I thought that Ruby/DBI included a sqlsh.rb script that essentially did this, but no matter how I install Ruby/DBI I can’t fi…

---

## [\[ANN\] bitescript 0.0.4 Released](https://www.ruby-forum.com/t/ann-bitescript-0-0-4-released/178009)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 10:58pm UTC](https://www.ruby-forum.com/t/ann-bitescript-0-0-4-released/178009 "2009-10-27T22:58:25Z")

</div>

bitescript version 0.0.4 has been released! http://kenai.com/projects/jvmscript BiteScript is a Ruby DSL for generating Java bytecode and classes. Changes: 0.0.4 / 2009-10-27 Multiple improvements to support Duby …

---

## [Fukuoka Ruby Award - Now Accepting Applications](https://www.ruby-forum.com/t/fukuoka-ruby-award-now-accepting-applications/178006)

<div class="topic-metadata">

**Author:** [@Invest\_Fukuoka\_N](https://www.ruby-forum.com/u/Invest_Fukuoka_N)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 9:56pm UTC](https://www.ruby-forum.com/t/fukuoka-ruby-award-now-accepting-applications/178006 "2009-10-27T21:56:06Z")

</div>

Fukuoka Ruby Award http://www.f-rubyaward.com/index\_en.html The Government of Fukuoka Japan, together with the Fukuoka Ruby Award Selection Committee, is excited to announce the opening of the 2010 Fukuoka Ruby Award…

---

## [\[Bug #1837\] Test failure (test\_block.rb) in Ruby 1.9.2 preview1 on FreeBSD 6.0](https://www.ruby-forum.com/t/bug-1837-test-failure-test-block-rb-in-ruby-1-9-2-preview1-on-freebsd-6-0/172940)

<div class="topic-metadata">

**Author:** [@Hiroshi\_Ichikawa](https://www.ruby-forum.com/u/Hiroshi_Ichikawa)\
**Replies:** 2\
**Last updated:** [October 27, 2009, 7:13pm UTC](https://www.ruby-forum.com/t/bug-1837-test-failure-test-block-rb-in-ruby-1-9-2-preview1-on-freebsd-6-0/172940 "2009-10-27T19:13:37Z")

</div>

Bug #1837: Test failure (test\_block.rb) in Ruby 1.9.2 preview1 on FreeBSD 6.0 http://redmine.ruby-lang.org/issues/show/1837 e$B5/I\<\<Te(B: Hiroshi Ichikawa e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low e$B%+%F%4%je(B: co…

---

## [\[Bug #1406\](Rejected) i386-freebsd5.4 $B$G(B ruby\_1\_9\_1 $B$,%3%s%Q%$%k$G$-$J$$(B](https://www.ruby-forum.com/t/bug-1406-rejected-i386-freebsd5-4-b-g-b-ruby-1-9-1-b-3-s-q-k-g-j-b/177995)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 6:53pm UTC](https://www.ruby-forum.com/t/bug-1406-rejected-i386-freebsd5-4-b-g-b-ruby-1-9-1-b-3-s-q-k-g-j-b/177995 "2009-10-27T18:53:07Z")

</div>

e$B%A%1%C%He(B #1406 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 e$B7zA0$H$7$F$O!“e(BFreeBSD 5.4 e$B$O%5%\]!\<%H$7$F$$$k%W%i%C%H%U%)!\<%\`$G$O$”$j$^$;$s!#e(B e$B!Ve(BFreeB…

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

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