# Ruby

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

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

---

## [Rubyists of Second Life Meeting Tonight at 6 Pacific Time](https://www.ruby-forum.com/t/rubyists-of-second-life-meeting-tonight-at-6-pacific-time/69439)

<div class="topic-metadata">

**Author:** [@polypus](https://www.ruby-forum.com/u/polypus)\
**Replies:** 0\
**Last updated:** [September 21, 2006, 1:21am UTC](https://www.ruby-forum.com/t/rubyists-of-second-life-meeting-tonight-at-6-pacific-time/69439 "2006-09-21T01:21:20Z")

</div>

hi all, rubyists of second life meeting tonight at 6 P.M. pacific time. tonight we will be planning the new rosl website, talking about future meetings and presentations, and also probably discussing some rails stuff…

---

## [Message passing between objects](https://www.ruby-forum.com/t/message-passing-between-objects/102535)

<div class="topic-metadata">

**Author:** [@tod](https://www.ruby-forum.com/u/tod)\
**Replies:** 6\
**Last updated:** [September 20, 2006, 10:56pm UTC](https://www.ruby-forum.com/t/message-passing-between-objects/102535 "2006-09-20T22:56:01Z")

</div>

I posted a question on this topic yesterday but used an example specific to my application. But I wanted to re-post with a slightly more abstract example and see what responses there are. My question: How does ruby im…

---

## [Mr. Neighborly's Humble Little Ruby Book is now available](https://www.ruby-forum.com/t/mr-neighborlys-humble-little-ruby-book-is-now-available/69278)

<div class="topic-metadata">

**Author:** [@Jeremy\_McAnally](https://www.ruby-forum.com/u/Jeremy_McAnally)\
**Replies:** 8\
**Last updated:** [September 20, 2006, 9:43pm UTC](https://www.ruby-forum.com/t/mr-neighborlys-humble-little-ruby-book-is-now-available/69278 "2006-09-20T21:43:49Z")

</div>

Hello everyone, Sorry for popping in like this with a commercial, but I’m excited that I’m finally finished! :slight\_smile: I just finished up my Ruby book, which is the first of two volumes that will eventually grow…

---

## [Code Block Error](https://www.ruby-forum.com/t/code-block-error/69405)

<div class="topic-metadata">

**Author:** [@dfg59](https://www.ruby-forum.com/u/dfg59)\
**Replies:** 3\
**Last updated:** [September 20, 2006, 9:35pm UTC](https://www.ruby-forum.com/t/code-block-error/69405 "2006-09-20T21:35:47Z")

</div>

The following code works fine: counter = 0; semi\_common\_tbls.keys.each do |set| semi\_common\_tbls\[set\].each do |table| outfile \<\< \[“CommonTables”+counter.to\_s,table\] end end However, when I change it like so: coun…

---

## [Rubygems local install?](https://www.ruby-forum.com/t/rubygems-local-install/69355)

<div class="topic-metadata">

**Author:** [@fletch](https://www.ruby-forum.com/u/fletch)\
**Replies:** 2\
**Last updated:** [September 20, 2006, 8:15pm UTC](https://www.ruby-forum.com/t/rubygems-local-install/69355 "2006-09-20T20:15:09Z")

</div>

Hi, I’m trying to use a .gem on a machine that I do not have root permissions on. I’ve been following http://wiki.rubyonrails.org/rails/pages/HowToUseMultipleGemRepositories to install gem locally, but no matter what …

---

## [The future of Ruby](https://www.ruby-forum.com/t/the-future-of-ruby/68919)

<div class="topic-metadata">

**Author:** [@joan](https://www.ruby-forum.com/u/joan)\
**Replies:** 40\
**Last updated:** [September 20, 2006, 7:01pm UTC](https://www.ruby-forum.com/t/the-future-of-ruby/68919 "2006-09-20T19:01:15Z")

</div>

Hello I’m studing Ruby and in a short Ruby in Rails for the web development. I’ve observed that each verion of Ruby can introduce modifications in the sintax and behaviour of Ruby. In the other hand I suppose the com…

---

## [Re: Can not find superclass](https://www.ruby-forum.com/t/re-can-not-find-superclass/69391)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [September 20, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/re-can-not-find-superclass/69391 "2006-09-20T18:57:13Z")

</div>

After compiling ‘Sub’ I get the following error message “uninitialized constant Super (NameError)” I believe your problem is that, for each request, rails only loads the appropriate controller files. You need to pu…

---

## [UtahValley.rb meeting Sep 26th](https://www.ruby-forum.com/t/utahvalley-rb-meeting-sep-26th/69387)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 0\
**Last updated:** [September 20, 2006, 6:23pm UTC](https://www.ruby-forum.com/t/utahvalley-rb-meeting-sep-26th/69387 "2006-09-20T18:23:10Z")

</div>

The UtahValley.rb will be meeting on Tuesday Sep 26th from 7PM until 9PM (or so). We’ll be doing Lightning Talks (come with one or two things you can give a 5 minute presentation on, we’ll vote on the ones we want to…

---

## [Boulder-denver ruby group september meeting (tonight)](https://www.ruby-forum.com/t/boulder-denver-ruby-group-september-meeting-tonight/69384)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [September 20, 2006, 6:05pm UTC](https://www.ruby-forum.com/t/boulder-denver-ruby-group-september-meeting-tonight/69384 "2006-09-20T18:05:08Z")

</div>

a few messages landed in my inbox asking about the meeting tonight. here’s the info http://rubyforge.org/forum/forum.php?forum\_id=8636 if you’ve seen it already sorry for noise. cheers. -a

---

## [Ruby tutor in chicago](https://www.ruby-forum.com/t/ruby-tutor-in-chicago/69374)

<div class="topic-metadata">

**Author:** [@Joseph\_Alotta](https://www.ruby-forum.com/u/Joseph_Alotta)\
**Replies:** 1\
**Last updated:** [September 20, 2006, 5:57pm UTC](https://www.ruby-forum.com/t/ruby-tutor-in-chicago/69374 "2006-09-20T17:57:07Z")

</div>

I’d like to hire a ruby programmer for a few hours of private tutoring. I would like help getting a good environment set up for development. I would also like to have a friend that I can talk ruby with. You can come h…

---

## [What's the ruby way to sort string with cases in mind](https://www.ruby-forum.com/t/whats-the-ruby-way-to-sort-string-with-cases-in-mind/69268)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 10\
**Last updated:** [September 20, 2006, 5:41pm UTC](https://www.ruby-forum.com/t/whats-the-ruby-way-to-sort-string-with-cases-in-mind/69268 "2006-09-20T17:41:04Z")

</div>

Hi, I’d like to sort an array of strings case-insensitively. However, if 2 strings are case-insensitively same, I want capital letters to come first. a = %w(a c b A C B) a.sort\_by { |i| i.upcase } # =\> \[“a”, “A”, “b…

---

## [The many definition of duck typing (was Re: Ducktator - A Du](https://www.ruby-forum.com/t/the-many-definition-of-duck-typing-was-re-ducktator-a-du/69368)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 0\
**Last updated:** [September 20, 2006, 4:52pm UTC](https://www.ruby-forum.com/t/the-many-definition-of-duck-typing-was-re-ducktator-a-du/69368 "2006-09-20T16:52:59Z")

</div>

On 9/20/06, Ola B. removed\_email\_address@domain.invalid wrote: envision other object that implements the same interface, regardless of whether The problem with “just use it”, is that you will have no control over …

---

## [Mixing C extension classes with ruby classes](https://www.ruby-forum.com/t/mixing-c-extension-classes-with-ruby-classes/69299)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 1\
**Last updated:** [September 20, 2006, 4:28pm UTC](https://www.ruby-forum.com/t/mixing-c-extension-classes-with-ruby-classes/69299 "2006-09-20T16:28:55Z")

</div>

I have a C extension that defines a module and two classes in that module. I was looking at mongrel and mongrel also has a mongrel.rb file that defines the module and classes that are also defined in the C extension.…

---

## [Self.method?](https://www.ruby-forum.com/t/self-method/69345)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 6\
**Last updated:** [September 20, 2006, 4:00pm UTC](https://www.ruby-forum.com/t/self-method/69345 "2006-09-20T16:00:51Z")

</div>

Hi, We can write “self.class” to get the current object, but is it possible to do something like a “self.method” to retrieve the currently running method? Cheers Aidy

---

## [Re: Ruby Apps Databases](https://www.ruby-forum.com/t/re-ruby-apps-databases/69344)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [September 20, 2006, 3:50pm UTC](https://www.ruby-forum.com/t/re-ruby-apps-databases/69344 "2006-09-20T15:50:50Z")

</div>

Well, I´m not after something specific right now. I was just wondering, if there are some other usefull ressources out there. Okay. There are a few things I´m interested in. \*debugging (i know the ones at rubyforge …

---

## [Communication between objects](https://www.ruby-forum.com/t/communication-between-objects/69354)

<div class="topic-metadata">

**Author:** [@tod](https://www.ruby-forum.com/u/tod)\
**Replies:** 0\
**Last updated:** [September 20, 2006, 3:00pm UTC](https://www.ruby-forum.com/t/communication-between-objects/69354 "2006-09-20T15:00:43Z")

</div>

I posted a question on this topic yesterday but used an example specific to my application. But I wanted to re-post with a slightly more abstract example and see what responses there are. My question: How does ruby im…

---

## [Single character input without pressing 'Enter'](https://www.ruby-forum.com/t/single-character-input-without-pressing-enter/69314)

<div class="topic-metadata">

**Author:** [@unni.tallman](https://www.ruby-forum.com/u/unni.tallman)\
**Replies:** 3\
**Last updated:** [September 20, 2006, 2:56pm UTC](https://www.ruby-forum.com/t/single-character-input-without-pressing-enter/69314 "2006-09-20T14:56:42Z")

</div>

how can i read input from stdin, char by char, i want to get the character as soon as it is entered, without having to press ‘Enter’ after each character.

---

## [Distributing hidden Ruby code](https://www.ruby-forum.com/t/distributing-hidden-ruby-code/69283)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 4\
**Last updated:** [September 20, 2006, 2:30pm UTC](https://www.ruby-forum.com/t/distributing-hidden-ruby-code/69283 "2006-09-20T14:30:40Z")

</div>

There was some discussion in the past here about how to distribute Ruby programs in a way that their source code is not visible to people. Today I saw that a company called Chilkat is doing something like this. I have…

---

## [Soap4r - wsdl2rb problems (maybe)](https://www.ruby-forum.com/t/soap4r-wsdl2rb-problems-maybe/68567)

<div class="topic-metadata">

**Author:** [@crenner](https://www.ruby-forum.com/u/crenner)\
**Replies:** 1\
**Last updated:** [September 20, 2006, 2:22pm UTC](https://www.ruby-forum.com/t/soap4r-wsdl2rb-problems-maybe/68567 "2006-09-20T14:22:37Z")

</div>

In the soap4r wsdl samples directory lives some client code to connect to the google adwords service. All seems to work ok (my object gets populated with data from xml response), except for languageTargeting. Althoug…

---

## [SOAP(4R) documentation/API/tutorial](https://www.ruby-forum.com/t/soap-4r-documentation-api-tutorial/68654)

<div class="topic-metadata">

**Author:** [@SSMKSM](https://www.ruby-forum.com/u/SSMKSM)\
**Replies:** 1\
**Last updated:** [September 20, 2006, 2:22pm UTC](https://www.ruby-forum.com/t/soap-4r-documentation-api-tutorial/68654 "2006-09-20T14:22:37Z")

</div>

Hello, I’m trying to use Ruby to control a UPNP device (mostly list, map/foward and delete ports). By analyzing the UPNP packets, i’ve discovered it uses SOAP. So, that leads me to SOAP4R which only has a sample dire…

---

## [Memcached Error](https://www.ruby-forum.com/t/memcached-error/69352)

<div class="topic-metadata">

**Author:** [@jverger](https://www.ruby-forum.com/u/jverger)\
**Replies:** 0\
**Last updated:** [September 20, 2006, 1:48pm UTC](https://www.ruby-forum.com/t/memcached-error/69352 "2006-09-20T13:48:34Z")

</div>

Hi, I’m running memcached in 2 servers. Both servers, are at the same time clients (they share memcached). If only one server is up, there is no problem, it works perfect. It can access both memcached servers. Same w…

---

## [Simple code doesnt work](https://www.ruby-forum.com/t/simple-code-doesnt-work/69347)

<div class="topic-metadata">

**Author:** [@vincpa](https://www.ruby-forum.com/u/vincpa)\
**Replies:** 4\
**Last updated:** [September 20, 2006, 1:40pm UTC](https://www.ruby-forum.com/t/simple-code-doesnt-work/69347 "2006-09-20T13:40:33Z")

</div>

Hi everyone, Can anyone tell me why this doesnt work? Im getting this error cf.rb:26: undefined method \`price’ for #\<Ticket:0x27ed554 @d=“11/12/2006”, @price=5.0, @v=“yer”\> (NoMethodError) thanks, just learning :sli…

---

## [Setting Windows environment variable](https://www.ruby-forum.com/t/setting-windows-environment-variable/69328)

<div class="topic-metadata">

**Author:** [@puppet](https://www.ruby-forum.com/u/puppet)\
**Replies:** 2\
**Last updated:** [September 20, 2006, 12:01pm UTC](https://www.ruby-forum.com/t/setting-windows-environment-variable/69328 "2006-09-20T12:01:05Z")

</div>

How can I set environment variable for windows(not for currect process)? What command should I use? I need functionality like setx.exe For example I need get env variable, edit it and set it back. ruby 1.8.5 win

---

## [Ruby Apps Databases](https://www.ruby-forum.com/t/ruby-apps-databases/69329)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [September 20, 2006, 11:56am UTC](https://www.ruby-forum.com/t/ruby-apps-databases/69329 "2006-09-20T11:56:22Z")

</div>

hi there. Well i know that there is rubyforge and the RAA (and non ruby specific like sourceforge and so on …). But doesn anybody know of other app databases for ruby programs ? Are there others i should know of , be…

---

## [Compile error on stable-snapshot](https://www.ruby-forum.com/t/compile-error-on-stable-snapshot/69113)

<div class="topic-metadata">

**Author:** [@Meino\_Christian\_C](https://www.ruby-forum.com/u/Meino_Christian_C)\
**Replies:** 2\
**Last updated:** [September 20, 2006, 11:36am UTC](https://www.ruby-forum.com/t/compile-error-on-stable-snapshot/69113 "2006-09-20T11:36:20Z")

</div>

Hi, the stable-snapshot I downloaded today (18.9.) does not compile/install cleanly on my Linux system (uptodate gentoo linux). Output was: install -c -p .ext/common/bigdecimal/util.rb /usr/lib/ruby/1.8/bigdecimal/u…

---

## [Unable to register constants](https://www.ruby-forum.com/t/unable-to-register-constants/69242)

<div class="topic-metadata">

**Author:** [@mjgp2](https://www.ruby-forum.com/u/mjgp2)\
**Replies:** 1\
**Last updated:** [September 20, 2006, 10:12am UTC](https://www.ruby-forum.com/t/unable-to-register-constants/69242 "2006-09-20T10:12:08Z")

</div>

Hi guys… not sure why setting constants here isn’t working!?! Here’s the code: class Module @@dynamically\_created\_models ||= Hash.new alias :normal\_const\_missing :const\_missing def const\_missing(class\_id) begin …

---

## [Control Safari browser](https://www.ruby-forum.com/t/control-safari-browser/69266)

<div class="topic-metadata">

**Author:** [@kprinz](https://www.ruby-forum.com/u/kprinz)\
**Replies:** 5\
**Last updated:** [September 20, 2006, 8:51am UTC](https://www.ruby-forum.com/t/control-safari-browser/69266 "2006-09-20T08:51:18Z")

</div>

Hi, I am using win32ole to control the Internet Explorer and I want to port my tool to work with Safari. I know that there is an extension for the watir project, which uses AppleScript to drive safari, but this is no…

---

## [Big announcement?](https://www.ruby-forum.com/t/big-announcement/69169)

<div class="topic-metadata">

**Author:** [@mly](https://www.ruby-forum.com/u/mly)\
**Replies:** 5\
**Last updated:** [September 20, 2006, 8:05am UTC](https://www.ruby-forum.com/t/big-announcement/69169 "2006-09-20T08:05:55Z")

</div>

Since tomorrow (today in some parts of the world) is September 19th, it seems an appropriate time for the release of YARV. After all, it is International Talk Like A Pirate Day… Just a bit of silliness that I hope y’…

---

## [=\> A newb question](https://www.ruby-forum.com/t/a-newb-question/69269)

<div class="topic-metadata">

**Author:** [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Replies:** 8\
**Last updated:** [September 20, 2006, 7:05am UTC](https://www.ruby-forum.com/t/a-newb-question/69269 "2006-09-20T07:05:53Z")

</div>

why did matz choose to use ‘=\>’ to declare things instead of just making them all ‘=’ ? he cut our time marginally by letting us not put a ‘;’ at the end of a line, but now we have to put a ‘\>’ with ‘=’… (i’m gonna …

---

## [Using Rubygems to Package Java Jarfiles](https://www.ruby-forum.com/t/using-rubygems-to-package-java-jarfiles/68422)

<div class="topic-metadata">

**Author:** [@usrlocal](https://www.ruby-forum.com/u/usrlocal)\
**Replies:** 2\
**Last updated:** [September 20, 2006, 6:03am UTC](https://www.ruby-forum.com/t/using-rubygems-to-package-java-jarfiles/68422 "2006-09-20T06:03:02Z")

</div>

Ruby Java Bridge (RJB) (http://rjb.rubyforge.org/) a good way to use Java classes and maintain the abiltity to work with both C extensions and develop Rails applications. If you could package Java jarfiles in a Rubyge…

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

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