# Ruby

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

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

---

## [Making an RDoc Template Gem](https://www.ruby-forum.com/t/making-an-rdoc-template-gem/176482)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 5\
**Last updated:** [October 2, 2009, 3:59am UTC](https://www.ruby-forum.com/t/making-an-rdoc-template-gem/176482 "2009-10-02T03:59:03Z")

</div>

I want to create a new RDoc template and I want to ship it as a gem. But I cannot figure out how to set it up so RDoc will find it. For that matter I’m not exactly sure what kind of file it’s wants either. Is there an…

---

## [How to use a particular interface in net/http](https://www.ruby-forum.com/t/how-to-use-a-particular-interface-in-net-http/176555)

<div class="topic-metadata">

**Author:** [@clipper](https://www.ruby-forum.com/u/clipper)\
**Replies:** 0\
**Last updated:** [October 2, 2009, 2:30am UTC](https://www.ruby-forum.com/t/how-to-use-a-particular-interface-in-net-http/176555 "2009-10-02T02:30:18Z")

</div>

Hi, Sorry if this has already been asked but I wasn’t able to find the response via search. I’m doing some page scraping for a client and need to connect to their vpn server. So I have the vpn client running on my l…

---

## [Setting RUBYLIB while debugging](https://www.ruby-forum.com/t/setting-rubylib-while-debugging/176553)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 0\
**Last updated:** [October 2, 2009, 1:43am UTC](https://www.ruby-forum.com/t/setting-rubylib-while-debugging/176553 "2009-10-02T01:43:45Z")

</div>

Currently I have a ruby script that is normally run via a windows batch file that has set RUBYLIB=… ruby …\\rubyfile.rb When I run the ruby script with rdebug I run into a problem that required ruby files cannot be a…

---

## [Calling non class methods from C#](https://www.ruby-forum.com/t/calling-non-class-methods-from-c/176517)

<div class="topic-metadata">

**Author:** [@skyrebel](https://www.ruby-forum.com/u/skyrebel)\
**Replies:** 4\
**Last updated:** [October 2, 2009, 12:00am UTC](https://www.ruby-forum.com/t/calling-non-class-methods-from-c/176517 "2009-10-02T00:00:11Z")

</div>

Dear users, I have found how to invoke class methods and use its result in the C# application. However I can’t seem to find how to invoke methodes located outside of a class. So I started wondering if this is at all …

---

## [Compilation from sources failed. Could not load FFI provider](https://www.ruby-forum.com/t/compilation-from-sources-failed-could-not-load-ffi-provider/176543)

<div class="topic-metadata">

**Author:** [@Jean-Christophe\_Le\_S](https://www.ruby-forum.com/u/Jean-Christophe_Le_S)\
**Replies:** 2\
**Last updated:** [October 1, 2009, 10:56pm UTC](https://www.ruby-forum.com/t/compilation-from-sources-failed-could-not-load-ffi-provider/176543 "2009-10-01T22:56:59Z")

</div>

Hello, I have downloaded the sources of jruby for the first time, but I get an error during compilation. Could someone help ? Should I post this to dev ? I am running fedora 9. java version “1.6.0\_07” Java™ SE Runt…

---

## [2D array to array of hashes with repeating header](https://www.ruby-forum.com/t/2d-array-to-array-of-hashes-with-repeating-header/176225)

<div class="topic-metadata">

**Author:** [@leveille](https://www.ruby-forum.com/u/leveille)\
**Replies:** 5\
**Last updated:** [October 1, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/2d-array-to-array-of-hashes-with-repeating-header/176225 "2009-10-01T21:39:07Z")

</div>

I have this array: data = \[\[:time, :pressure\],\[0,2.3\],\[1,4.1\],\[2,7.56\],…\] All the arrays in data could have an arbitrary number of items in it and the total number of arrays in data is arbitrary but all arrays will be …

---

## [Sup 0.9 released](https://www.ruby-forum.com/t/sup-0-9-released/176540)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 8:45pm UTC](https://www.ruby-forum.com/t/sup-0-9-released/176540 "2009-10-01T20:45:14Z")

</div>

I’m pleased to announce the release of Sup 0.9. Sup is a console-based email client for people with a lot of email. It supports tagging, very fast full-text search, automatic contact- list management, and more. If you…

---

## [Can someone help me please with event machine?](https://www.ruby-forum.com/t/can-someone-help-me-please-with-event-machine/176478)

<div class="topic-metadata">

**Author:** [@marclafia](https://www.ruby-forum.com/u/marclafia)\
**Replies:** 1\
**Last updated:** [October 1, 2009, 8:22pm UTC](https://www.ruby-forum.com/t/can-someone-help-me-please-with-event-machine/176478 "2009-10-01T20:22:25Z")

</div>

I’m getting an error with event machine, being unable to connect to the server… I’m using the AMQP gem. tcp\_connect: inp=0xba201f8 err=EADDRINUSE /Users/maleko/workspace/geo/vendor/gems/gems/eventmachine-0.12.8/lib/ev…

---

## [SystemStackError: stack level too deep \> how make it deeper?](https://www.ruby-forum.com/t/systemstackerror-stack-level-too-deep-how-make-it-deeper/176458)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 14\
**Last updated:** [October 1, 2009, 8:01pm UTC](https://www.ruby-forum.com/t/systemstackerror-stack-level-too-deep-how-make-it-deeper/176458 "2009-10-01T20:01:55Z")

</div>

Hi all I have a recursive algorith that must run until it finds the result: def p(n) n \* (3 \* n - 1) / 2 end def h(n) n \* (2 \* n - 1) end def find\_next\_match(p, h) result\_p = p(p + 1) result\_h = h(h + 1) if re…

---

## [Newbie: Does Ruby have event driven network libraries?](https://www.ruby-forum.com/t/newbie-does-ruby-have-event-driven-network-libraries/176534)

<div class="topic-metadata">

**Author:** [@wyattbiker](https://www.ruby-forum.com/u/wyattbiker)\
**Replies:** 4\
**Last updated:** [October 1, 2009, 7:43pm UTC](https://www.ruby-forum.com/t/newbie-does-ruby-have-event-driven-network-libraries/176534 "2009-10-01T19:43:56Z")

</div>

I made a turn based game and would like to make a back end engine running on Linux or Mac. The game is turnbased 2 player (think chess like) but there can be many games going on at once. Speed would not be the problem…

---

## [Jruby and amchart](https://www.ruby-forum.com/t/jruby-and-amchart/176504)

<div class="topic-metadata">

**Author:** [@khzied](https://www.ruby-forum.com/u/khzied)\
**Replies:** 2\
**Last updated:** [October 1, 2009, 6:39pm UTC](https://www.ruby-forum.com/t/jruby-and-amchart/176504 "2009-10-01T18:39:21Z")

</div>

hi everybody, I have a jruby on rails application and i want to use “amchart”, step by step, extracting data from my postgres database… Can you help me please? Thanks :slight\_smile: – View this message in context: …

---

## [ANN: Sequel 3.5.0 Released](https://www.ruby-forum.com/t/ann-sequel-3-5-0-released/176530)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 6:10pm UTC](https://www.ruby-forum.com/t/ann-sequel-3-5-0-released/176530 "2009-10-01T18:10:35Z")

</div>

Sequel is a lightweight database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas. Sequel also includes a lightweight but…

---

## [Re: Removing constant-able macros inside of the loop](https://www.ruby-forum.com/t/re-removing-constant-able-macros-inside-of-the-loop/176367)

<div class="topic-metadata">

**Author:** [@Masahiro\_Kanai\_SCan](https://www.ruby-forum.com/u/Masahiro_Kanai_SCan)\
**Replies:** 2\
**Last updated:** [October 1, 2009, 5:54pm UTC](https://www.ruby-forum.com/t/re-removing-constant-able-macros-inside-of-the-loop/176367 "2009-10-01T17:54:17Z")

</div>

e$B6b0f$G$9!#e(B 2009e$BG/e(B9e$B7ne(B29e$BF|e(B10:08 Yukihiro M. removed\_email\_address@domain.invalid: |e$BBP1~$,2DG=$G$7$?!#e(B(e$B4{$KBP1~$5$l$F$^$7$?!#e(B) | | |e$B=$@58e$N%Q%C%A$O!"0J2\<$NDL$j$G$9!#e(B e$B;n$…

---

## [Rake BackgrounDRb Problem](https://www.ruby-forum.com/t/rake-backgroundrb-problem/176510)

<div class="topic-metadata">

**Author:** [@coldie](https://www.ruby-forum.com/u/coldie)\
**Replies:** 1\
**Last updated:** [October 1, 2009, 5:31pm UTC](https://www.ruby-forum.com/t/rake-backgroundrb-problem/176510 "2009-10-01T17:31:48Z")

</div>

Hi there, following the official instructions of installing the BackgrounDRb, i got to know, that have to load the plugin into my vendor/plugin folder –\> and than “rake backgroundrb:setup”. Here is the fault: The ra…

---

## [Wsdl ,not able to pass a complex type to a method](https://www.ruby-forum.com/t/wsdl-not-able-to-pass-a-complex-type-to-a-method/176526)

<div class="topic-metadata">

**Author:** [@rahul883](https://www.ruby-forum.com/u/rahul883)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 5:14pm UTC](https://www.ruby-forum.com/t/wsdl-not-able-to-pass-a-complex-type-to-a-method/176526 "2009-10-01T17:14:33Z")

</div>

I’m trying to use a web service . I am using ‘soap/rpc/driver’ after creating an object of the driver class , i am able to authenticate by calling a method on it . i am able to authenticate using the c…

---

## [Utility\_belt rubygem: Any known fixes for 1.9 incompat?](https://www.ruby-forum.com/t/utility-belt-rubygem-any-known-fixes-for-1-9-incompat/176524)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 4:49pm UTC](https://www.ruby-forum.com/t/utility-belt-rubygem-any-known-fixes-for-1-9-incompat/176524 "2009-10-01T16:49:18Z")

</div>

It seems like utility\_belt is incompatible with irb1.9? irb â”€â”€(Thu,Oct01)â”€â”˜ /opt/local/lib/ruby1.9/1.9.1/irb.rb:61:in call': wrong number of arguments (1 for 0) (ArgumentError) from /opt/local/lib/ruby1.9/1.9.…

---

## [Group by unique entries of a hash](https://www.ruby-forum.com/t/group-by-unique-entries-of-a-hash/176357)

<div class="topic-metadata">

**Author:** [@nescripter](https://www.ruby-forum.com/u/nescripter)\
**Replies:** 14\
**Last updated:** [October 1, 2009, 4:47pm UTC](https://www.ruby-forum.com/t/group-by-unique-entries-of-a-hash/176357 "2009-10-01T16:47:36Z")

</div>

I have two data sets loaded into a hash to give the following output “2efa4ba470”, “00000005” “2efa4ba470”, “00000004” “02adecfd5c”, “00000002” “c0784b5de101”, “00000006” “68c4bf10539”, “00000003” “c0784b5de10…

---

## [Installation fails make test-all](https://www.ruby-forum.com/t/installation-fails-make-test-all/176523)

<div class="topic-metadata">

**Author:** [@agnathan](https://www.ruby-forum.com/u/agnathan)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 4:36pm UTC](https://www.ruby-forum.com/t/installation-fails-make-test-all/176523 "2009-10-01T16:36:39Z")

</div>

I’ve been provided a new computer by my IM group. They installed and configured CentOS5. When I install Ruby and run the tests all of the soap related tests fail. I need this to work for the Redmine gem. This does not…

---

## [Enumerator#next $B$N5sF0$,(B1.8.7$B$H(Btrunk$B$H$G0\[$J$k(B](https://www.ruby-forum.com/t/enumerator-next-b-n5sf0-b1-8-7-b-h-btrunk-b-h-g0-j-k-b/176509)

<div class="topic-metadata">

**Author:** [@KAKUTANI\_Shintaro](https://www.ruby-forum.com/u/KAKUTANI_Shintaro)\
**Replies:** 1\
**Last updated:** [October 1, 2009, 2:15pm UTC](https://www.ruby-forum.com/t/enumerator-next-b-n5sf0-b1-8-7-b-h-btrunk-b-h-g0-j-k-b/176509 "2009-10-01T14:15:55Z")

</div>

e$B$+$/$?$K$G$9!#e(B asakusa.rbe$B$N=8$^$j$Ge(Brubyspece$B$r$$s$J$GF0$+$7$FM7$s$G$$?$ie(B e$B;W$C$?$h$j$b3Z$7$+$C$?$N$G!"Mn$A$F$ke(Bspece$B$r8+$F$$$^$9!#e(B e$B$=$N2aDx$Ge(B Enumerator#nexte$B$Ne(Btrnke$B$Oe(B1.8.7e$…

---

## [Require 'java' ---\>\> LoadError: no such file to load -- java](https://www.ruby-forum.com/t/require-java-loaderror-no-such-file-to-load-java/176503)

<div class="topic-metadata">

**Author:** [@mina82](https://www.ruby-forum.com/u/mina82)\
**Replies:** 2\
**Last updated:** [October 1, 2009, 1:58pm UTC](https://www.ruby-forum.com/t/require-java-loaderror-no-such-file-to-load-java/176503 "2009-10-01T13:58:45Z")

</div>

Hi everybody, I am begginer in ruby and for learning I am using eclipse IDE. As I said it in subject title, when I write require â€˜javaâ€™ I get error â€“ in \`gem\_original\_requireâ€™: no such file to loadâ€”java (Loa…

---

## [Problem with Upload\_Column in uploading images](https://www.ruby-forum.com/t/problem-with-upload-column-in-uploading-images/176508)

<div class="topic-metadata">

**Author:** [@indu](https://www.ruby-forum.com/u/indu)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 1:35pm UTC](https://www.ruby-forum.com/t/problem-with-upload-column-in-uploading-images/176508 "2009-10-01T13:35:50Z")

</div>

Hello everyone, I am using upload\_cloumn for uploading images. Problem is that the thumbnails are not creating. If I do not specify the file name option in the following code, thumbnails will be created. Any one pls h…

---

## [Calling ruby scripts from C#](https://www.ruby-forum.com/t/calling-ruby-scripts-from-c/176436)

<div class="topic-metadata">

**Author:** [@skyrebel](https://www.ruby-forum.com/u/skyrebel)\
**Replies:** 13\
**Last updated:** [October 1, 2009, 9:25am UTC](https://www.ruby-forum.com/t/calling-ruby-scripts-from-c/176436 "2009-10-01T09:25:40Z")

</div>

Dear users, I want to build a testscript scheduler / executer in C# that runs several Ruby scripts in sequence. For this I use IronRuby with the following constuction: ScriptRuntime runtime = Ruby.CreateRuntime(); S…

---

## [Mongrel](https://www.ruby-forum.com/t/mongrel/176480)

<div class="topic-metadata">

**Author:** [@rgreen](https://www.ruby-forum.com/u/rgreen)\
**Replies:** 1\
**Last updated:** [October 1, 2009, 7:51am UTC](https://www.ruby-forum.com/t/mongrel/176480 "2009-10-01T07:51:53Z")

</div>

Is anyone ever going to update Mongrel to run on Ruby 1.9.1?

---

## [Code Review: legacyfix](https://www.ruby-forum.com/t/code-review-legacyfix/176484)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 7:06am UTC](https://www.ruby-forum.com/t/code-review-legacyfix/176484 "2009-10-01T07:06:14Z")

</div>

tfpt review “/shelveset:legacyfix;REDMOND\\jdeville” Comment : Stopgap fix to legacy tests before I rewrite the runner. This just makes the tests pass on a MERLIN\_ROOT environment where the checked in Ruby is not pre…

---

## [Retrieving e-mail from a gmail label](https://www.ruby-forum.com/t/retrieving-e-mail-from-a-gmail-label/176481)

<div class="topic-metadata">

**Author:** [@mike343](https://www.ruby-forum.com/u/mike343)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 6:10am UTC](https://www.ruby-forum.com/t/retrieving-e-mail-from-a-gmail-label/176481 "2009-10-01T06:10:59Z")

</div>

I’m trying to download all the e-mails under a particular label in a g-mail account. Using net/imap I am able to pull parts of e-mails (header, body, subject, etc) from a specific label by using: require ‘rubygems’ r…

---

## [Ajax submit](https://www.ruby-forum.com/t/ajax-submit/176431)

<div class="topic-metadata">

**Author:** [@sharankruthi](https://www.ruby-forum.com/u/sharankruthi)\
**Replies:** 3\
**Last updated:** [October 1, 2009, 6:04am UTC](https://www.ruby-forum.com/t/ajax-submit/176431 "2009-10-01T06:04:53Z")

</div>

Hi, Am able to ajax submit a form in rails view using submit\_to\_remote and as expected my results are updated in div without refreshing whole page. But if i use prototype library am not able to use jquery in that page…

---

## [Issue with Jopenssl](https://www.ruby-forum.com/t/issue-with-jopenssl/176459)

<div class="topic-metadata">

**Author:** [@lodi](https://www.ruby-forum.com/u/lodi)\
**Replies:** 1\
**Last updated:** [October 1, 2009, 3:46am UTC](https://www.ruby-forum.com/t/issue-with-jopenssl/176459 "2009-10-01T03:46:02Z")

</div>

Hi, I am running jopenssl 0.5.2 and it errors out when encrypting data, but this works correctly with openssl. The cipher I used is DES-CBC with no padding. Test case along with results for both ruby and jruby are …

---

## [Jdbcmysql driver not respecting column defaults from migrations](https://www.ruby-forum.com/t/jdbcmysql-driver-not-respecting-column-defaults-from-migrations/176460)

<div class="topic-metadata">

**Author:** [@superwick](https://www.ruby-forum.com/u/superwick)\
**Replies:** 3\
**Last updated:** [October 1, 2009, 1:13am UTC](https://www.ruby-forum.com/t/jdbcmysql-driver-not-respecting-column-defaults-from-migrations/176460 "2009-10-01T01:13:49Z")

</div>

Hello, Please let me know if there’s a better list for this question. In Rails, we are using the jdbcmysql driver from the activerecord-jdbcmysql-adapter gem v 0.9.1. Some of our migrations have defaults set for col…

---

## [\[Code Review\] Ruby project scripts - work items](https://www.ruby-forum.com/t/code-review-ruby-project-scripts-work-items/176468)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 0\
**Last updated:** [September 30, 2009, 11:29pm UTC](https://www.ruby-forum.com/t/code-review-ruby-project-scripts-work-items/176468 "2009-09-30T23:29:03Z")

</div>

Initial Ruby project scripts: get all closed/fixed work-items since a specific date. http://github.com/jschementi/ironruby/commit/1d6592281451e00ae42ba3aca29d8289fb1a0545 Uses Watir and Nokogiri to scrape work-items o…

---

## [Rdoc/usage replacement in ruby 1.9 for a CLI app?](https://www.ruby-forum.com/t/rdoc-usage-replacement-in-ruby-1-9-for-a-cli-app/176017)

<div class="topic-metadata">

**Author:** [@alce](https://www.ruby-forum.com/u/alce)\
**Replies:** 3\
**Last updated:** [September 30, 2009, 9:53pm UTC](https://www.ruby-forum.com/t/rdoc-usage-replacement-in-ruby-1-9-for-a-cli-app/176017 "2009-09-30T21:53:49Z")

</div>

Hey! I’m follow a tutorial (http://blog.infinitered.com/entries/show/5) to create a ruby app just for the command line, I’ll like to know where’s the replacement for rdoc/usage in 1.9 ? seems like is removed (I instal…

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

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