# Ruby

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

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

---

## [Anyone subscribed to a \*JRuby\* mailing list?](https://www.ruby-forum.com/t/anyone-subscribed-to-a-jruby-mailing-list/104131)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 4\
**Last updated:** [May 14, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/anyone-subscribed-to-a-jruby-mailing-list/104131 "2007-05-14T17:52:20Z")

</div>

I am looking for a specific JRuby mailing list. (1) On the web, I found the list removed\_email\_address@domain.invalid , but I have never managed to subscribe to this list; so in case the list admin of this list happen…

---

## [Reading Files: how to I specify the encoding?](https://www.ruby-forum.com/t/reading-files-how-to-i-specify-the-encoding/104127)

<div class="topic-metadata">

**Author:** [@Claus\_Hausberger](https://www.ruby-forum.com/u/Claus_Hausberger)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/reading-files-how-to-i-specify-the-encoding/104127 "2007-05-14T16:50:32Z")

</div>

Hello I have a lot of xml and java files witch have German Umlauts and other non ASCII files in them. I want to read the files and convert them to UTF-8 using a Ruby script. I convert the strings with this code: def…

---

## [What is it about File.rename?](https://www.ruby-forum.com/t/what-is-it-about-file-rename/104116)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 4\
**Last updated:** [May 14, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/what-is-it-about-file-rename/104116 "2007-05-14T16:38:09Z")

</div>

Hello, I’m going a bit nuts with a script of mine that doesn’t seem to behave with file renaming. I’ve got 172 files in a directory, all with the extension “.pstxt.” Dir.glob("\*.pstxt").each do |pstxtfile| $ps2kfile…

---

## [Hash#shift](https://www.ruby-forum.com/t/hash-shift/104118)

<div class="topic-metadata">

**Author:** [@duffbeer](https://www.ruby-forum.com/u/duffbeer)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 4:03pm UTC](https://www.ruby-forum.com/t/hash-shift/104118 "2007-05-14T16:03:20Z")

</div>

Hi, I was reading this http://www.rubycentral.com/book/ref\_c\_hash.html#Hash.shift and I wondered how this could be useful. I must be missing something. I tried this ahash = {“a” =\> “apple”,“b”=\> “boat”,“c” =\>“car”, …

---

## [Slow file access with mapped drives ?!](https://www.ruby-forum.com/t/slow-file-access-with-mapped-drives/104106)

<div class="topic-metadata">

**Author:** [@RebhanS\_Gilbert](https://www.ruby-forum.com/u/RebhanS_Gilbert)\
**Replies:** 8\
**Last updated:** [May 14, 2007, 3:55pm UTC](https://www.ruby-forum.com/t/slow-file-access-with-mapped-drives/104106 "2007-05-14T15:55:19Z")

</div>

Hi, running ruby 1.8.4 (2006-04-14) \[i386-mswin32\] on Windows2000 i have a script that scans some directories for given filename patterns and does string replacement in those found files. it works fine, but when it…

---

## [Re: way to kill output from terminal](https://www.ruby-forum.com/t/re-way-to-kill-output-from-terminal/104094)

<div class="topic-metadata">

**Author:** [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Replies:** 1\
**Last updated:** [May 14, 2007, 2:27pm UTC](https://www.ruby-forum.com/t/re-way-to-kill-output-from-terminal/104094 "2007-05-14T14:27:07Z")

</div>

Lo there all, is there a way that i can kill output from certain commands from entering the terminal ? When i run a script from the terminal, i get a lot of SQL warnings that i just don’t need to see. Dear Shawn, …

---

## [Fwd: QUIZ 123 # Huffman Encoder](https://www.ruby-forum.com/t/fwd-quiz-123-huffman-encoder/197262)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 2:04pm UTC](https://www.ruby-forum.com/t/fwd-quiz-123-huffman-encoder/197262 "2007-05-14T14:04:00Z")

</div>

Begin forwarded message:

---

## [AD over SSL using Net/LDAP?](https://www.ruby-forum.com/t/ad-over-ssl-using-net-ldap/103857)

<div class="topic-metadata">

**Author:** [@Amos](https://www.ruby-forum.com/u/Amos)\
**Replies:** 1\
**Last updated:** [May 14, 2007, 1:33pm UTC](https://www.ruby-forum.com/t/ad-over-ssl-using-net-ldap/103857 "2007-05-14T13:33:57Z")

</div>

Has anybody gotten Net/LDAP (0.4) to work with AD over SSL? I can connect without SSL, but not able to connect with SSL even though nmap shows that port 636 is listening. In fact I can connect using openssl, which rev…

---

## [FileUtils changes date of file](https://www.ruby-forum.com/t/fileutils-changes-date-of-file/104108)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 1:07pm UTC](https://www.ruby-forum.com/t/fileutils-changes-date-of-file/104108 "2007-05-14T13:07:54Z")

</div>

Hi, I use ruby under WinXP and discovered the following issue. When I copy a file with the following code require ‘fileutils’ FileUtils.cp("file1’,‘file2’) the date of the destination file won’t match the date of th…

---

## [Probs with accessing variables in yaml file](https://www.ruby-forum.com/t/probs-with-accessing-variables-in-yaml-file/104089)

<div class="topic-metadata">

**Author:** [@RebhanS\_Gilbert](https://www.ruby-forum.com/u/RebhanS_Gilbert)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 11:57am UTC](https://www.ruby-forum.com/t/probs-with-accessing-variables-in-yaml-file/104089 "2007-05-14T11:57:41Z")

</div>

Hi, i have a script that is configured via yaml file : —script----------- require ‘yaml’ require ‘highline/import’ require ‘win32/registry’ config=YAML.load\_file(“cvs\_login.yaml”) \[ … \] def filesed!(pattern, repl…

---

## [Problem with Mutex: Threads don't wakeup](https://www.ruby-forum.com/t/problem-with-mutex-threads-dont-wakeup/103901)

<div class="topic-metadata">

**Author:** [@laurent](https://www.ruby-forum.com/u/laurent)\
**Replies:** 3\
**Last updated:** [May 14, 2007, 10:36am UTC](https://www.ruby-forum.com/t/problem-with-mutex-threads-dont-wakeup/103901 "2007-05-14T10:36:28Z")

</div>

Hi all! I am writting an application that runs about 100-200 threads that share a few specialized buffers. I am using the Mutex class to share the buffers between the different threads. I am experiencing some weird p…

---

## [Re: attn](https://www.ruby-forum.com/t/re-attn/104096)

<div class="topic-metadata">

**Author:** [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 9:50am UTC](https://www.ruby-forum.com/t/re-attn/104096 "2007-05-14T09:50:18Z")

</div>

Dear Ruby Carillo, to get a quick idea of what Ruby programming is like - without any programming prerequisites - you can have a look here: http://pine.fm/LearnToProgram/?Chapter=00 Best regards, Axel

---

## [Requiring with eRuby problem](https://www.ruby-forum.com/t/requiring-with-eruby-problem/104087)

<div class="topic-metadata">

**Author:** [@donut2d](https://www.ruby-forum.com/u/donut2d)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 8:16am UTC](https://www.ruby-forum.com/t/requiring-with-eruby-problem/104087 "2007-05-14T08:16:09Z")

</div>

I have eRuby running on my Mac with a local dev server using MAMP (Apache). Whenever I try to ‘require’ a file other than stuff life ‘cgi’ I get a 500 Internal Server Error when trying to load the page in my browser. …

---

## [Argument hash to string to proc to instance variables](https://www.ruby-forum.com/t/argument-hash-to-string-to-proc-to-instance-variables/104082)

<div class="topic-metadata">

**Author:** [@Nasir\_K](https://www.ruby-forum.com/u/Nasir_K)\
**Replies:** 1\
**Last updated:** [May 14, 2007, 7:41am UTC](https://www.ruby-forum.com/t/argument-hash-to-string-to-proc-to-instance-variables/104082 "2007-05-14T07:41:05Z")

</div>

It is idiomatic to pass a number of related arguments (usually config related) as the last (braceless argument) to a method ( heavily used in Rails ) e.g . def my\_method(arg1, arg2) end where arg1 is anything and ar…

---

## [Regex \\w allows non english characters](https://www.ruby-forum.com/t/regex-w-allows-non-english-characters/103818)

<div class="topic-metadata">

**Author:** [@ehudros](https://www.ruby-forum.com/u/ehudros)\
**Replies:** 7\
**Last updated:** [May 14, 2007, 5:50am UTC](https://www.ruby-forum.com/t/regex-w-allows-non-english-characters/103818 "2007-05-14T05:50:59Z")

</div>

Hi everyone… I’m looking for a way to only allow english characters through a simple regex. It seems that \\w (altough the documentation states is equivalent to \[a- zA-Z0-9\] still allows non english characters (in my…

---

## [Fwd: Please Forward: Ruby Quiz Submission](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/197238)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 5:25am UTC](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/197238 "2007-05-14T05:25:57Z")

</div>

Begin forwarded message:

---

## [May Phoenix Ruby Users Group Meeting 5/14](https://www.ruby-forum.com/t/may-phoenix-ruby-users-group-meeting-5-14/104077)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 4:32am UTC](https://www.ruby-forum.com/t/may-phoenix-ruby-users-group-meeting-5-14/104077 "2007-05-14T04:32:55Z")

</div>

The Phoenix Ruby U. Group will hold its May meeting on Monday, May 14, at 6:30 pm, at MWA Intelligence (same place as last month) See http://rubyaz.org/groups/prug/ for location details The meeting will run until ~…

---

## [NetworkFacade 0.4](https://www.ruby-forum.com/t/networkfacade-0-4/103689)

<div class="topic-metadata">

**Author:** [@pyros](https://www.ruby-forum.com/u/pyros)\
**Replies:** 10\
**Last updated:** [May 14, 2007, 3:39am UTC](https://www.ruby-forum.com/t/networkfacade-0-4/103689 "2007-05-14T03:39:51Z")

</div>

NetworkFacade is an alternative to DRb, XML/RPC and other REST api, all in one gem ! http://network-facade.rubyforge.org/ The easiest way to describe it, is through examples. A simple tcp client/server : – Server – …

---

## [Attn](https://www.ruby-forum.com/t/attn/104069)

<div class="topic-metadata">

**Author:** [@ruby\_carillo](https://www.ruby-forum.com/u/ruby_carillo)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 3:06am UTC](https://www.ruby-forum.com/t/attn/104069 "2007-05-14T03:06:49Z")

</div>

hello! im just new here. and can you please tell me what is the significance of this software?Meaning how can this help me? What are the possible things i can learn from here? And also can what is the differrent of t…

---

## [Ruby bindings](https://www.ruby-forum.com/t/ruby-bindings/104073)

<div class="topic-metadata">

**Author:** [@samaaron](https://www.ruby-forum.com/u/samaaron)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 2:15am UTC](https://www.ruby-forum.com/t/ruby-bindings/104073 "2007-05-14T02:15:29Z")

</div>

Hi there, I was wondering whether it would be possible for someone to spend a moment of their time to either answer my question, or point me in the right direction regarding some interesting (to me) Ruby behaviour w.…

---

## [Way to kill output from terminal](https://www.ruby-forum.com/t/way-to-kill-output-from-terminal/104070)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 1:03am UTC](https://www.ruby-forum.com/t/way-to-kill-output-from-terminal/104070 "2007-05-14T01:03:38Z")

</div>

Lo there all, is there a way that i can kill output from certain commands from entering the terminal ? When i run a script from the terminal, i get a lot of SQL warnings that i just don’t need to see. Is there a w…

---

## [Can't get basic CGI and Form submission working](https://www.ruby-forum.com/t/cant-get-basic-cgi-and-form-submission-working/104058)

<div class="topic-metadata">

**Author:** [@tobyr](https://www.ruby-forum.com/u/tobyr)\
**Replies:** 5\
**Last updated:** [May 14, 2007, 12:31am UTC](https://www.ruby-forum.com/t/cant-get-basic-cgi-and-form-submission-working/104058 "2007-05-14T00:31:36Z")

</div>

I’m not a programmer, but like to use Ruby for writing simple programs, mainly for helping with my day job (as a network engineer). My normal method of coding is to take an example out a book (“The Pragmatic Programm…

---

## [No accept Ipv6 in IPAddr](https://www.ruby-forum.com/t/no-accept-ipv6-in-ipaddr/104063)

<div class="topic-metadata">

**Author:** [@shingara](https://www.ruby-forum.com/u/shingara)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 12:20am UTC](https://www.ruby-forum.com/t/no-accept-ipv6-in-ipaddr/104063 "2007-05-14T00:20:35Z")

</div>

Hi, I ask me a question since few day and I don’t understand why this code doesn’t run : require ‘ipaddr’ IPAddr.new ‘2002:0000:1234:4561’ In fact this code raise an Exception : /usr/lib64/ruby/1.8/ipaddr.rb:422:in…

---

## [Need help](https://www.ruby-forum.com/t/need-help/103970)

<div class="topic-metadata">

**Author:** [@aaron](https://www.ruby-forum.com/u/aaron)\
**Replies:** 3\
**Last updated:** [May 13, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/need-help/103970 "2007-05-13T22:52:27Z")

</div>

I got this error in Ubuntu when i wanted to use parseexcel . Here is the code : require ‘parseexcel’ workbook = Spreadsheet::ParseExcel.parse(“12.xls”) worksheet = workbook.worksheet(0) … The full error message:"te…

---

## [Re: Distributed Computing in Ruby](https://www.ruby-forum.com/t/re-distributed-computing-in-ruby/104029)

<div class="topic-metadata">

**Author:** [@Phy\_P](https://www.ruby-forum.com/u/Phy_P)\
**Replies:** 5\
**Last updated:** [May 13, 2007, 10:03pm UTC](https://www.ruby-forum.com/t/re-distributed-computing-in-ruby/104029 "2007-05-13T22:03:22Z")

</div>

Well, being that I am in the same boat both as a noobie and someone wanting parallel processing, look at RINDA (think linda but for Ruby e.g. black board and tuple space or if you are a Java fan, think java spaces) an…

---

## [Copy binary files to dir and zip](https://www.ruby-forum.com/t/copy-binary-files-to-dir-and-zip/104064)

<div class="topic-metadata">

**Author:** [@chasconquest](https://www.ruby-forum.com/u/chasconquest)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 9:52pm UTC](https://www.ruby-forum.com/t/copy-binary-files-to-dir-and-zip/104064 "2007-05-13T21:52:54Z")

</div>

‘src’ dir contains 2 binary files (mp3s) I want to copy the files from ‘src’ into a new dir and then zip it. The copy into a new dir is fine, but I can’t seem to get the new dir in to the zip. Any clues? Thanks! \<-…

---

## [Problem with fxruby](https://www.ruby-forum.com/t/problem-with-fxruby/104060)

<div class="topic-metadata">

**Author:** [@Mariusz\_Pietrzyk](https://www.ruby-forum.com/u/Mariusz_Pietrzyk)\
**Replies:** 2\
**Last updated:** [May 13, 2007, 9:50pm UTC](https://www.ruby-forum.com/t/problem-with-fxruby/104060 "2007-05-13T21:50:21Z")

</div>

Hi When I require fox16 i get lots of warnings like /usr/lib/ruby/site\_ruby/1.8/i686-linux/fox16.so: warning: already initialized constant ID\_SHOW\_FILES /usr/lib/ruby/site\_ruby/1.8/i686-linux/fox16.so: warning: alrea…

---

## [Tiny IRB improvement - max-size of return format](https://www.ruby-forum.com/t/tiny-irb-improvement-max-size-of-return-format/104048)

<div class="topic-metadata">

**Author:** [@stian](https://www.ruby-forum.com/u/stian)\
**Replies:** 2\
**Last updated:** [May 13, 2007, 8:57pm UTC](https://www.ruby-forum.com/t/tiny-irb-improvement-max-size-of-return-format/104048 "2007-05-13T20:57:09Z")

</div>

I’m not sure if it’s appropriate to post here, but I found this very useful, wanted to share it with people, and didn’t know where else. So I use IRB (and script/console) a lot for testing out regexps or small code bl…

---

## [Hoe and gems: How to handle deps?](https://www.ruby-forum.com/t/hoe-and-gems-how-to-handle-deps/103892)

<div class="topic-metadata">

**Author:** [@Vassilis\_R](https://www.ruby-forum.com/u/Vassilis_R)\
**Replies:** 2\
**Last updated:** [May 13, 2007, 7:00pm UTC](https://www.ruby-forum.com/t/hoe-and-gems-how-to-handle-deps/103892 "2007-05-13T19:00:56Z")

</div>

I got into using Hoe, my projects were starting to get ou t of control and Hoe helps a lot in keeping everything at a sane level. I just need a final bit of help with figuring out how to build the various gems. Q1: W…

---

## [Absolute Beginner - Where to run program?](https://www.ruby-forum.com/t/absolute-beginner-where-to-run-program/103974)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 14\
**Last updated:** [May 13, 2007, 5:38pm UTC](https://www.ruby-forum.com/t/absolute-beginner-where-to-run-program/103974 "2007-05-13T17:38:49Z")

</div>

hello there, i am an absolute beginner, so my question might seem rather silly. i just installed ruby 186-25 using the windows installer- my computer is windows xp. my first step was to follow the “ruby in twenty mi…

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

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