# Ruby

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

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

---

## [Ruby application?](https://www.ruby-forum.com/t/ruby-application/71049)

<div class="topic-metadata">

**Author:** [@Rolando\_A](https://www.ruby-forum.com/u/Rolando_A)\
**Replies:** 5\
**Last updated:** [October 5, 2006, 1:26pm UTC](https://www.ruby-forum.com/t/ruby-application/71049 "2006-10-05T13:26:33Z")

</div>

Hi all, I’ve written a library to read/write the ipod tracklist, now I want to write a small application that can put/remove songs from an ipod (as a replacement for itunes), for that I want to use FOX GUI. Is there …

---

## [\[ ruby-Bugs-5995 \] OpenSSL::X509::Certificate.new is broken](https://www.ruby-forum.com/t/ruby-bugs-5995-openssl-certificate-new-is-broken/71093)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 0\
**Last updated:** [October 5, 2006, 9:44am UTC](https://www.ruby-forum.com/t/ruby-bugs-5995-openssl-certificate-new-is-broken/71093 "2006-10-05T09:44:08Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B \[ruby-core:08984\]e$B$NLdBj$,:F8=$G$-$??M$O$$$^$9$+!)e(B e$B%W%i%C%H%U%)!\<%\`$de(Bopenssle$B$N%P!\<%8%g%s$H$+$J$K$b=q$$$F$J$$$se(B e$B$G!":F8=$G$-$k$+$I$&$+J,$+$i$J$$$s$G$9$,!#e(B

---

## [Command help](https://www.ruby-forum.com/t/command-help/71059)

<div class="topic-metadata">

**Author:** [@tma](https://www.ruby-forum.com/u/tma)\
**Replies:** 4\
**Last updated:** [October 5, 2006, 9:16am UTC](https://www.ruby-forum.com/t/command-help/71059 "2006-10-05T09:16:06Z")

</div>

Found a buddy who used something like: hostname = open("|hostname").gets And… I see that it works, but I don’t find any of the documentation that makes sense. So – it seems to be IO class, but how? There’s no IO de…

---

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

<div class="topic-metadata">

**Author:** [@Magnus\_Hacker](https://www.ruby-forum.com/u/Magnus_Hacker)\
**Replies:** 0\
**Last updated:** [October 5, 2006, 9:14am UTC](https://www.ruby-forum.com/t/no-subject/71090 "2006-10-05T09:14:06Z")

</div>

unsubscribe

---

## [Re: ENV shows partial environment only](https://www.ruby-forum.com/t/re-env-shows-partial-environment-only/71068)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 1\
**Last updated:** [October 5, 2006, 9:00am UTC](https://www.ruby-forum.com/t/re-env-shows-partial-environment-only/71068 "2006-10-05T09:00:05Z")

</div>

Eero S. wrote: 18:28:43 ruerue@yawn \> ruby -v ruby 1.8.5 (2006-08-25) \[amd64-freebsd6\] 18:28:51 ruerue@yawn \> set | ruby -e ‘p ARGF.readlines.map {|l| l.split("=").first if l =~ /^\[A-Z\]/}.compact’ Command ‘set’ is…

---

## [SOAP request using raw XML query](https://www.ruby-forum.com/t/soap-request-using-raw-xml-query/71088)

<div class="topic-metadata">

**Author:** [@scrajesh](https://www.ruby-forum.com/u/scrajesh)\
**Replies:** 0\
**Last updated:** [October 5, 2006, 8:46am UTC](https://www.ruby-forum.com/t/soap-request-using-raw-xml-query/71088 "2006-10-05T08:46:03Z")

</div>

Hi, I’ve been trying to get to grips with a SOAP based webservice using soap4r and have come up against a wall; wsdl2ruby unfortunately doesn’t support xsd:ID which, of course, is being used in the webservice I’m try…

---

## [Mkrf 0.1.2 Released](https://www.ruby-forum.com/t/mkrf-0-1-2-released/71079)

<div class="topic-metadata">

**Author:** [@kdclark](https://www.ruby-forum.com/u/kdclark)\
**Replies:** 0\
**Last updated:** [October 5, 2006, 8:08am UTC](https://www.ruby-forum.com/t/mkrf-0-1-2-released/71079 "2006-10-05T08:08:00Z")

</div>

Hi guys, Tonight I’m pleased to announce a new release of mkrf. The gem repositories should be updated soonish. Major improvements include easier access to compiler flags and better defaults. If you’re interested in …

---

## [ChartDirector for Ruby 4.1 Released](https://www.ruby-forum.com/t/chartdirector-for-ruby-4-1-released/71052)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [October 5, 2006, 7:47am UTC](https://www.ruby-forum.com/t/chartdirector-for-ruby-4-1-released/71052 "2006-10-05T07:47:59Z")

</div>

Advanced Software Engineering is pleased to announce the immediate availability of ChartDirector for Ruby 4.1, a professional chart component for Ruby On Rails and standalone Ruby applications. ChartDirector is a matu…

---

## [ENV shows partial environment only](https://www.ruby-forum.com/t/env-shows-partial-environment-only/71054)

<div class="topic-metadata">

**Author:** [@rue](https://www.ruby-forum.com/u/rue)\
**Replies:** 4\
**Last updated:** [October 5, 2006, 7:23am UTC](https://www.ruby-forum.com/t/env-shows-partial-environment-only/71054 "2006-10-05T07:23:53Z")

</div>

Hi! It seems that Ruby is not picking up the complete environment to be accessible through ENV–and I seem to recall this is by design. Cursory poking-around in {hash,ruby,eval}.c did not reveal anything particularly …

---

## [Re: Associating data with a function](https://www.ruby-forum.com/t/re-associating-data-with-a-function/71070)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [October 5, 2006, 5:51am UTC](https://www.ruby-forum.com/t/re-associating-data-with-a-function/71070 "2006-10-05T05:51:47Z")

</div>

From: Jan S. \[mailto:removed\_email\_address@domain.invalid\] Another possibility is to implement a pool of objects directly into ExpensiveObject or to create a layer above it. That is an option, although I didn’t ment…

---

## [How do I get ruby-zlib-0.6.0 working on OS X](https://www.ruby-forum.com/t/how-do-i-get-ruby-zlib-0-6-0-working-on-os-x/71062)

<div class="topic-metadata">

**Author:** [@suntou](https://www.ruby-forum.com/u/suntou)\
**Replies:** 1\
**Last updated:** [October 5, 2006, 3:13am UTC](https://www.ruby-forum.com/t/how-do-i-get-ruby-zlib-0-6-0-working-on-os-x/71062 "2006-10-05T03:13:37Z")

</div>

I need to use the zlib module, but when I put this code in: require ‘zlib’ class SController \< ApplicationController def zip s = “Hello” defl = Deflate.new deflated = defl.deflate(s) render :inline =\> %{ #{deflate…

---

## [Small SOCKSv4-implementation - comments / feedback appreciat](https://www.ruby-forum.com/t/small-socksv4-implementation-comments-feedback-appreciat/71060)

<div class="topic-metadata">

**Author:** [@SSJSSSSrgen\_PSTjern](https://www.ruby-forum.com/u/SSJSSSSrgen_PSTjern)\
**Replies:** 1\
**Last updated:** [October 5, 2006, 1:53am UTC](https://www.ruby-forum.com/t/small-socksv4-implementation-comments-feedback-appreciat/71060 "2006-10-05T01:53:33Z")

</div>

After having struggeled with libsock/ruby-sockets+socks, etc, and not getting any way, I decided to try another approach. The whole ruby-builting-socks / libsock idea is to make it as transparent / global as possible,…

---

## [Error in Ruby quickstart tutorial](https://www.ruby-forum.com/t/error-in-ruby-quickstart-tutorial/71048)

<div class="topic-metadata">

**Author:** [@oinkoink](https://www.ruby-forum.com/u/oinkoink)\
**Replies:** 4\
**Last updated:** [October 5, 2006, 1:17am UTC](https://www.ruby-forum.com/t/error-in-ruby-quickstart-tutorial/71048 "2006-10-05T01:17:27Z")

</div>

On the quickstart tutorial on the Ruby homepage, http://www.ruby-lang.org/en/quickstart/3/ , it says, “In Ruby, you can open a class up again and modify it. That doesn’t change any objects that already exist, but it d…

---

## [Book Review: Ruby for Rails](https://www.ruby-forum.com/t/book-review-ruby-for-rails/71053)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 0\
**Last updated:** [October 4, 2006, 11:39pm UTC](https://www.ruby-forum.com/t/book-review-ruby-for-rails/71053 "2006-10-04T23:39:24Z")

</div>

Hi all I’ve posted a review of David Black’s book Ruby for Rails on my blog: The quick summary: “A fantastic guide to Ruby for programmers of all skill levels - up there with the PickAxe and may even surpasses it”. …

---

## [NET::HTTP behind a firewall?](https://www.ruby-forum.com/t/net-http-behind-a-firewall/70916)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 26\
**Last updated:** [October 4, 2006, 9:53pm UTC](https://www.ruby-forum.com/t/net-http-behind-a-firewall/70916 "2006-10-04T21:53:13Z")

</div>

I recently deployed an app to my production server that accesses other websites via NET::HTTP. Due to my firewall (iptables), the app is unable to access the other sites. What ports should I open/changes should I make…

---

## [Re: export environment variable](https://www.ruby-forum.com/t/re-export-environment-variable/71038)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 0\
**Last updated:** [October 4, 2006, 9:31pm UTC](https://www.ruby-forum.com/t/re-export-environment-variable/71038 "2006-10-04T21:31:11Z")

</div>

Mohammad K. wrote: This is going to be local to the script. I want something like, global. It will be for this script and all processes it spawns. Exactly how shell does. And this is as global as you can ever achie…

---

## [Re: export environment variable](https://www.ruby-forum.com/t/re-export-environment-variable/71028)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 2\
**Last updated:** [October 4, 2006, 8:11pm UTC](https://www.ruby-forum.com/t/re-export-environment-variable/71028 "2006-10-04T20:11:06Z")

</div>

Mohammad K. wrote: I would like to accomplish something like this in a ruby script export RUBYLIB=$HOME/MyLib/ ENV\[‘RUBYLIB’\] = File.expand\_path(’~/MyLib/’) Gennady.

---

## [Hoe 1.1.0 released](https://www.ruby-forum.com/t/hoe-1-1-0-released/71031)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [October 4, 2006, 8:09pm UTC](https://www.ruby-forum.com/t/hoe-1-1-0-released/71031 "2006-10-04T20:09:05Z")

</div>

hoe version 1.1.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 g…

---

## [Export environment variable](https://www.ruby-forum.com/t/export-environment-variable/71027)

<div class="topic-metadata">

**Author:** [@Mohammad\_K](https://www.ruby-forum.com/u/Mohammad_K)\
**Replies:** 0\
**Last updated:** [October 4, 2006, 7:31pm UTC](https://www.ruby-forum.com/t/export-environment-variable/71027 "2006-10-04T19:31:01Z")

</div>

I would like to accomplish something like this in a ruby script export RUBYLIB=$HOME/MyLib/ – Mohammad K. | Software Engineer Lextranet | 107 Union Wharf | Boston, MA 02109 http://www.lextranet.com (617) 227-4469 E…

---

## [Equvialent of Python slices?](https://www.ruby-forum.com/t/equvialent-of-python-slices/70981)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 5\
**Last updated:** [October 4, 2006, 5:10pm UTC](https://www.ruby-forum.com/t/equvialent-of-python-slices/70981 "2006-10-04T17:10:41Z")

</div>

Hello, Sorry for the lame question again, but even after a lot of googling I still couldn’t find the $subj., ie. something like: “asdfghj”\[2::2\] ‘dgj’ (= every second letter, beginning from the 2nd index in the s…

---

## [RubyConf hotel](https://www.ruby-forum.com/t/rubyconf-hotel/71003)

<div class="topic-metadata">

**Author:** [@mly](https://www.ruby-forum.com/u/mly)\
**Replies:** 1\
**Last updated:** [October 4, 2006, 5:04pm UTC](https://www.ruby-forum.com/t/rubyconf-hotel/71003 "2006-10-04T17:04:41Z")

</div>

I made my reservation yesterday and was told that the convention rate for Sunday night was sold out and I would have to pay $189 for that night. This is rather irritating, so I was wondering if anyone here has any su…

---

## [How to DRY this?](https://www.ruby-forum.com/t/how-to-dry-this/70980)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 8\
**Last updated:** [October 4, 2006, 3:36pm UTC](https://www.ruby-forum.com/t/how-to-dry-this/70980 "2006-10-04T15:36:33Z")

</div>

Hello, I have two very similar code snippets in two different methods, and I am absolutely sure there is some nice way to DRY them in Ruby… I am still a noob when comes to Ruby idioms so I’d appreciate some help …

---

## [Ruby and variable names](https://www.ruby-forum.com/t/ruby-and-variable-names/70969)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 3\
**Last updated:** [October 4, 2006, 1:56pm UTC](https://www.ruby-forum.com/t/ruby-and-variable-names/70969 "2006-10-04T13:56:23Z")

</div>

Hi, I have noticed Ruby coders using 1 character variables names (e.g. t,d) Is this done because Ruby is a dynamic language and any object can be held in these variables? aidy

---

## [Re: Multiple clinets on a TCPServer](https://www.ruby-forum.com/t/re-multiple-clinets-on-a-tcpserver/70963)

<div class="topic-metadata">

**Author:** [@piet](https://www.ruby-forum.com/u/piet)\
**Replies:** 0\
**Last updated:** [October 4, 2006, 11:22am UTC](https://www.ruby-forum.com/t/re-multiple-clinets-on-a-tcpserver/70963 "2006-10-04T11:22:02Z")

</div>

Also check: Sockets (pre-forking server) http://www-128.ibm.com/developerworks/edu/l-dw-linux-rubysocks-i.html I used this as introduction to ruby socket stuff when writing a VIP to ansi/vt100 gateway. (VIP is an a…

---

## [Need help with narray: how to return an array from a C-exten](https://www.ruby-forum.com/t/need-help-with-narray-how-to-return-an-array-from-a-c-exten/70958)

<div class="topic-metadata">

**Author:** [@Joachim\_SMSSS\_nchen](https://www.ruby-forum.com/u/Joachim_SMSSS_nchen)\
**Replies:** 2\
**Last updated:** [October 4, 2006, 10:54am UTC](https://www.ruby-forum.com/t/need-help-with-narray-how-to-return-an-array-from-a-c-exten/70958 "2006-10-04T10:54:00Z")

</div>

Hi there, I am writing my first C extension module to ruby, and I need a little help: import of parameters works fine, but export of results not yet: static VALUE myarr\_faltung1(VALUE m, VALUE distribution, VALUE lo…

---

## [Where to find RoR exceptions?](https://www.ruby-forum.com/t/where-to-find-ror-exceptions/70852)

<div class="topic-metadata">

**Author:** [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Replies:** 2\
**Last updated:** [October 4, 2006, 10:41am UTC](https://www.ruby-forum.com/t/where-to-find-ror-exceptions/70852 "2006-10-04T10:41:59Z")

</div>

Hello, where can I find a extensive list of the exceptions classes defined by Rails ? There’s nothing in the API doc Thanks by advance

---

## [Private visibility should be removed from Ruby 2](https://www.ruby-forum.com/t/private-visibility-should-be-removed-from-ruby-2/70683)

<div class="topic-metadata">

**Author:** [@fmwr](https://www.ruby-forum.com/u/fmwr)\
**Replies:** 26\
**Last updated:** [October 4, 2006, 10:37am UTC](https://www.ruby-forum.com/t/private-visibility-should-be-removed-from-ruby-2/70683 "2006-10-04T10:37:59Z")

</div>

On 10/1/06, David V. removed\_email\_address@domain.invalid wrote: (generating public wrappers for private methods of tested classes) would they are necessary seems just overkill. It almost sounds that you’re using Rub…

---

## [Eval confusion](https://www.ruby-forum.com/t/eval-confusion/70932)

<div class="topic-metadata">

**Author:** [@Paolo\_N](https://www.ruby-forum.com/u/Paolo_N)\
**Replies:** 2\
**Last updated:** [October 4, 2006, 9:59am UTC](https://www.ruby-forum.com/t/eval-confusion/70932 "2006-10-04T09:59:52Z")

</div>

Hi there I need some help understating this behaviour. I’ve read the docs of define\_method but I’m still missing how it exactly works. Here’s some code I’ve written trying to use to understand cat script.rb #!/bi…

---

## [Multiple clinets on a TCPServer](https://www.ruby-forum.com/t/multiple-clinets-on-a-tcpserver/70948)

<div class="topic-metadata">

**Author:** [@unni.tallman](https://www.ruby-forum.com/u/unni.tallman)\
**Replies:** 1\
**Last updated:** [October 4, 2006, 9:51am UTC](https://www.ruby-forum.com/t/multiple-clinets-on-a-tcpserver/70948 "2006-10-04T09:51:52Z")

</div>

I want to have a single TCPServer (with a particulat IP and port number), and multiple TCP clients must be able to connect to this server simultaneosly. How can i do this?

---

## [If INT\_MAX \< LONG\_MAX](https://www.ruby-forum.com/t/if-int-max-long-max/70946)

<div class="topic-metadata">

**Author:** [@Shin-ichiro\_HARA](https://www.ruby-forum.com/u/Shin-ichiro_HARA)\
**Replies:** 2\
**Last updated:** [October 4, 2006, 8:43am UTC](https://www.ruby-forum.com/t/if-int-max-long-max/70946 "2006-10-04T08:43:42Z")

</div>

e$B86$G$9!#e(B rational.c e$B$,e(B x86\_64 e$B$G%F%9%H$,DL$i$J$$$H$$$&Js9p$r$b$i$$$^$7$?!#e(B 64bit e$B%^%7%s$r;}$C$F$$$J$$$N$G!"$b$7$+$7$Fe(B vmware e$B$Ge(B 32bit e$B%^%7e(B e$B%s\>e$Ge(B 64bit e$B%^%7%s$N%(%%e%l!\<%…

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

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