# Ruby

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

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

---

## [Cannot do a universal build of Ruby 1.9.2 on MAC OS X 10.6](https://www.ruby-forum.com/t/cannot-do-a-universal-build-of-ruby-1-9-2-on-mac-os-x-10-6/191365)

<div class="topic-metadata">

**Author:** [@zengr](https://www.ruby-forum.com/u/zengr)\
**Replies:** 1\
**Last updated:** [July 10, 2010, 5:13pm UTC](https://www.ruby-forum.com/t/cannot-do-a-universal-build-of-ruby-1-9-2-on-mac-os-x-10-6/191365 "2010-07-10T17:13:07Z")

</div>

Hello, I have downloaded ruby-1.9.2-rc1.tar.gz from here: ftp://ftp.ruby-lang.org/pub/ruby/ I am trying to build it on 64bit mac osx, 10.6 in 32 bit kernel mode. (uname -m gives i386) I do the following: ./configu…

---

## [Rainbows! 0.95.0 - sendfile() support!](https://www.ruby-forum.com/t/rainbows-0-95-0-sendfile-support/191363)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 1\
**Last updated:** [July 10, 2010, 12:14pm UTC](https://www.ruby-forum.com/t/rainbows-0-95-0-sendfile-support/191363 "2010-07-10T12:14:02Z")

</div>

Rainbows! is an HTTP server for sleepy Rack applications. It is based on Unicorn, but designed to handle applications that expect long request/response times and/or slow clients. http://rainbows.rubyforge.org/ remo…

---

## [SmartImage 0.0.4 - simple yet powerful cross-platform thumbnail generation and image manipulation i](https://www.ruby-forum.com/t/smartimage-0-0-4-simple-yet-powerful-cross-platform-thumbnail-generation-and-image-manipulation-i/191357)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 0\
**Last updated:** [July 10, 2010, 6:13am UTC](https://www.ruby-forum.com/t/smartimage-0-0-4-simple-yet-powerful-cross-platform-thumbnail-generation-and-image-manipulation-i/191357 "2010-07-10T06:13:30Z")

</div>

“It’s like a Swiss Army Knife for images, but one of those tiny ones you can keep on your keychain” AND YES, it works with Rails! SmartImage is an image processing/compositing/thumbnailing Ruby with the following des…

---

## [Sqlite3-ruby 1.3.1 Released](https://www.ruby-forum.com/t/sqlite3-ruby-1-3-1-released/191353)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 10, 2010, 5:40am UTC](https://www.ruby-forum.com/t/sqlite3-ruby-1-3-1-released/191353 "2010-07-10T05:40:44Z")

</div>

sqlite3-ruby version 1.3.1 has been released! http://github.com/luislavena/sqlite3-ruby http://rubyforge.org/projects/sqlite-ruby http://sqlite-ruby.rubyforge.org http://groups.google.com/group/sqlite3-ruby This modul…

---

## [Code Review: CP4752](https://www.ruby-forum.com/t/code-review-cp4752/191352)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [July 10, 2010, 3:16am UTC](https://www.ruby-forum.com/t/code-review-cp4752/191352 "2010-07-10T03:16:11Z")

</div>

tfpt review “/shelveset:CP4752;REDMOND\\tomat” Comment : Fixes http://ironruby.codeplex.com/workitem/4752. Tomas

---

## [FIRST PROGRAMMING PROBLEM Array](https://www.ruby-forum.com/t/first-programming-problem-array/191333)

<div class="topic-metadata">

**Author:** [@cisco](https://www.ruby-forum.com/u/cisco)\
**Replies:** 11\
**Last updated:** [July 10, 2010, 1:44am UTC](https://www.ruby-forum.com/t/first-programming-problem-array/191333 "2010-07-10T01:44:42Z")

</div>

Hi…I’m trying to solve a very simple exercise but this is one of my first tasks and I can’t manage to find a solution. I have a txt file and I have to write a method which; given the txt file as an entry argument retu…

---

## [Telnet api in ruby](https://www.ruby-forum.com/t/telnet-api-in-ruby/128765)

<div class="topic-metadata">

**Author:** [@supriyaiiita](https://www.ruby-forum.com/u/supriyaiiita)\
**Replies:** 1\
**Last updated:** [July 9, 2010, 9:21pm UTC](https://www.ruby-forum.com/t/telnet-api-in-ruby/128765 "2010-07-09T21:21:33Z")

</div>

Hi, Im trying to write a telnet client that will telnet to a switch in ruby. the code im using is: localhost = Net::Telnet::new(“Host” =\> “10.76.151.193”, “Timeout” =\> 10, “Prompt” =\> /\[#\>:\]/n) { |resp| print "==\> …

---

## [Jruby with threads](https://www.ruby-forum.com/t/jruby-with-threads/191264)

<div class="topic-metadata">

**Author:** [@jinleileiking](https://www.ruby-forum.com/u/jinleileiking)\
**Replies:** 4\
**Last updated:** [July 9, 2010, 7:54pm UTC](https://www.ruby-forum.com/t/jruby-with-threads/191264 "2010-07-09T19:54:46Z")

</div>

Thread.new do 5.times do |time| link = Thread.new do p time p “link:#{link}” while true sleep(5) end end end end while true end outputs: 0 “link:#Thread:0x1021f34” 1 “link:#Thread:0x163956” 2 “…

---

## [RUBY\_VERSION\_\* macros in C?](https://www.ruby-forum.com/t/ruby-version-macros-in-c/191324)

<div class="topic-metadata">

**Author:** [@quintus](https://www.ruby-forum.com/u/quintus)\
**Replies:** 2\
**Last updated:** [July 9, 2010, 7:16pm UTC](https://www.ruby-forum.com/t/ruby-version-macros-in-c/191324 "2010-07-09T19:16:42Z")

</div>

Hi there, I’m trying to create a C extension that compiles for both Ruby 1.8 and 1.9. As far as I know, there should be the macros RUBY\_VERSION\_MAJOR, RUBY\_VERSION\_MINOR and RUBY\_VERSION\_TINY to check with which Ruby …

---

## [FuseFS raw\_write never call](https://www.ruby-forum.com/t/fusefs-raw-write-never-call/191329)

<div class="topic-metadata">

**Author:** [@luis](https://www.ruby-forum.com/u/luis)\
**Replies:** 1\
**Last updated:** [July 9, 2010, 6:50pm UTC](https://www.ruby-forum.com/t/fusefs-raw-write-never-call/191329 "2010-07-09T18:50:55Z")

</div>

I have the following problem: I am newbie use FuseFS and i make a little script to create a FS from a table in a database the FS is mounted ok but don’t let me edit any file, when I treat to save de file raise “Permi…

---

## [New, but this seems odd](https://www.ruby-forum.com/t/new-but-this-seems-odd/191205)

<div class="topic-metadata">

**Author:** [@rawroe](https://www.ruby-forum.com/u/rawroe)\
**Replies:** 5\
**Last updated:** [July 9, 2010, 4:50pm UTC](https://www.ruby-forum.com/t/new-but-this-seems-odd/191205 "2010-07-09T16:50:49Z")

</div>

Ok, granted that I’m pretty new to ruby, but this seems odd to me: irb(main):001:0\> x = \[1,2,3\] =\> \[1, 2, 3\] irb(main):002:0\> x.delete 2 =\> 2 irb(main):003:0\> x =\> \[1, 3\] With this behavior, wouldn’t “delete!” be …

---

## [Glassfish gem missing require in config.rb?](https://www.ruby-forum.com/t/glassfish-gem-missing-require-in-config-rb/191319)

<div class="topic-metadata">

**Author:** [@Luc\_T](https://www.ruby-forum.com/u/Luc_T)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 3:38pm UTC](https://www.ruby-forum.com/t/glassfish-gem-missing-require-in-config-rb/191319 "2010-07-09T15:38:10Z")

</div>

Hi all, Just to let you know that in the glassfish-1.0.2-universal-java gem I had to add: require ‘fileutils’ in config.rb to get it to work.

---

## [Best way to make .rb into an executable for linux?](https://www.ruby-forum.com/t/best-way-to-make-rb-into-an-executable-for-linux/191164)

<div class="topic-metadata">

**Author:** [@mickey](https://www.ruby-forum.com/u/mickey)\
**Replies:** 10\
**Last updated:** [July 9, 2010, 1:25pm UTC](https://www.ruby-forum.com/t/best-way-to-make-rb-into-an-executable-for-linux/191164 "2010-07-09T13:25:47Z")

</div>

I have a pretty basic .rb script that I would like to turn into an executable. What is the best way to do this for Linux? I have no intentions of cross compatibility, so I don’t care if it won’t work for Windows or …

---

## [Changing registry values with Win32::Registry](https://www.ruby-forum.com/t/changing-registry-values-with-win32-registry/106879)

<div class="topic-metadata">

**Author:** [@cidol](https://www.ruby-forum.com/u/cidol)\
**Replies:** 11\
**Last updated:** [July 9, 2010, 7:34am UTC](https://www.ruby-forum.com/t/changing-registry-values-with-win32-registry/106879 "2010-07-09T07:34:49Z")

</div>

I’m trying to change a registry value for an IPTV SDK This code: Win32::Registry::HKEY\_LOCAL\_MACHINE.open("SOFTWARE\\PATH\_TO\_KEY ").write(“IgnoreTinyIFrames”,Win32::Registry::REG\_DWORD,0) Returns this error: Win32::R…

---

## [MiniTest test case execution](https://www.ruby-forum.com/t/minitest-test-case-execution/191136)

<div class="topic-metadata">

**Author:** [@george\_thomas](https://www.ruby-forum.com/u/george_thomas)\
**Replies:** 4\
**Last updated:** [July 9, 2010, 5:36am UTC](https://www.ruby-forum.com/t/minitest-test-case-execution/191136 "2010-07-09T05:36:57Z")

</div>

Hi, I have MiniTest derived class to run the test cases. Its something as follows class CustomClass \< MiniTest::Unit::TestCase def test1 end def test2 end … … def testn end end My requirement is that if the …

---

## [Code Review: RenameStorageSetVariable](https://www.ruby-forum.com/t/code-review-renamestoragesetvariable/191296)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 3:59am UTC](https://www.ruby-forum.com/t/code-review-renamestoragesetvariable/191296 "2010-07-09T03:59:11Z")

</div>

tfpt review “/shelveset:RenameStorageSetVariable;REDMOND\\tomat” Comment : Renames ScopeStorage.GetVariable to GetScopeVariable to avoid conflict with ScriptScope.GetVariable on dynamic lookup. Tomas

---

## [Standalone Ruby executable with GUI](https://www.ruby-forum.com/t/standalone-ruby-executable-with-gui/191269)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 5\
**Last updated:** [July 9, 2010, 3:26am UTC](https://www.ruby-forum.com/t/standalone-ruby-executable-with-gui/191269 "2010-07-09T03:26:31Z")

</div>

I have been using Ruby in a Rails environment. Now I would like to create a (fairly simple) standalone application and I would love to hear suggestions as to the best environment and tools for my problem. Cross platfo…

---

## [July Phoenix Ruby User Group Meeting](https://www.ruby-forum.com/t/july-phoenix-ruby-user-group-meeting/191294)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 2:35am UTC](https://www.ruby-forum.com/t/july-phoenix-ruby-user-group-meeting/191294 "2010-07-09T02:35:30Z")

</div>

July Phoenix Ruby U. Group Meeting When: Monday, July 12, 2010 6:30pm door open. Laptop power and WiFi available. 7:00pm Show time 8:30pm Migrate to Four Peaks Brewery Topic: No topic, unless someone offers to giv…

---

## [Gem for hsqldb version 2.0 would be great](https://www.ruby-forum.com/t/gem-for-hsqldb-version-2-0-would-be-great/191263)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [July 8, 2010, 11:49pm UTC](https://www.ruby-forum.com/t/gem-for-hsqldb-version-2-0-would-be-great/191263 "2010-07-08T23:49:52Z")

</div>

hi, hsqldb version 2.0 is released - http://hsqldb.org/ is it possible that someone (Nick maybe) pushes an updated version of the jdbc-hsqldb gem ?? thanx, Kristian To unsubscribe from this list, please visit: ht…

---

## [Ri and rdoc....like perldoc?](https://www.ruby-forum.com/t/ri-and-rdoc-like-perldoc/191234)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 7\
**Last updated:** [July 8, 2010, 9:29pm UTC](https://www.ruby-forum.com/t/ri-and-rdoc-like-perldoc/191234 "2010-07-08T21:29:42Z")

</div>

Hi All, Will anyone kindly help? I want to get my ruby docs fully functional, meaning I can view any type of help on methods, keywords, etc. As in Perl I can type perldoc perlop or perldoc -f chomp. The latter give…

---

## [Ruby Expect](https://www.ruby-forum.com/t/ruby-expect/191284)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 2\
**Last updated:** [July 8, 2010, 9:28pm UTC](https://www.ruby-forum.com/t/ruby-expect/191284 "2010-07-08T21:28:30Z")

</div>

I have a expect scripts that I use to get from system to system, and would like to translate them into Ruby. These scripts I use to ssh into a system, setup environment variables and aliases that then turn over contro…

---

## [Error with Marshal.dump/load](https://www.ruby-forum.com/t/error-with-marshal-dump-load/191087)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 4\
**Last updated:** [July 8, 2010, 9:27pm UTC](https://www.ruby-forum.com/t/error-with-marshal-dump-load/191087 "2010-07-08T21:27:35Z")

</div>

Hello, I am trying to write a custom Activesupport:Cache store which uses Marshal.load/dump to load/dump data into the cache store. When using an external java application memory store and doing a “put” i get the fo…

---

## [\[Bug #3551\] REXML::Document#add uses undefined method 'kind\_of'](https://www.ruby-forum.com/t/bug-3551-rexml-document-add-uses-undefined-method-kind-of/191281)

<div class="topic-metadata">

**Author:** [@asarih](https://www.ruby-forum.com/u/asarih)\
**Replies:** 1\
**Last updated:** [July 8, 2010, 7:50pm UTC](https://www.ruby-forum.com/t/bug-3551-rexml-document-add-uses-undefined-method-kind-of/191281 "2010-07-08T19:50:24Z")

</div>

Bug #3551: REXML::Document#add uses undefined method ‘kind\_of’ http://redmine.ruby-lang.org/issues/show/3551 e$B5/I\<\<Te(B: Hiro A. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low e$B%+%F%4%je(B: lib ruby -v: ruby 1.8.8dev…

---

## [Regular expressions, capture repeated groups](https://www.ruby-forum.com/t/regular-expressions-capture-repeated-groups/191262)

<div class="topic-metadata">

**Author:** [@tensaiji](https://www.ruby-forum.com/u/tensaiji)\
**Replies:** 4\
**Last updated:** [July 8, 2010, 7:04pm UTC](https://www.ruby-forum.com/t/regular-expressions-capture-repeated-groups/191262 "2010-07-08T19:04:07Z")

</div>

I’m trying to emulate something I’ve done in .Net many moons ago, which is capture a named group, but not just once, get all it’s repetitions and then be able to see all those repetitions. I think they call them Group…

---

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

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 5:32pm UTC](https://www.ruby-forum.com/t/texticle-1-0-3-released/191270 "2010-07-08T17:32:46Z")

</div>

texticle version 1.0.3 has been released! http://texticle.rubyforge.org/ http://github.com/tenderlove/texticle/ Texticle exposes full text search capabilities from PostgreSQL, and allows you to declare full text ind…

---

## [RubyGoLightly Progress Report](https://www.ruby-forum.com/t/rubygolightly-progress-report/191029)

<div class="topic-metadata">

**Author:** [@Eleanor\_McHugh](https://www.ruby-forum.com/u/Eleanor_McHugh)\
**Replies:** 13\
**Last updated:** [July 8, 2010, 3:47pm UTC](https://www.ruby-forum.com/t/rubygolightly-progress-report/191029 "2010-07-08T15:47:23Z")

</div>

I seem to have been missing in action for the best part of six months so I thought it was about time I put together a progress report and pimped the vapourware in hopes of finding some likeminded miscreants/dilettante…

---

## [Write/Read File having Japanese characters as file name](https://www.ruby-forum.com/t/write-read-file-having-japanese-characters-as-file-name/191261)

<div class="topic-metadata">

**Author:** [@sudheendra](https://www.ruby-forum.com/u/sudheendra)\
**Replies:** 1\
**Last updated:** [July 8, 2010, 3:35pm UTC](https://www.ruby-forum.com/t/write-read-file-having-japanese-characters-as-file-name/191261 "2010-07-08T15:35:41Z")

</div>

Hi My requirement is to create new files by names from database(UTF8 encoded for multi language support). Mostly Japanese langauge support. I need to create file for each project with project name. Sometimes the proj…

---

## [Complie-time polymorphsim and Run-time polymorpshism](https://www.ruby-forum.com/t/complie-time-polymorphsim-and-run-time-polymorpshism/191256)

<div class="topic-metadata">

**Author:** [@hari\_bhat](https://www.ruby-forum.com/u/hari_bhat)\
**Replies:** 1\
**Last updated:** [July 8, 2010, 1:40pm UTC](https://www.ruby-forum.com/t/complie-time-polymorphsim-and-run-time-polymorpshism/191256 "2010-07-08T13:40:56Z")

</div>

Hi I wanted to know about complie-time polymorphsim and run-time polymorpshism in ruby with examples. Regards, Hari

---

## [JRuby's ant integration: is reading ant properties/resources from rake possible?](https://www.ruby-forum.com/t/jrubys-ant-integration-is-reading-ant-properties-resources-from-rake-possible/191063)

<div class="topic-metadata">

**Author:** [@mark42](https://www.ruby-forum.com/u/mark42)\
**Replies:** 2\
**Last updated:** [July 8, 2010, 11:38am UTC](https://www.ruby-forum.com/t/jrubys-ant-integration-is-reading-ant-properties-resources-from-rake-possible/191063 "2010-07-08T11:38:34Z")

</div>

Hi, after reading Charles’ and Tom’s articles about the Ant-Rake integration in JRuby 1.5.X, i decided to give it a try by replacing an existing ant script with a rake script. The ant script that I am trying to rep…

---

## [Test consumes negative time?](https://www.ruby-forum.com/t/test-consumes-negative-time/191237)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 2\
**Last updated:** [July 8, 2010, 9:52am UTC](https://www.ruby-forum.com/t/test-consumes-negative-time/191237 "2010-07-08T09:52:34Z")

</div>

boron e$B$G$d$C$F$$$ke(B test-all e$B$G!“FMG!!“8D!9$N%F%9%H$N7P2a;~4V$,%^%$%J%9$K$J$ke(B e$B$3$H$,$”$k$h$&$K$J$C$?$s$G$9$,!”$J$K$+;W$$Ev$?$k$R$H$O$$$^$9$G$7$g$&$+!#e(B http://www.rubyist.net/~akr/chkbuild/debian/ruby-…

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

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