# Ruby

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

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

---

## [Code Review: tracefixes-1](https://www.ruby-forum.com/t/code-review-tracefixes-1/150122)

<div class="topic-metadata">

**Author:** [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Replies:** 1\
**Last updated:** [October 4, 2008, 12:31am UTC](https://www.ruby-forum.com/t/code-review-tracefixes-1/150122 "2008-10-04T00:31:54Z")

</div>

tfpt review “/shelveset:tracefixes-1;REDMOND\\jflam” Comment : Bug fixes in tracing infrastructure

---

## [Tramadol Purchase Online 24/7](https://www.ruby-forum.com/t/tramadol-purchase-online-24-7/150117)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [October 3, 2008, 10:20pm UTC](https://www.ruby-forum.com/t/tramadol-purchase-online-24-7/150117 "2008-10-03T22:20:42Z")

</div>

tramadol purchase . . . Enough to seek Tramadol! You’ve already found the best site where you can purchase tramadol online for lowest price! Just click our link below and buy cheap tramadol To order tramadol witho…

---

## [Detecting with mouse-click highlighted text in textarea](https://www.ruby-forum.com/t/detecting-with-mouse-click-highlighted-text-in-textarea/150112)

<div class="topic-metadata">

**Author:** [@learner](https://www.ruby-forum.com/u/learner)\
**Replies:** 0\
**Last updated:** [October 3, 2008, 10:03pm UTC](https://www.ruby-forum.com/t/detecting-with-mouse-click-highlighted-text-in-textarea/150112 "2008-10-03T22:03:49Z")

</div>

Hi, Maybe I have more chance with this question. How can I detect with mouse-click highlighted text and store it as a string in a file or database. Is this possible with ruby? Thank you in advance Bou

---

## [Explain this ruby regex](https://www.ruby-forum.com/t/explain-this-ruby-regex/150093)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [October 3, 2008, 9:47pm UTC](https://www.ruby-forum.com/t/explain-this-ruby-regex/150093 "2008-10-03T21:47:42Z")

</div>

Can someone explain this regex … “one two”.scan(/\\w\*/).length returns 4. I can see it matching the 2 words and the space, what else is it matching on? Is there a null terminator, I thought Ruby strings were not null …

---

## [RSpec-1.1.8](https://www.ruby-forum.com/t/rspec-1-1-8/150085)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 4\
**Last updated:** [October 3, 2008, 9:11pm UTC](https://www.ruby-forum.com/t/rspec-1-1-8/150085 "2008-10-03T21:11:30Z")

</div>

Thanks to some very quick feedback on the 1.1.7 release, the RSpec Development Team is proud to announce yet another bug fix release: RSpec-1.1.8. RSpec-1.1.8 includes the following changes: == rspec-1.1.8 2 bug f…

---

## [\[ANN\] Configatron 2.1.4](https://www.ruby-forum.com/t/ann-configatron-2-1-4/150106)

<div class="topic-metadata">

**Author:** [@markbates](https://www.ruby-forum.com/u/markbates)\
**Replies:** 0\
**Last updated:** [October 3, 2008, 8:55pm UTC](https://www.ruby-forum.com/t/ann-configatron-2-1-4/150106 "2008-10-03T20:55:50Z")

</div>

This release contains protection of already defined methods, such as object\_id. This comes from Configatron advocate, Don March. Thanks Don! Also in this release is a much improved inspect method. For more information…

---

## [Click and copy text into file or database using mouse event](https://www.ruby-forum.com/t/click-and-copy-text-into-file-or-database-using-mouse-event/150105)

<div class="topic-metadata">

**Author:** [@learner](https://www.ruby-forum.com/u/learner)\
**Replies:** 0\
**Last updated:** [October 3, 2008, 8:43pm UTC](https://www.ruby-forum.com/t/click-and-copy-text-into-file-or-database-using-mouse-event/150105 "2008-10-03T20:43:36Z")

</div>

Hi, am new at ruby and searching for a way to highlight a word in a text through a mouse-click and then copy the highlighted word into a file by evaluating the mouse event (highlighted area) or hotkeys. Is there a wa…

---

## [Looking for a publicly accessible SOAP example](https://www.ruby-forum.com/t/looking-for-a-publicly-accessible-soap-example/127499)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [October 3, 2008, 8:07pm UTC](https://www.ruby-forum.com/t/looking-for-a-publicly-accessible-soap-example/127499 "2008-10-03T20:07:31Z")

</div>

I realize that SOAP is dead. I didn’t realize this until this week. But, I think it is certainly true. I have spent 2 days Googling for a working Ruby SOAP example, and it seems that all of the SOAP services are offl…

---

## [Ruby 1.9.0-5 was released](https://www.ruby-forum.com/t/ruby-1-9-0-5-was-released/150103)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 0\
**Last updated:** [October 3, 2008, 7:56pm UTC](https://www.ruby-forum.com/t/ruby-1-9-0-5-was-released/150103 "2008-10-03T19:56:09Z")

</div>

Hi, I released Ruby 1.9.0-5. == Location ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.9.0-5.tar.bz2 MD5: 1f8be4695939a42a35d9ee793221eaa9 SHA256: 6641148785a8bd3b352c2f990e5b20c1bd244f61275150139671b9b84610d996 SIZE: …

---

## [Using Shell linux commands in Ruby!](https://www.ruby-forum.com/t/using-shell-linux-commands-in-ruby/150083)

<div class="topic-metadata">

**Author:** [@muasif80](https://www.ruby-forum.com/u/muasif80)\
**Replies:** 6\
**Last updated:** [October 3, 2008, 7:50pm UTC](https://www.ruby-forum.com/t/using-shell-linux-commands-in-ruby/150083 "2008-10-03T19:50:15Z")

</div>

I have the following text that allows for having shell linux commands executed and their results manipulated inside ruby code. If anyone can tell me a better way of doing this, or he/she can mention the pros and cons …

---

## [\[ANN\] Ruby 1.9.0-5$B%j%j!\<%9(B](https://www.ruby-forum.com/t/ann-ruby-1-9-0-5-b-j-j-9-b/150101)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 0\
**Last updated:** [October 3, 2008, 7:19pm UTC](https://www.ruby-forum.com/t/ann-ruby-1-9-0-5-b-j-j-9-b/150101 "2008-10-03T19:19:07Z")

</div>

Yuguie$B$G$9!#e(BRuby 1.9.0-5e$B$r%j%j!\<%9$7$^$7$?!#e(B == e$B=j:\_e(B ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.9.0-5.tar.bz2 MD5: 1f8be4695939a42a35d9ee793221eaa9 SHA256: 6641148785a8bd3b352c2f990e5b20c1bd244f61275…

---

## [How to load/use a 3rd party jar file](https://www.ruby-forum.com/t/how-to-load-use-a-3rd-party-jar-file/149874)

<div class="topic-metadata">

**Author:** [@tristincolby](https://www.ruby-forum.com/u/tristincolby)\
**Replies:** 1\
**Last updated:** [October 3, 2008, 7:00pm UTC](https://www.ruby-forum.com/t/how-to-load-use-a-3rd-party-jar-file/149874 "2008-10-03T19:00:22Z")

</div>

Hi everyone. I’m trying to figure out how to use a third party jar file in my Jruby app. In java it looks like import com.mycompany.metadata.\* jmdConnection ci = new jmdConnection(); In ruby I’m trying to do the fo…

---

## [IO.popen fails to pen persistent ssh connection](https://www.ruby-forum.com/t/io-popen-fails-to-pen-persistent-ssh-connection/150091)

<div class="topic-metadata">

**Author:** [@hector](https://www.ruby-forum.com/u/hector)\
**Replies:** 1\
**Last updated:** [October 3, 2008, 5:54pm UTC](https://www.ruby-forum.com/t/io-popen-fails-to-pen-persistent-ssh-connection/150091 "2008-10-03T17:54:27Z")

</div>

What the? The following code(see below) works fine in a few of my ruby scripts but fails on others with the following message: ‘/scripts/ruby/testssh.rb:4: undefined method \`exitstatus’ for nil:NilClass (NoMethodErro…

---

## [How to convert an array into a recursively calling string](https://www.ruby-forum.com/t/how-to-convert-an-array-into-a-recursively-calling-string/150090)

<div class="topic-metadata">

**Author:** [@wrapster](https://www.ruby-forum.com/u/wrapster)\
**Replies:** 0\
**Last updated:** [October 3, 2008, 5:21pm UTC](https://www.ruby-forum.com/t/how-to-convert-an-array-into-a-recursively-calling-string/150090 "2008-10-03T17:21:14Z")

</div>

Hi all, I am stuck with an issue of converting a set of values present in the yaml file that i’ve pushed into an array to a recursively calling command. I have attached the yaml file . This is how the o/p should be …

---

## [Mysql + Ruby](https://www.ruby-forum.com/t/mysql-ruby/150087)

<div class="topic-metadata">

**Author:** [@guilhermemm](https://www.ruby-forum.com/u/guilhermemm)\
**Replies:** 1\
**Last updated:** [October 3, 2008, 4:51pm UTC](https://www.ruby-forum.com/t/mysql-ruby/150087 "2008-10-03T16:51:00Z")

</div>

Hi, I’m trying to install the mysql module but I can’t. I’m installing by the RubyGems… but happens the following error: Select which gem to install for your platform ( mysql 2.7.3 (mswin32) mysql 2.7.1 (mswin32) my…

---

## [Great Lakes Ruby Bash - Registration Deadline](https://www.ruby-forum.com/t/great-lakes-ruby-bash-registration-deadline/150052)

<div class="topic-metadata">

**Author:** [@bdimcheff](https://www.ruby-forum.com/u/bdimcheff)\
**Replies:** 2\
**Last updated:** [October 3, 2008, 4:46pm UTC](https://www.ruby-forum.com/t/great-lakes-ruby-bash-registration-deadline/150052 "2008-10-03T16:46:18Z")

</div>

Just a quick word on Great Lakes Ruby Bash registration: Great Lakes Ruby Bash will accept registrations up until the conference begins, however our caterer requires 72 hours of notice for a head count. Therefore, any…

---

## [Using win32-service](https://www.ruby-forum.com/t/using-win32-service/150036)

<div class="topic-metadata">

**Author:** [@ahappydeath](https://www.ruby-forum.com/u/ahappydeath)\
**Replies:** 3\
**Last updated:** [October 3, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/using-win32-service/150036 "2008-10-03T16:15:42Z")

</div>

I am trying to create a windows service with Ruby. I have successfully created the service ( I can open up the services and see the service I created ) but when I try to start it I get the error message: “Could not st…

---

## [Iterate over array and add numbers of each object](https://www.ruby-forum.com/t/iterate-over-array-and-add-numbers-of-each-object/150086)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 5\
**Last updated:** [October 3, 2008, 2:50pm UTC](https://www.ruby-forum.com/t/iterate-over-array-and-add-numbers-of-each-object/150086 "2008-10-03T14:50:59Z")

</div>

Hi all number = 0; objects.each do |o| number += o.some\_number end return number I guess there’s a much more beautiful way for this, or isn’t? Something like collect or so… Thanks :slight\_smile: Josh

---

## [Strange intermittent Exception in thread "Thread-2" java.lang.NullPointerException error](https://www.ruby-forum.com/t/strange-intermittent-exception-in-thread-thread-2-java-lang-nullpointerexception-error/149042)

<div class="topic-metadata">

**Author:** [@eipipuz](https://www.ruby-forum.com/u/eipipuz)\
**Replies:** 3\
**Last updated:** [October 3, 2008, 1:52pm UTC](https://www.ruby-forum.com/t/strange-intermittent-exception-in-thread-thread-2-java-lang-nullpointerexception-error/149042 "2008-10-03T13:52:19Z")

</div>

Hello guys, I am working in a multithreaded algorithm to perform some complex searches on an Oracle database. For that I am using JDBC and activerecord-jdbc-adapter (0.8.2). The algorithm opens six different threads.…

---

## [Problem extending (adding methods) to class](https://www.ruby-forum.com/t/problem-extending-adding-methods-to-class/150035)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 23\
**Last updated:** [October 3, 2008, 1:26pm UTC](https://www.ruby-forum.com/t/problem-extending-adding-methods-to-class/150035 "2008-10-03T13:26:37Z")

</div>

I am trying to extend a class developed by someone else (its from the ncurses-ruby lib). I need to add some fields and methods to it. I tried directly extending it the usual way. class MyForm \< FORM However, all att…

---

## [RSpec-1.1.7 is released](https://www.ruby-forum.com/t/rspec-1-1-7-is-released/150073)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 1\
**Last updated:** [October 3, 2008, 1:16pm UTC](https://www.ruby-forum.com/t/rspec-1-1-7-is-released/150073 "2008-10-03T13:16:25Z")

</div>

The RSpec Development is happy to announce the release of rspec-1.1.7 and rspec-rails-1.1.7 This is recommended for anyone who upgraded to 1.1.5 earlier this week as it addresses bugs that were introduced by that rele…

---

## [Eruby: problem defining a new method for Array](https://www.ruby-forum.com/t/eruby-problem-defining-a-new-method-for-array/150021)

<div class="topic-metadata">

**Author:** [@dmjb](https://www.ruby-forum.com/u/dmjb)\
**Replies:** 4\
**Last updated:** [October 3, 2008, 11:30am UTC](https://www.ruby-forum.com/t/eruby-problem-defining-a-new-method-for-array/150021 "2008-10-03T11:30:38Z")

</div>

Hello, I installed eruby yesterday and I spend all night programming… I’m trying to define a new method for class Array but apache2+mod\_ruby can’t find the method! A create a simple example: error \<% class Ar…

---

## [How to do ruby setup on linux?](https://www.ruby-forum.com/t/how-to-do-ruby-setup-on-linux/150075)

<div class="topic-metadata">

**Author:** [@muasif80](https://www.ruby-forum.com/u/muasif80)\
**Replies:** 4\
**Last updated:** [October 3, 2008, 10:18am UTC](https://www.ruby-forum.com/t/how-to-do-ruby-setup-on-linux/150075 "2008-10-03T10:18:15Z")

</div>

Hi All, Can anyone explain how ruby can be setup on linux? Thanks

---

## [Reg. Expressions with file directories](https://www.ruby-forum.com/t/reg-expressions-with-file-directories/150074)

<div class="topic-metadata">

**Author:** [@silentd3at4](https://www.ruby-forum.com/u/silentd3at4)\
**Replies:** 2\
**Last updated:** [October 3, 2008, 10:10am UTC](https://www.ruby-forum.com/t/reg-expressions-with-file-directories/150074 "2008-10-03T10:10:48Z")

</div>

Im writing this program that is suppose to rename files using regular expressions. I am suppose to pass 3 line arguments: the directory in which to rename files, a regular expression that matches files to be renamed, …

---

## [Jsr223 - utf8 problem](https://www.ruby-forum.com/t/jsr223-utf8-problem/150020)

<div class="topic-metadata">

**Author:** [@PaweSSSSSWielgus](https://www.ruby-forum.com/u/PaweSSSSSWielgus)\
**Replies:** 3\
**Last updated:** [October 3, 2008, 10:06am UTC](https://www.ruby-forum.com/t/jsr223-utf8-problem/150020 "2008-10-03T10:06:35Z")

</div>

Hi, i have a strange problem with utf-8 characters. The code i have been using: ScriptEngineManager m = new ScriptEngineManager(); ScriptEngine rubyEngine = m.getEngineByName(“jruby”); rubyEngine.setContext(new Sim…

---

## [Exception in thread?](https://www.ruby-forum.com/t/exception-in-thread/149773)

<div class="topic-metadata">

**Author:** [@Sylvain\_Viart](https://www.ruby-forum.com/u/Sylvain_Viart)\
**Replies:** 7\
**Last updated:** [October 3, 2008, 9:58am UTC](https://www.ruby-forum.com/t/exception-in-thread/149773 "2008-10-03T09:58:54Z")

</div>

Hi, I’m trying to use Net::SSH::Multi. http://net-ssh.rubyforge.org/ It seems that ruby have difficulties to catch exception in multi threaded mode, any hint? the doc said, if we put (:on\_error =\> :warn) it shouldn’…

---

## [Pathname's each\_entry](https://www.ruby-forum.com/t/pathnames-each-entry/150046)

<div class="topic-metadata">

**Author:** [@claudio\_greco](https://www.ruby-forum.com/u/claudio_greco)\
**Replies:** 6\
**Last updated:** [October 3, 2008, 9:55am UTC](https://www.ruby-forum.com/t/pathnames-each-entry/150046 "2008-10-03T09:55:20Z")

</div>

Hi all, I noticed that the following code require ‘pathname’ p = Pathname.new(‘Test’) p.each\_entry { | f | puts f.exist? } does not work as I would expect. I’m expecting that any returned object exists otherwise it…

---

## [Icanhasaudio 0.1.3 Released](https://www.ruby-forum.com/t/icanhasaudio-0-1-3-released/150077)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [October 3, 2008, 8:32am UTC](https://www.ruby-forum.com/t/icanhasaudio-0-1-3-released/150077 "2008-10-03T08:32:49Z")

</div>

icanhasaudio version 0.1.3 has been released! http://icanhasaudio.com/ http://github.com/tenderlove/icanhasaudio/tree/master http://seattlerb.rubyforge.org/ Hai! icanhasaudio? is an interface to lame for decoding ur M…

---

## [File Column](https://www.ruby-forum.com/t/file-column/150076)

<div class="topic-metadata">

**Author:** [@pshussain](https://www.ruby-forum.com/u/pshussain)\
**Replies:** 0\
**Last updated:** [October 3, 2008, 8:06am UTC](https://www.ruby-forum.com/t/file-column/150076 "2008-10-03T08:06:57Z")

</div>

Hai all, I am working on openLDAP. I would like to store the pdf files using file column in openLDAP in Windows OS. I dont know how to do this? Can anybody tell me the clear path? Thanks \*& Regards Hussain

---

## [Ordered hash hack for \< ruby 1.9?](https://www.ruby-forum.com/t/ordered-hash-hack-for-ruby-1-9/149965)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 21\
**Last updated:** [October 3, 2008, 7:58am UTC](https://www.ruby-forum.com/t/ordered-hash-hack-for-ruby-1-9/149965 "2008-10-03T07:58:54Z")

</div>

I am having an issue testing my code because hashes don’t have a consistent order when you iterate over them. For example, one of the methods that I am trying to test iterates over a hash and creates a string. That st…

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

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