# Ruby

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

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

---

## [February Phoenix Ruby User Group Meeting](https://www.ruby-forum.com/t/february-phoenix-ruby-user-group-meeting/182785)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 8:10pm UTC](https://www.ruby-forum.com/t/february-phoenix-ruby-user-group-meeting/182785 "2010-02-02T20:10:18Z")

</div>

February Phoenix Ruby U. Group Meeting When: Monday, February 8, 2010 6:30pm door open. Laptop power and WiFi available. 7:00pm Show time 8:30pm Migrate to Four Peaks Brewery Topic: Nothing really planned so far. …

---

## [RUBYLIB and shared libraries](https://www.ruby-forum.com/t/rubylib-and-shared-libraries/182772)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 4\
**Last updated:** [February 2, 2010, 7:18pm UTC](https://www.ruby-forum.com/t/rubylib-and-shared-libraries/182772 "2010-02-02T19:18:32Z")

</div>

Hi everyone, I’m setting up my RUBYLIB variables for use with custom libraries I’ve created. I have the following working properly: C:/lib/wxruby/lib \[this points to the custom library path I have set\] Everything is…

---

## [Where are my ruby gems located? Why don't executables such as spec work?](https://www.ruby-forum.com/t/where-are-my-ruby-gems-located-why-dont-executables-such-as-spec-work/182751)

<div class="topic-metadata">

**Author:** [@kristianm](https://www.ruby-forum.com/u/kristianm)\
**Replies:** 4\
**Last updated:** [February 2, 2010, 5:44pm UTC](https://www.ruby-forum.com/t/where-are-my-ruby-gems-located-why-dont-executables-such-as-spec-work/182751 "2010-02-02T17:44:13Z")

</div>

I’m on Mac OSX Snow Leopard, running Ruby 1.9.1 I have recently substituted homebre packagemanager for port. I reinstalled most of my ruby gems using $ sudo gem install \[gem list\] Now I can list my gems: $ gem list \*…

---

## [SOAP error: Cannot map \<class\> to SOAP/OM](https://www.ruby-forum.com/t/soap-error-cannot-map-class-to-soap-om/182773)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 5:23pm UTC](https://www.ruby-forum.com/t/soap-error-cannot-map-class-to-soap-om/182773 "2010-02-02T17:23:45Z")

</div>

Hi, Ruby 1.8.7 soap 1.5.8 Linux & Mac I’m getting an odd error from the soap library while attempting to connect to a Sympa 5 server in one of our production apps: A SOAP::Mapping::MappingError occurred in mail\_lis…

---

## [Newbie question - RESTful web service book](https://www.ruby-forum.com/t/newbie-question-restful-web-service-book/182750)

<div class="topic-metadata">

**Author:** [@brianwisti](https://www.ruby-forum.com/u/brianwisti)\
**Replies:** 2\
**Last updated:** [February 2, 2010, 4:51pm UTC](https://www.ruby-forum.com/t/newbie-question-restful-web-service-book/182750 "2010-02-02T16:51:25Z")

</div>

Hi, I’m new to ruby, reading a book, “RESTful Web Services” by Richardson and Ruby On page 2,they have this: #!/usr/bin/ruby -w amazon-book-search.rb require ‘amazon/search’ if ARGV.size != 2 puts “Usage: #{$0} \[…

---

## [Is readline really broken in MacOS Snow Leopard!?!?!](https://www.ruby-forum.com/t/is-readline-really-broken-in-macos-snow-leopard/182741)

<div class="topic-metadata">

**Author:** [@tomfooolerie](https://www.ruby-forum.com/u/tomfooolerie)\
**Replies:** 5\
**Last updated:** [February 2, 2010, 4:21pm UTC](https://www.ruby-forum.com/t/is-readline-really-broken-in-macos-snow-leopard/182741 "2010-02-02T16:21:25Z")

</div>

It seems that readline (and hence gets) is broken in Ruby 1.8.7, on Mac OS X 10.6 (Snow Leopard). According to the article here: http://blog.angelbob.com/posts/39-Compiling-Ruby-1-8-7-on-a-PowerBook-G4-with-Mac-OS-X-1-…

---

## [Binding variables](https://www.ruby-forum.com/t/binding-variables/182767)

<div class="topic-metadata">

**Author:** [@mcarlson](https://www.ruby-forum.com/u/mcarlson)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 3:46pm UTC](https://www.ruby-forum.com/t/binding-variables/182767 "2010-02-02T15:46:56Z")

</div>

Hi, Just trying to pick up ruby and have a problem with binding variables to postgres query. I have query = conn.exec(“SELECT id FROM xxx where id=$1”,4) However, get “Exception: uninitialized constant Postgres” . I…

---

## [Parsing rendered html after javascript](https://www.ruby-forum.com/t/parsing-rendered-html-after-javascript/197023)

<div class="topic-metadata">

**Author:** [@parkurm](https://www.ruby-forum.com/u/parkurm)\
**Replies:** 1\
**Last updated:** [February 2, 2010, 3:01pm UTC](https://www.ruby-forum.com/t/parsing-rendered-html-after-javascript/197023 "2010-02-02T15:01:26Z")

</div>

I’m trying to write a website that parses all images in a given webpage. I initially tried to get all image links by looking for tag, by using nokogiri html parser, and it works well with webpages without javascript. …

---

## [Rdoc\_osx\_dictionary 1.1.0 Released](https://www.ruby-forum.com/t/rdoc-osx-dictionary-1-1-0-released/182733)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 2\
**Last updated:** [February 2, 2010, 12:24pm UTC](https://www.ruby-forum.com/t/rdoc-osx-dictionary-1-1-0-released/182733 "2010-02-02T12:24:26Z")

</div>

rdoc\_osx\_dictionary version 1.1.0 has been released! http://rubyforge.org/projects/seattlerb rdoc via Apple’s Dictionary.app. Automatically builds and installs an Apple Dictionary with all rdoc nicely formatted. Cha…

---

## [Shopping](https://www.ruby-forum.com/t/shopping/182749)

<div class="topic-metadata">

**Author:** [@white](https://www.ruby-forum.com/u/white)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 9:59am UTC](https://www.ruby-forum.com/t/shopping/182749 "2010-02-02T09:59:49Z")

</div>

First on net, Bargain your products in online through our http://www.shoppingreps.com?SourceId=1189 and buy it from your local shop. No credit card needed on the internet. It is an innovative shopping model. For mor…

---

## [Array#flatten $B$N;EMMJQ99!)(B](https://www.ruby-forum.com/t/array-flatten-b-n-emmjq99-b/182612)

<div class="topic-metadata">

**Author:** [@Hidetoshi\_NAGAI](https://www.ruby-forum.com/u/Hidetoshi_NAGAI)\
**Replies:** 3\
**Last updated:** [February 2, 2010, 9:24am UTC](https://www.ruby-forum.com/t/array-flatten-b-n-emmjq99-b/182612 "2010-02-02T09:24:07Z")

</div>

e$B1J0f!wCNG=!%6e9)Bg$G$9!%e(B 1.9 e$B$Ne(B Array#flatten e$B$K$$$$F!$G\[NsFb$N%%V%8%’%/%H$Ne(B to\_ary e$B%a%=%C%I8F$S=P$7$KBP$9$k5sF0$,860x$G%(%i!\<$H$J$k\>r7o$,e(B NameError e$B$+$ie(B NoMethodError e$B$KJQ99$K$J$C$?$h…

---

## [Adding keys to a hash in a loop](https://www.ruby-forum.com/t/adding-keys-to-a-hash-in-a-loop/182703)

<div class="topic-metadata">

**Author:** [@jbaty](https://www.ruby-forum.com/u/jbaty)\
**Replies:** 11\
**Last updated:** [February 2, 2010, 7:30am UTC](https://www.ruby-forum.com/t/adding-keys-to-a-hash-in-a-loop/182703 "2010-02-02T07:30:34Z")

</div>

Hi all, I’m trying to essentially accomplish this behavior: output.each do |item| output\_hash \<\< {item.name =\> \[\]} end So that I can end up with: {“first\_set” =\> \[\], “second\_set” =\> \[\], “third\_set” =\> \[\], … } I kn…

---

## [Workaround for "conflict" between ARGV and gets?](https://www.ruby-forum.com/t/workaround-for-conflict-between-argv-and-gets/182653)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 8\
**Last updated:** [February 2, 2010, 2:19am UTC](https://www.ruby-forum.com/t/workaround-for-conflict-between-argv-and-gets/182653 "2010-02-02T02:19:23Z")

</div>

gets looks to ARGV, if populated, for its source of data. That is its documented behavior. I want to: use ARGV to point to a directory I want to process and use gets to inquire whether the user wants the program to …

---

## [Manufacturing methods](https://www.ruby-forum.com/t/manufacturing-methods/182659)

<div class="topic-metadata">

**Author:** [@mjgp2](https://www.ruby-forum.com/u/mjgp2)\
**Replies:** 3\
**Last updated:** [February 2, 2010, 1:13am UTC](https://www.ruby-forum.com/t/manufacturing-methods/182659 "2010-02-02T01:13:39Z")

</div>

Hi there. Apologies if this is covered somewhere… all the googling I’ve done on the subject has wound up with info on class-factories and and using variables in methods. Not exactly what I’m looking for. The questio…

---

## [Anyone can help?](https://www.ruby-forum.com/t/anyone-can-help/182295)

<div class="topic-metadata">

**Author:** [@rihana](https://www.ruby-forum.com/u/rihana)\
**Replies:** 11\
**Last updated:** [February 2, 2010, 12:55am UTC](https://www.ruby-forum.com/t/anyone-can-help/182295 "2010-02-02T00:55:30Z")

</div>

Hi One of my clients is concerned that his teenage son is up to no good, been hanging out and talking to strange individuals and has been very secretive about his dealings n Face book. Is there a way to monitor his f…

---

## [Packaging source files on multiple OSs](https://www.ruby-forum.com/t/packaging-source-files-on-multiple-oss/182637)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 6\
**Last updated:** [February 1, 2010, 11:12pm UTC](https://www.ruby-forum.com/t/packaging-source-files-on-multiple-oss/182637 "2010-02-01T23:12:29Z")

</div>

Can anyone direct me to an article or site that shows how to package applications built with Ruby? If I create a GUI application and want to package it for Mac, Linux, and Windows, I’d like to know what’s involved in…

---

## [Module children](https://www.ruby-forum.com/t/module-children/182716)

<div class="topic-metadata">

**Author:** [@camilleroux](https://www.ruby-forum.com/u/camilleroux)\
**Replies:** 6\
**Last updated:** [February 1, 2010, 10:56pm UTC](https://www.ruby-forum.com/t/module-children/182716 "2010-02-01T22:56:06Z")

</div>

Hello, I’d like to get the list of all the classes contained in a module. What’s the simple way to do that? Thank you

---

## [Monkeybars - jar packaging](https://www.ruby-forum.com/t/monkeybars-jar-packaging/182707)

<div class="topic-metadata">

**Author:** [@tony44](https://www.ruby-forum.com/u/tony44)\
**Replies:** 3\
**Last updated:** [February 1, 2010, 10:16pm UTC](https://www.ruby-forum.com/t/monkeybars-jar-packaging/182707 "2010-02-01T22:16:51Z")

</div>

Hi, I’ve been pulling my hair out, trying to package the most simple HelloWorld example into a runnable jar. Here’s what I get ---- SNIP ----- javac -target 1.6 -cp “lib/java/jruby-complete.jar:src:lib/ruby” -sourc…

---

## [JRuby 1.40 ant test failure on Ubuntu Karmic 9.1](https://www.ruby-forum.com/t/jruby-1-40-ant-test-failure-on-ubuntu-karmic-9-1/182628)

<div class="topic-metadata">

**Author:** [@ming](https://www.ruby-forum.com/u/ming)\
**Replies:** 3\
**Last updated:** [February 1, 2010, 9:52pm UTC](https://www.ruby-forum.com/t/jruby-1-40-ant-test-failure-on-ubuntu-karmic-9-1/182628 "2010-02-01T21:52:16Z")

</div>

i’m seeing the same ant test failure below with 1.40 and the current dev snapshot. the list archives don’t show up when I click so I haven’t been able to research the issue here before posting. TIA. \[junit\] Testsui…

---

## [Ant script to run rake tasks](https://www.ruby-forum.com/t/ant-script-to-run-rake-tasks/182539)

<div class="topic-metadata">

**Author:** [@homerlex](https://www.ruby-forum.com/u/homerlex)\
**Replies:** 8\
**Last updated:** [February 1, 2010, 9:41pm UTC](https://www.ruby-forum.com/t/ant-script-to-run-rake-tasks/182539 "2010-02-01T21:41:43Z")

</div>

We have a JRuby rails able that we war up with warbler. Our client prefers to have ant tasks to do all there deployment, building. Has anyone created an ant task that executes rake tasks using JRuby? I’m thinking it …

---

## [Looking for more information on rubifying C# classes](https://www.ruby-forum.com/t/looking-for-more-information-on-rubifying-c-classes/182486)

<div class="topic-metadata">

**Author:** [@Adam\_Burmister](https://www.ruby-forum.com/u/Adam_Burmister)\
**Replies:** 3\
**Last updated:** [February 1, 2010, 9:40pm UTC](https://www.ruby-forum.com/t/looking-for-more-information-on-rubifying-c-classes/182486 "2010-02-01T21:40:32Z")

</div>

Hello IronRubyists, I’m currently hunting around trying to find references on rubifying a C# class for something I’m writing. I have a few questions: Can you confirm this summary of the process to be correct (am I …

---

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

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 2\
**Last updated:** [February 1, 2010, 9:27pm UTC](https://www.ruby-forum.com/t/code-review-bindingandyamlfxcop/182700 "2010-02-01T21:27:40Z")

</div>

tfpt review “/shelveset:bindingandyamlfxcop;REDMOND\\tomat” Comment : Kernel#binding captures receiver and eval uses it as “self”. Adds FxCop configuration to yaml .csproj. Tomas

---

## [Why warbler search for database driver?](https://www.ruby-forum.com/t/why-warbler-search-for-database-driver/181936)

<div class="topic-metadata">

**Author:** [@msan](https://www.ruby-forum.com/u/msan)\
**Replies:** 3\
**Last updated:** [February 1, 2010, 8:58pm UTC](https://www.ruby-forum.com/t/why-warbler-search-for-database-driver/181936 "2010-02-01T20:58:24Z")

</div>

I want to share jdbc postgres driver between some applications, so I put it under tomcat lib. Then I’ve deleted the jdbc-postgres gem. When I try to recreate the war, warbler search for the driver. rake aborted! gem…

---

## [IronRuby idiom for using (IDisposable)?](https://www.ruby-forum.com/t/ironruby-idiom-for-using-idisposable/182668)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 8\
**Last updated:** [February 1, 2010, 8:44pm UTC](https://www.ruby-forum.com/t/ironruby-idiom-for-using-idisposable/182668 "2010-02-01T20:44:56Z")

</div>

Hello, Is there a built-in way to achieve what C# ‘using’ does, with IronRuby ? Although it’s pretty easy to roll your own ( My Other Pants » Disposable Code), I’d like to use the built-in way if there’s one. thanks…

---

## [Rails + JRuby + Weblogic + no such file to load -- rack](https://www.ruby-forum.com/t/rails-jruby-weblogic-no-such-file-to-load-rack/180114)

<div class="topic-metadata">

**Author:** [@satynos](https://www.ruby-forum.com/u/satynos)\
**Replies:** 25\
**Last updated:** [February 1, 2010, 8:30pm UTC](https://www.ruby-forum.com/t/rails-jruby-weblogic-no-such-file-to-load-rack/180114 "2010-02-01T20:30:52Z")

</div>

Running a Ruby on Rails (2.3.5) app on WebLogic (10.3) using JRuby (1.4) is throwing the following error: Application initialization failed: no such file to load – rack from C:/wamp/bin/weblogic/server10.3/samples/do…

---

## [Cookiejar without cgi](https://www.ruby-forum.com/t/cookiejar-without-cgi/182657)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 2\
**Last updated:** [February 1, 2010, 7:30pm UTC](https://www.ruby-forum.com/t/cookiejar-without-cgi/182657 "2010-02-01T19:30:34Z")

</div>

How do you create a cookiejar? I googled: ruby cookiejar example create help -bowling -rails -python -java -php -pottery -ceramic -lyric -lyrics and just can’t find an example. Here’s what I have: require ‘rubygem…

---

## [Porter algorithm and stemming](https://www.ruby-forum.com/t/porter-algorithm-and-stemming/182709)

<div class="topic-metadata">

**Author:** [@johny006](https://www.ruby-forum.com/u/johny006)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 7:29pm UTC](https://www.ruby-forum.com/t/porter-algorithm-and-stemming/182709 "2010-02-01T19:29:54Z")

</div>

I’m trying to implement the porter algorithm for French words. It’s seem that the current implementation in the gems ruby-stemmer and stemmer4r are flowed. For instance, trying to stem pÃ©trolifÃ¨re =\> petrolifer whe…

---

## [Differences between 1/ MRI and 2/ IronRuby+JRuby](https://www.ruby-forum.com/t/differences-between-1-mri-and-2-ironruby-jruby/182591)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 7\
**Last updated:** [February 1, 2010, 7:19pm UTC](https://www.ruby-forum.com/t/differences-between-1-mri-and-2-ironruby-jruby/182591 "2010-02-01T19:19:27Z")

</div>

Hello, maybe someone can shed some light on that - the question is: is there a setting to make IronRuby works the same way MRI Ruby does by default for what I’m describing below ? I don’t think it’s a bug (but well ma…

---

## [Share driver jdbc](https://www.ruby-forum.com/t/share-driver-jdbc/181834)

<div class="topic-metadata">

**Author:** [@msan](https://www.ruby-forum.com/u/msan)\
**Replies:** 13\
**Last updated:** [February 1, 2010, 6:45pm UTC](https://www.ruby-forum.com/t/share-driver-jdbc/181834 "2010-02-01T18:45:27Z")

</div>

I have multiple applications under tomcat. They all connect to a postgres database server. To do this I’ve put the jdbc driver under libraries directory, but I’ve to do for all applications. There is a way to share t…

---

## [Google Summer of Code 2010](https://www.ruby-forum.com/t/google-summer-of-code-2010/182704)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [February 1, 2010, 6:33pm UTC](https://www.ruby-forum.com/t/google-summer-of-code-2010/182704 "2010-02-01T18:33:10Z")

</div>

http://socghop.appspot.com/ Looks like they are accepting proposals, if Ruby Central or whomever is interested. – James B. www.jamesbritt.com - Playing with Better Toys www.ruby-doc.org - Ruby…

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

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