# Ruby

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

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

---

## [Problems with Web Services](https://www.ruby-forum.com/t/problems-with-web-services/185438)

<div class="topic-metadata">

**Author:** [@jorgegetafe](https://www.ruby-forum.com/u/jorgegetafe)\
**Replies:** 0\
**Last updated:** [March 19, 2010, 11:44pm UTC](https://www.ruby-forum.com/t/problems-with-web-services/185438 "2010-03-19T23:44:46Z")

</div>

I’m doing a Web Services using SOAP, but when I click a button, the browser shows this message: undefined method \`parent’ for #\<SOAP::Parser::ParseFrame::NodeContainer:0x715fd7c @node=nil\> And the error line is in =\> …

---

## [Comapring Docs,XLS,PDF's](https://www.ruby-forum.com/t/comapring-docs-xls-pdfs/185404)

<div class="topic-metadata">

**Author:** [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Replies:** 1\
**Last updated:** [March 19, 2010, 9:34pm UTC](https://www.ruby-forum.com/t/comapring-docs-xls-pdfs/185404 "2010-03-19T21:34:05Z")

</div>

Hi All, MY NEED : I want to compare 1 PDF and 1 DOC 1 DOC and 1 Note pad 1 PDF and another 1 PDF Is there any other libraries or any other way except these gems to solve my tasks. Already USED : I have already u…

---

## [Recommended way to install Rubygems](https://www.ruby-forum.com/t/recommended-way-to-install-rubygems/185224)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 63\
**Last updated:** [March 19, 2010, 9:06pm UTC](https://www.ruby-forum.com/t/recommended-way-to-install-rubygems/185224 "2010-03-19T21:06:34Z")

</div>

Hi! I am trying to install Ruby1.9.1 under Ubuntu 9.10 - with gems. I can “apt-get install ruby1.9.1”, but I have often had trouble mixing package managers and installing rubygems using apt-get so I usually download…

---

## [Win32console 1.3.0.beta2 Released](https://www.ruby-forum.com/t/win32console-1-3-0-beta2-released/184731)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 16\
**Last updated:** [March 19, 2010, 8:07pm UTC](https://www.ruby-forum.com/t/win32console-1-3-0-beta2-released/184731 "2010-03-19T20:07:31Z")

</div>

win32console version 1.3.0.beta2 has been released! http://rubyforge.org/projects/winconsole http://github.com/luislavena/win32console http://rdoc.info/projects/luislavena/win32console Win32::Console allows controling…

---

## [Iron-term-ansicolor 0.0.2 Released](https://www.ruby-forum.com/t/iron-term-ansicolor-0-0-2-released/184249)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 60\
**Last updated:** [March 19, 2010, 5:57pm UTC](https://www.ruby-forum.com/t/iron-term-ansicolor-0-0-2-released/184249 "2010-03-19T17:57:30Z")

</div>

Tonight, I released an update to iron-term-ansicolor, a library for IronRuby that provides console colors for apps like RSpec and Cucumber (Cucumber already makes use of this, and I bet it would not be too much troubl…

---

## [C embedding problem with 1.9](https://www.ruby-forum.com/t/c-embedding-problem-with-1-9/185420)

<div class="topic-metadata">

**Author:** [@tibur](https://www.ruby-forum.com/u/tibur)\
**Replies:** 2\
**Last updated:** [March 19, 2010, 5:05pm UTC](https://www.ruby-forum.com/t/c-embedding-problem-with-1-9/185420 "2010-03-19T17:05:31Z")

</div>

Hello. I can’t manage to make the attached program to work with ruby 1.9. When I run the program, it complain about unknown variable ‘a’. Here is the exact error. undefined local variable or method \`a’ for main:Objec…

---

## [\[Feature:1.9\] location of already initialized constant](https://www.ruby-forum.com/t/feature-1-9-location-of-already-initialized-constant/165274)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 1\
**Last updated:** [March 19, 2010, 3:44pm UTC](https://www.ruby-forum.com/t/feature-1-9-location-of-already-initialized-constant/165274 "2010-03-19T15:44:34Z")

</div>

e$B$J$+$@$G$9!#e(B e$B=i4|2=:Q$\_Dj?t$N7Y9p$G!"Dj5A$5$l$?\>l=j$rI=\<($9$k$N$O$I$&$G$7$g$&$+!#e(B $ ./ruby -e X=1 -e X=2 -e:2: warning: already initialized constant X at -e:1 Index: class.c — class.c (revision 23168) +…

---

## [Migration](https://www.ruby-forum.com/t/migration/185392)

<div class="topic-metadata">

**Author:** [@mailtorajuit](https://www.ruby-forum.com/u/mailtorajuit)\
**Replies:** 3\
**Last updated:** [March 19, 2010, 2:31pm UTC](https://www.ruby-forum.com/t/migration/185392 "2010-03-19T14:31:59Z")

</div>

Hi all, I have migrated with some tables in my application. After some days i need to add few more tables to database. The initial tables in database have some data. when i try to migrate the database for second time …

---

## [RubyKaigi 2010: Early Call for Presentation Proposals](https://www.ruby-forum.com/t/rubykaigi-2010-early-call-for-presentation-proposals/184334)

<div class="topic-metadata">

**Author:** [@Leonard\_C](https://www.ruby-forum.com/u/Leonard_C)\
**Replies:** 1\
**Last updated:** [March 19, 2010, 2:03pm UTC](https://www.ruby-forum.com/t/rubykaigi-2010-early-call-for-presentation-proposals/184334 "2010-03-19T14:03:18Z")

</div>

This is an early call for presentation proposals for RubyKaigi 2010 \[\[日本Ruby会議 2010, 8月27日〜29日\]\]. We are interested in presentations on the following topics: Anything about the Ruby language RubyKaigi 2010 will be h…

---

## [Building ruby on mswin](https://www.ruby-forum.com/t/building-ruby-on-mswin/185395)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 3\
**Last updated:** [March 19, 2010, 8:31am UTC](https://www.ruby-forum.com/t/building-ruby-on-mswin/185395 "2010-03-19T08:31:59Z")

</div>

e$B$3$s$K$A$O!"%"!\<%m%s$G$9!#e(B e$B@hF|!";d$N2q\<R$Ke(BMSVCe$B$rGc$o$;$k$K$O$"$^$j$K$b!";~4V$,$+$+$j$9$.$?$N$G!"\<+J,$Ge(Bwindowse$B#7$rGc$$$^$7$?!#e(B Luis L. e$B$5$s$Oe(BWindowse$B$Ge(BRubye$B$N%3%s%Q%$%k$N$d$jJ}$r65…

---

## [Draft of 1.9.2 release schedule](https://www.ruby-forum.com/t/draft-of-1-9-2-release-schedule/185161)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 3\
**Last updated:** [March 19, 2010, 6:23am UTC](https://www.ruby-forum.com/t/draft-of-1-9-2-release-schedule/185161 "2010-03-19T06:23:47Z")

</div>

Yugui e$B$5$s!"e(B e$B1sF#$G$9!#e(B e$B$$$$2C8:!"e(B1.9.2 e$B$r%j%j!\<%9$7$^$7$g$&!\*e(B e$B\>!\<j$K:n$C$?%j%j!\<%9%9%1%8%e!\<%k0F$G$9!#e(B 3 e$B7nKve(B: e$B;EMM%U%j!\<%:e(B 4 e$B7nKve(B: e$B%3!\<%I%U%j!\<%:e(B 5 e$B7nKve(B:…

---

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

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [March 19, 2010, 4:13am UTC](https://www.ruby-forum.com/t/code-review-policheck/185386 "2010-03-19T04:13:51Z")

</div>

tfpt review “/shelveset:policheck;REDMOND\\jdeville” Comment : Update version number to 1.0.0.0 for final RC Policheck changes.

---

## [Re: IronRuby + Rails + format.xml](https://www.ruby-forum.com/t/re-ironruby-rails-format-xml/185380)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [March 19, 2010, 1:27am UTC](https://www.ruby-forum.com/t/re-ironruby-rails-format-xml/185380 "2010-03-19T01:27:04Z")

</div>

Have you defined a to\_xml builder method on the object? Also, you may need to call to\_xml in the format.xml block. I can’t remember if the rails processes for format.xml call to\_xml in the render, or just pass it to t…

---

## [IronRuby + Rails + format.xml](https://www.ruby-forum.com/t/ironruby-rails-format-xml/185378)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 0\
**Last updated:** [March 19, 2010, 12:54am UTC](https://www.ruby-forum.com/t/ironruby-rails-format-xml/185378 "2010-03-19T00:54:17Z")

</div>

Hi guys, I’m hoping that someone will have more of a deeper understanding of rails than myself. Basically, I want to use the format.xml from an action in rails with a C# object - but all I get is the to\_s (MyNamespac…

---

## [Jruby Runtime error](https://www.ruby-forum.com/t/jruby-runtime-error/184968)

<div class="topic-metadata">

**Author:** [@sam](https://www.ruby-forum.com/u/sam)\
**Replies:** 16\
**Last updated:** [March 18, 2010, 10:06pm UTC](https://www.ruby-forum.com/t/jruby-runtime-error/184968 "2010-03-18T22:06:09Z")

</div>

When I try to access the Jruby application I am receiving below runtime error. In shared/navigation\_bar.html.erb WEB-INF/gems/gems/activesupport-2.0.2/lib/active\_support/dependencies.rb:249 :in load\_missing\_constant'…

---

## [Web app authentication to active directory](https://www.ruby-forum.com/t/web-app-authentication-to-active-directory/185364)

<div class="topic-metadata">

**Author:** [@nicken](https://www.ruby-forum.com/u/nicken)\
**Replies:** 3\
**Last updated:** [March 18, 2010, 9:19pm UTC](https://www.ruby-forum.com/t/web-app-authentication-to-active-directory/185364 "2010-03-18T21:19:19Z")

</div>

I have a Windows/IIS server which is running some plain-old-CGI Ruby web apps. Because it’s Windows/IIS, authentication is really easy in our active directory environment. I simply have to enable authentication (kerbe…

---

## [Where is Ruby 1.9 'TK' library?](https://www.ruby-forum.com/t/where-is-ruby-1-9-tk-library/183636)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 30\
**Last updated:** [March 18, 2010, 8:21pm UTC](https://www.ruby-forum.com/t/where-is-ruby-1-9-tk-library/183636 "2010-03-18T20:21:29Z")

</div>

Just installed Ruby 1.9 and tried to run one of my TK applications that works using Ruby 1.8. There doesn’t appear to be a ‘TK’ library in Ruby 1.9. Where/how can I get and install the ‘TK’ library? –Alex

---

## [JSON serialisation](https://www.ruby-forum.com/t/json-serialisation/185311)

<div class="topic-metadata">

**Author:** [@raubarede](https://www.ruby-forum.com/u/raubarede)\
**Replies:** 3\
**Last updated:** [March 18, 2010, 7:20pm UTC](https://www.ruby-forum.com/t/json-serialisation/185311 "2010-03-18T19:20:02Z")

</div>

Hello, I need to make a json serialisation which should work with any data coming from my jruby (embedded) code. I use SOJO framework which is ok. But JSON has some constraints : Object keys must be String Date Tim…

---

## [Access to java class objects](https://www.ruby-forum.com/t/access-to-java-class-objects/185277)

<div class="topic-metadata">

**Author:** [@jahu](https://www.ruby-forum.com/u/jahu)\
**Replies:** 5\
**Last updated:** [March 18, 2010, 6:07pm UTC](https://www.ruby-forum.com/t/access-to-java-class-objects/185277 "2010-03-18T18:07:24Z")

</div>

Hi all, occasionally I need to get hold of java class objects (e.g. int.class or javax.swing.JLabel.class) from my jruby code. I java I would do Class cls = javax.swing.JLabel.class; What is the jruby equivalent? Cur…

---

## [Help Required](https://www.ruby-forum.com/t/help-required/185328)

<div class="topic-metadata">

**Author:** [@bpankaj](https://www.ruby-forum.com/u/bpankaj)\
**Replies:** 2\
**Last updated:** [March 18, 2010, 5:48pm UTC](https://www.ruby-forum.com/t/help-required/185328 "2010-03-18T17:48:40Z")

</div>

I have page with 3 record. I want to click on edit icon where MPWA Item is “Test Data” Which script should i use to click on edit icon.

---

## [Net-ldap 0.1.1 Released](https://www.ruby-forum.com/t/net-ldap-0-1-1-released/185349)

<div class="topic-metadata">

**Author:** [@austin](https://www.ruby-forum.com/u/austin)\
**Replies:** 1\
**Last updated:** [March 18, 2010, 3:59pm UTC](https://www.ruby-forum.com/t/net-ldap-0-1-1-released/185349 "2010-03-18T15:59:32Z")

</div>

Unfortunately, yesterday’s release of net-ldap 0.1.0 had a critical bug in it, so today net-ldap version 0.1.1 has been released! http://net-ldap.rubyforge.org/ http://github.com/RoryO/ruby-net-ldap Pure Ruby LDAP li…

---

## [\[Feature:trunk\] hide the internal of anonymous Enumerator](https://www.ruby-forum.com/t/feature-trunk-hide-the-internal-of-anonymous-enumerator/178860)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 2\
**Last updated:** [March 18, 2010, 3:45pm UTC](https://www.ruby-forum.com/t/feature-trunk-hide-the-internal-of-anonymous-enumerator/178860 "2010-03-18T15:45:43Z")

</div>

e$B1sF#$G$9!#e(B \[ruby-dev:39665\] e$B$h$j0zMQ!#e(B 2009e$BG/e(B11e$B7ne(B12e$BF|e(B0:38 Akinori MUSHA removed\_email\_address@domain.invalid: e$B!!e(BYielder/Generator e$B$H$$$&AH9g$;$K$h$k\<BAu$O\<B83E\*$J$b$N$G!“FC$Ke(B …

---

## [Ruby performing 2nd loop, before finishing 1st loop](https://www.ruby-forum.com/t/ruby-performing-2nd-loop-before-finishing-1st-loop/185347)

<div class="topic-metadata">

**Author:** [@pradeep\_236](https://www.ruby-forum.com/u/pradeep_236)\
**Replies:** 3\
**Last updated:** [March 18, 2010, 3:44pm UTC](https://www.ruby-forum.com/t/ruby-performing-2nd-loop-before-finishing-1st-loop/185347 "2010-03-18T15:44:32Z")

</div>

Hi, My code is like this: if (row.abc1== ‘pnc’) action1 end if (abc2 == ‘hjayu’) action2 end Now the probelm is, before finishing the action1, it is going to perform action2 & resulting crashing the system. …

---

## [\[Feature: trunk\] GC.time](https://www.ruby-forum.com/t/feature-trunk-gc-time/169900)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 1\
**Last updated:** [March 18, 2010, 2:30pm UTC](https://www.ruby-forum.com/t/feature-trunk-gc-time/169900 "2010-03-18T14:30:45Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!:#$^$G2?2se(B GC e$B$r$d$C$?$+D4$Y$k$?$a$Ne(B GC.count e$B$H$$$&$N$,$"$k$N$G$9$,!$e(B e$B$3$l$^$G$Ne(B GC e$B$K$+$+$C$?;~4V$rJV$9e(B GC.time e$B$H$$$&%a%=%C%I$rDI2C$9$k$N$Oe(B e$B$I$&$G$7$g…

---

## [Thread pool issue](https://www.ruby-forum.com/t/thread-pool-issue/226062)

<div class="topic-metadata">

**Author:** [@sriram](https://www.ruby-forum.com/u/sriram)\
**Replies:** 1\
**Last updated:** [March 18, 2010, 1:39pm UTC](https://www.ruby-forum.com/t/thread-pool-issue/226062 "2010-03-18T13:39:49Z")

</div>

Hello, I was just trying out the thread pool code form Ruby Cookbook. I created a script to test it out. The complete code is as follows: require ‘thread’ class ThreadPool def initialize(max\_size) @pool = \[\] …

---

## [BTJunkie crawler](https://www.ruby-forum.com/t/btjunkie-crawler/185336)

<div class="topic-metadata">

**Author:** [@quark](https://www.ruby-forum.com/u/quark)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 12:29pm UTC](https://www.ruby-forum.com/t/btjunkie-crawler/185336 "2010-03-18T12:29:46Z")

</div>

Hi there. I’m building a crawler so I can download all the torrent files from BTJunkie. I’m using Mechanize to do that and I can download the files. The thing is, after some downloads, the direct url to the torrents …

---

## [Adapter/library for meta data repositories?](https://www.ruby-forum.com/t/adapter-library-for-meta-data-repositories/185270)

<div class="topic-metadata">

**Author:** [@dalton](https://www.ruby-forum.com/u/dalton)\
**Replies:** 2\
**Last updated:** [March 18, 2010, 8:23am UTC](https://www.ruby-forum.com/t/adapter-library-for-meta-data-repositories/185270 "2010-03-18T08:23:08Z")

</div>

Hello there, does anyone know something similar to ActiveRecord or ActiveResource which can be used to handle data in meta data repositories like Apache Jackrabbit? At the moment I handle the data in my controllers. …

---

## [Deploying to Glassfishv3 and Shared libs](https://www.ruby-forum.com/t/deploying-to-glassfishv3-and-shared-libs/184815)

<div class="topic-metadata">

**Author:** [@jacques](https://www.ruby-forum.com/u/jacques)\
**Replies:** 16\
**Last updated:** [March 18, 2010, 6:39am UTC](https://www.ruby-forum.com/t/deploying-to-glassfishv3-and-shared-libs/184815 "2010-03-18T06:39:32Z")

</div>

I trying to bring a jruby application over to glassfishv3 and am a bit confused on classloaders. In Glassfish, when a jar is added to the domain/lib directory, that jar is on the classpath for applications on that do…

---

## [Net-ldap 0.1.0](https://www.ruby-forum.com/t/net-ldap-0-1-0/185316)

<div class="topic-metadata">

**Author:** [@austin](https://www.ruby-forum.com/u/austin)\
**Replies:** 4\
**Last updated:** [March 18, 2010, 4:44am UTC](https://www.ruby-forum.com/t/net-ldap-0-1-0/185316 "2010-03-18T04:44:16Z")

</div>

I have two things to announce today. The first is that net-ldap version 0.1.0 has been released! The second is that net-ldap development is not an ex-parrot. Thanks to Kaspar S. and Rory O’Connell, we’re going to see …

---

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

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 0\
**Last updated:** [March 18, 2010, 12:41am UTC](https://www.ruby-forum.com/t/code-review-timeout/185314 "2010-03-18T00:41:21Z")

</div>

tfpt review “/shelveset:timeout;REDMOND\\sborde” Comment : Changes Timeout.timeout to use System::Threading::Timer since the pure Ruby implementation spins up a new thread for every call to Timeout.timeout which is v…

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

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