# Ruby

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

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

---

## [Meaning of subdirs within $LOAD\_PATH](https://www.ruby-forum.com/t/meaning-of-subdirs-within-load-path/83480)

<div class="topic-metadata">

**Author:** [@samoht](https://www.ruby-forum.com/u/samoht)\
**Replies:** 1\
**Last updated:** [January 26, 2007, 4:25pm UTC](https://www.ruby-forum.com/t/meaning-of-subdirs-within-load-path/83480 "2007-01-26T16:25:48Z")

</div>

Hello, what’s the meanding of the different subdirectories which ar part of $: resp. $LOAD\_PATH? I suppose a subdirectory “1.8” is for ruby-1.8-modules only, the “x86\_64-linux” directory is special for that architect…

---

## [SOAP access problems](https://www.ruby-forum.com/t/soap-access-problems/83488)

<div class="topic-metadata">

**Author:** [@alexamat](https://www.ruby-forum.com/u/alexamat)\
**Replies:** 0\
**Last updated:** [January 26, 2007, 3:58pm UTC](https://www.ruby-forum.com/t/soap-access-problems/83488 "2007-01-26T15:58:39Z")

</div>

Hi all i have been trying to access a wsdl file that is password protected, if i do and http request like that: wsdl\_url = ‘http://localhost:8080/xplanner/soap/XPlanner?wsdl’ user = xxx pass = xxx http = Net::HTTP.…

---

## [Method Auto Completion (#112)](https://www.ruby-forum.com/t/method-auto-completion-112/83345)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 1\
**Last updated:** [January 26, 2007, 2:47pm UTC](https://www.ruby-forum.com/t/method-auto-completion-112/83345 "2007-01-26T14:47:26Z")

</div>

by Robert D. First of all I would like to thank all submitters. One of the best features of the Ruby Q. is it tolerance brings up new ideas so often. In order to honor this feature I will first present Daniel F.'s …

---

## [Coredump on NetBSD](https://www.ruby-forum.com/t/coredump-on-netbsd/83474)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 0\
**Last updated:** [January 26, 2007, 2:43pm UTC](https://www.ruby-forum.com/t/coredump-on-netbsd/83474 "2007-01-26T14:43:25Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B trunke$B$re(BNetBSD 3.xe$B\>e$GB8:\_$7$J$$%U%!%$%k$r0z?t$H$7$FM?$($F\<B9Te(B e$B$9$k$He(Bcoree$B$rEG$-$^$9!#e(B mswin32e$B$de(BLinuxe$B$@$HLdBj$J$$$h$&$G$9!#e(B e$B$h$/$…

---

## [Rendering bitmap fonts from ruby](https://www.ruby-forum.com/t/rendering-bitmap-fonts-from-ruby/83472)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 26, 2007, 2:32pm UTC](https://www.ruby-forum.com/t/rendering-bitmap-fonts-from-ruby/83472 "2007-01-26T14:32:23Z")

</div>

hi! i need to generate some bitmap headlines + was wondering if there are any ruby libraries for rendering type to bitmaps? we have a mixed linux/os-x environment, and getting rmagick running for everyone looks like …

---

## [Class & modifiers modifiers](https://www.ruby-forum.com/t/class-modifiers-modifiers/83364)

<div class="topic-metadata">

**Author:** [@miquel](https://www.ruby-forum.com/u/miquel)\
**Replies:** 9\
**Last updated:** [January 26, 2007, 1:41pm UTC](https://www.ruby-forum.com/t/class-modifiers-modifiers/83364 "2007-01-26T13:41:13Z")

</div>

Hi I want to make a question to all the ruby-lang people (I hope that somebody answered it). I’m writing a database GUI and I’m coding the backend using modules and classes. If I have this situation: module A prot…

---

## [Matching unicode character](https://www.ruby-forum.com/t/matching-unicode-character/83470)

<div class="topic-metadata">

**Author:** [@yong](https://www.ruby-forum.com/u/yong)\
**Replies:** 0\
**Last updated:** [January 26, 2007, 1:21pm UTC](https://www.ruby-forum.com/t/matching-unicode-character/83470 "2007-01-26T13:21:04Z")

</div>

Hi all How can I matching a unicode character in ruby? Like \\X does in perl. Thanks.

---

## [Ruby web resources not working?](https://www.ruby-forum.com/t/ruby-web-resources-not-working/83466)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 1\
**Last updated:** [January 26, 2007, 12:52pm UTC](https://www.ruby-forum.com/t/ruby-web-resources-not-working/83466 "2007-01-26T12:52:00Z")

</div>

Hello all, I’ve just wandered back to Ruby after a period of absence. But some of the resources I used to rely on seem to be gone or broken: http://wiki.rubygarden.org/ or http://rubygarden.org/wiki – no response h…

---

## [Eclipse with Ruby + RoR + Subversion](https://www.ruby-forum.com/t/eclipse-with-ruby-ror-subversion/83460)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [January 26, 2007, 11:30am UTC](https://www.ruby-forum.com/t/eclipse-with-ruby-ror-subversion/83460 "2007-01-26T11:30:43Z")

</div>

Hello list! I took the time to create a small Eclipse package with the RDT and RoR development tools, together with subversion integration, using yoxo’s Eclipse on demand download service. You can get it here (or sea…

---

## [What books to buy?](https://www.ruby-forum.com/t/what-books-to-buy/72150)

<div class="topic-metadata">

**Author:** [@Kyrre\_SSiso-8859-1](https://www.ruby-forum.com/u/Kyrre_SSiso-8859-1)\
**Replies:** 25\
**Last updated:** [January 26, 2007, 10:59am UTC](https://www.ruby-forum.com/t/what-books-to-buy/72150 "2007-01-26T10:59:39Z")

</div>

Hey all! I aspire to become a great Ruby as well as Rails developer. But what books should I buy? 01 http://www.amazon.com/exec/obidos/tg/detail/-/0974514055/ref=ord\_cart\_shr/102-8499224-6872917?\_encoding=U…

---

## [Regexp and string halts ruby](https://www.ruby-forum.com/t/regexp-and-string-halts-ruby/83396)

<div class="topic-metadata">

**Author:** [@rgr](https://www.ruby-forum.com/u/rgr)\
**Replies:** 7\
**Last updated:** [January 26, 2007, 10:58am UTC](https://www.ruby-forum.com/t/regexp-and-string-halts-ruby/83396 "2007-01-26T10:58:28Z")

</div>

I’ve tried the following regexp/string match: /^((?:\\s\*.+\[;=\]\[^,\]\*,?)+)$/ =~ " pid=934, time=478611, command=TMQFORWARD, args=-C dom=ccaApp -g 650 -i 4278 -u pthp68 -U /home1/eclprp/logs/tx/ULOG -m 0 – -i 10 -t 600 -q…

---

## [Ways to capture output stream of the process executed with e](https://www.ruby-forum.com/t/ways-to-capture-output-stream-of-the-process-executed-with-e/83456)

<div class="topic-metadata">

**Author:** [@Googy](https://www.ruby-forum.com/u/Googy)\
**Replies:** 1\
**Last updated:** [January 26, 2007, 10:00am UTC](https://www.ruby-forum.com/t/ways-to-capture-output-stream-of-the-process-executed-with-e/83456 "2007-01-26T10:00:26Z")

</div>

Hi, I need to capture output of the process executed with exec or other eqavalent calls. Thanks.

---

## [ActiveRecord curious behaviour](https://www.ruby-forum.com/t/activerecord-curious-behaviour/83391)

<div class="topic-metadata">

**Author:** [@Alexandru\_ESUngur](https://www.ruby-forum.com/u/Alexandru_ESUngur)\
**Replies:** 2\
**Last updated:** [January 26, 2007, 9:56am UTC](https://www.ruby-forum.com/t/activerecord-curious-behaviour/83391 "2007-01-26T09:56:25Z")

</div>

Hi all, I appologise if this question is offtopic, hopefully it isn’t though… I have: Forum has\_many :comments so obviously, I access the comments collection as some\_forum.comments check its type with: some\_forum.…

---

## [Adding methods to String, but only in my own Module?](https://www.ruby-forum.com/t/adding-methods-to-string-but-only-in-my-own-module/83425)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 7\
**Last updated:** [January 26, 2007, 8:59am UTC](https://www.ruby-forum.com/t/adding-methods-to-string-but-only-in-my-own-module/83425 "2007-01-26T08:59:18Z")

</div>

Is there any way to add methods to the String class, but only within the scope of a particular module? Example: adding a “fantastic” method to String: class String def fantastic self + “fantastic” end end Now, gi…

---

## [Attach to running IE instance without watir?](https://www.ruby-forum.com/t/attach-to-running-ie-instance-without-watir/81912)

<div class="topic-metadata">

**Author:** [@gtcaz](https://www.ruby-forum.com/u/gtcaz)\
**Replies:** 9\
**Last updated:** [January 26, 2007, 6:51am UTC](https://www.ruby-forum.com/t/attach-to-running-ie-instance-without-watir/81912 "2007-01-26T06:51:06Z")

</div>

Hi all, I’ve done the Google thing for several days and I’m hitting a blank. I’m wondering if there’s a way to attach to a running IE process (on Windows) by using win32ole alone. I can do it with watir, ie = Watir:…

---

## [Open3.popen3 $B$N=\*N;=hM}(B](https://www.ruby-forum.com/t/open3-popen3-b-n-n-hm-b/83233)

<div class="topic-metadata">

**Author:** [@SSSBSHS\_SSSSS5SRSmS](https://www.ruby-forum.com/u/SSSBSHS_SSSSS5SRSmS)\
**Replies:** 4\
**Last updated:** [January 26, 2007, 4:01am UTC](https://www.ruby-forum.com/t/open3-popen3-b-n-n-hm-b/83233 "2007-01-26T04:01:55Z")

</div>

e$B$H$\_$?$G$9!#e(B Open3.popen3 e$B$,%3%^%s%I$Ne(B exec e$B$K\<:GT$7$?\>l9g$K!"DL\>o$N=\*N;=hM}$r9T$J$Ce(B e$B$F$7$^$$!"e(Bat\_exit e$BEy$,\<B9T$5$l$F$7$^$$$^$9!#e(B % ruby -ropen3 -e ‘at\_exit{p $$}; Open3.popen3("/bin/hog…

---

## [RubyGems 0.9.1](https://www.ruby-forum.com/t/rubygems-0-9-1/82034)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 19\
**Last updated:** [January 26, 2007, 3:08am UTC](https://www.ruby-forum.com/t/rubygems-0-9-1/82034 "2007-01-26T03:08:51Z")

</div>

= Announce: RubyGems Release 0.9.1 Finally, the much anticipated RubyGems version 0.9.1 is now available. This release includes a number of new features and bug fixes. The most important change in RubyGems 0.9.1 is th…

---

## [Handling insert errors when posting to a form](https://www.ruby-forum.com/t/handling-insert-errors-when-posting-to-a-form/83439)

<div class="topic-metadata">

**Author:** [@jts](https://www.ruby-forum.com/u/jts)\
**Replies:** 0\
**Last updated:** [January 26, 2007, 2:19am UTC](https://www.ruby-forum.com/t/handling-insert-errors-when-posting-to-a-form/83439 "2007-01-26T02:19:20Z")

</div>

I’m working on a ruby script to automate posting to a form. I have some code like this: res=Net::HTTP.new(url.host, url.port).start {|http| http.request(req) } p res case res when Net::HTTPSuccess, Net::HTTP…

---

## [Ruby language question](https://www.ruby-forum.com/t/ruby-language-question/83436)

<div class="topic-metadata">

**Author:** [@nevf](https://www.ruby-forum.com/u/nevf)\
**Replies:** 11\
**Last updated:** [January 26, 2007, 1:53am UTC](https://www.ruby-forum.com/t/ruby-language-question/83436 "2007-01-26T01:53:13Z")

</div>

Hi, I’ve been working on adding Ruby language support to our IDE “ED for Windows” the past few weeks and am stuck understanding the marked statement in this code: module Mod def size @size end def size=(val) # w…

---

## [RMagick prerequisite changes](https://www.ruby-forum.com/t/rmagick-prerequisite-changes/83433)

<div class="topic-metadata">

**Author:** [@tim-hunter](https://www.ruby-forum.com/u/tim-hunter)\
**Replies:** 0\
**Last updated:** [January 26, 2007, 12:46am UTC](https://www.ruby-forum.com/t/rmagick-prerequisite-changes/83433 "2007-01-26T00:46:37Z")

</div>

Just a heads-up about the next major RMagick release: The current release of RMagick, 1.15.0, supports ImageMagick \>= 6.0.0, Ruby \>= 1.6 (RVG requires Ruby 1.8), and all releases of GraphicsMagick. Testing RMagick wit…

---

## [Installing Ruby under Mac OS X](https://www.ruby-forum.com/t/installing-ruby-under-mac-os-x/83377)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 2\
**Last updated:** [January 26, 2007, 12:32am UTC](https://www.ruby-forum.com/t/installing-ruby-under-mac-os-x/83377 "2007-01-26T00:32:36Z")

</div>

I just downloaded the source for Ruby 1.8.5-p12 and built it under Mac OS X using the following steps. unzip and untar the downloaded file cd to the directory createed by untarring su root ./configure make make te…

---

## [Last day in month](https://www.ruby-forum.com/t/last-day-in-month/83426)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 4\
**Last updated:** [January 26, 2007, 12:25am UTC](https://www.ruby-forum.com/t/last-day-in-month/83426 "2007-01-26T00:25:35Z")

</div>

Hi, i’m trying to get the last day of a month with chronic. Since chronic seems to use ‘last’ as keyword in a sence like “back from now” this does’t give a result Chronic.parse(“last day of this month”) i tried also…

---

## ["".lines.dup.to\_a causes NameError](https://www.ruby-forum.com/t/lines-dup-to-a-causes-nameerror/83429)

<div class="topic-metadata">

**Author:** [@Minero\_A](https://www.ruby-forum.com/u/Minero_A)\
**Replies:** 1\
**Last updated:** [January 25, 2007, 11:53pm UTC](https://www.ruby-forum.com/t/lines-dup-to-a-causes-nameerror/83429 "2007-01-25T23:53:31Z")

</div>

e$B@DLZ$G$9!#e(B Enumerator e$B$re(B dup e$B$7$F;H$&$H0J2\<$N$h$&$K%(%i!\<$,=P$^$9!#e(B ~/c/bitclust % ruby-yarv -ve ‘"".lines.dup.to\_a’ ruby 1.9.0 (2007-01-23 patchlevel 0) \[x86\_64-linux\] -e:1:in to\_a': undefined loca…

---

## [Net SFTP / Deprec](https://www.ruby-forum.com/t/net-sftp-deprec/82784)

<div class="topic-metadata">

**Author:** [@pdg](https://www.ruby-forum.com/u/pdg)\
**Replies:** 1\
**Last updated:** [January 25, 2007, 11:15pm UTC](https://www.ruby-forum.com/t/net-sftp-deprec/82784 "2007-01-25T23:15:26Z")

</div>

Hi there, I am trying to get deprec gem to work on windows, and I’m told by the gem author that it’s a Net::SFTP problem (it won’t put???). Is there anyone on here that knows a workaround – I’m running WinXp on my ma…

---

## [Problem with pam\_ruby + postgres-pr (stack level too deep)](https://www.ruby-forum.com/t/problem-with-pam-ruby-postgres-pr-stack-level-too-deep/83228)

<div class="topic-metadata">

**Author:** [@prhlava](https://www.ruby-forum.com/u/prhlava)\
**Replies:** 1\
**Last updated:** [January 25, 2007, 10:36pm UTC](https://www.ruby-forum.com/t/problem-with-pam-ruby-postgres-pr-stack-level-too-deep/83228 "2007-01-25T22:36:58Z")

</div>

(code attached at the end) i am developing a pam module for blocking multiple failed attempts from the same host. with sqlite3 i had run into database locking problem so i am trying to switch the database to postgresq…

---

## [Ebedded: calling a C function from script](https://www.ruby-forum.com/t/ebedded-calling-a-c-function-from-script/82943)

<div class="topic-metadata">

**Author:** [@Shea\_M](https://www.ruby-forum.com/u/Shea_M)\
**Replies:** 11\
**Last updated:** [January 25, 2007, 9:25pm UTC](https://www.ruby-forum.com/t/ebedded-calling-a-c-function-from-script/82943 "2007-01-25T21:25:04Z")

</div>

I have my embedded interpreter running my scipt. Now I would like my script to call function in my C++ program. i.e., int getSomeValue() { return 5; } void setSomeValue( int value ) { \_value = value; } How wo…

---

## [Ssl xml rpc](https://www.ruby-forum.com/t/ssl-xml-rpc/83198)

<div class="topic-metadata">

**Author:** [@dawillis](https://www.ruby-forum.com/u/dawillis)\
**Replies:** 7\
**Last updated:** [January 25, 2007, 8:55pm UTC](https://www.ruby-forum.com/t/ssl-xml-rpc/83198 "2007-01-25T20:55:50Z")

</div>

I need to make remote procedure calls to a server that has a non-standard RPC protocol. It’s basically RPC but with extra types, no required message length declaration and it’s all done over ssl. I have a working vers…

---

## [Re: A Ruby Operating System (no bashing please)](https://www.ruby-forum.com/t/re-a-ruby-operating-system-no-bashing-please/83412)

<div class="topic-metadata">

**Author:** [@Frank\_Davis](https://www.ruby-forum.com/u/Frank_Davis)\
**Replies:** 0\
**Last updated:** [January 25, 2007, 8:47pm UTC](https://www.ruby-forum.com/t/re-a-ruby-operating-system-no-bashing-please/83412 "2007-01-25T20:47:57Z")

</div>

I know I would enjoy seeing that, just for the educational value of seeing how you accomplished it. If you can get it to support Mongrel and SQLite, it might even have some practical applications!

---

## [Problem using back-ticks + eval](https://www.ruby-forum.com/t/problem-using-back-ticks-eval/83399)

<div class="topic-metadata">

**Author:** [@richard](https://www.ruby-forum.com/u/richard)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 8:25pm UTC](https://www.ruby-forum.com/t/problem-using-back-ticks-eval/83399 "2007-01-25T20:25:54Z")

</div>

Hi, I’m trying to demo how Ruby handles various argument formats. For example, I write the statement: show %@ruby DisplayArgs.rb Arg1 Arg2@ and I get the output: ruby DisplayArgs.rb Arg1 Arg2 =\> Arg\[1\]: “Arg1” A…

---

## [Helper help](https://www.ruby-forum.com/t/helper-help/83393)

<div class="topic-metadata">

**Author:** [@Tomasz\_Tomczyk](https://www.ruby-forum.com/u/Tomasz_Tomczyk)\
**Replies:** 1\
**Last updated:** [January 25, 2007, 7:46pm UTC](https://www.ruby-forum.com/t/helper-help/83393 "2007-01-25T19:46:40Z")

</div>

I need a helper, which will render a table in my customized style. I wrote a code like this: template.rhtml: \<% @column\_names = \[“Name”, “Age”, “Sex”\] %\> \<%= table\_show @column\_name %\> helper.rb def table\_show(name…

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

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