# Ruby

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

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

---

## [Jruby-ldap - undefined method \`to\_java\_attributes'](https://www.ruby-forum.com/t/jruby-ldap-undefined-method-to-java-attributes/150436)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 3\
**Last updated:** [October 11, 2008, 2:01am UTC](https://www.ruby-forum.com/t/jruby-ldap-undefined-method-to-java-attributes/150436 "2008-10-11T02:01:07Z")

</div>

Hi folks, I’m working on some ruby code to populate and modify one of our OpenLDAP servers - it’s using JRuby 1.1.4 and jruby-ldap-0.0.1 for this purpose. I’ve been following the guide at Ruby - LDAP Tutorial | Tutor…

---

## [Ruby Sleep](https://www.ruby-forum.com/t/ruby-sleep/150635)

<div class="topic-metadata">

**Author:** [@kyeeh](https://www.ruby-forum.com/u/kyeeh)\
**Replies:** 6\
**Last updated:** [October 11, 2008, 1:45am UTC](https://www.ruby-forum.com/t/ruby-sleep/150635 "2008-10-11T01:45:19Z")

</div>

Hi all Ruby sleep is based on the system time, and it doesn’t work well for me, since my system time can fluctuate. I need a sleep based on cpu ticks, or something like this, does ruby has a way to do this? Anyone ha…

---

## [Ie.start & ie.new](https://www.ruby-forum.com/t/ie-start-ie-new/150577)

<div class="topic-metadata">

**Author:** [@vijaypatel](https://www.ruby-forum.com/u/vijaypatel)\
**Replies:** 1\
**Last updated:** [October 10, 2008, 11:40pm UTC](https://www.ruby-forum.com/t/ie-start-ie-new/150577 "2008-10-10T23:40:34Z")

</div>

Hello, I am a beginner to Ruby & Watir, as new as three days :slight\_smile: I am facing some beginner issues … When trying to use ie.new or ie.start, a fresh IE opens up and when using ie.goto on that object opens a …

---

## [Accesing core File class](https://www.ruby-forum.com/t/accesing-core-file-class/150659)

<div class="topic-metadata">

**Author:** [@lpc2148](https://www.ruby-forum.com/u/lpc2148)\
**Replies:** 1\
**Last updated:** [October 10, 2008, 11:07pm UTC](https://www.ruby-forum.com/t/accesing-core-file-class/150659 "2008-10-10T23:07:49Z")

</div>

Hey , I have to deal with some classes written by someone else , and , in the classes they wrote , they defined a File class . How could I access the class from Core ?

---

## [Auto-recognize links?](https://www.ruby-forum.com/t/auto-recognize-links/150475)

<div class="topic-metadata">

**Author:** [@jpigford](https://www.ruby-forum.com/u/jpigford)\
**Replies:** 3\
**Last updated:** [October 10, 2008, 11:03pm UTC](https://www.ruby-forum.com/t/auto-recognize-links/150475 "2008-10-10T23:03:41Z")

</div>

In PHP I’ve got a few functions that will turn data into links based on if it recognizes “http://”, “www.” etc etc. How can I do this with Ruby? For instance, in a forums setting if a user posted a link to something …

---

## [Error with gems 1.2.0 on ubuntu hardy](https://www.ruby-forum.com/t/error-with-gems-1-2-0-on-ubuntu-hardy/150585)

<div class="topic-metadata">

**Author:** [@m4lloc](https://www.ruby-forum.com/u/m4lloc)\
**Replies:** 6\
**Last updated:** [October 10, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/error-with-gems-1-2-0-on-ubuntu-hardy/150585 "2008-10-10T21:13:50Z")

</div>

First I apologize my poor English. After to install the ruby 1.8.7 patch level 22 on ubuntu 8.04 hardy succefully.Then I tryed to install rubygems 1.2 in sequence and I received this error message: xyz@xyz: /usr/loc…

---

## [\[ANN\] ruby-ole-1.2.8 released!](https://www.ruby-forum.com/t/ann-ruby-ole-1-2-8-released/150409)

<div class="topic-metadata">

**Author:** [@calande](https://www.ruby-forum.com/u/calande)\
**Replies:** 3\
**Last updated:** [October 10, 2008, 6:45pm UTC](https://www.ruby-forum.com/t/ann-ruby-ole-1-2-8-released/150409 "2008-10-10T18:45:37Z")

</div>

The new version of ruby-ole has been released! ruby-ole is a library for read/write access to OLE2 structured storage files, such as those produced by Microsoft Office, eg \*.doc, \*.msg etc. It provides a simple filesy…

---

## [Rescue clause](https://www.ruby-forum.com/t/rescue-clause/150624)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 3\
**Last updated:** [October 10, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/rescue-clause/150624 "2008-10-10T17:46:17Z")

</div>

I have been looking at the source code for rake (as you can probably tell from my previous questions), in an attempt to study a reasonable sized Ruby application and see what I can learn from the exercise. I’ve come …

---

## [October Phoenix Ruby User Group Meeting: Ruby + Wii](https://www.ruby-forum.com/t/october-phoenix-ruby-user-group-meeting-ruby-wii/150629)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [October 10, 2008, 5:01pm UTC](https://www.ruby-forum.com/t/october-phoenix-ruby-user-group-meeting-ruby-wii/150629 "2008-10-10T17:01:09Z")

</div>

\[ANN\] October Phoenix Ruby U. Group Meeting October Phoenix Ruby U. Group Meeting Date: Monday, October 13, 2008 Time: 6:30 pm Place: Happy Camper Studios 4643 E. Thomas Rd. Suite #3 Phoenix, AZ 85018 See http:…

---

## [How to copy data to clipboard](https://www.ruby-forum.com/t/how-to-copy-data-to-clipboard/150623)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 1\
**Last updated:** [October 10, 2008, 3:55pm UTC](https://www.ruby-forum.com/t/how-to-copy-data-to-clipboard/150623 "2008-10-10T15:55:55Z")

</div>

Hi all, I want to send the word “copy” to the clipboard and trigger an event like ctrl-c. which gem/library is used for this purpose? Thanks, Li

---

## [Simple regexp help needed - pull phrase out of string](https://www.ruby-forum.com/t/simple-regexp-help-needed-pull-phrase-out-of-string/150542)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 5\
**Last updated:** [October 10, 2008, 3:25pm UTC](https://www.ruby-forum.com/t/simple-regexp-help-needed-pull-phrase-out-of-string/150542 "2008-10-10T15:25:26Z")

</div>

Hey folks. I feel like this should be easy but it’s been a long week and my brain hurts. If i have a string like this: string = “pending: sent at Thu Oct 09 17:25:08 +0100 2008, password:banana errors: couldn’t find…

---

## [.rb to .html - syntax higlighting](https://www.ruby-forum.com/t/rb-to-html-syntax-higlighting/150595)

<div class="topic-metadata">

**Author:** [@fero](https://www.ruby-forum.com/u/fero)\
**Replies:** 2\
**Last updated:** [October 10, 2008, 2:09pm UTC](https://www.ruby-forum.com/t/rb-to-html-syntax-higlighting/150595 "2008-10-10T14:09:04Z")

</div>

hello. is there an easy way to generate nice colored .html form .rb? something like railscasts.com have on their pages. thanks.

---

## [Parse tree for 1.9](https://www.ruby-forum.com/t/parse-tree-for-1-9/150584)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [October 10, 2008, 10:35am UTC](https://www.ruby-forum.com/t/parse-tree-for-1-9/150584 "2008-10-10T10:35:41Z")

</div>

Anybody know if there is anything like parse\_tree for 1.9? Thanks! -=R

---

## [Minitest\_tu\_shim 1.3.0 Released](https://www.ruby-forum.com/t/minitest-tu-shim-1-3-0-released/150603)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [October 10, 2008, 10:25am UTC](https://www.ruby-forum.com/t/minitest-tu-shim-1-3-0-released/150603 "2008-10-10T10:25:43Z")

</div>

minitest\_tu\_shim version 1.3.0 has been released! http://rubyforge.org/projects/bfts minitest\_te\_shim bridges the gap between the small and fast minitest and ruby’s huge and slow test/unit. Changes: 1.3.0 / 2008-1…

---

## [Hoe 1.8.0 Released](https://www.ruby-forum.com/t/hoe-1-8-0-released/150601)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [October 10, 2008, 10:23am UTC](https://www.ruby-forum.com/t/hoe-1-8-0-released/150601 "2008-10-10T10:23:57Z")

</div>

hoe version 1.8.0 has been released! http://rubyforge.org/projects/seattlerb/ http://seattlerb.rubyforge.org/hoe/ removed\_email\_address@domain.invalid Hoe is a simple rake/rubygems helper for project Rakefiles. It ge…

---

## [Looking for recommandations for Ruby parsing packages](https://www.ruby-forum.com/t/looking-for-recommandations-for-ruby-parsing-packages/150480)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 1\
**Last updated:** [October 10, 2008, 10:21am UTC](https://www.ruby-forum.com/t/looking-for-recommandations-for-ruby-parsing-packages/150480 "2008-10-10T10:21:37Z")

</div>

I have need to build a parser, and was wondering if people could tell me what they think are good Ruby packages for doing so. Treetop sounds good, anything else? Thanks, Ken

---

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

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 2\
**Last updated:** [October 10, 2008, 9:55am UTC](https://www.ruby-forum.com/t/memory-leak-problem/229179 "2008-10-10T09:55:45Z")

</div>

I have a txt file with some data that i need to import to de database. I’m using ruby to import those data but i have a major problem, when i 've a large amount of data i run out of memory. File.open("#{RAILS\_ROOT}/p…

---

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

<div class="topic-metadata">

**Author:** [@Xie\_Yubo](https://www.ruby-forum.com/u/Xie_Yubo)\
**Replies:** 0\
**Last updated:** [October 10, 2008, 9:51am UTC](https://www.ruby-forum.com/t/unsubscribe/150597 "2008-10-10T09:51:37Z")

</div>

unsubscribe

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/150596)

<div class="topic-metadata">

**Author:** [@H\_T](https://www.ruby-forum.com/u/H_T)\
**Replies:** 0\
**Last updated:** [October 10, 2008, 9:45am UTC](https://www.ruby-forum.com/t/no-subject/150596 "2008-10-10T09:45:10Z")

</div>

unsubscribe

---

## [Bug in Vector class?](https://www.ruby-forum.com/t/bug-in-vector-class/150519)

<div class="topic-metadata">

**Author:** [@daz](https://www.ruby-forum.com/u/daz)\
**Replies:** 5\
**Last updated:** [October 10, 2008, 9:43am UTC](https://www.ruby-forum.com/t/bug-in-vector-class/150519 "2008-10-10T09:43:24Z")

</div>

require ‘matrix’ m = Matrix.identity(4) v = Vector\[5, 6, 7, 1\] puts m \* v gives the expected answer of \[5, 6, 7, 1\] but puts v \* m gives ExceptionForMatrix::ErrDimensionMismatch: Matrix dimension mismatch becaus…

---

## [\[Bug:1.9\] ArgumentError on "%c" % 0x80](https://www.ruby-forum.com/t/bug-1-9-argumenterror-on-c-0x80/150505)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [October 10, 2008, 9:21am UTC](https://www.ruby-forum.com/t/bug-1-9-argumenterror-on-c-0x80/150505 "2008-10-10T09:21:02Z")

</div>

“%c” % 0x80 e$B$,Nc30$K$J$j$^$9!#e(B % ./ruby -ve ‘"%c" % 0x80’ ruby 1.9.0 (2008-10-09 revision 19723) \[i686-linux\] -e:1: warning: useless use of % in void context -e:1:in %': negative string size (or size too big) (…

---

## [Parameterising RSpec tests](https://www.ruby-forum.com/t/parameterising-rspec-tests/150589)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 0\
**Last updated:** [October 10, 2008, 8:40am UTC](https://www.ruby-forum.com/t/parameterising-rspec-tests/150589 "2008-10-10T08:40:36Z")

</div>

Hello everyone, I’m trying to work out how to use RSpec to bundle up some existing test cases (created with a tool that is so nasty it defies description). For reasons that I won’t go into, I’m stuck with using the …

---

## [This can't get more amazing see for yourself! http://tardis-db.co.uk/](https://www.ruby-forum.com/t/this-cant-get-more-amazing-see-for-yourself-http-tardis-db-co-uk/150582)

<div class="topic-metadata">

**Author:** [@Wonderluder](https://www.ruby-forum.com/u/Wonderluder)\
**Replies:** 0\
**Last updated:** [October 10, 2008, 6:35am UTC](https://www.ruby-forum.com/t/this-cant-get-more-amazing-see-for-yourself-http-tardis-db-co-uk/150582 "2008-10-10T06:35:22Z")

</div>

This can’t get more amazing see for yourself! http://tardis-db.co.uk/

---

## [Ironruby.net back up soon](https://www.ruby-forum.com/t/ironruby-net-back-up-soon/150578)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 0\
**Last updated:** [October 10, 2008, 4:40am UTC](https://www.ruby-forum.com/t/ironruby-net-back-up-soon/150578 "2008-10-10T04:40:09Z")

</div>

All, ironruby.net should be back up whenever the new A-records propagate. Thanks. ~Jimmy

---

## ["print" not showing immediately in output, but "puts" is](https://www.ruby-forum.com/t/print-not-showing-immediately-in-output-but-puts-is/150560)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 4\
**Last updated:** [October 10, 2008, 3:05am UTC](https://www.ruby-forum.com/t/print-not-showing-immediately-in-output-but-puts-is/150560 "2008-10-10T03:05:19Z")

</div>

Several times I have come across this issue. It seems to be dependent on the environment, but I’ll do a “print ‘string’” and it wont show up UNTIL I do a “puts”. Then both strings will show up in the output window in …

---

## [Integration testing tools? story runner, rbehave, cucumber?](https://www.ruby-forum.com/t/integration-testing-tools-story-runner-rbehave-cucumber/150514)

<div class="topic-metadata">

**Author:** [@Gernot\_H](https://www.ruby-forum.com/u/Gernot_H)\
**Replies:** 2\
**Last updated:** [October 10, 2008, 3:01am UTC](https://www.ruby-forum.com/t/integration-testing-tools-story-runner-rbehave-cucumber/150514 "2008-10-10T03:01:47Z")

</div>

Dear all, I joined a pretty young VC company a month ago. We are using ruby/merb/datamapper/MySQL, and doing agile development. We use rspec for unit tests. Now we want to start writing integration tests. For this I …

---

## [Tkxml](https://www.ruby-forum.com/t/tkxml/150536)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 4\
**Last updated:** [October 9, 2008, 10:06pm UTC](https://www.ruby-forum.com/t/tkxml/150536 "2008-10-09T22:06:08Z")

</div>

Ok. How about any interest in creating Tk GUIs form an xml markup. Eg. \<Tk:Root name=“test” title=“Test”\> \<Tk:Frame name="menuframe"\> \<Tk:Menubutton name="filebutton" text="File" underline=“0”\> \<Tk:Me…

---

## [How to remove strange characters](https://www.ruby-forum.com/t/how-to-remove-strange-characters/150356)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 7\
**Last updated:** [October 9, 2008, 9:53pm UTC](https://www.ruby-forum.com/t/how-to-remove-strange-characters/150356 "2008-10-09T21:53:28Z")

</div>

Hi all, I grap some info from a webpage. Sometimes I get some stranges characters as follows (by p): To depart in a hurry; abscond: \\342\\200\\234Your horse has\\nabsquatulated!\\342\\200\\235 (Robert M. Bird) To die. or…

---

## [Need help with Hpricot](https://www.ruby-forum.com/t/need-help-with-hpricot/150464)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 2\
**Last updated:** [October 9, 2008, 9:33pm UTC](https://www.ruby-forum.com/t/need-help-with-hpricot/150464 "2008-10-09T21:33:20Z")

</div>

Hi all, I try to get"Slang " and “A close companion or comrade.” ONLY out of the following a webpage(part of it) with hpricot. There are so many javascripts there. I don’t think I know path/tag for target. Thanks, L…

---

## [Compile time options](https://www.ruby-forum.com/t/compile-time-options/150552)

<div class="topic-metadata">

**Author:** [@barjunk](https://www.ruby-forum.com/u/barjunk)\
**Replies:** 1\
**Last updated:** [October 9, 2008, 9:32pm UTC](https://www.ruby-forum.com/t/compile-time-options/150552 "2008-10-09T21:32:36Z")

</div>

I’m goofing around with compiling ruby from source. Are there “favorite” or recommended compile time options that folks use? I’m sure it matters what arch is being used…I’m using Intel and PPC machines. I’ve been co…

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

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