# Ruby

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

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

---

## [Ruby for small devices?](https://www.ruby-forum.com/t/ruby-for-small-devices/49892)

<div class="topic-metadata">

**Author:** [@zimba.tm](https://www.ruby-forum.com/u/zimba.tm)\
**Replies:** 7\
**Last updated:** [December 12, 2005, 11:35am UTC](https://www.ruby-forum.com/t/ruby-for-small-devices/49892 "2005-12-12T11:35:10Z")

</div>

Hello ruby fellows, I would like to know if anyone has experience with embedding ruby in small devices and if such project exists ? In my current work, I’m using Elphel cameras, mobile phones, etc… But ruby is pretty…

---

## [Embedded Ruby into C](https://www.ruby-forum.com/t/embedded-ruby-into-c/50011)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 8\
**Last updated:** [December 12, 2005, 9:28am UTC](https://www.ruby-forum.com/t/embedded-ruby-into-c/50011 "2005-12-12T09:28:10Z")

</div>

Anyone got any good resources on embedding C into Ruby? The ones I found were a couple years old (i.e. for 1.6). What I’d like to do is be able to call Ruby functions from the C code (don’t care about return value he…

---

## [Re: is this a good way to find anagrams?](https://www.ruby-forum.com/t/re-is-this-a-good-way-to-find-anagrams/49929)

<div class="topic-metadata">

**Author:** [@wrong](https://www.ruby-forum.com/u/wrong)\
**Replies:** 1\
**Last updated:** [December 12, 2005, 9:04am UTC](https://www.ruby-forum.com/t/re-is-this-a-good-way-to-find-anagrams/49929 "2005-12-12T09:04:08Z")

</div>

i goofed up my thread by using the word “anagram” incorrectly, or too loosely… i also wanted to find all the smaller words that i can make with the letters that i have. for example i would like for “monkey” to return…

---

## [Equation graphing software?](https://www.ruby-forum.com/t/equation-graphing-software/49860)

<div class="topic-metadata">

**Author:** [@slitt](https://www.ruby-forum.com/u/slitt)\
**Replies:** 13\
**Last updated:** [December 12, 2005, 4:33am UTC](https://www.ruby-forum.com/t/equation-graphing-software/49860 "2005-12-12T04:33:24Z")

</div>

Hi all, Does Ruby have any modules useful in graphing equations like y=x2+5, y2+x\*\*2=16, 4y+3x=28, and the like? I suppose the two tasks involved are getting the points, and then graphing them. I’m on kind of a tight …

---

## [About open-uri and ENV](https://www.ruby-forum.com/t/about-open-uri-and-env/49996)

<div class="topic-metadata">

**Author:** [@anatol](https://www.ruby-forum.com/u/anatol)\
**Replies:** 1\
**Last updated:** [December 12, 2005, 3:33am UTC](https://www.ruby-forum.com/t/about-open-uri-and-env/49996 "2005-12-12T03:33:20Z")

</div>

Hi, all. I am investigating problem with Gems and proxy authorization and I have question about open-uri code. To be precise code from OpenURI.open\_loop(uri, options) (Current version from CVS) when :proxy opt\_pro…

---

## [Ruby queue : rq-2.3.1](https://www.ruby-forum.com/t/ruby-queue-rq-2-3-1/97195)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [December 12, 2005, 12:18am UTC](https://www.ruby-forum.com/t/ruby-queue-rq-2-3-1/97195 "2005-12-12T00:18:08Z")

</div>

URIS: http://codeforpeople.com/lib/ruby/rq/ Linux Clustering with Ruby Queue: Small Is Beautiful | Linux Journal http://raa.ruby-lang.org/project/rq/ HISTORY: 2.3.1: - added ‘stage’ option to submit mode, which al…

---

## [The end of Gem vs Proxy war](https://www.ruby-forum.com/t/the-end-of-gem-vs-proxy-war/97193)

<div class="topic-metadata">

**Author:** [@anatol](https://www.ruby-forum.com/u/anatol)\
**Replies:** 1\
**Last updated:** [December 11, 2005, 11:18pm UTC](https://www.ruby-forum.com/t/the-end-of-gem-vs-proxy-war/97193 "2005-12-11T23:18:27Z")

</div>

Hi all. I am again about “Gem behind proxy” topic. I hope it is the last message from me about it. Well, I solve the problem and I encourage everyone who has “407 Proxy Authentication Required” problem try patched ve…

---

## [Creating a \<=\> method](https://www.ruby-forum.com/t/creating-a-method/50001)

<div class="topic-metadata">

**Author:** [@dirk](https://www.ruby-forum.com/u/dirk)\
**Replies:** 4\
**Last updated:** [December 11, 2005, 10:39pm UTC](https://www.ruby-forum.com/t/creating-a-method/50001 "2005-12-11T22:39:19Z")

</div>

hi everyone, i’ve created a class, and want it to be comparable with itself, but i don’t know what to place inside the \<=\> method. the basic idea is that one of the values of the class (which is a symbol) is conver…

---

## [Ruby SNMP 0.6.0 Released](https://www.ruby-forum.com/t/ruby-snmp-0-6-0-released/49999)

<div class="topic-metadata">

**Author:** [@Dave\_Halliday](https://www.ruby-forum.com/u/Dave_Halliday)\
**Replies:** 0\
**Last updated:** [December 11, 2005, 10:15pm UTC](https://www.ruby-forum.com/t/ruby-snmp-0-6-0-released/49999 "2005-12-11T22:15:15Z")

</div>

Release 0.6.0 of Ruby SNMP is now available. I got tons of user feedback on the last release and I have tried to incorporate most of it into this release. Thanks for all of the suggestions! http://snmplib.rubyforge.…

---

## [:-) Sharing a Shower Moment :-)](https://www.ruby-forum.com/t/sharing-a-shower-moment/49932)

<div class="topic-metadata">

**Author:** [@transfire](https://www.ruby-forum.com/u/transfire)\
**Replies:** 11\
**Last updated:** [December 11, 2005, 9:18pm UTC](https://www.ruby-forum.com/t/sharing-a-shower-moment/49932 "2005-12-11T21:18:10Z")

</div>

What did the Rubyist say to the duck? “What type are you?” What did the duck say back? “Does it matter?” T.

---

## [Ruby: A New Danger](https://www.ruby-forum.com/t/ruby-a-new-danger/49998)

<div class="topic-metadata">

**Author:** [@Hampton](https://www.ruby-forum.com/u/Hampton)\
**Replies:** 3\
**Last updated:** [December 11, 2005, 8:33pm UTC](https://www.ruby-forum.com/t/ruby-a-new-danger/49998 "2005-12-11T20:33:01Z")

</div>

This is my attempt at humor. I was having fun with The Movies and decided to make a video dedicated to Ruby. Its a parody of an after school special documentary. This is adult humor. Please, be warned. Several usages …

---

## [RubyGems - trouble with .gemrc gempath setting](https://www.ruby-forum.com/t/rubygems-trouble-with-gemrc-gempath-setting/49995)

<div class="topic-metadata">

**Author:** [@Eric\_Landuyt](https://www.ruby-forum.com/u/Eric_Landuyt)\
**Replies:** 0\
**Last updated:** [December 11, 2005, 7:47pm UTC](https://www.ruby-forum.com/t/rubygems-trouble-with-gemrc-gempath-setting/49995 "2005-12-11T19:47:55Z")

</div>

Hi guys, I’m having a strange error with RubyGems when specifying a repository in a subdir of my home directory (RubyGems itself was installed globally). First, here is my .bashrc: export RUBYOPT=rubygems (no GEM\_\*…

---

## [Houston ruby and / or rails user group?](https://www.ruby-forum.com/t/houston-ruby-and-or-rails-user-group/53005)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [December 11, 2005, 7:14pm UTC](https://www.ruby-forum.com/t/houston-ruby-and-or-rails-user-group/53005 "2005-12-11T19:14:51Z")

</div>

Hello all, Jut left full time employment to do a start-up with Rails as our primary technology. I’m looking for like-minded folks in Houston, Texas. Does anyone know if there is a user group (ruby and/or rails) in H…

---

## [Erb and scope](https://www.ruby-forum.com/t/erb-and-scope/97141)

<div class="topic-metadata">

**Author:** [@wybo](https://www.ruby-forum.com/u/wybo)\
**Replies:** 6\
**Last updated:** [December 11, 2005, 5:27pm UTC](https://www.ruby-forum.com/t/erb-and-scope/97141 "2005-12-11T17:27:44Z")

</div>

Why does this not work (bar-\>undefined) and what’s a better way to do it?: require ‘erb’ FOO = ‘Hello \<%= bar %\>’ class Foo def doit bar = ‘World!’ puts ERB.new(FOO).result end end Foo.new.doit I need to use $…

---

## [Transparent Caching Idiom](https://www.ruby-forum.com/t/transparent-caching-idiom/49982)

<div class="topic-metadata">

**Author:** [@beng](https://www.ruby-forum.com/u/beng)\
**Replies:** 4\
**Last updated:** [December 11, 2005, 5:27pm UTC](https://www.ruby-forum.com/t/transparent-caching-idiom/49982 "2005-12-11T17:27:28Z")

</div>

I’ve made good use of this idiom recently, and wanted to share it. Once this code is active, any method named with a “\_c” suffix is automatically cached. The method is assumed to follow a simple contract: It performs …

---

## [Installing on MaxOSX?](https://www.ruby-forum.com/t/installing-on-maxosx/49983)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [December 11, 2005, 5:27pm UTC](https://www.ruby-forum.com/t/installing-on-maxosx/49983 "2005-12-11T17:27:26Z")

</div>

Dear Ladies and Gentlemen, Are there installation instructions for Mac OS X somewhere? Log so far: Downloaded source files, unzipped, removed the black stuff. Read the README. Accordingly: Checked that configure was…

---

## [Ruby, MySQL on WinXP?](https://www.ruby-forum.com/t/ruby-mysql-on-winxp/49179)

<div class="topic-metadata">

**Author:** [@planetthoughtful](https://www.ruby-forum.com/u/planetthoughtful)\
**Replies:** 12\
**Last updated:** [December 11, 2005, 5:27pm UTC](https://www.ruby-forum.com/t/ruby-mysql-on-winxp/49179 "2005-12-11T17:27:25Z")

</div>

Hello All, I’m just starting out learning Ruby, having come from a PHP background. I’ve downloaded the latest stable Ruby release, and have also used the GEM package manager to install Rails, but I’m a little confused…

---

## [GUI IDE for Ruby](https://www.ruby-forum.com/t/gui-ide-for-ruby/49980)

<div class="topic-metadata">

**Author:** [@tony](https://www.ruby-forum.com/u/tony)\
**Replies:** 35\
**Last updated:** [December 11, 2005, 5:27pm UTC](https://www.ruby-forum.com/t/gui-ide-for-ruby/49980 "2005-12-11T17:27:24Z")

</div>

Hi all, is there a GUI IDE for Ruby? I have to decide on Ruby orJava to start developing crossplatform gui applications (developed on Linux) and this info is crucial to me. Thank you for your answers.

---

## [Mastering ruby or rails?](https://www.ruby-forum.com/t/mastering-ruby-or-rails/53004)

<div class="topic-metadata">

**Author:** [@tony](https://www.ruby-forum.com/u/tony)\
**Replies:** 5\
**Last updated:** [December 11, 2005, 5:27pm UTC](https://www.ruby-forum.com/t/mastering-ruby-or-rails/53004 "2005-12-11T17:27:22Z")

</div>

Let’s say that a person is a very good ruby programmer but so far hasn’t shown any interest for the web. And let’s say that now he wants to start programming with rails. How much of ruby “is in” programming with “rail…

---

## [New to Ruby - pls help in translating this](https://www.ruby-forum.com/t/new-to-ruby-pls-help-in-translating-this/49896)

<div class="topic-metadata">

**Author:** [@sam.dela.cruz](https://www.ruby-forum.com/u/sam.dela.cruz)\
**Replies:** 35\
**Last updated:** [December 11, 2005, 5:27pm UTC](https://www.ruby-forum.com/t/new-to-ruby-pls-help-in-translating-this/49896 "2005-12-11T17:27:16Z")

</div>

Hi, I’m starting to use Ruby in one of my projects at work. I’m coming from a Perl background. In my project I would need to parse a list of numbers (thousands of them) and then return the duplicates. In perl, I …

---

## [Problem with Pickaxe and Yaml](https://www.ruby-forum.com/t/problem-with-pickaxe-and-yaml/48517)

<div class="topic-metadata">

**Author:** [@markh](https://www.ruby-forum.com/u/markh)\
**Replies:** 9\
**Last updated:** [December 11, 2005, 5:25pm UTC](https://www.ruby-forum.com/t/problem-with-pickaxe-and-yaml/48517 "2005-12-11T17:25:29Z")

</div>

I’ve got the Pickaxe book (2nd edition) and was doing some of the Yaml code on page 417. I cannot seem to get the expected results. Example: require ‘yaml’ class Special def initialize(valuable, volatile, precious)…

---

## [Ruby's Logger conflict with Log4r's Logger](https://www.ruby-forum.com/t/rubys-logger-conflict-with-log4rs-logger/49973)

<div class="topic-metadata">

**Author:** [@capitain](https://www.ruby-forum.com/u/capitain)\
**Replies:** 3\
**Last updated:** [December 11, 2005, 5:08pm UTC](https://www.ruby-forum.com/t/rubys-logger-conflict-with-log4rs-logger/49973 "2005-12-11T17:08:36Z")

</div>

Both of them has a class named “Logger” I used to include Log4r in my code so I can use Logger as a shortcut of Log4r::Logger . It works ok when useing “Logger\[name\]” to get logger Today I add the library “bluecloth”…

---

## [Lazy.rb 0.2](https://www.ruby-forum.com/t/lazy-rb-0-2/97140)

<div class="topic-metadata">

**Author:** [@mental](https://www.ruby-forum.com/u/mental)\
**Replies:** 1\
**Last updated:** [December 11, 2005, 9:04am UTC](https://www.ruby-forum.com/t/lazy-rb-0-2/97140 "2005-12-11T09:04:18Z")

</div>

Now that I’m done asking stupid questions about iterators, it’s time for another release of lazy.rb! == WHAT IS THIS THING? == lazy.rb is a library which provides lazy evaluation for Ruby. It allows you to optimisti…

---

## [Inserting raw xml into a rexml document](https://www.ruby-forum.com/t/inserting-raw-xml-into-a-rexml-document/49966)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 2\
**Last updated:** [December 11, 2005, 8:19am UTC](https://www.ruby-forum.com/t/inserting-raw-xml-into-a-rexml-document/49966 "2005-12-11T08:19:38Z")

</div>

how can i do this: \[ahoward@localhost xhtml-0.0.0\]$ irb -r rexml/document irb(main):001:0\> REXML::Text::new("", respect\_whitespace=false, parent=nil, raw=false).to\_s =\> “\<foobar\>” irb(main):002:0\> REXML::Text::new("…

---

## [Help defining multi-dimensional array](https://www.ruby-forum.com/t/help-defining-multi-dimensional-array/49796)

<div class="topic-metadata">

**Author:** [@victor.reyes](https://www.ruby-forum.com/u/victor.reyes)\
**Replies:** 4\
**Last updated:** [December 11, 2005, 5:55am UTC](https://www.ruby-forum.com/t/help-defining-multi-dimensional-array/49796 "2005-12-11T05:55:07Z")

</div>

Ruby Team, I would like to define a 3x3 array of integers. Can anyone tell me how this is done? I would like to start playing with Ruby and I want to start by solving Magic Squares. Thank you Victor

---

## [Next, retry, break?](https://www.ruby-forum.com/t/next-retry-break/49906)

<div class="topic-metadata">

**Author:** [@mental](https://www.ruby-forum.com/u/mental)\
**Replies:** 10\
**Last updated:** [December 11, 2005, 1:06am UTC](https://www.ruby-forum.com/t/next-retry-break/49906 "2005-12-11T01:06:23Z")

</div>

Okay, I’ve got a question. What’s the correct way to implement a custom Enumerable#each which handles next, retry and break correctly? For example: def each while @current\_grob yield @current\_grob.create @current\_…

---

## [Rails & MySQL login problem (#42000Access denied for user)](https://www.ruby-forum.com/t/rails-mysql-login-problem-42000access-denied-for-user/49910)

<div class="topic-metadata">

**Author:** [@nospam](https://www.ruby-forum.com/u/nospam)\
**Replies:** 7\
**Last updated:** [December 10, 2005, 11:24pm UTC](https://www.ruby-forum.com/t/rails-mysql-login-problem-42000access-denied-for-user/49910 "2005-12-10T23:24:21Z")

</div>

I’m running Ruby on Rails and MySQL on a Fedora Core 4 server. When I was working on my application suddenly an error occured on all pages (including pages that worked fine before). I get the following error: #42000Ac…

---

## [Logic](https://www.ruby-forum.com/t/logic/97111)

<div class="topic-metadata">

**Author:** [@StarLion](https://www.ruby-forum.com/u/StarLion)\
**Replies:** 12\
**Last updated:** [December 10, 2005, 11:03pm UTC](https://www.ruby-forum.com/t/logic/97111 "2005-12-10T23:03:55Z")

</div>

def MakeBoard rcount = 0 puts “Push enter, then begin input. (For Input Format Compliance, extra enter key is necessary)” gets board = \[\[\],\[\],\[\],\[\],\[\],\[\],\[\],\[\],\[\]\] 9.times do instr = gets board\[rcount\] = \[instr\[…

---

## [LyX chapter lister](https://www.ruby-forum.com/t/lyx-chapter-lister/52999)

<div class="topic-metadata">

**Author:** [@slitt](https://www.ruby-forum.com/u/slitt)\
**Replies:** 2\
**Last updated:** [December 10, 2005, 10:10pm UTC](https://www.ruby-forum.com/t/lyx-chapter-lister/52999 "2005-12-10T22:10:49Z")

</div>

Hi all, The script under my sig is a filter that takes a LyX file from stdin and spits out the chapters. Right now it doesn’t do parts, but it probably will later on. Perhaps some day it will handle the whole hierch…

---

## [Re: Ruby for small devices?](https://www.ruby-forum.com/t/re-ruby-for-small-devices/49948)

<div class="topic-metadata">

**Author:** [@matthew.hivner](https://www.ruby-forum.com/u/matthew.hivner)\
**Replies:** 0\
**Last updated:** [December 10, 2005, 8:29pm UTC](https://www.ruby-forum.com/t/re-ruby-for-small-devices/49948 "2005-12-10T20:29:26Z")

</div>

Ruby works great on my Zaurus SL-C3100.

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

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