# Ruby

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

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

---

## [Double-slashes in input causing trouble](https://www.ruby-forum.com/t/double-slashes-in-input-causing-trouble/77037)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 11\
**Last updated:** [November 24, 2006, 10:07pm UTC](https://www.ruby-forum.com/t/double-slashes-in-input-causing-trouble/77037 "2006-11-24T22:07:13Z")

</div>

I’m writing a ruby program that reads a file, reads sections out of that file, writes a header to each section and then writes the whole file back to disk. The problem is that if the section contains “\\” which mine do…

---

## [Ruby on pure 64-bit computer](https://www.ruby-forum.com/t/ruby-on-pure-64-bit-computer/76842)

<div class="topic-metadata">

**Author:** [@brad7a0](https://www.ruby-forum.com/u/brad7a0)\
**Replies:** 2\
**Last updated:** [November 24, 2006, 10:07pm UTC](https://www.ruby-forum.com/t/ruby-on-pure-64-bit-computer/76842 "2006-11-24T22:07:12Z")

</div>

I recently obtained a AMD x2 5200+ 64 bit cpu and motherboard. I have installed Debian’s AMD-64 port and plan to test my Ruby scripts on the new machine soon. Is there anything I need to be aware of when using Ruby i…

---

## [Backtick subshell](https://www.ruby-forum.com/t/backtick-subshell/75976)

<div class="topic-metadata">

**Author:** [@Noah\_E](https://www.ruby-forum.com/u/Noah_E)\
**Replies:** 8\
**Last updated:** [November 24, 2006, 10:03pm UTC](https://www.ruby-forum.com/t/backtick-subshell/75976 "2006-11-24T22:03:11Z")

</div>

What subshell does \` (backquote) use to run commands?

---

## [Invoke system command from within a method](https://www.ruby-forum.com/t/invoke-system-command-from-within-a-method/76948)

<div class="topic-metadata">

**Author:** [@crytyca](https://www.ruby-forum.com/u/crytyca)\
**Replies:** 10\
**Last updated:** [November 24, 2006, 9:55pm UTC](https://www.ruby-forum.com/t/invoke-system-command-from-within-a-method/76948 "2006-11-24T21:55:08Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I am new to Ruby and want to make a Ruby script for the network configuration of my notebook as an exercise. Now I encountered a problem which is pretty strange …

---

## [RDoc XML not generating method list?](https://www.ruby-forum.com/t/rdoc-xml-not-generating-method-list/74635)

<div class="topic-metadata">

**Author:** [@Jeremy\_McAnally](https://www.ruby-forum.com/u/Jeremy_McAnally)\
**Replies:** 1\
**Last updated:** [November 24, 2006, 9:43pm UTC](https://www.ruby-forum.com/t/rdoc-xml-not-generating-method-list/74635 "2006-11-24T21:43:03Z")

</div>

Hello, I’m trying to get RDoc to spit out an XML file, but all I keep getting are the file and class lists with no method lists or methods…what’s the deal? Here’s the command I’m feeding it (just using CGI.rb to test…

---

## [Libxml-Ruby 0.3.8.2 now available](https://www.ruby-forum.com/t/libxml-ruby-0-3-8-2-now-available/77163)

<div class="topic-metadata">

**Author:** [@ross\_b](https://www.ruby-forum.com/u/ross_b)\
**Replies:** 0\
**Last updated:** [November 24, 2006, 9:39pm UTC](https://www.ruby-forum.com/t/libxml-ruby-0-3-8-2-now-available/77163 "2006-11-24T21:39:01Z")

</div>

Libxml-Ruby 0.3.8.2 is now available from Rubyforge (http://libxml.rubyforge.org). Libxml-Ruby provides Ruby bindings to libxml2, the high-speed, high-capability XML processing library used by the GNOME project. This…

---

## [Continuous Integration for Ruby projects](https://www.ruby-forum.com/t/continuous-integration-for-ruby-projects/76470)

<div class="topic-metadata">

**Author:** [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Replies:** 3\
**Last updated:** [November 24, 2006, 9:37pm UTC](https://www.ruby-forum.com/t/continuous-integration-for-ruby-projects/76470 "2006-11-24T21:37:00Z")

</div>

I’m planning on setting up a Continuous Integration server for a Ruby based project. It should work with Perforce SCM, and send out email notifications. A web page (either as an app or simply overwriting a static ht…

---

## [Gem dependency (Hpricot)](https://www.ruby-forum.com/t/gem-dependency-hpricot/76917)

<div class="topic-metadata">

**Author:** [@hanholl](https://www.ruby-forum.com/u/hanholl)\
**Replies:** 4\
**Last updated:** [November 24, 2006, 9:30pm UTC](https://www.ruby-forum.com/t/gem-dependency-hpricot/76917 "2006-11-24T21:30:58Z")

</div>

Hi, This is from Hpricot’s install page: If you’d prefer not to use RubyGems, you can also acquire a plain Ruby distribution: http://code.whytheluckystiff.net/dist/hpricot-0.4.tgz However, if you download, and try to…

---

## [Where can I find an Hpricot gem?](https://www.ruby-forum.com/t/where-can-i-find-an-hpricot-gem/77158)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 0\
**Last updated:** [November 24, 2006, 9:22pm UTC](https://www.ruby-forum.com/t/where-can-i-find-an-hpricot-gem/77158 "2006-11-24T21:22:55Z")

</div>

I tried to install the new mechanize gem package but it failed saying I needed Hpricot. So, I’m trying to find a gem package for that but it doesn’t appear to exist. The Hpricot website says that I can get it from …

---

## [OS X File information question](https://www.ruby-forum.com/t/os-x-file-information-question/76862)

<div class="topic-metadata">

**Author:** [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Replies:** 4\
**Last updated:** [November 24, 2006, 9:14pm UTC](https://www.ruby-forum.com/t/os-x-file-information-question/76862 "2006-11-24T21:14:51Z")

</div>

OS X (tiger) stores some useful information about files, including “where from” and “spotlight commnets”. Is there an (easy) way to access these fields from Ruby? Many thanks, Jonathan

---

## [Ruby appscript 0.2.0 released (Mac OS X)](https://www.ruby-forum.com/t/ruby-appscript-0-2-0-released-mac-os-x/77159)

<div class="topic-metadata">

**Author:** [@has](https://www.ruby-forum.com/u/has)\
**Replies:** 0\
**Last updated:** [November 24, 2006, 9:04pm UTC](https://www.ruby-forum.com/t/ruby-appscript-0-2-0-released-mac-os-x/77159 "2006-11-24T21:04:47Z")

</div>

Announcing the 0.2.0 release of Ruby appscript, a high-level, user-friendly Apple event bridge that allows you to control scriptable Mac OS X applications using ordinary Ruby scripts: http://rubyforge.org/frs/?group\_i…

---

## [Hpricot - best way to parse based on comments](https://www.ruby-forum.com/t/hpricot-best-way-to-parse-based-on-comments/76762)

<div class="topic-metadata">

**Author:** [@jerome](https://www.ruby-forum.com/u/jerome)\
**Replies:** 2\
**Last updated:** [November 24, 2006, 8:54pm UTC](https://www.ruby-forum.com/t/hpricot-best-way-to-parse-based-on-comments/76762 "2006-11-24T20:54:42Z")

</div>

I am trying to parse some files that contain comments like this: images, text, etc… Interesting text of site here. I am wondering how to go about extracting the data within the comments block using Hpricot. I …

---

## [Using two justifications on the same line](https://www.ruby-forum.com/t/using-two-justifications-on-the-same-line/76764)

<div class="topic-metadata">

**Author:** [@Shiloh\_M](https://www.ruby-forum.com/u/Shiloh_M)\
**Replies:** 5\
**Last updated:** [November 24, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/using-two-justifications-on-the-same-line/76764 "2006-11-24T20:52:41Z")

</div>

Ok, so the chapter I am working on now is asking for me to write a table of contents with the title left justified and the pages right justified. I did this much earlier in the book with individual lines, and it came …

---

## [Mechanize question](https://www.ruby-forum.com/t/mechanize-question/76822)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 7\
**Last updated:** [November 24, 2006, 8:50pm UTC](https://www.ruby-forum.com/t/mechanize-question/76822 "2006-11-24T20:50:40Z")

</div>

Hello, I am using mechanize 0.6.3. On Aaron’s blog I have found this example: form.selectlist.options\[2\].select however, for me, ‘puts form.methods.sort’ revealed that form does not have a method ‘selectlist’. What’s…

---

## [How to pass arrays in and/or out of Oracle PL/SQL Package us](https://www.ruby-forum.com/t/how-to-pass-arrays-in-and-or-out-of-oracle-pl-sql-package-us/76396)

<div class="topic-metadata">

**Author:** [@vinsonizer](https://www.ruby-forum.com/u/vinsonizer)\
**Replies:** 6\
**Last updated:** [November 24, 2006, 8:48pm UTC](https://www.ruby-forum.com/t/how-to-pass-arrays-in-and-or-out-of-oracle-pl-sql-package-us/76396 "2006-11-24T20:48:39Z")

</div>

Sorry to bug you. I can’t figure this out. create or replace package ruby\_test is function f\_ruby(s in number,t out varchar2,st out common\_func.STRING\_TABLE) return varchar2; end ruby\_test; / create or replace pa…

---

## [Net:HTTP performance downloading large files](https://www.ruby-forum.com/t/net-http-performance-downloading-large-files/74220)

<div class="topic-metadata">

**Author:** [@underbluewaters](https://www.ruby-forum.com/u/underbluewaters)\
**Replies:** 8\
**Last updated:** [November 24, 2006, 8:04pm UTC](https://www.ruby-forum.com/t/net-http-performance-downloading-large-files/74220 "2006-11-24T20:04:27Z")

</div>

Hi folks, I’m working on my first ruby/rails project and have run into my first major problem. My application uses a web api for a scientific database and I am trying to download a very large file(150mb) using Net:HT…

---

## [Multi-threaded C++, new, and xmalloc](https://www.ruby-forum.com/t/multi-threaded-c-new-and-xmalloc/77015)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 4\
**Last updated:** [November 24, 2006, 6:02pm UTC](https://www.ruby-forum.com/t/multi-threaded-c-new-and-xmalloc/77015 "2006-11-24T18:02:21Z")

</div>

Hello I have a C++ application with an embedded ruby interpreter. I have overridden the new() operator globally: void\* operator new (size\_t size) { void \*p=xmalloc(size); if (p==0) // did malloc succeed? throw st…

---

## [Curb 0.0.2 released](https://www.ruby-forum.com/t/curb-0-0-2-released/77124)

<div class="topic-metadata">

**Author:** [@ross\_b](https://www.ruby-forum.com/u/ross_b)\
**Replies:** 0\
**Last updated:** [November 24, 2006, 2:27pm UTC](https://www.ruby-forum.com/t/curb-0-0-2-released/77124 "2006-11-24T14:27:53Z")

</div>

Hot on the heels of Curb 0.0.1, version 0.0.2 is now available from rubyforge (http://rubyforge.org/projects/curb). Curb provides easy to use bindings to the libcurl URL transfer library. This release improves compati…

---

## [Removing a tag from an xml document](https://www.ruby-forum.com/t/removing-a-tag-from-an-xml-document/77113)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 2\
**Last updated:** [November 24, 2006, 1:43pm UTC](https://www.ruby-forum.com/t/removing-a-tag-from-an-xml-document/77113 "2006-11-24T13:43:32Z")

</div>

Hi, Im trying to convert part of a HTML document to REXML and its throwing it back at me due to the fact that the html document isnt valid XML due to one closing tag which doesnt have an opener. heres the xml: …

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/77121)

<div class="topic-metadata">

**Author:** [@Marco\_Lomar](https://www.ruby-forum.com/u/Marco_Lomar)\
**Replies:** 0\
**Last updated:** [November 24, 2006, 1:33pm UTC](https://www.ruby-forum.com/t/unsubscribe/77121 "2006-11-24T13:33:45Z")

</div>

Unsubscribe-me, please. O Yahoo! está de cara nova. Venha conferir!

---

## [\#returning and #tap](https://www.ruby-forum.com/t/returning-and-tap/75257)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 56\
**Last updated:** [November 24, 2006, 1:25pm UTC](https://www.ruby-forum.com/t/returning-and-tap/75257 "2006-11-24T13:25:36Z")

</div>

Had use for this today: #returning is a convenience method you’ll find in both Facets and ActiveSupport. Jamis’ blogged it the other day: http://weblog.jamisbuck.org/2006/10/27/mining-activesupport-object-returning An…

---

## [Cygwin $B$G(B Resolv.getaddress $B$,\<:GT$9$k(B](https://www.ruby-forum.com/t/cygwin-b-g-b-resolv-getaddress-b-gt-9-k-b/77118)

<div class="topic-metadata">

**Author:** [@Kouhei\_Y](https://www.ruby-forum.com/u/Kouhei_Y)\
**Replies:** 0\
**Last updated:** [November 24, 2006, 1:07pm UTC](https://www.ruby-forum.com/t/cygwin-b-g-b-resolv-getaddress-b-gt-9-k-b/77118 "2006-11-24T13:07:33Z")

</div>

e$B$3$s$K$A$O!#LxED$G$9!#e(B WindowsXP Home Edition SP2 e$B\>e$Ne(B Cygwin e$BHGe(B Ruby 1.8.5 e$B$K$\*$$$F!"e(B Resolv.getaddress e$B$,%(%i!\<$K$J$j$^$9!#e(B % uname -a CYGWIN\_NT-5.1 yell 1.5.21(0.156/4/2) 2006-08-09 …

---

## [S3-ruby 0.1.0 Released](https://www.ruby-forum.com/t/s3-ruby-0-1-0-released/77074)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 1\
**Last updated:** [November 24, 2006, 12:09pm UTC](https://www.ruby-forum.com/t/s3-ruby-0-1-0-released/77074 "2006-11-24T12:09:26Z")

</div>

s3-ruby version 0.1.0 has been released! by Chris C. removed\_email\_address@domain.invalid http://metacampsite.com/s3-ruby based on the Amazon sample code == FEATURES/PROBLEMS: Full REST API support Support for stre…

---

## [Compile ruby with oniguruma on OS X](https://www.ruby-forum.com/t/compile-ruby-with-oniguruma-on-os-x/76978)

<div class="topic-metadata">

**Author:** [@Ashley\_M](https://www.ruby-forum.com/u/Ashley_M)\
**Replies:** 2\
**Last updated:** [November 24, 2006, 10:51am UTC](https://www.ruby-forum.com/t/compile-ruby-with-oniguruma-on-os-x/76978 "2006-11-24T10:51:16Z")

</div>

Hi I’ve just got my hands on the latest Mastering Regular Expressions. I want to play with some of the clever stuff (eg lookbehinds) in ruby. I’m running OS X on my desktop, and my ruby is compiled from MacPorts. T…

---

## [Segmentation fault in hpricot?](https://www.ruby-forum.com/t/segmentation-fault-in-hpricot/76979)

<div class="topic-metadata">

**Author:** [@brad7a0](https://www.ruby-forum.com/u/brad7a0)\
**Replies:** 3\
**Last updated:** [November 24, 2006, 5:56am UTC](https://www.ruby-forum.com/t/segmentation-fault-in-hpricot/76979 "2006-11-24T05:56:51Z")

</div>

I have a ruby script producing this error on Ubunutu Linux amd64 (I used the standard ubuntu ruby packages to install ruby… I got ruby gems from source and used gem install to get mechanize). The script works fine on…

---

## [Fastthread 0.4](https://www.ruby-forum.com/t/fastthread-0-4/77064)

<div class="topic-metadata">

**Author:** [@MenTaLguY](https://www.ruby-forum.com/u/MenTaLguY)\
**Replies:** 4\
**Last updated:** [November 24, 2006, 5:30am UTC](https://www.ruby-forum.com/t/fastthread-0-4/77064 "2006-11-24T05:30:48Z")

</div>

fastthread is a library which replaces the synchronization primitives defined in stdlibâ€™s thread.rb (Mutex, ConditionVariable, Queue, and SizedQueue) with optimized versions which: \* are much faster (in the non-co…

---

## [Inserting multiple rows from array](https://www.ruby-forum.com/t/inserting-multiple-rows-from-array/76712)

<div class="topic-metadata">

**Author:** [@drlelon](https://www.ruby-forum.com/u/drlelon)\
**Replies:** 5\
**Last updated:** [November 24, 2006, 5:06am UTC](https://www.ruby-forum.com/t/inserting-multiple-rows-from-array/76712 "2006-11-24T05:06:45Z")

</div>

Hi, I have two sets of values: job.id = 1 and contact\_ids = \[4, 8\] I want to be able to iterate over all of values in the contact\_id array and create database records consisting of a job\_id and contact\_id. So, in th…

---

## [GNURadio bindings for ruby (request)](https://www.ruby-forum.com/t/gnuradio-bindings-for-ruby-request/77082)

<div class="topic-metadata">

**Author:** [@Timothy\_Brown](https://www.ruby-forum.com/u/Timothy_Brown)\
**Replies:** 0\
**Last updated:** [November 24, 2006, 4:32am UTC](https://www.ruby-forum.com/t/gnuradio-bindings-for-ruby-request/77082 "2006-11-24T04:32:43Z")

</div>

Hi folks, I doubt anyone on this list that has done any work on bindings for GNURadio wouldn’t be subscribed to the gnuradio mailing list where I posted my original request, but I thought I would extend distribution …

---

## [Merge with YARV](https://www.ruby-forum.com/t/merge-with-yarv/74838)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 15\
**Last updated:** [November 24, 2006, 4:06am UTC](https://www.ruby-forum.com/t/merge-with-yarv/74838 "2006-11-24T04:06:37Z")

</div>

e$B!!$5$5$@$G$9!#e(B e$B!!e(BRubyConf 2006 e$B$N:G=F|$K$5$C$5$He(B YARV e$B$r%^!\<%8$7$m!"$H$$$o$l$F$7$^$C$?e(B e$B$N$G!“e(B11e$B7nCf$Ke(B YARV e$B$,K\\2H%j%\]%8%H%j$K%^!\<%8$G$-$k$h$&$K!”:#:n6H$r?J$a$Fe(B e$B$$$^$9!#6q…

---

## [Streaming Spreadsheet in Ruby](https://www.ruby-forum.com/t/streaming-spreadsheet-in-ruby/76949)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [November 24, 2006, 3:58am UTC](https://www.ruby-forum.com/t/streaming-spreadsheet-in-ruby/76949 "2006-11-24T03:58:10Z")

</div>

(This posting can be ignored unless you live-or-die by a \*nix command line.) http://rubyforge.org/projects/sss/ On the other hand, have you ever wanted to do some quick math on a CSV without waiting to launch Exc…

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

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