# Ruby

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

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

---

## [IronRuby MySQL/ADO.NET wrapper](https://www.ruby-forum.com/t/ironruby-mysql-ado-net-wrapper/132717)

<div class="topic-metadata">

**Author:** [@Brian\_Blackwell](https://www.ruby-forum.com/u/Brian_Blackwell)\
**Replies:** 2\
**Last updated:** [March 25, 2008, 3:44pm UTC](https://www.ruby-forum.com/t/ironruby-mysql-ado-net-wrapper/132717 "2008-03-25T15:44:51Z")

</div>

Hi all, If anyone is interested, I have knocked up a prototype for an IronRuby wrapper over MySQL Connector/NET (the MySQL ADO.NET driver) that implements the Ruby-MySQL interface. The idea is that this should be abl…

---

## [Hash of arrays - appending to one of the arrays](https://www.ruby-forum.com/t/hash-of-arrays-appending-to-one-of-the-arrays/132829)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 6\
**Last updated:** [March 25, 2008, 3:43pm UTC](https://www.ruby-forum.com/t/hash-of-arrays-appending-to-one-of-the-arrays/132829 "2008-03-25T15:43:39Z")

</div>

Hi Ive done a search on this and there have been quite a few posts which have incresed my knowlege somewhat but still have a few questions. Im creating a hash of arrays. The keys and values are added within a loop. Fo…

---

## [Thread#raise, Thread#kill, and timeout.rb are unsafe](https://www.ruby-forum.com/t/thread-raise-thread-kill-and-timeout-rb-are-unsafe/130080)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 57\
**Last updated:** [March 25, 2008, 3:32pm UTC](https://www.ruby-forum.com/t/thread-raise-thread-kill-and-timeout-rb-are-unsafe/130080 "2008-03-25T15:32:07Z")

</div>

I wrote up an article on Thread#raise, Thread#kill, and timeout.rb that I hope can start making the rounds. Long story short, neither Thread#raise nor Thread#kill is safe to use, and as a result all libraries that cal…

---

## [RMagick convert EPS to PNG =\> poor quality](https://www.ruby-forum.com/t/rmagick-convert-eps-to-png-poor-quality/132871)

<div class="topic-metadata">

**Author:** [@RHjorth](https://www.ruby-forum.com/u/RHjorth)\
**Replies:** 2\
**Last updated:** [March 25, 2008, 3:25pm UTC](https://www.ruby-forum.com/t/rmagick-convert-eps-to-png-poor-quality/132871 "2008-03-25T15:25:51Z")

</div>

Hi all, After some initial troubles having RMagick (and ImageMagick) working on windows, it finally works and quite well I might add. However when convertin a EPS (yes, a barcode) to PNG (and rotating it) the quality…

---

## [Ruby GSoC 2008 now accepting student applications](https://www.ruby-forum.com/t/ruby-gsoc-2008-now-accepting-student-applications/132809)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 5\
**Last updated:** [March 25, 2008, 2:54pm UTC](https://www.ruby-forum.com/t/ruby-gsoc-2008-now-accepting-student-applications/132809 "2008-03-25T14:54:07Z")

</div>

Google has just turned on the student application web page. If you’re interested in taking part in the 2008 GSoC as a student, please feel free to turn in an application: http://groups.google.com/group/google-summe…

---

## [How to control order of spec execution in "spec specs/\* "?](https://www.ruby-forum.com/t/how-to-control-order-of-spec-execution-in-spec-specs/132489)

<div class="topic-metadata">

**Author:** [@aginghipster](https://www.ruby-forum.com/u/aginghipster)\
**Replies:** 1\
**Last updated:** [March 25, 2008, 1:36pm UTC](https://www.ruby-forum.com/t/how-to-control-order-of-spec-execution-in-spec-specs/132489 "2008-03-25T13:36:58Z")

</div>

This is a rspec question. I have many rspecs in a spec directory. In the execution, I need some tests run before others. So I name the files as: 01\_deploy\_spec.rb, 02\_post\_process\_spec.rb I want 01\* to be run before…

---

## [For Sale Sidekick LX at just $130usd](https://www.ruby-forum.com/t/for-sale-sidekick-lx-at-just-130usd/132866)

<div class="topic-metadata">

**Author:** [@datorrey](https://www.ruby-forum.com/u/datorrey)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 1:16pm UTC](https://www.ruby-forum.com/t/for-sale-sidekick-lx-at-just-130usd/132866 "2008-03-25T13:16:37Z")

</div>

Global Online Market LIMITED is one of the biggest names in the field of consumer electronics, information technology, telecommunications, home appliances, office automation and entertainment Around the World and is a…

---

## [Replacing part of a matched regular expression using gsub](https://www.ruby-forum.com/t/replacing-part-of-a-matched-regular-expression-using-gsub/132812)

<div class="topic-metadata">

**Author:** [@ben](https://www.ruby-forum.com/u/ben)\
**Replies:** 5\
**Last updated:** [March 25, 2008, 11:28am UTC](https://www.ruby-forum.com/t/replacing-part-of-a-matched-regular-expression-using-gsub/132812 "2008-03-25T11:28:18Z")

</div>

Hi, I’m trying to run through a piece of text replacing every character with a context sensitive number. Rather than go into the gory details, hopefully the following will enough to make clear what I’m trying to do. …

---

## [Enumerator with certain built-in methods dumps core](https://www.ruby-forum.com/t/enumerator-with-certain-built-in-methods-dumps-core/132856)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 11:20am UTC](https://www.ruby-forum.com/t/enumerator-with-certain-built-in-methods-dumps-core/132856 "2008-03-25T11:20:32Z")

</div>

e$B1sF#$H?=$7$^$9!#e(B e$B0J2\<$Ge(B 1.9 e$B$,Mn$A$^$9!#e(B $ ./ruby -e ‘Module.enum\_for(:new).next’ \[BUG\] Segmentation fault ruby 1.9.0 (2008-03-25 revision 15837) \[i686-linux\] – control frame ---------- c:0006 p:-…

---

## [Ruby ipv6 socket error](https://www.ruby-forum.com/t/ruby-ipv6-socket-error/132845)

<div class="topic-metadata">

**Author:** [@yours2008](https://www.ruby-forum.com/u/yours2008)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 9:29am UTC](https://www.ruby-forum.com/t/ruby-ipv6-socket-error/132845 "2008-03-25T09:29:09Z")

</div>

I want use ruby ipv6 socket i write some test program at linux platform. 1 /////////////////////////////////////////////////////////////////////// require ‘socket’ socket=UDPSocket.new(Socket::AF\_INET6) socket.bind…

---

## [MSSQL 2005 Stored Procedure?](https://www.ruby-forum.com/t/mssql-2005-stored-procedure/131930)

<div class="topic-metadata">

**Author:** [@talex83](https://www.ruby-forum.com/u/talex83)\
**Replies:** 4\
**Last updated:** [March 25, 2008, 7:43am UTC](https://www.ruby-forum.com/t/mssql-2005-stored-procedure/131930 "2008-03-25T07:43:23Z")

</div>

I want to programmig in Ruby… but have some problems. Can anyone help me with the syntax for retriving an ‘out’ variable from an MSSQL2005 Stored Procedure? Can anyone help me with the syntax for retriving 3 recor…

---

## [Win32Ole, MAPI, and Outlook](https://www.ruby-forum.com/t/win32ole-mapi-and-outlook/132497)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 3\
**Last updated:** [March 25, 2008, 6:42am UTC](https://www.ruby-forum.com/t/win32ole-mapi-and-outlook/132497 "2008-03-25T06:42:55Z")

</div>

Hello Everybody, I’m trying to make a Ruby Script that adds contacts to Microsoft outlook via Ruby’s Win32OLE and MAPI. So it works for the most part, but I’m having trouble trying to handle exceptions… The big proble…

---

## [Memory allocation reporting?](https://www.ruby-forum.com/t/memory-allocation-reporting/132776)

<div class="topic-metadata">

**Author:** [@joeymarchy](https://www.ruby-forum.com/u/joeymarchy)\
**Replies:** 2\
**Last updated:** [March 25, 2008, 4:14am UTC](https://www.ruby-forum.com/t/memory-allocation-reporting/132776 "2008-03-25T04:14:29Z")

</div>

I created a script that using up alot of memory very quickly. All the resources like file handles, db results, and objects are being freed. I am using a third party library so I am wondering if the problem lies with …

---

## [Find.find sorting: files before directories](https://www.ruby-forum.com/t/find-find-sorting-files-before-directories/132481)

<div class="topic-metadata">

**Author:** [@adambeazley](https://www.ruby-forum.com/u/adambeazley)\
**Replies:** 8\
**Last updated:** [March 25, 2008, 3:12am UTC](https://www.ruby-forum.com/t/find-find-sorting-files-before-directories/132481 "2008-03-25T03:12:59Z")

</div>

I’m looking for a simple way to use Find.find to produce a list of files/directories for NSIS. Ideally the list will sort files before directories so as to minimize the number of times SetOutPath is used (an NSIS fun…

---

## [Beginner's question](https://www.ruby-forum.com/t/beginners-question/132763)

<div class="topic-metadata">

**Author:** [@sweetpete](https://www.ruby-forum.com/u/sweetpete)\
**Replies:** 14\
**Last updated:** [March 25, 2008, 1:36am UTC](https://www.ruby-forum.com/t/beginners-question/132763 "2008-03-25T01:36:38Z")

</div>

This question may be a bit too “simple” for this forum which seems to target intermediate and advanced users, but if that’s the case someone could perhaps direct me to a place which is better for asking this question? …

---

## [\--disable=all --enable=gems](https://www.ruby-forum.com/t/disable-all-enable-gems/132818)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 1:23am UTC](https://www.ruby-forum.com/t/disable-all-enable-gems/132818 "2008-03-25T01:23:45Z")

</div>

e$B@\>;3OB9-$G$9!#e(B –disable=alle$B$,$"$k$He(B–enable=gemse$B$,$-$-$^$;$s!#e(B % ruby-trunk -v --disable=all --enable=gems -e ‘p $"’ ruby 1.9.0 (2008-03-24 revision 15830) \[i686-linux\] \[“enumerator.so”\] % ruby-trun…

---

## [Rubybrain.com](https://www.ruby-forum.com/t/rubybrain-com/132778)

<div class="topic-metadata">

**Author:** [@zoopzoop](https://www.ruby-forum.com/u/zoopzoop)\
**Replies:** 6\
**Last updated:** [March 25, 2008, 1:11am UTC](https://www.ruby-forum.com/t/rubybrain-com/132778 "2008-03-25T01:11:25Z")

</div>

I am really confused by rubybrain.com. I like the interface much more than the ruby-doc.org documentation, Ajax makes it much more responsive. But somehow I could never find what I was searching for and ended up look…

---

## [R86 is out](https://www.ruby-forum.com/t/r86-is-out/132817)

<div class="topic-metadata">

**Author:** [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 12:55am UTC](https://www.ruby-forum.com/t/r86-is-out/132817 "2008-03-25T00:55:35Z")

</div>

Fixes some small bugs that blocked the specs from running. So rake spec should now report 1325 specs running with 0 failures. The spec baseline needs to be reset given the large amount of work that Tomas has put into …

---

## [$stdin](https://www.ruby-forum.com/t/stdin/132766)

<div class="topic-metadata">

**Author:** [@Stefan\_Gremm](https://www.ruby-forum.com/u/Stefan_Gremm)\
**Replies:** 7\
**Last updated:** [March 25, 2008, 12:50am UTC](https://www.ruby-forum.com/t/stdin/132766 "2008-03-25T00:50:53Z")

</div>

Hello, first excuse me my bad english. i have write a little send\_mail script. now i pipe the messagetext from another program, like cat /var/mailtext| send-mail.rb the program source: smtp\_message = “” temp = $std…

---

## [Ruby and e-mail marketing](https://www.ruby-forum.com/t/ruby-and-e-mail-marketing/132643)

<div class="topic-metadata">

**Author:** [@SSKyrre\_NygSSSSrdSS](https://www.ruby-forum.com/u/SSKyrre_NygSSSSrdSS)\
**Replies:** 1\
**Last updated:** [March 25, 2008, 12:44am UTC](https://www.ruby-forum.com/t/ruby-and-e-mail-marketing/132643 "2008-03-25T00:44:24Z")

</div>

Hello! I want to do some e-mail marketing to the users of my shiny new Rails forum, but I have no idea where to start. Basically I want to integrate a “Subscribe to newsletter” checkbox on my forum’s signup page, foll…

---

## [Functions, arguments and changing their value permantently](https://www.ruby-forum.com/t/functions-arguments-and-changing-their-value-permantently/132740)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 8\
**Last updated:** [March 25, 2008, 12:06am UTC](https://www.ruby-forum.com/t/functions-arguments-and-changing-their-value-permantently/132740 "2008-03-25T00:06:42Z")

</div>

Im coming over to Ruby from C++ after a long break from programming. One thing im having to get used to is how ruby references or points directly to variables. In C++ I can pass a variable as an argument to a function …

---

## [Http://codeplex.com/dynamicsilverlight](https://www.ruby-forum.com/t/http-codeplex-com-dynamicsilverlight/132814)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/http-codeplex-com-dynamicsilverlight/132814 "2008-03-24T23:54:59Z")

</div>

Spamming both the lists, http://www.codeplex.com/dynamicsilverlight has been updated to host the Silverlight2 Beta1 bits. We will be using it as Dynamic Silverlight’s project site, so please report any Silverlight-spe…

---

## [Ruby?](https://www.ruby-forum.com/t/ruby/132806)

<div class="topic-metadata">

**Author:** [@kineas](https://www.ruby-forum.com/u/kineas)\
**Replies:** 8\
**Last updated:** [March 24, 2008, 11:45pm UTC](https://www.ruby-forum.com/t/ruby/132806 "2008-03-24T23:45:00Z")

</div>

I am currently in the planning process of making a website, and I have heard that Ruby is good to use, but I am a little confused as to what Ruby is. As far as I can tell, it’s code that generates XML (I don’t know if…

---

## [Re: digest.so implemented](https://www.ruby-forum.com/t/re-digest-so-implemented/132803)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 3\
**Last updated:** [March 24, 2008, 11:03pm UTC](https://www.ruby-forum.com/t/re-digest-so-implemented/132803 "2008-03-24T23:03:36Z")

</div>

Wayne K.: Attached is an implementation of the methods and classes from external library digest.so that are used by some simple Rails use cases. Thanks for the contribution! Sorry for such a long delay. It require…

---

## [Any tricks to speed up ruby?](https://www.ruby-forum.com/t/any-tricks-to-speed-up-ruby/126021)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 29\
**Last updated:** [March 24, 2008, 10:14pm UTC](https://www.ruby-forum.com/t/any-tricks-to-speed-up-ruby/126021 "2008-03-24T22:14:44Z")

</div>

Wondering if anybody had suggestions for how to speed up 1.8.6 on an old mac os x ppc. Thoughts? Thanks. -Roger

---

## [Rich Graphic Interface with Ruby](https://www.ruby-forum.com/t/rich-graphic-interface-with-ruby/132726)

<div class="topic-metadata">

**Author:** [@di3go](https://www.ruby-forum.com/u/di3go)\
**Replies:** 10\
**Last updated:** [March 24, 2008, 9:51pm UTC](https://www.ruby-forum.com/t/rich-graphic-interface-with-ruby/132726 "2008-03-24T21:51:09Z")

</div>

What is the best way to get a really nice gui in ruby? Opengl? Flex? Air now is going to Linux, maybe a alternative, i like Opengl but i think its alot complicated, have any other good one that i dont know? cairo?..? …

---

## [Testing for Directories and Files](https://www.ruby-forum.com/t/testing-for-directories-and-files/132797)

<div class="topic-metadata">

**Author:** [@jstotz](https://www.ruby-forum.com/u/jstotz)\
**Replies:** 2\
**Last updated:** [March 24, 2008, 9:48pm UTC](https://www.ruby-forum.com/t/testing-for-directories-and-files/132797 "2008-03-24T21:48:03Z")

</div>

Hello. I have a question regarding Files and Directories. I have a class method that opens a directory and reads the contents. What is the most efficient way to test whether an entry is a directory or a file? Also,…

---

## [Jirb: require java =\> false?](https://www.ruby-forum.com/t/jirb-require-java-false/132786)

<div class="topic-metadata">

**Author:** [@PB0711](https://www.ruby-forum.com/u/PB0711)\
**Replies:** 2\
**Last updated:** [March 24, 2008, 6:53pm UTC](https://www.ruby-forum.com/t/jirb-require-java-false/132786 "2008-03-24T18:53:01Z")

</div>

Hello all, Ok I’m new to the ruby world and a complete newbie in jruby/java so I’m probably being dump but what is wrong here? Why isn’t require ‘java’ working and 2nd (probably be fixed I guess when require java wo…

---

## [Betfair soap problem](https://www.ruby-forum.com/t/betfair-soap-problem/116860)

<div class="topic-metadata">

**Author:** [@mrpete](https://www.ruby-forum.com/u/mrpete)\
**Replies:** 8\
**Last updated:** [March 24, 2008, 6:16pm UTC](https://www.ruby-forum.com/t/betfair-soap-problem/116860 "2008-03-24T18:16:51Z")

</div>

Hi. I’m trying to use the Betfair API with Ruby:- http://bdp.betfair.com/exchdevelopers.php Basically, I can login to the service but I can’t do anything else - I keep getting a no session error? I can do something ve…

---

## [Re: mysql ruby prob](https://www.ruby-forum.com/t/re-mysql-ruby-prob/132784)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 6:15pm UTC](https://www.ruby-forum.com/t/re-mysql-ruby-prob/132784 "2008-03-24T18:15:42Z")

</div>

Hi Greg, thanks a lot - works great DG --------------= Posted using GrabIt =---------------- ------= Binary Usenet downloading made easy =--------- -= Get GrabIt for free from http://www.shemes.com/ =-

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

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