# Ruby

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

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

---

## [Imap and Tmail. Getting whole email with imap](https://www.ruby-forum.com/t/imap-and-tmail-getting-whole-email-with-imap/155545)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 1\
**Last updated:** [December 16, 2008, 12:04am UTC](https://www.ruby-forum.com/t/imap-and-tmail-getting-whole-email-with-imap/155545 "2008-12-16T00:04:25Z")

</div>

Hi Im finding the imap docs to be a bit hard to understand. Ive also searched on these forums but cant find the answer i need. I can access my gmail account via imap fine and i can use “fetch” to pull various parts of…

---

## [IO Error](https://www.ruby-forum.com/t/io-error/155718)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 1\
**Last updated:** [December 15, 2008, 11:57pm UTC](https://www.ruby-forum.com/t/io-error/155718 "2008-12-15T23:57:59Z")

</div>

i think i asked this once before, but just curious if anyone has seen this recently. Strangely this happened on all 4 of my app servers at the same time, so just curious if anyone has seen this of late. Jruby 1.1.4…

---

## [Beggining the compiler journey](https://www.ruby-forum.com/t/beggining-the-compiler-journey/155567)

<div class="topic-metadata">

**Author:** [@rafaelrosafu](https://www.ruby-forum.com/u/rafaelrosafu)\
**Replies:** 7\
**Last updated:** [December 15, 2008, 11:50pm UTC](https://www.ruby-forum.com/t/beggining-the-compiler-journey/155567 "2008-12-15T23:50:23Z")

</div>

Hi, I’ve being working with computer’s for 13+ years, but I classify myself as a good high-level (as in high abstraction) programmer, with a business logic focus. As such I don’t have any relevant knowledge about low…

---

## [Ruby 1.9.1: Encoding trouble: broken US-ASCII String](https://www.ruby-forum.com/t/ruby-1-9-1-encoding-trouble-broken-us-ascii-string/155612)

<div class="topic-metadata">

**Author:** [@tlianza](https://www.ruby-forum.com/u/tlianza)\
**Replies:** 21\
**Last updated:** [December 15, 2008, 9:52pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-encoding-trouble-broken-us-ascii-string/155612 "2008-12-15T21:52:51Z")

</div>

Hi, Right now, I’m not exactly thrilled by the way ruby 1.9 handles encodings. Could somebody please explain things or point me to some reference material: I have the following files: testEncoding.rb: #!/usr/bin/en…

---

## [Mr Bones 2.1.1 (Proximal Phalanges)](https://www.ruby-forum.com/t/mr-bones-2-1-1-proximal-phalanges/155714)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [December 15, 2008, 9:36pm UTC](https://www.ruby-forum.com/t/mr-bones-2-1-1-proximal-phalanges/155714 "2008-12-15T21:36:49Z")

</div>

Mr Bones version 2.1.1 by Tim P. http://codeforpeople.rubyforge.org/bones (the “Proximal Phalanges” release) == DESCRIPTION Mr Bones is a handy tool that builds a skeleton for your new Ruby projects. The skeleton …

---

## [Simultaneous ruby batch files](https://www.ruby-forum.com/t/simultaneous-ruby-batch-files/155711)

<div class="topic-metadata">

**Author:** [@erika](https://www.ruby-forum.com/u/erika)\
**Replies:** 0\
**Last updated:** [December 15, 2008, 8:39pm UTC](https://www.ruby-forum.com/t/simultaneous-ruby-batch-files/155711 "2008-12-15T20:39:17Z")

</div>

Hi, How is it possible to run two simultaneous ruby batch file without the explorer window mixing up. I have to batch files, each of them contains ruby test cases. I would like to schedule these two batch files, with…

---

## [Why Ruby Array does not get implicitly converted to Java Array?](https://www.ruby-forum.com/t/why-ruby-array-does-not-get-implicitly-converted-to-java-array/155707)

<div class="topic-metadata">

**Author:** [@Sergio\_Oliveira](https://www.ruby-forum.com/u/Sergio_Oliveira)\
**Replies:** 0\
**Last updated:** [December 15, 2008, 7:40pm UTC](https://www.ruby-forum.com/t/why-ruby-array-does-not-get-implicitly-converted-to-java-array/155707 "2008-12-15T19:40:32Z")

</div>

This looks non-sense to me. public static void printList(List list) { // print the list } public static void printArray(String\[\] list) { // print the array } From Ruby: a = \[“a”, “b”, “c”\] PrintUtils.printList(a…

---

## [Strange rhtml template compile error](https://www.ruby-forum.com/t/strange-rhtml-template-compile-error/155703)

<div class="topic-metadata">

**Author:** [@molla5](https://www.ruby-forum.com/u/molla5)\
**Replies:** 0\
**Last updated:** [December 15, 2008, 7:11pm UTC](https://www.ruby-forum.com/t/strange-rhtml-template-compile-error/155703 "2008-12-15T19:11:07Z")

</div>

Hi, I have the following statement inside an rhtml file %=“ÄŸÄžÄŸ”%\> These chars are from ISO-8859-9 and their byte values are F0, D0, F0 respectively, which are “LATIN SMALL LETTER G WITH BREVE” and “LATIN CAPITAL …

---

## [Function def at end of scripts](https://www.ruby-forum.com/t/function-def-at-end-of-scripts/155509)

<div class="topic-metadata">

**Author:** [@nowhere](https://www.ruby-forum.com/u/nowhere)\
**Replies:** 11\
**Last updated:** [December 15, 2008, 6:28pm UTC](https://www.ruby-forum.com/t/function-def-at-end-of-scripts/155509 "2008-12-15T18:28:49Z")

</div>

Hi, I am refactoring an ugly script. I would like it contained all in one file so I was moving code to functions/classes and put them at the end of the script for legibility. This didn’t work. They are only available …

---

## [How to login in a page whit a ruby program](https://www.ruby-forum.com/t/how-to-login-in-a-page-whit-a-ruby-program/155672)

<div class="topic-metadata">

**Author:** [@exg10](https://www.ruby-forum.com/u/exg10)\
**Replies:** 3\
**Last updated:** [December 15, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/how-to-login-in-a-page-whit-a-ruby-program/155672 "2008-12-15T18:05:57Z")

</div>

I need to make a program for login and logout in a web site (www.zenzuu.com)

---

## [Simultaneous ruby batch files](https://www.ruby-forum.com/t/simultaneous-ruby-batch-files/155679)

<div class="topic-metadata">

**Author:** [@erika](https://www.ruby-forum.com/u/erika)\
**Replies:** 1\
**Last updated:** [December 15, 2008, 4:57pm UTC](https://www.ruby-forum.com/t/simultaneous-ruby-batch-files/155679 "2008-12-15T16:57:15Z")

</div>

Hi, How is it possible to run two simultaneous ruby batch file without the explorer window mixing up. I have to batch files, each of them contains ruby test cases. I would like to schedule these two batch files, with…

---

## [Standardizing FFI based wrappers](https://www.ruby-forum.com/t/standardizing-ffi-based-wrappers/155298)

<div class="topic-metadata">

**Author:** [@luchp](https://www.ruby-forum.com/u/luchp)\
**Replies:** 7\
**Last updated:** [December 15, 2008, 4:49pm UTC](https://www.ruby-forum.com/t/standardizing-ffi-based-wrappers/155298 "2008-12-15T16:49:01Z")

</div>

Greetings, Back in november, when FFI 0.1.1 was released, there was a beginning of an interesting discussion about “standardizing” the way FFI based wrappers should be named, organized and packaged, in order to create…

---

## [Doodle 0.1.9 Released](https://www.ruby-forum.com/t/doodle-0-1-9-released/155687)

<div class="topic-metadata">

**Author:** [@sean](https://www.ruby-forum.com/u/sean)\
**Replies:** 0\
**Last updated:** [December 15, 2008, 4:35pm UTC](https://www.ruby-forum.com/t/doodle-0-1-9-released/155687 "2008-12-15T16:35:24Z")

</div>

doodle version 0.1.9 has been released. http://doodle.rubyforge.org Doodle is a gem for simplifying the definition of Ruby classes by making attributes and their properties more declarative. Doodle is eco-friendly: …

---

## [\[Bug #887\] thread.c: warning: format '%.6ld' expects type 'long int'](https://www.ruby-forum.com/t/bug-887-thread-c-warning-format-6ld-expects-type-long-int/155677)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 1\
**Last updated:** [December 15, 2008, 4:01pm UTC](https://www.ruby-forum.com/t/bug-887-thread-c-warning-format-6ld-expects-type-long-int/155677 "2008-12-15T16:01:48Z")

</div>

Bug #887: thread.c: warning: format ‘%.6ld’ expects type ‘long int’ http://redmine.ruby-lang.org/issues/show/887 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Mac OS Xe$B$N4D6-$G0J2\<$…

---

## [Run rb. file in a .rb file (linke run-\>runfile)](https://www.ruby-forum.com/t/run-rb-file-in-a-rb-file-linke-run-runfile/155682)

<div class="topic-metadata">

**Author:** [@sp00nyg](https://www.ruby-forum.com/u/sp00nyg)\
**Replies:** 0\
**Last updated:** [December 15, 2008, 3:51pm UTC](https://www.ruby-forum.com/t/run-rb-file-in-a-rb-file-linke-run-runfile/155682 "2008-12-15T15:51:14Z")

</div>

jeah, thats it, how to run a ruby file from a controller (rubyfile) same laike in netrails-\>run-\>runfile???

---

## [String to hash](https://www.ruby-forum.com/t/string-to-hash/155149)

<div class="topic-metadata">

**Author:** [@jc71229](https://www.ruby-forum.com/u/jc71229)\
**Replies:** 5\
**Last updated:** [December 15, 2008, 3:11pm UTC](https://www.ruby-forum.com/t/string-to-hash/155149 "2008-12-15T15:11:12Z")

</div>

Hi All, I am in the need of a method that does the following: get 2 arguments a string and an integer (int\_val). The string has the following form “a.b.c.d” the method should return a nested hash like that: { :a =\> …

---

## [Accentuated function names](https://www.ruby-forum.com/t/accentuated-function-names/155652)

<div class="topic-metadata">

**Author:** [@djib](https://www.ruby-forum.com/u/djib)\
**Replies:** 7\
**Last updated:** [December 15, 2008, 2:50pm UTC](https://www.ruby-forum.com/t/accentuated-function-names/155652 "2008-12-15T14:50:37Z")

</div>

Hello, I’ve started a new project in Ruby. For once, my sourcecode is not in English, but in French, and I’d like to know if its possible to have accentuated letters for function names in the sourcecode. I have encod…

---

## [Running a specific test in a test file](https://www.ruby-forum.com/t/running-a-specific-test-in-a-test-file/155668)

<div class="topic-metadata">

**Author:** [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Replies:** 1\
**Last updated:** [December 15, 2008, 2:47pm UTC](https://www.ruby-forum.com/t/running-a-specific-test-in-a-test-file/155668 "2008-12-15T14:47:05Z")

</div>

I remember there was a way to run a specific test from a test file. ruby test\_file.rb Runs the all the tests. How can I select one from this? Also is there any complete reference on this (which argument the ruby comm…

---

## [A proper Ruby way to call a procedure by name](https://www.ruby-forum.com/t/a-proper-ruby-way-to-call-a-procedure-by-name/155605)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 2\
**Last updated:** [December 15, 2008, 1:37pm UTC](https://www.ruby-forum.com/t/a-proper-ruby-way-to-call-a-procedure-by-name/155605 "2008-12-15T13:37:30Z")

</div>

I know how to do this using a case statement but I want to know if there’s a more Rubyesque way of doing things. I’m screen scraping from a lot of different sources. They all have much same data but it’s presented in …

---

## [Email structure](https://www.ruby-forum.com/t/email-structure/155598)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 5\
**Last updated:** [December 15, 2008, 12:36pm UTC](https://www.ruby-forum.com/t/email-structure/155598 "2008-12-15T12:36:56Z")

</div>

I have accessed my gmail account and using imap downloaded an email and saved it too text. Im wondering why the body of the message is repeated twice when in gmail the message is not repeated - is this a standard for …

---

## [Need to download a file and then have to verify the contents](https://www.ruby-forum.com/t/need-to-download-a-file-and-then-have-to-verify-the-contents/155594)

<div class="topic-metadata">

**Author:** [@bhavesh1\_sharma](https://www.ruby-forum.com/u/bhavesh1_sharma)\
**Replies:** 2\
**Last updated:** [December 15, 2008, 12:28pm UTC](https://www.ruby-forum.com/t/need-to-download-a-file-and-then-have-to-verify-the-contents/155594 "2008-12-15T12:28:54Z")

</div>

Hi, I have an application \[web page\], where i have an option to download files once selected. Once file is selected, we can click on download button. Till here im able to do using watir. But im not able to render t…

---

## [Unit test output verbosity](https://www.ruby-forum.com/t/unit-test-output-verbosity/155505)

<div class="topic-metadata">

**Author:** [@Krzysieq](https://www.ruby-forum.com/u/Krzysieq)\
**Replies:** 3\
**Last updated:** [December 15, 2008, 11:44am UTC](https://www.ruby-forum.com/t/unit-test-output-verbosity/155505 "2008-12-15T11:44:30Z")

</div>

Hey, I have a question. I wrote some unit tests for my simple app. Since it’s a part of a larger whole, it’s managed inside a continuous integration framework. For that purpose I would like to report the unit tests t…

---

## [How to Use CTRL + C ie Copy to clipboard text from word file](https://www.ruby-forum.com/t/how-to-use-ctrl-c-ie-copy-to-clipboard-text-from-word-file/155647)

<div class="topic-metadata">

**Author:** [@talib](https://www.ruby-forum.com/u/talib)\
**Replies:** 3\
**Last updated:** [December 15, 2008, 10:49am UTC](https://www.ruby-forum.com/t/how-to-use-ctrl-c-ie-copy-to-clipboard-text-from-word-file/155647 "2008-12-15T10:49:11Z")

</div>

How to Use CTRL + C ie Copy to clipboard text from word file.

---

## [Get system encoding?](https://www.ruby-forum.com/t/get-system-encoding/155650)

<div class="topic-metadata">

**Author:** [@sealedsun](https://www.ruby-forum.com/u/sealedsun)\
**Replies:** 2\
**Last updated:** [December 15, 2008, 10:27am UTC](https://www.ruby-forum.com/t/get-system-encoding/155650 "2008-12-15T10:27:37Z")

</div>

Hi! I have the following problem. I use the ruby function Dir.getwd to get the working directory of my running ruby application. I need to save this via a firebird adapter to my DB. When Dir.getwd contains special c…

---

## [\[Bug #881\] A mistake in rake/packagetask.rb document](https://www.ruby-forum.com/t/bug-881-a-mistake-in-rake-packagetask-rb-document/155649)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [December 15, 2008, 10:17am UTC](https://www.ruby-forum.com/t/bug-881-a-mistake-in-rake-packagetask-rb-document/155649 "2008-12-15T10:17:39Z")

</div>

Bug #881: A mistake in rake/packagetask.rb document http://redmine.ruby-lang.org/issues/show/881 e$B5/I\<\<Te(B: okkez \_ e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: DOC e$B:3:Y$J4V0c$$$r8+$D$1$?$N$GJs…

---

## [Gems, Proxy authentication](https://www.ruby-forum.com/t/gems-proxy-authentication/146906)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 8\
**Last updated:** [December 15, 2008, 8:31am UTC](https://www.ruby-forum.com/t/gems-proxy-authentication/146906 "2008-12-15T08:31:35Z")

</div>

Hello… My company recently changed to a new proxy server and now my gem update commands aren’t working. Doing a gem update gives me: Updating installed gems ERROR: While executing gem … (Zlib::BufError) buffer error …

---

## [A bug in c:\\InstantRails\\ruby\\lib\\ruby\\1.8\\net\\http.rb?](https://www.ruby-forum.com/t/a-bug-in-c-instantrails-ruby-lib-ruby-1-8-net-http-rb/155326)

<div class="topic-metadata">

**Author:** [@zloy](https://www.ruby-forum.com/u/zloy)\
**Replies:** 4\
**Last updated:** [December 15, 2008, 8:23am UTC](https://www.ruby-forum.com/t/a-bug-in-c-instantrails-ruby-lib-ruby-1-8-net-http-rb/155326 "2008-12-15T08:23:27Z")

</div>

I can not make working a line of code: http = Net::HTTP::Proxy(‘192.168.1.32’, 3128, ‘user’, ‘password’).new(‘http://www.yandex.ru’,80) I got: stack level too deep RAILS\_ROOT: C:/INSTAN~1/rails\_apps/myapp/config/… A…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/155643)

<div class="topic-metadata">

**Author:** [@y.zhSzhang](https://www.ruby-forum.com/u/y.zhSzhang)\
**Replies:** 0\
**Last updated:** [December 15, 2008, 7:34am UTC](https://www.ruby-forum.com/t/unsubscribe/155643 "2008-12-15T07:34:54Z")

</div>

unsubscribe

---

## [\[Bug #874\] cannot make with bison-2.4.1](https://www.ruby-forum.com/t/bug-874-cannot-make-with-bison-2-4-1/155606)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 1\
**Last updated:** [December 15, 2008, 7:17am UTC](https://www.ruby-forum.com/t/bug-874-cannot-make-with-bison-2-4-1/155606 "2008-12-15T07:17:22Z")

</div>

Bug #874: cannot make with bison-2.4.1 http://redmine.ruby-lang.org/issues/show/874 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: core parse.\[ch\]e$B$+$ie(B #define tL…

---

## [\_\_PRETTY\_\_FUNCTION\_\_ for Ruby?](https://www.ruby-forum.com/t/pretty-function-for-ruby/155625)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 4\
**Last updated:** [December 15, 2008, 5:15am UTC](https://www.ruby-forum.com/t/pretty-function-for-ruby/155625 "2008-12-15T05:15:47Z")

</div>

We have FILE and LINE… So it would be nice to have PRETTY\_FUNCTION? Is there one or do I have to roll my own out of “caller(1)\[0\]”? John C. Phone : (64)(3) 358 6639 Tait Electronics …

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

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