# Ruby

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

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

---

## [\- ptools 1.1.1](https://www.ruby-forum.com/t/ptools-1-1-1/66201)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 7\
**Last updated:** [August 24, 2006, 9:53am UTC](https://www.ruby-forum.com/t/ptools-1-1-1/66201 "2006-08-24T09:53:28Z")

</div>

Hi all, This is just a quick announcement to let y’all know that I’ve released ptools 1.1.1 today. What is it? Power tools for the File class. Additional methods include which, whereis, head, tail, middle, wc, nu…

---

## [SpiderMonkey / OSSP js?](https://www.ruby-forum.com/t/spidermonkey-ossp-js/65724)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 10\
**Last updated:** [August 24, 2006, 8:27am UTC](https://www.ruby-forum.com/t/spidermonkey-ossp-js/65724 "2006-08-24T08:27:20Z")

</div>

Anyone here use SpiderMonkey / OSSP js? I wondering how that works out as a standard (not strictly web oriented) programming language and how it compares to using Ruby in that regard. OSSP: OSSP js Thanks, T.

---

## [Regexp or not](https://www.ruby-forum.com/t/regexp-or-not/66181)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 11\
**Last updated:** [August 24, 2006, 7:27am UTC](https://www.ruby-forum.com/t/regexp-or-not/66181 "2006-08-24T07:27:13Z")

</div>

I am not yet a big friend of reegxp… and I don’t actually know if I should use it or any other function but I’d like to know the easiest path to do the following : I get a string person = 'Clara Mint" which is a ful…

---

## [Ruby Shipping gem question](https://www.ruby-forum.com/t/ruby-shipping-gem-question/66239)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 0\
**Last updated:** [August 24, 2006, 7:15am UTC](https://www.ruby-forum.com/t/ruby-shipping-gem-question/66239 "2006-08-24T07:15:13Z")

</div>

Hi, Anyone use the Shipping gem to communicate with fedex? How do I get a meter number? I have an account number, but haven’t seen anything about a meter number. Joe

---

## [Ruby Units](https://www.ruby-forum.com/t/ruby-units/65984)

<div class="topic-metadata">

**Author:** [@olbrich](https://www.ruby-forum.com/u/olbrich)\
**Replies:** 19\
**Last updated:** [August 24, 2006, 6:21am UTC](https://www.ruby-forum.com/t/ruby-units/65984 "2006-08-24T06:21:09Z")

</div>

Announcing… Ruby Units Version: 0.1.0 Kevin C. Olbrich, Ph.D. http://www.sciwerks.com Project page: http://rubyforge.org/projects/ruby-units ==Introduction Many technical applications make use of specialized calcu…

---

## [Moving files with ruby](https://www.ruby-forum.com/t/moving-files-with-ruby/66216)

<div class="topic-metadata">

**Author:** [@darren\_kirby](https://www.ruby-forum.com/u/darren_kirby)\
**Replies:** 5\
**Last updated:** [August 24, 2006, 6:01am UTC](https://www.ruby-forum.com/t/moving-files-with-ruby/66216 "2006-08-24T06:01:08Z")

</div>

Hello all, A script I have written needs the ability to move files. I thought I would be clever and use File.rename(old, newdir + new) but this is giving me an error: \`rename’: Invalid cross-device link. I gather th…

---

## [Re: A question about rio and frames](https://www.ruby-forum.com/t/re-a-question-about-rio-and-frames/66185)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [August 24, 2006, 5:53am UTC](https://www.ruby-forum.com/t/re-a-question-about-rio-and-frames/66185 "2006-08-24T05:53:07Z")

</div>

Dear wccrawford, thank you for responding. Actually, I wanted to know whether there is some way to let rio behave as, say Windows Explorer or Firefox, as in that particular website (‘http://www.math-jobs.com’) or ‘Ma…

---

## [Does anyone care about ri color scheme?](https://www.ruby-forum.com/t/does-anyone-care-about-ri-color-scheme/65823)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 8\
**Last updated:** [August 24, 2006, 4:10am UTC](https://www.ruby-forum.com/t/does-anyone-care-about-ri-color-scheme/65823 "2006-08-24T04:10:01Z")

</div>

Don’t laugh. I like a little color in my terminal windows. Well, OK. Go ahead and laugh. I wouldn’t want you to hurt yourself. Anyway, I simply find that the right blend of colors makes me happier when I program and e…

---

## [Ruby C/C++ Interface](https://www.ruby-forum.com/t/ruby-c-c-interface/66094)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 21\
**Last updated:** [August 24, 2006, 1:34am UTC](https://www.ruby-forum.com/t/ruby-c-c-interface/66094 "2006-08-24T01:34:48Z")

</div>

Hello, I am currently developing a webshop which uses a c/c++ shared object/dynamic link library for some functions. Currently I am evaluating which technology I should use. As I’ve got a completely free choice I was…

---

## [Arrayfields-3.6.0](https://www.ruby-forum.com/t/arrayfields-3-6-0/66212)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [August 24, 2006, 12:18am UTC](https://www.ruby-forum.com/t/arrayfields-3-6-0/66212 "2006-08-24T00:18:44Z")

</div>

URLS: http://raa.ruby-lang.org/project/arrayfields/ http://www.codeforpeople.com/lib/ruby/arrayfields/ http://rubyforge.org/projects/arrayfields/ SYNOPSIS: allow keyword access to arrays: require 'arrayfields' fi…

---

## [Argument parsing with embedded parentheses](https://www.ruby-forum.com/t/argument-parsing-with-embedded-parentheses/57978)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 5\
**Last updated:** [August 24, 2006, 12:06am UTC](https://www.ruby-forum.com/t/argument-parsing-with-embedded-parentheses/57978 "2006-08-24T00:06:42Z")

</div>

Hello, Can someone please point me at a simple recipe for parsing a parameter list with embedded parentheses and commas, e.g., class String def get\_args split(’,’).map{|e| e.strip} # naive recipe end end require…

---

## [Cartesian and polar coordinates library](https://www.ruby-forum.com/t/cartesian-and-polar-coordinates-library/66096)

<div class="topic-metadata">

**Author:** [@bartb](https://www.ruby-forum.com/u/bartb)\
**Replies:** 5\
**Last updated:** [August 23, 2006, 9:02pm UTC](https://www.ruby-forum.com/t/cartesian-and-polar-coordinates-library/66096 "2006-08-23T21:02:20Z")

</div>

Hello, For a personal project I had to create a library of cartesian and polar coordinates. Is anyone else interested in this code? If so I’ll try to turn it in to a library and release it on rubyforge. Just my way …

---

## [Re: How do I strip off the extra double quote or white space](https://www.ruby-forum.com/t/re-how-do-i-strip-off-the-extra-double-quote-or-white-space/66179)

<div class="topic-metadata">

**Author:** [@Ban\_Hoang](https://www.ruby-forum.com/u/Ban_Hoang)\
**Replies:** 0\
**Last updated:** [August 23, 2006, 8:58pm UTC](https://www.ruby-forum.com/t/re-how-do-i-strip-off-the-extra-double-quote-or-white-space/66179 "2006-08-23T20:58:20Z")

</div>

Actually the input file contain is on the same 1st line : arr\[0\] This is the csv external file dropList.csv contain: :: Select Site :: !!Eastgate\_Mall I think my actual problem is when reading into an array and …

---

## [Forum software in Ruby, besides RForum?](https://www.ruby-forum.com/t/forum-software-in-ruby-besides-rforum/66173)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 3\
**Last updated:** [August 23, 2006, 8:56pm UTC](https://www.ruby-forum.com/t/forum-software-in-ruby-besides-rforum/66173 "2006-08-23T20:56:20Z")

</div>

This might be a rails question, but then again maybe theres something which isn’t a rails app. I’ve been asked to do a proposal on a web site which incorporates a user forum, and file uploads/downloads. I looked arou…

---

## [Re: Dir.bitbucket?](https://www.ruby-forum.com/t/re-dir-bitbucket/65808)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 14\
**Last updated:** [August 23, 2006, 7:32pm UTC](https://www.ruby-forum.com/t/re-dir-bitbucket/65808 "2006-08-23T19:32:10Z")

</div>

code would end end end That’s interesting, though personally I’d rather just have something in the core. I mean, we have Dir.tmpdir (in the tmpdir package). Why not Dir.bitbucket? Regards, Dan This communi…

---

## [File\_tag?](https://www.ruby-forum.com/t/file-tag/66167)

<div class="topic-metadata">

**Author:** [@jbhruby](https://www.ruby-forum.com/u/jbhruby)\
**Replies:** 1\
**Last updated:** [August 23, 2006, 7:26pm UTC](https://www.ruby-forum.com/t/file-tag/66167 "2006-08-23T19:26:09Z")

</div>

Is there a tag for referring to files that can be downloaded from a server path? (i.e. a file version of image\_tag, stylesheet\_link\_tag etc) Cheers Jon.

---

## [Storing animated .gif images](https://www.ruby-forum.com/t/storing-animated-gif-images/65321)

<div class="topic-metadata">

**Author:** [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Replies:** 3\
**Last updated:** [August 23, 2006, 7:07pm UTC](https://www.ruby-forum.com/t/storing-animated-gif-images/65321 "2006-08-23T19:07:39Z")

</div>

The following code throws the error indicated in the code. Apparently this only appears to happen with animated gifs. Other image formats; jpg, etc., are ok. A VB version of this code, which also uses ADO, works w/o a…

---

## [\[ANNOUNCE\] Central Virginia Ruby User's Group](https://www.ruby-forum.com/t/announce-central-virginia-ruby-users-group/66161)

<div class="topic-metadata">

**Author:** [@bigfleet](https://www.ruby-forum.com/u/bigfleet)\
**Replies:** 0\
**Last updated:** [August 23, 2006, 6:19pm UTC](https://www.ruby-forum.com/t/announce-central-virginia-ruby-users-group/66161 "2006-08-23T18:19:33Z")

</div>

Hello, everyone! I am writing to announce that I’ve located enough interested parties in the Central Virginia area to begin to plan a User’s group there. Most of our interest is in the Richmond area, although there a…

---

## [Ruby/sdl errors](https://www.ruby-forum.com/t/ruby-sdl-errors/66159)

<div class="topic-metadata">

**Author:** [@stuartbrand](https://www.ruby-forum.com/u/stuartbrand)\
**Replies:** 0\
**Last updated:** [August 23, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/ruby-sdl-errors/66159 "2006-08-23T18:06:44Z")

</div>

When trying to run anything that uses graphics like ruby/sdl I get the following error, any ideas Thanks Stuart 2006-08-23 17:05:01.423 ruby\[28432\] \*\*\* \_NSAutoreleaseNoPool(): Object 0x379ca0 of class NSMutableParag…

---

## [Using Comparable in C](https://www.ruby-forum.com/t/using-comparable-in-c/66062)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [August 23, 2006, 5:55pm UTC](https://www.ruby-forum.com/t/using-comparable-in-c/66062 "2006-08-23T17:55:50Z")

</div>

Is there a way i can use the functions defined in compar.c (der, like without copying them)? I’d like to be able to arbitrarily compare VALUE’s - do i just have to imitate that code? Assuming that the underlying type …

---

## [Re: \[QUIZ\] QA Prototype (#91)](https://www.ruby-forum.com/t/re-quiz-qa-prototype-91/65938)

<div class="topic-metadata">

**Author:** [@Lock\_Stephen](https://www.ruby-forum.com/u/Lock_Stephen)\
**Replies:** 1\
**Last updated:** [August 23, 2006, 4:57pm UTC](https://www.ruby-forum.com/t/re-quiz-qa-prototype-91/65938 "2006-08-23T16:57:45Z")

</div>

End Is that a typo? Should be “end” I assume. Yep, a typo - or more accurately Outlook trying to be ‘helpful’ and capitalizing the start of a sentence. Apologies DISCLAIMER The information contained in this…

---

## [Email errors](https://www.ruby-forum.com/t/email-errors/66123)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 4\
**Last updated:** [August 23, 2006, 4:51pm UTC](https://www.ruby-forum.com/t/email-errors/66123 "2006-08-23T16:51:45Z")

</div>

I’m working on this recipie from the Ruby Cookbook, but receiving errors. Not sure if this is code related or system related. I’m attempting to send mail via my ISP’s smtp server. To protect the innocent I took out t…

---

## [Test coverage checking when test driver is separate from the](https://www.ruby-forum.com/t/test-coverage-checking-when-test-driver-is-separate-from-the/66057)

<div class="topic-metadata">

**Author:** [@fmwr](https://www.ruby-forum.com/u/fmwr)\
**Replies:** 2\
**Last updated:** [August 23, 2006, 4:21pm UTC](https://www.ruby-forum.com/t/test-coverage-checking-when-test-driver-is-separate-from-the/66057 "2006-08-23T16:21:30Z")

</div>

Hello, I have a program compiler.rb, that compiles something. The test driver is a separate program, that runs compiler.rb, then feeds the results to a virtual machine, and checks if it gets expected results. Now I’…

---

## [Ruby \<-\> digital camera](https://www.ruby-forum.com/t/ruby-digital-camera/66039)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 4\
**Last updated:** [August 23, 2006, 3:31pm UTC](https://www.ruby-forum.com/t/ruby-digital-camera/66039 "2006-08-23T15:31:25Z")

</div>

Hello, Can someone point me to some search terms for finding Ruby people or libraries that have used Ruby to grab images from a digital camera? Our iHeat program, http://hdl.handle.net/2002/11932 may be in need of …

---

## [Clusterer - 0.1.0 first release](https://www.ruby-forum.com/t/clusterer-0-1-0-first-release/65994)

<div class="topic-metadata">

**Author:** [@surendra\_s](https://www.ruby-forum.com/u/surendra_s)\
**Replies:** 3\
**Last updated:** [August 23, 2006, 3:13pm UTC](https://www.ruby-forum.com/t/clusterer-0-1-0-first-release/65994 "2006-08-23T15:13:23Z")

</div>

Hello, I am pleased to announce the availability of the Ruby library ‘clusterer’ which implements the basic K-Means and Hierarchical Clustering algorithms for text data. The project Rubyforge page is: http://rubyf…

---

## [Re: Ruby and ClearCase](https://www.ruby-forum.com/t/re-ruby-and-clearcase/66105)

<div class="topic-metadata">

**Author:** [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Replies:** 1\
**Last updated:** [August 23, 2006, 2:31pm UTC](https://www.ruby-forum.com/t/re-ruby-and-clearcase/66105 "2006-08-23T14:31:18Z")

</div>

OK so no one has used ruby to drive clearcase… might have to be a pet project to create a gem for this; gem’s gem. heh Now my problem is a very simple one and I don’t seem to be typing the right things into google or …

---

## [Embedded ruby question](https://www.ruby-forum.com/t/embedded-ruby-question/66117)

<div class="topic-metadata">

**Author:** [@photon](https://www.ruby-forum.com/u/photon)\
**Replies:** 0\
**Last updated:** [August 23, 2006, 1:29pm UTC](https://www.ruby-forum.com/t/embedded-ruby-question/66117 "2006-08-23T13:29:52Z")

</div>

I am developing an application in which Ruby is embedded in a C++ program that defines some native classes and methods and then calls ruby\_exec to run some script. The script calls the C++ methods and all works well…

---

## [Checking if a field is read-only](https://www.ruby-forum.com/t/checking-if-a-field-is-read-only/66101)

<div class="topic-metadata">

**Author:** [@ioananap](https://www.ruby-forum.com/u/ioananap)\
**Replies:** 2\
**Last updated:** [August 23, 2006, 12:35pm UTC](https://www.ruby-forum.com/t/checking-if-a-field-is-read-only/66101 "2006-08-23T12:35:07Z")

</div>

Hi, Can you help me please and tell how can i check if a field is read only in ruby? i’m trying to write a automated script Thanks

---

## [File download script in ruby](https://www.ruby-forum.com/t/file-download-script-in-ruby/65776)

<div class="topic-metadata">

**Author:** [@delia-deea](https://www.ruby-forum.com/u/delia-deea)\
**Replies:** 4\
**Last updated:** [August 23, 2006, 8:46am UTC](https://www.ruby-forum.com/t/file-download-script-in-ruby/65776 "2006-08-23T08:46:47Z")

</div>

Hi! Does anyone know if/how could a file download be automised with ruby? thanks, Delia

---

## [Re: Dir.bitbucket?](https://www.ruby-forum.com/t/re-dir-bitbucket/65977)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 2\
**Last updated:** [August 23, 2006, 8:16am UTC](https://www.ruby-forum.com/t/re-dir-bitbucket/65977 "2006-08-23T08:16:45Z")

</div>

Berger, Daniel wrote in \[ruby-talk:209874\]: perhaps we could put this in FileUtils? In pure Ruby, Pathname might be the best. That doesn’t strike me as immediately intuitive. Also, I wouldn’t expect a singleton…

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

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