# Ruby

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

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

---

## [Forkify 0.0.2 Released](https://www.ruby-forum.com/t/forkify-0-0-2-released/171273)

<div class="topic-metadata">

**Author:** [@Lee\_Hinman](https://www.ruby-forum.com/u/Lee_Hinman)\
**Replies:** 0\
**Last updated:** [June 29, 2009, 10:16pm UTC](https://www.ruby-forum.com/t/forkify-0-0-2-released/171273 "2009-06-29T22:16:36Z")

</div>

forkify version 0.0.2 has been released! http://github.com/dakrone/forkify forkify.rb makes it easy to process a bunch of data using ‘n’ worker processes. It is based off of forkoff and threadify by Ara Howard. It …

---

## [Problem with net-ssh](https://www.ruby-forum.com/t/problem-with-net-ssh/171270)

<div class="topic-metadata">

**Author:** [@azraelnewtype](https://www.ruby-forum.com/u/azraelnewtype)\
**Replies:** 2\
**Last updated:** [June 29, 2009, 9:50pm UTC](https://www.ruby-forum.com/t/problem-with-net-ssh/171270 "2009-06-29T21:50:03Z")

</div>

I’m working with net-ssh 2.0.11 and jruby 1.3.0. When running this simple script: require ‘rubygems’ require ‘net/ssh’ Net::SSH.start(‘su-subdev01’, ‘wasuser’, :verbose =\> :debug) do |ssh| output = ssh.exec!(“hostna…

---

## [Question about IO.select](https://www.ruby-forum.com/t/question-about-io-select/171160)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 4\
**Last updated:** [June 29, 2009, 8:40pm UTC](https://www.ruby-forum.com/t/question-about-io-select/171160 "2009-06-29T20:40:44Z")

</div>

Hello all I was looking at some code in a textmate bundle support library that wasn’t working for me. (I am using e text editor on a XP machine) The problem appears to be that IO.select is returning a value that I b…

---

## [How to make a variable based on array length and member value](https://www.ruby-forum.com/t/how-to-make-a-variable-based-on-array-length-and-member-value/171205)

<div class="topic-metadata">

**Author:** [@catsquotl](https://www.ruby-forum.com/u/catsquotl)\
**Replies:** 6\
**Last updated:** [June 29, 2009, 7:20pm UTC](https://www.ruby-forum.com/t/how-to-make-a-variable-based-on-array-length-and-member-value/171205 "2009-06-29T19:20:59Z")

</div>

Hi I have an array full\_array\[\] of an arbitrary number of transaction objects. within the transaction is a Date member… From the array I have created a new array years\[\].uniq! based on the Date.year members what id…

---

## [How to tell if one is running 32 or 64 bit Ruby on Mac OS X?](https://www.ruby-forum.com/t/how-to-tell-if-one-is-running-32-or-64-bit-ruby-on-mac-os-x/159248)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 13\
**Last updated:** [June 29, 2009, 7:05pm UTC](https://www.ruby-forum.com/t/how-to-tell-if-one-is-running-32-or-64-bit-ruby-on-mac-os-x/159248 "2009-06-29T19:05:47Z")

</div>

All, A friend just bought a new Mac and is trying to figure out whether they have 32 or 64 bit Ruby installed. This is the output of "file which ruby": /usr/bin/ruby: Mach-O universal binary with 2 architectures /us…

---

## [Ruby net ldap bind issue](https://www.ruby-forum.com/t/ruby-net-ldap-bind-issue/171132)

<div class="topic-metadata">

**Author:** [@Asif\_Iqbal](https://www.ruby-forum.com/u/Asif_Iqbal)\
**Replies:** 1\
**Last updated:** [June 29, 2009, 6:59pm UTC](https://www.ruby-forum.com/t/ruby-net-ldap-bind-issue/171132 "2009-06-29T18:59:52Z")

</div>

$ cat ldap2.rb require ‘rubygems’ require ‘net/ldap’ ldap = Net::LDAP.new :host =\> “10.1.5.7”, :port =\> 1636, :auth =\> { :method =\> :simple\_tls, :username =\> “uid=sysldapq,ou=People,dc=mnet,dc=example,dc=com”, :…

---

## [Does anyone have experience with the Moneris Ruby API?](https://www.ruby-forum.com/t/does-anyone-have-experience-with-the-moneris-ruby-api/171265)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 0\
**Last updated:** [June 29, 2009, 6:42pm UTC](https://www.ruby-forum.com/t/does-anyone-have-experience-with-the-moneris-ruby-api/171265 "2009-06-29T18:42:55Z")

</div>

Hi All, I have run into some trouble with the Ruby API for Moneris (a.k.a eSelectPlus). Specifically, I cannot seem to get Verified by Visa support working in the context of their API package. Few of the shipped exam…

---

## [LSRC 2009: Don't Miss Your Chance To See Matz!](https://www.ruby-forum.com/t/lsrc-2009-dont-miss-your-chance-to-see-matz/196977)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 29, 2009, 6:21pm UTC](https://www.ruby-forum.com/t/lsrc-2009-dont-miss-your-chance-to-see-matz/196977 "2009-06-29T18:21:12Z")

</div>

Hello The 2009 Lone Star Ruby Conference is just around the corner and conference tickets are moving faster than small-town gossip. This year you can choose from eleven training classes that are as fine as dollar cot…

---

## [Methods optional arguments](https://www.ruby-forum.com/t/methods-optional-arguments/171246)

<div class="topic-metadata">

**Author:** [@txapelgorri](https://www.ruby-forum.com/u/txapelgorri)\
**Replies:** 3\
**Last updated:** [June 29, 2009, 5:34pm UTC](https://www.ruby-forum.com/t/methods-optional-arguments/171246 "2009-06-29T17:34:22Z")

</div>

Hi there: I was learning about methods, and when I was trying to use optional arguments I get stucked with this: def my\_method (a=‘This’, b=‘is’, c=‘great’) puts a+’ ‘+b+’ '+c end If I try: my\_method(‘Ruby’) -\> R…

---

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

<div class="topic-metadata">

**Author:** [@rubyman](https://www.ruby-forum.com/u/rubyman)\
**Replies:** 0\
**Last updated:** [June 29, 2009, 5:16pm UTC](https://www.ruby-forum.com/t/no-subject/171253 "2009-06-29T17:16:37Z")

</div>

on \_\_\_\_\_\_\_\_\_\_ Information from ESET NOD32 Antivirus, version of virus signature database 4196 (20090629) \_\_\_\_\_\_\_\_\_\_ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

---

## [Get file from web page that require user and pass](https://www.ruby-forum.com/t/get-file-from-web-page-that-require-user-and-pass/171251)

<div class="topic-metadata">

**Author:** [@kga85](https://www.ruby-forum.com/u/kga85)\
**Replies:** 1\
**Last updated:** [June 29, 2009, 4:28pm UTC](https://www.ruby-forum.com/t/get-file-from-web-page-that-require-user-and-pass/171251 "2009-06-29T16:28:29Z")

</div>

I want to connect to a web site that require user name and password. This adress holds a file, like a txt, image pdf and so on. I want to get this payload. (Only going to check if the file is is empty or not). I Have …

---

## [External prog get file from main dir, want file in diff dir](https://www.ruby-forum.com/t/external-prog-get-file-from-main-dir-want-file-in-diff-dir/171102)

<div class="topic-metadata">

**Author:** [@kga85](https://www.ruby-forum.com/u/kga85)\
**Replies:** 2\
**Last updated:** [June 29, 2009, 4:09pm UTC](https://www.ruby-forum.com/t/external-prog-get-file-from-main-dir-want-file-in-diff-dir/171102 "2009-06-29T16:09:02Z")

</div>

I am running a external program(2) from another ruby program (1). This external program requre a local file (the file must lay in the prog 1 dir) . It uses some kind of custom get comand to get this file. Say my dir i…

---

## [Push Inputted Words](https://www.ruby-forum.com/t/push-inputted-words/171224)

<div class="topic-metadata">

**Author:** [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Replies:** 7\
**Last updated:** [June 29, 2009, 3:57pm UTC](https://www.ruby-forum.com/t/push-inputted-words/171224 "2009-06-29T15:57:58Z")

</div>

I’m trying to make a program that gets you to input words and when you press enter with nothing typed it sorts them alphabetically. My code right now is: words=\[\] while words!=’’ words.push gets end if words==’’ …

---

## [Automate Word OLE32 merge printing with Ruby](https://www.ruby-forum.com/t/automate-word-ole32-merge-printing-with-ruby/171244)

<div class="topic-metadata">

**Author:** [@ther](https://www.ruby-forum.com/u/ther)\
**Replies:** 0\
**Last updated:** [June 29, 2009, 2:46pm UTC](https://www.ruby-forum.com/t/automate-word-ole32-merge-printing-with-ruby/171244 "2009-06-29T14:46:05Z")

</div>

What I would like to do is automate merge print documents without user interference. I have come so far: fso = WIN32OLE.new(“Scripting.FileSystemObject”) word = WIN32OLE.new(‘Word.Application’) path = fso.GetAbs…

---

## [Attr Methods and object setters](https://www.ruby-forum.com/t/attr-methods-and-object-setters/171051)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 27\
**Last updated:** [June 29, 2009, 12:11pm UTC](https://www.ruby-forum.com/t/attr-methods-and-object-setters/171051 "2009-06-29T12:11:21Z")

</div>

We can do: attr\_accessor :bla Now, on an object one can do this: object.bla = ‘foo’ Or object.bla to retrieve the value. I am wondering whether we could do this: object.bla ‘foo’ This does not seem to work. My q…

---

## [Silverlight 3 question](https://www.ruby-forum.com/t/silverlight-3-question/171163)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 5\
**Last updated:** [June 29, 2009, 10:30am UTC](https://www.ruby-forum.com/t/silverlight-3-question/171163 "2009-06-29T10:30:37Z")

</div>

Hi I have a hard time understanding why the following won’t work. I started with the following xaml: and in the initialize method of App I’ve got the following code @root = Application.current.load\_r…

---

## [Aboout DRb](https://www.ruby-forum.com/t/aboout-drb/171220)

<div class="topic-metadata">

**Author:** [@Jun\_YSKim](https://www.ruby-forum.com/u/Jun_YSKim)\
**Replies:** 5\
**Last updated:** [June 29, 2009, 4:25am UTC](https://www.ruby-forum.com/t/aboout-drb/171220 "2009-06-29T04:25:56Z")

</div>

Hi. all quick question :slight\_smile: I received a drb object from an another process. let me see an example. sender class) A class) … def return ret = output.new(self) … ret end B class) @@buffer def buffe…

---

## [Amalgalite 0.10.0 Released](https://www.ruby-forum.com/t/amalgalite-0-10-0-released/171222)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 0\
**Last updated:** [June 29, 2009, 4:17am UTC](https://www.ruby-forum.com/t/amalgalite-0-10-0-released/171222 "2009-06-29T04:17:10Z")

</div>

amalgalite version 0.10.0 has been released. {{ Release notes for Version 0.10.0 }} === Enhancements windows gem is now a fat binary to support installing into ruby 1.8 and 1.9 from the same gem Update to Sqlit…

---

## [Hitimes 1.0.3 Released](https://www.ruby-forum.com/t/hitimes-1-0-3-released/171218)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 0\
**Last updated:** [June 29, 2009, 2:24am UTC](https://www.ruby-forum.com/t/hitimes-1-0-3-released/171218 "2009-06-29T02:24:43Z")

</div>

hitimes version 1.0.3 has been released. {{ Release notes for Version 1.0.3 }} Windows gem is now a fat binary to support installing in 1.8 or 1.9 from the same gem Fix bug with time.h on linode (reported by Roger P.…

---

## [Playing with](https://www.ruby-forum.com/t/playing-with/171216)

<div class="topic-metadata">

**Author:** [@fearx](https://www.ruby-forum.com/u/fearx)\
**Replies:** 2\
**Last updated:** [June 29, 2009, 1:58am UTC](https://www.ruby-forum.com/t/playing-with/171216 "2009-06-29T01:58:04Z")

</div>

Hi I am playing with the Net::POP3 library and some questions have jumped up on my head: This is my code: Net::POP3.start( 'pop.gmail.com', 995, account\_user, account\_pass ) do |pop| pop.each\_mail do |m| puts m…

---

## [Cool things to say about Ruby](https://www.ruby-forum.com/t/cool-things-to-say-about-ruby/171099)

<div class="topic-metadata">

**Author:** [@thesun2](https://www.ruby-forum.com/u/thesun2)\
**Replies:** 5\
**Last updated:** [June 28, 2009, 9:51pm UTC](https://www.ruby-forum.com/t/cool-things-to-say-about-ruby/171099 "2009-06-28T21:51:03Z")

</div>

Hi, I’m trying to write about Ruby in my business plan - but what can I say to impress my investors? These aren’t technical people so copy/pasting from Wikipedia is a no go. I’m looking for things said by prominent p…

---

## [Tetris (#210)](https://www.ruby-forum.com/t/tetris-210/170622)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 3\
**Last updated:** [June 28, 2009, 7:57pm UTC](https://www.ruby-forum.com/t/tetris-210/170622 "2009-06-28T19:57:26Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this m…

---

## [Legacy code and aliases to user input](https://www.ruby-forum.com/t/legacy-code-and-aliases-to-user-input/171206)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 1\
**Last updated:** [June 28, 2009, 7:17pm UTC](https://www.ruby-forum.com/t/legacy-code-and-aliases-to-user-input/171206 "2009-06-28T19:17:36Z")

</div>

I have a rather old code with a very long case/menu, which acts on user-supplied input. I already fear that I will have to rewrite it heavily, but before I start I thought I go and ask here. A typical line of that ca…

---

## [Ruby changes upcoming - how do you guys handle this?](https://www.ruby-forum.com/t/ruby-changes-upcoming-how-do-you-guys-handle-this/171212)

<div class="topic-metadata">

**Author:** [@mcampbell](https://www.ruby-forum.com/u/mcampbell)\
**Replies:** 0\
**Last updated:** [June 28, 2009, 6:45pm UTC](https://www.ruby-forum.com/t/ruby-changes-upcoming-how-do-you-guys-handle-this/171212 "2009-06-28T18:45:57Z")

</div>

I was reading today about Ruby 1.9.2 (OSDIR), and was wondering to myself; what is the manner in which the jruby team adopts ruby changes? By that, I mean do you guys have some sort of manner by which you go about a…

---

## [Shibuya Rubyists?](https://www.ruby-forum.com/t/shibuya-rubyists/171154)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [June 28, 2009, 4:36pm UTC](https://www.ruby-forum.com/t/shibuya-rubyists/171154 "2009-06-28T16:36:24Z")

</div>

I’m in and around Shibuya for a couple of weeks. My Nihong-go proficiency is less than my Ruby learnings. So I apologise for speaking English. If there are any readers interested in tech-niques.general.chat I look f…

---

## [Looping Problem](https://www.ruby-forum.com/t/looping-problem/171192)

<div class="topic-metadata">

**Author:** [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Replies:** 3\
**Last updated:** [June 28, 2009, 3:48pm UTC](https://www.ruby-forum.com/t/looping-problem/171192 "2009-06-28T15:48:56Z")

</div>

Hi. I’m new to ruby and i am trying to get a while not loop to occur if the answer i got from gets wasn’t capatalized. This is what i have now: while not answer3.upcase puts “WHAT!” answer3=gets end It’s not workin…

---

## [How ruby can solve this:network programming](https://www.ruby-forum.com/t/how-ruby-can-solve-this-network-programming/171166)

<div class="topic-metadata">

**Author:** [@BENI](https://www.ruby-forum.com/u/BENI)\
**Replies:** 2\
**Last updated:** [June 28, 2009, 11:42am UTC](https://www.ruby-forum.com/t/how-ruby-can-solve-this-network-programming/171166 "2009-06-28T11:42:33Z")

</div>

I am not sure whether this is ruby question or networking question… but this group is so resourceful that I came over for some help onto it. We have developed a ROR application that pulls data from a Network element …

---

## [Readorder 1.0.0 Released](https://www.ruby-forum.com/t/readorder-1-0-0-released/171189)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 0\
**Last updated:** [June 28, 2009, 5:24am UTC](https://www.ruby-forum.com/t/readorder-1-0-0-released/171189 "2009-06-28T05:24:22Z")

</div>

readorder version 1.0.0 has been released. gem install readorder http://copiousfreetime.rubyforge.org/readorder Readorder orders a list of files into a more effective read order. You would possibly want to use reador…

---

## [Heel 2.0.0 Released](https://www.ruby-forum.com/t/heel-2-0-0-released/171190)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 0\
**Last updated:** [June 28, 2009, 5:21am UTC](https://www.ruby-forum.com/t/heel-2-0-0-released/171190 "2009-06-28T05:21:27Z")

</div>

heel version 2.0.0 has been released. http://copiousfreetime.rubyforge.org/heel/ Heel is a small static web server for use when you need a quick web server for a directory. Once the server is running, heel will use …

---

## [Ruby 1.9.1 load path craziness!](https://www.ruby-forum.com/t/ruby-1-9-1-load-path-craziness/171186)

<div class="topic-metadata">

**Author:** [@rooster](https://www.ruby-forum.com/u/rooster)\
**Replies:** 2\
**Last updated:** [June 28, 2009, 4:42am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-load-path-craziness/171186 "2009-06-28T04:42:03Z")

</div>

Ok, I’ve just spent the 4 hours trying to figure this one out without success. I’ve tried all the usual suspects and googled every combination of ruby 1.9.1, load path, gems, mac os x,freebsd,prawn and other stuff. Th…

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

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