# Ruby

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

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

---

## [Calling all Ruby Developers](https://www.ruby-forum.com/t/calling-all-ruby-developers/150543)

<div class="topic-metadata">

**Author:** [@jstotz](https://www.ruby-forum.com/u/jstotz)\
**Replies:** 1\
**Last updated:** [October 9, 2008, 7:22pm UTC](https://www.ruby-forum.com/t/calling-all-ruby-developers/150543 "2008-10-09T19:22:30Z")

</div>

Hi All, I am looking for strong Ruby on Rails Developers, if your interested get in touch with you details.

---

## [Gem\_original\_require zlib problem](https://www.ruby-forum.com/t/gem-original-require-zlib-problem/150467)

<div class="topic-metadata">

**Author:** [@stevedogers](https://www.ruby-forum.com/u/stevedogers)\
**Replies:** 5\
**Last updated:** [October 9, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/gem-original-require-zlib-problem/150467 "2008-10-09T18:49:33Z")

</div>

I’m trying to just to a first time install of gems (and net/ssh ) in particular… and I can’t even do a gem update --system I get the following dump (any idea how to fix this?) /usr/local/lib/ruby/site\_ruby/1.8/ruby…

---

## [Problem with comparing huge amount of strings](https://www.ruby-forum.com/t/problem-with-comparing-huge-amount-of-strings/150228)

<div class="topic-metadata">

**Author:** [@janfoeh](https://www.ruby-forum.com/u/janfoeh)\
**Replies:** 10\
**Last updated:** [October 9, 2008, 6:26pm UTC](https://www.ruby-forum.com/t/problem-with-comparing-huge-amount-of-strings/150228 "2008-10-09T18:26:55Z")

</div>

Hello together, I got a problem grouping rows in a Database by similarity. What I try to reach is the following: I have a table looking like (just an example): ID Companyname Group 1 Mickeysoft Ltd. NUL…

---

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

<div class="topic-metadata">

**Author:** [@K\_Patel](https://www.ruby-forum.com/u/K_Patel)\
**Replies:** 0\
**Last updated:** [October 9, 2008, 6:18pm UTC](https://www.ruby-forum.com/t/unsubscribe/150540 "2008-10-09T18:18:43Z")

</div>

unsubscribe

---

## [Tex \<-\> XML](https://www.ruby-forum.com/t/tex-xml/150408)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 2\
**Last updated:** [October 9, 2008, 6:08pm UTC](https://www.ruby-forum.com/t/tex-xml/150408 "2008-10-09T18:08:46Z")

</div>

Anyone have any use for a script that can translate Tex documents to XML and back again? T.

---

## [Enumerating constants in anonymous modules](https://www.ruby-forum.com/t/enumerating-constants-in-anonymous-modules/150537)

<div class="topic-metadata">

**Author:** [@xavier](https://www.ruby-forum.com/u/xavier)\
**Replies:** 2\
**Last updated:** [October 9, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/enumerating-constants-in-anonymous-modules/150537 "2008-10-09T18:05:49Z")

</div>

How can I enumerate all the constants inside the module in the second example? Notice that #constants array is empty For bonus points, which is the “correct” eval method to use to define a class inside the module (th…

---

## [Computers](https://www.ruby-forum.com/t/computers/150541)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [October 9, 2008, 6:00pm UTC](https://www.ruby-forum.com/t/computers/150541 "2008-10-09T18:00:32Z")

</div>

Computer - Wikipedia, the free encyclopedia The first devices that resemble modern computers date to the mid-20th century ( 1940–1945), although the computer concept and various machines similar to @@@@@@@@@@@@@@@@@@…

---

## [Rake: where to submit bug report](https://www.ruby-forum.com/t/rake-where-to-submit-bug-report/150526)

<div class="topic-metadata">

**Author:** [@jandot](https://www.ruby-forum.com/u/jandot)\
**Replies:** 1\
**Last updated:** [October 9, 2008, 2:53pm UTC](https://www.ruby-forum.com/t/rake-where-to-submit-bug-report/150526 "2008-10-09T14:53:47Z")

</div>

Can anyone tell me where I can submit a bug report for rake? I’ve checked out the rubyforge project page, but couldn’t find it… Thanks, jan.

---

## [Build problems on OS X PPC](https://www.ruby-forum.com/t/build-problems-on-os-x-ppc/150424)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 4\
**Last updated:** [October 9, 2008, 1:37pm UTC](https://www.ruby-forum.com/t/build-problems-on-os-x-ppc/150424 "2008-10-09T13:37:57Z")

</div>

I have been having problems building recent Ruby 1.9 releases on my old PowerBook. I was wondering if anyone else on OX X 10.5.5 PPC has been having issues, or whether it might be some failure of my hardware. Is Ruby…

---

## [Filling a hash from an enumerable](https://www.ruby-forum.com/t/filling-a-hash-from-an-enumerable/150490)

<div class="topic-metadata">

**Author:** [@moredip](https://www.ruby-forum.com/u/moredip)\
**Replies:** 8\
**Last updated:** [October 9, 2008, 11:38am UTC](https://www.ruby-forum.com/t/filling-a-hash-from-an-enumerable/150490 "2008-10-09T11:38:22Z")

</div>

Hi folks, Given: Person = Struct.new(:name,:age,:city) people\_array = \[ Person.new(‘bob’,12,‘SFO’), Person.new(‘dave’,14,‘NYC’), Person.new(‘jane’,6,‘LDN’) \] people\_map = {} people\_array.each{ |p| people\_map\[p.na…

---

## [Code Review: MethodLookup](https://www.ruby-forum.com/t/code-review-methodlookup/150403)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 3\
**Last updated:** [October 9, 2008, 10:56am UTC](https://www.ruby-forum.com/t/code-review-methodlookup/150403 "2008-10-09T10:56:37Z")

</div>

tfpt review “/shelveset:MethodLookup;REDMOND\\tomat” ‘alias’ keyword, alias\_method and public/private/protected methods look the method up in Object if called on a module, which we didn’t do Also, ‘super’ keyword doesn…

---

## [Suggestions for common/global data in app (cli)](https://www.ruby-forum.com/t/suggestions-for-common-global-data-in-app-cli/150450)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 7\
**Last updated:** [October 9, 2008, 10:09am UTC](https://www.ruby-forum.com/t/suggestions-for-common-global-data-in-app-cli/150450 "2008-10-09T10:09:15Z")

</div>

I am writing a (my first) client side ruby app. Many programs use the same data such as db login, logger etc. Is there a standard ruby way of doing this? Some suggestions would be useful. I have used YAML for config …

---

## [Dynamically naming an Object](https://www.ruby-forum.com/t/dynamically-naming-an-object/150495)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 2\
**Last updated:** [October 9, 2008, 9:41am UTC](https://www.ruby-forum.com/t/dynamically-naming-an-object/150495 "2008-10-09T09:41:27Z")

</div>

I’m new to ruby, so this may be simple, but I can not figure it out. Simply, I am wanting to dynamically create objects at runtime with a variable name also given at runtime. for example - keys = \[\] word = “” while…

---

## [Just learning Ruby, Advice Welcome!](https://www.ruby-forum.com/t/just-learning-ruby-advice-welcome/150500)

<div class="topic-metadata">

**Author:** [@extempore](https://www.ruby-forum.com/u/extempore)\
**Replies:** 0\
**Last updated:** [October 9, 2008, 7:15am UTC](https://www.ruby-forum.com/t/just-learning-ruby-advice-welcome/150500 "2008-10-09T07:15:25Z")

</div>

Hello all, I just started learning Ruby and really love it. I just started posting all my code samples on a website and just wanted to let the community know. If you see any ways to improve my beginner code, I would…

---

## [Webby 0.9.3 (Bill Gates Alien Love Child)](https://www.ruby-forum.com/t/webby-0-9-3-bill-gates-alien-love-child/150496)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [October 9, 2008, 6:35am UTC](https://www.ruby-forum.com/t/webby-0-9-3-bill-gates-alien-love-child/150496 "2008-10-09T06:35:46Z")

</div>

Webby version 0.9.3 by Tim P. http://webby.rubyforge.org/ (the “Bill Gates Alien Love Child” release) == DESCRIPTION Webby is a fantastic little website management system. It would be called a content management s…

---

## [Gem 1.3.0, netbeans 6.1 "Missing the Rails gem"](https://www.ruby-forum.com/t/gem-1-3-0-netbeans-6-1-missing-the-rails-gem/150457)

<div class="topic-metadata">

**Author:** [@pabloq](https://www.ruby-forum.com/u/pabloq)\
**Replies:** 4\
**Last updated:** [October 9, 2008, 5:26am UTC](https://www.ruby-forum.com/t/gem-1-3-0-netbeans-6-1-missing-the-rails-gem/150457 "2008-10-09T05:26:45Z")

</div>

I’m on ubuntu 8.04 and I’m using netbeans 6.1 with native ruby option. root@castor-laptop:/home/castor# gem --version 1.3.0 root@castor-laptop:/home/castor# ruby --version ruby 1.8.6 (2007-09-24 patchlevel 111) \[i48…

---

## [Encoding.default\_internal $B$N$?$a$N%Q%C%A(B](https://www.ruby-forum.com/t/encoding-default-internal-b-n-a-n-q-c-a-b/149397)

<div class="topic-metadata">

**Author:** [@drenovac](https://www.ruby-forum.com/u/drenovac)\
**Replies:** 56\
**Last updated:** [October 9, 2008, 5:02am UTC](https://www.ruby-forum.com/t/encoding-default-internal-b-n-a-n-q-c-a-b/149397 "2008-10-09T05:02:46Z")

</div>

\[ruby-core:18774\] ã« Michael Selig ã‹ã‚‰ Encoding::default\_internal ã®ææ¡ˆãŒã‚ã‚Šã¾ã—ãŸã€‚ http://redmine.ruby-lang.org/wiki/ruby/DevelopersMeeting20080922 ã«è¿½åŠ ã—ãŸã‚‰ Encoding::default\_internal (Mic…

---

## [SUSE libopenssl-ruby1.8 install](https://www.ruby-forum.com/t/suse-libopenssl-ruby1-8-install/150479)

<div class="topic-metadata">

**Author:** [@stevedogers](https://www.ruby-forum.com/u/stevedogers)\
**Replies:** 0\
**Last updated:** [October 9, 2008, 12:31am UTC](https://www.ruby-forum.com/t/suse-libopenssl-ruby1-8-install/150479 "2008-10-09T00:31:36Z")

</div>

I’m getting a failure to use gem net-ssh on a SUSE Linux 10 machine. I’ve tested with the suggested command: ruby -ropenssl -e ‘puts OpenSSL::OPENSSL\_VERSION’ from http://net-ssh.rubyforge.org/ssh/v2/api/index.html b…

---

## [Ruby string -\> toCharArray](https://www.ruby-forum.com/t/ruby-string-tochararray/150470)

<div class="topic-metadata">

**Author:** [@linus](https://www.ruby-forum.com/u/linus)\
**Replies:** 0\
**Last updated:** [October 8, 2008, 10:52pm UTC](https://www.ruby-forum.com/t/ruby-string-tochararray/150470 "2008-10-08T22:52:41Z")

</div>

Hello, I get fallowing error: $ jruby jr.rb jr.rb:33: for method tokenizer expected \[\[C, int, int\]; got: \[java.lang.String,j ava.lang.Integer,java.lang.Integer\]; error: argument type mismatch (TypeError) It is cau…

---

## [Problem with Warbler - ActionController::RoutingError "No route matches"](https://www.ruby-forum.com/t/problem-with-warbler-actioncontroller-routingerror-no-route-matches/150386)

<div class="topic-metadata">

**Author:** [@cmanruby](https://www.ruby-forum.com/u/cmanruby)\
**Replies:** 3\
**Last updated:** [October 8, 2008, 10:52pm UTC](https://www.ruby-forum.com/t/problem-with-warbler-actioncontroller-routingerror-no-route-matches/150386 "2008-10-08T22:52:13Z")

</div>

I’m having an issue with with my rails app, running with warbler in tomcat. Here the details: OS: Windows XP (running in VMWare Fusion under mac os 10.4.11) Tomcat 6.0.16 Java 1.6.0\_5 Rails 2.1.1 Warbler 0.9.11 The …

---

## [Class\_exec for 1.8.6?](https://www.ruby-forum.com/t/class-exec-for-1-8-6/150465)

<div class="topic-metadata">

**Author:** [@malesca](https://www.ruby-forum.com/u/malesca)\
**Replies:** 0\
**Last updated:** [October 8, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/class-exec-for-1-8-6/150465 "2008-10-08T21:56:58Z")

</div>

In Ruby 1.8.6, I want to evaluate a block of code like lambda {|x| puts “x is #{x}” def instance\_method; end def self.class\_method; end } in a class, and have it define those methods and output the passed-in value…

---

## [Hpricot elem index/position](https://www.ruby-forum.com/t/hpricot-elem-index-position/150261)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [October 8, 2008, 9:08pm UTC](https://www.ruby-forum.com/t/hpricot-elem-index-position/150261 "2008-10-08T21:08:49Z")

</div>

Hey, Trying to find the String index of an Hpricot::Elem within its doc. For example… doc = Hpricot(“bobjamesdan”) elem = doc.search(“a”)\[1\] elem.start #=\> 10 ( the first ‘\<’ of the second a tag.) and eventually th…

---

## [How to use ruby, csv and webservice? Need a direction](https://www.ruby-forum.com/t/how-to-use-ruby-csv-and-webservice-need-a-direction/150451)

<div class="topic-metadata">

**Author:** [@paerez](https://www.ruby-forum.com/u/paerez)\
**Replies:** 2\
**Last updated:** [October 8, 2008, 9:07pm UTC](https://www.ruby-forum.com/t/how-to-use-ruby-csv-and-webservice-need-a-direction/150451 "2008-10-08T21:07:20Z")

</div>

Hi, All. I’m just a bit confused and need some direction here. I have an app that does inventory and I also created a bunch of reports using great Ruport Library. All of my reports can produce: xls, csv, pdf & html. …

---

## [Activesupport bug?](https://www.ruby-forum.com/t/activesupport-bug/150438)

<div class="topic-metadata">

**Author:** [@davidjrice](https://www.ruby-forum.com/u/davidjrice)\
**Replies:** 1\
**Last updated:** [October 8, 2008, 9:05pm UTC](https://www.ruby-forum.com/t/activesupport-bug/150438 "2008-10-08T21:05:37Z")

</div>

Ruby 1.9 does not work with rails. My ruby1.9 cannot work with rails and produces an error message about == and \>= so why not remove these ? In activesupport/lib/active\_support module ActiveSupport is the following …

---

## [Why is the plugin not installing](https://www.ruby-forum.com/t/why-is-the-plugin-not-installing/146342)

<div class="topic-metadata">

**Author:** [@bishal](https://www.ruby-forum.com/u/bishal)\
**Replies:** 1\
**Last updated:** [October 8, 2008, 8:57pm UTC](https://www.ruby-forum.com/t/why-is-the-plugin-not-installing/146342 "2008-10-08T20:57:27Z")

</div>

I wanted to install plugins to my application but its not working. I tried this…but nothing happens… ruby script/plugin install svn://rubyforge.org/var/svn/geokit/trunk I also tried with other plugin urls but the same…

---

## [Scheduler 0.3](https://www.ruby-forum.com/t/scheduler-0-3/115893)

<div class="topic-metadata">

**Author:** [@mental](https://www.ruby-forum.com/u/mental)\
**Replies:** 1\
**Last updated:** [October 8, 2008, 8:08pm UTC](https://www.ruby-forum.com/t/scheduler-0-3/115893 "2008-10-08T20:08:35Z")

</div>

Just a quick note that I’ve released scheduler 0.3, a very small library which lets you schedule a block for execution at a future time, without requiring a bajillion sleeping threads. Scheduled blocks can also be ca…

---

## [Calling methods of subclassed thread](https://www.ruby-forum.com/t/calling-methods-of-subclassed-thread/150433)

<div class="topic-metadata">

**Author:** [@christoforever](https://www.ruby-forum.com/u/christoforever)\
**Replies:** 4\
**Last updated:** [October 8, 2008, 7:30pm UTC](https://www.ruby-forum.com/t/calling-methods-of-subclassed-thread/150433 "2008-10-08T19:30:34Z")

</div>

As you will see at the bottom of this code snippet, i’ve commented out where the problem is. There are no errors but simply the methods never execute. I cant figure out for the life of me why that is. I’ve tried a few…

---

## [Accessing source code of a block](https://www.ruby-forum.com/t/accessing-source-code-of-a-block/150414)

<div class="topic-metadata">

**Author:** [@stephan.zimmer](https://www.ruby-forum.com/u/stephan.zimmer)\
**Replies:** 2\
**Last updated:** [October 8, 2008, 5:00pm UTC](https://www.ruby-forum.com/t/accessing-source-code-of-a-block/150414 "2008-10-08T17:00:56Z")

</div>

Dear all, say I’m given a function “f” taking a block as argument: def f(&block) some code p “#{block.to\_code}” end Is there any way to access the source code of the block, i.e. for calling “f { x+1 }” the “to\_cod…

---

## [Plug and play installation for zena CMS](https://www.ruby-forum.com/t/plug-and-play-installation-for-zena-cms/150441)

<div class="topic-metadata">

**Author:** [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Replies:** 0\
**Last updated:** [October 8, 2008, 4:54pm UTC](https://www.ruby-forum.com/t/plug-and-play-installation-for-zena-cms/150441 "2008-10-08T16:54:21Z")

</div>

Since the most difficult part for the moment is getting zena to work due to the large number of dependencies, I have created a virtualbox server, ready for download and play: A ruby on rails server, configured and run…

---

## [Demand that Obama release his college records! Where is the media?](https://www.ruby-forum.com/t/demand-that-obama-release-his-college-records-where-is-the-media/150375)

<div class="topic-metadata">

**Author:** [@micky](https://www.ruby-forum.com/u/micky)\
**Replies:** 10\
**Last updated:** [October 8, 2008, 4:10pm UTC](https://www.ruby-forum.com/t/demand-that-obama-release-his-college-records-where-is-the-media/150375 "2008-10-08T16:10:44Z")

</div>

Why is it important to see Obama’s college records? Because the media has created fantasies around Obama on every issue. You should start dispelling them with the easiest one, i.e. the fantasy of Obama’s “academic deg…

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

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