# Ruby

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

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

---

## [Survey: Enterprise Architecture and Software Development](https://www.ruby-forum.com/t/survey-enterprise-architecture-and-software-development/101467)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [August 5, 2006, 9:14am UTC](https://www.ruby-forum.com/t/survey-enterprise-architecture-and-software-development/101467 "2006-08-05T09:14:52Z")

</div>

Several prominent researchers are conducting a survey and looking for 500 respondents by Friday on the topic of enterprise architecture and software development. Here is the link to the survey: http://www.surveymonkey…

---

## [Ruby-VPI 0.8.1](https://www.ruby-forum.com/t/ruby-vpi-0-8-1/101487)

<div class="topic-metadata">

**Author:** [@Suraj\_NSKurapati](https://www.ruby-forum.com/u/Suraj_NSKurapati)\
**Replies:** 0\
**Last updated:** [August 5, 2006, 7:38am UTC](https://www.ruby-forum.com/t/ruby-vpi-0-8-1/101487 "2006-08-05T07:38:47Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ruby-VPI is a Ruby interface to Verilog VPI. It lets you create complex Verilog test benches easily and wholly in Ruby. Website: http://ruby-vpi.rubyforge.org Download…

---

## [Something for ods spreadsheets?](https://www.ruby-forum.com/t/something-for-ods-spreadsheets/101472)

<div class="topic-metadata">

**Author:** [@agnathan](https://www.ruby-forum.com/u/agnathan)\
**Replies:** 0\
**Last updated:** [August 5, 2006, 5:23am UTC](https://www.ruby-forum.com/t/something-for-ods-spreadsheets/101472 "2006-08-05T05:23:42Z")

</div>

Does anyone know if there’s a ruby package out there for CRUDing open document spreadsheets? I’m looking for something which allows me to write code like document = Spreadsheet.new document.sheets \<\< “raw data” doc…

---

## [What's happening here? A strange regexp problem wth posix :a](https://www.ruby-forum.com/t/whats-happening-here-a-strange-regexp-problem-wth-posix-a/101454)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 4\
**Last updated:** [August 4, 2006, 11:49pm UTC](https://www.ruby-forum.com/t/whats-happening-here-a-strange-regexp-problem-wth-posix-a/101454 "2006-08-04T23:49:37Z")

</div>

I just ran across this, and can’t figure out what’s happening. the show\_regexp method is as shown on p73 of the Pickaxe 2nd ed. irb(main):013:0\> show\_regexp(“comparison is”, /\[:alpha:\]\[^.?!\\s’"\]/) =\> “com\<\> is” irb(…

---

## [FXApp.create problem after fresh One-Click win98 install](https://www.ruby-forum.com/t/fxapp-create-problem-after-fresh-one-click-win98-install/101433)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [August 4, 2006, 11:22pm UTC](https://www.ruby-forum.com/t/fxapp-create-problem-after-fresh-one-click-win98-install/101433 "2006-08-04T23:22:33Z")

</div>

just ran ruby184-20.exe on win98 box and rebooted getting this after running FXRuby test.rb “abnormal program termination” require ‘fox16’ include Fox application = FXApp.new(“Hello”, “FoxTest”) main = FXMainWindow…

---

## [Cleanup & requires & so on](https://www.ruby-forum.com/t/cleanup-requires-so-on/101453)

<div class="topic-metadata">

**Author:** [@tbobker](https://www.ruby-forum.com/u/tbobker)\
**Replies:** 2\
**Last updated:** [August 4, 2006, 11:16pm UTC](https://www.ruby-forum.com/t/cleanup-requires-so-on/101453 "2006-08-04T23:16:33Z")

</div>

I’m just finishing up my first real chunk of Ruby work, and it’s sitting in a dozen different .rb files, and obviously there was a lot of refactoring along the way. Is there a tool that can look at my code and make s…

---

## [Automatically finding gaps in unit test coverage?](https://www.ruby-forum.com/t/automatically-finding-gaps-in-unit-test-coverage/101406)

<div class="topic-metadata">

**Author:** [@fmwr](https://www.ruby-forum.com/u/fmwr)\
**Replies:** 7\
**Last updated:** [August 4, 2006, 10:55pm UTC](https://www.ruby-forum.com/t/automatically-finding-gaps-in-unit-test-coverage/101406 "2006-08-04T22:55:30Z")

</div>

Hello, Is it possible to somehow automatically check which parts of code are not covered by unit tests ?

---

## [Tutorial on wrapping C/C++ libraries for use in Ruby?](https://www.ruby-forum.com/t/tutorial-on-wrapping-c-c-libraries-for-use-in-ruby/101429)

<div class="topic-metadata">

**Author:** [@rtijoriwala](https://www.ruby-forum.com/u/rtijoriwala)\
**Replies:** 4\
**Last updated:** [August 4, 2006, 10:13pm UTC](https://www.ruby-forum.com/t/tutorial-on-wrapping-c-c-libraries-for-use-in-ruby/101429 "2006-08-04T22:13:14Z")

</div>

Is there any tutorial/link/website that explains how to wrap existing c/c++ libraries for use from within Ruby?

---

## [Grouping values of a hash or array](https://www.ruby-forum.com/t/grouping-values-of-a-hash-or-array/101421)

<div class="topic-metadata">

**Author:** [@adrian](https://www.ruby-forum.com/u/adrian)\
**Replies:** 3\
**Last updated:** [August 4, 2006, 9:46pm UTC](https://www.ruby-forum.com/t/grouping-values-of-a-hash-or-array/101421 "2006-08-04T21:46:07Z")

</div>

If I’ve got a hash h = { a =\> 1, b =\> 2, c =\> 1, d =\> 1 } Is there an easy way to group the values to come out as 1,2? Same for an away where \[1,2,1,2,3\] would come out as 1,2,3. I looked through Ruby API and could…

---

## [RoR free hosting](https://www.ruby-forum.com/t/ror-free-hosting/100950)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [August 4, 2006, 9:43pm UTC](https://www.ruby-forum.com/t/ror-free-hosting/100950 "2006-08-04T21:43:07Z")

</div>

Does anyone know of a good hosting company that is offering free ruby on rails hosting? I have a 1and1 account, but as of yet they do not support rails. Thanks.

---

## [Include existing C/C++ libraries in Ruby](https://www.ruby-forum.com/t/include-existing-c-c-libraries-in-ruby/101419)

<div class="topic-metadata">

**Author:** [@rtijoriwala](https://www.ruby-forum.com/u/rtijoriwala)\
**Replies:** 5\
**Last updated:** [August 4, 2006, 9:33pm UTC](https://www.ruby-forum.com/t/include-existing-c-c-libraries-in-ruby/101419 "2006-08-04T21:33:19Z")

</div>

I want to use my existing C/C++ libraries in Ruby and is there a way to do that? I tried SWIG but it doesn’t work out that good for complex objects and methods that I have in my libraries. Any other ways to accomplish…

---

## [Irb (LoadError) after fresh One-Click win98 install](https://www.ruby-forum.com/t/irb-loaderror-after-fresh-one-click-win98-install/101440)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [August 4, 2006, 8:57pm UTC](https://www.ruby-forum.com/t/irb-loaderror-after-fresh-one-click-win98-install/101440 "2006-08-04T20:57:58Z")

</div>

just used ruby184-20.exe for a win98 ruby install I get this when I invoke irb C:\\RUBY\\BIN\\RUBY.EXE: No such file or directory – irb (LoadError) I didn’t change any settings during install. Ruby is in c:\\ruby. I rebo…

---

## [Dir.glob finding folders](https://www.ruby-forum.com/t/dir-glob-finding-folders/101282)

<div class="topic-metadata">

**Author:** [@geoff](https://www.ruby-forum.com/u/geoff)\
**Replies:** 10\
**Last updated:** [August 4, 2006, 8:54pm UTC](https://www.ruby-forum.com/t/dir-glob-finding-folders/101282 "2006-08-04T20:54:58Z")

</div>

Hey, I’ve been messing with this for hours now and I really thought this would work! I want to prompt to get the letter of the drive to search, then if the directory has the text “CFI-” in it, add that full path as a…

---

## [Instiki & Alex (& Tickets, oh my)](https://www.ruby-forum.com/t/instiki-alex-tickets-oh-my/101432)

<div class="topic-metadata">

**Author:** [@maraby](https://www.ruby-forum.com/u/maraby)\
**Replies:** 0\
**Last updated:** [August 4, 2006, 8:45pm UTC](https://www.ruby-forum.com/t/instiki-alex-tickets-oh-my/101432 "2006-08-04T20:45:56Z")

</div>

So I emailed Alex (like the directions guide me to) in order to get an account on the Trac to submit a ticket in which to add a patch to Instiki to add captcha functionality. (Wow, was that ever long to write!) I rece…

---

## [Seeking convention: project directory for project info](https://www.ruby-forum.com/t/seeking-convention-project-directory-for-project-info/101393)

<div class="topic-metadata">

**Author:** [@7rans](https://www.ruby-forum.com/u/7rans)\
**Replies:** 3\
**Last updated:** [August 4, 2006, 8:18pm UTC](https://www.ruby-forum.com/t/seeking-convention-project-directory-for-project-info/101393 "2006-08-04T20:18:54Z")

</div>

I’m querying the Ruby community for a general convention in project directories. I develop Reap which is essentially a Rake clone (almost fully Rake compatible interface) plus extensive project management tool. As it …

---

## [Use www mechanize issues](https://www.ruby-forum.com/t/use-www-mechanize-issues/101412)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [August 4, 2006, 8:06pm UTC](https://www.ruby-forum.com/t/use-www-mechanize-issues/101412 "2006-08-04T20:06:53Z")

</div>

HI I am trying to download text file from cboe.org site. here is what i have done so far require ‘rubygems’ require ‘mechanize’ require ‘logger’ agent = WWW::Mechanize.new { |a| a.log = Logger.new(“mech.log”) } ag…

---

## [Motiro 0.4.2 released](https://www.ruby-forum.com/t/motiro-0-4-2-released/101397)

<div class="topic-metadata">

**Author:** [@thiagoalessio](https://www.ruby-forum.com/u/thiagoalessio)\
**Replies:** 7\
**Last updated:** [August 4, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/motiro-0-4-2-released/101397 "2006-08-04T19:57:51Z")

</div>

Motiro is a tool for tracking software projects. It has borrowed its name from an ancient tupy word meaning a work gathering. Motiro is a time when people get together to collaborate on a common goal such as harvestin…

---

## [Obj\_free() called for broken object?](https://www.ruby-forum.com/t/obj-free-called-for-broken-object/101415)

<div class="topic-metadata">

**Author:** [@Justin\_Meyer](https://www.ruby-forum.com/u/Justin_Meyer)\
**Replies:** 0\
**Last updated:** [August 4, 2006, 7:33pm UTC](https://www.ruby-forum.com/t/obj-free-called-for-broken-object/101415 "2006-08-04T19:33:50Z")

</div>

Hi all, I got past this by simply restarting the process, but can anybody here tell me wtf happened here? My Google-fu appears weak today: ttyp2 removed\_email\_address@domain.invalid:/root 1 14:51:49 644 # gem updat…

---

## [Finding the orig file of an alias](https://www.ruby-forum.com/t/finding-the-orig-file-of-an-alias/101170)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 21\
**Last updated:** [August 4, 2006, 7:18pm UTC](https://www.ruby-forum.com/t/finding-the-orig-file-of-an-alias/101170 "2006-08-04T19:18:46Z")

</div>

for the time being i’m using the finder thru AppleScript and then aeosa in order to find the original path of an alias. that’s time consuming )) does exist a direct rubyish way to do that (as in perl for ex.) ?

---

## [Memory marking problem](https://www.ruby-forum.com/t/memory-marking-problem/101401)

<div class="topic-metadata">

**Author:** [@joe-black](https://www.ruby-forum.com/u/joe-black)\
**Replies:** 2\
**Last updated:** [August 4, 2006, 6:41pm UTC](https://www.ruby-forum.com/t/memory-marking-problem/101401 "2006-08-04T18:41:11Z")

</div>

I’m pretty new to Ruby and running into some odd issues with my “mark” function. Basically I have a situation like this void ruby\_node\_free( void\* ptr ){ delete reinterpret\_cast\<Node\*\>( ptr ); } void ruby\_node\_mark(…

---

## [A little diversion (probability fun in Ruby)](https://www.ruby-forum.com/t/a-little-diversion-probability-fun-in-ruby/225914)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 1\
**Last updated:** [August 4, 2006, 6:33pm UTC](https://www.ruby-forum.com/t/a-little-diversion-probability-fun-in-ruby/225914 "2006-08-04T18:33:42Z")

</div>

So I can’t sleep this morning, and I’ve got a big interview with $PRESTIGOUS\_COMPANY that I need to get my mind off of, so I thought I’d share a little thing I did in Ruby a few months ago with the list. If you’ve nev…

---

## [Refactoring IDE for Ruby?](https://www.ruby-forum.com/t/refactoring-ide-for-ruby/101189)

<div class="topic-metadata">

**Author:** [@Squeak\_S](https://www.ruby-forum.com/u/Squeak_S)\
**Replies:** 14\
**Last updated:** [August 4, 2006, 6:33pm UTC](https://www.ruby-forum.com/t/refactoring-ide-for-ruby/101189 "2006-08-04T18:33:41Z")

</div>

Hi, I need to do some refactoring of my Ryby code. Where can I find a ide with refactoring features ? Running. Mac Os X Best R. W.

---

## [Behaviour of Dir.glob("\*\*/b") and Dir.glob("\*/b") for symlin](https://www.ruby-forum.com/t/behaviour-of-dir-glob-b-and-dir-glob-b-for-symlin/101371)

<div class="topic-metadata">

**Author:** [@matthew\_d](https://www.ruby-forum.com/u/matthew_d)\
**Replies:** 1\
**Last updated:** [August 4, 2006, 5:42pm UTC](https://www.ruby-forum.com/t/behaviour-of-dir-glob-b-and-dir-glob-b-for-symlin/101371 "2006-08-04T17:42:38Z")

</div>

Hi, Why is it that Dir.glob(“\*/b”) will follow a symlinked directory but Dir.glob(“\*\*/b”) will not? I have read http://groups.google.com/group/comp.lang.ruby/browse\_thread/thread/c3dfd0dc0bb86db1/e9bc0579939ed512?lnk…

---

## [Drb / ActiveRecord as Application Server for Qt/Ruby client](https://www.ruby-forum.com/t/drb-activerecord-as-application-server-for-qt-ruby-client/101327)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 1\
**Last updated:** [August 4, 2006, 4:42pm UTC](https://www.ruby-forum.com/t/drb-activerecord-as-application-server-for-qt-ruby-client/101327 "2006-08-04T16:42:29Z")

</div>

Hi, I intend to start a new project with the following architecture: Server: Postgresql database ActiveRecord Distributed Ruby Server Client: Distributed Ruby Client Qt/Ruby GUI Drb is not really an “Application Se…

---

## [How to capture a SOAP exception from a webservice?](https://www.ruby-forum.com/t/how-to-capture-a-soap-exception-from-a-webservice/101029)

<div class="topic-metadata">

**Author:** [@imaqaguy](https://www.ruby-forum.com/u/imaqaguy)\
**Replies:** 5\
**Last updated:** [August 4, 2006, 4:42pm UTC](https://www.ruby-forum.com/t/how-to-capture-a-soap-exception-from-a-webservice/101029 "2006-08-04T16:42:11Z")

</div>

Iâ??m trying to catch a soap exception from a web service, but Iâ??m a n00b and am having a hard time figuring it out. Iâ??m using ruby 1.8.4 (win32)–if it matters. Iâ??ve got the start of my program created and can r…

---

## [Non-greediness in a regex - need some help verifying syntax](https://www.ruby-forum.com/t/non-greediness-in-a-regex-need-some-help-verifying-syntax/101276)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 6\
**Last updated:** [August 4, 2006, 4:30pm UTC](https://www.ruby-forum.com/t/non-greediness-in-a-regex-need-some-help-verifying-syntax/101276 "2006-08-04T16:30:28Z")

</div>

All, Need some medium - level regex help. Here’s my regex: /~^LNK:\[\\t\\r\\n\]+?^~/m I’m trying to find all occurrences of strings in my big string that are between ~^LNK: and ^~ sequences of characters that have at lea…

---

## [\[CORRECTION\]RuportDay2006: (Now with more prizes!)](https://www.ruby-forum.com/t/correction-ruportday2006-now-with-more-prizes/101380)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [August 4, 2006, 4:27pm UTC](https://www.ruby-forum.com/t/correction-ruportday2006-now-with-more-prizes/101380 "2006-08-04T16:27:25Z")

</div>

On 8/3/06, Gregory B. removed\_email\_address@domain.invalid wrote: The person with the most points at the end of the day will win a $75 gift certificate to thinkgeek.com, in which you may purchase whatever swag, caffi…

---

## [A little regexp help for a newbie](https://www.ruby-forum.com/t/a-little-regexp-help-for-a-newbie/101318)

<div class="topic-metadata">

**Author:** [@RJ\_Melton](https://www.ruby-forum.com/u/RJ_Melton)\
**Replies:** 7\
**Last updated:** [August 4, 2006, 4:15pm UTC](https://www.ruby-forum.com/t/a-little-regexp-help-for-a-newbie/101318 "2006-08-04T16:15:24Z")

</div>

Sorry this is such an absurdly simple question, but I can’t find the answer after some googling, probably just me not knowing how to look. Anyway, I have a simple string in the format 1a2+3 and want to basically take…

---

## [The hypersonic flow of milwaukee's best - bil kleb and bill](https://www.ruby-forum.com/t/the-hypersonic-flow-of-milwaukees-best-bil-kleb-and-bill/101316)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [August 4, 2006, 4:12pm UTC](https://www.ruby-forum.com/t/the-hypersonic-flow-of-milwaukees-best-bil-kleb-and-bill/101316 "2006-08-04T16:12:24Z")

</div>

what can i say, these guys are out of control - i hear the they have real leather seats http://sciruby.codeforpeople.com/sr.cgi/SciRubyInterviews/BilKlebAndBillWood enjoy -a

---

## [Re: Is there a way to avoid having the library slurp-read th](https://www.ruby-forum.com/t/re-is-there-a-way-to-avoid-having-the-library-slurp-read-th/101372)

<div class="topic-metadata">

**Author:** [@kivle](https://www.ruby-forum.com/u/kivle)\
**Replies:** 0\
**Last updated:** [August 4, 2006, 4:06pm UTC](https://www.ruby-forum.com/t/re-is-there-a-way-to-avoid-having-the-library-slurp-read-th/101372 "2006-08-04T16:06:23Z")

</div>

Yep, that’s pretty much what I’ve found. The suggestion by Depesz to use cursors worked wonderfully though. Basically you wrap it up in a transaction on the server side, and the cursor gives you x amount of rows at a …

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

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