# Ruby

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

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

---

## [Relocatable Ruby executable](https://www.ruby-forum.com/t/relocatable-ruby-executable/102459)

<div class="topic-metadata">

**Author:** [@Asfand\_Yar\_Q](https://www.ruby-forum.com/u/Asfand_Yar_Q)\
**Replies:** 2\
**Last updated:** [February 8, 2006, 10:24pm UTC](https://www.ruby-forum.com/t/relocatable-ruby-executable/102459 "2006-02-08T22:24:07Z")

</div>

Hi, How can I create a relocatable Ruby executable? Meaning, that I can distribute a copy of it along with the modules I need with a binary app I am embedding Ruby into. I’m considering both actually programaticall…

---

## [Mixing in modules?](https://www.ruby-forum.com/t/mixing-in-modules/102297)

<div class="topic-metadata">

**Author:** [@konsu](https://www.ruby-forum.com/u/konsu)\
**Replies:** 4\
**Last updated:** [February 8, 2006, 10:17pm UTC](https://www.ruby-forum.com/t/mixing-in-modules/102297 "2006-02-08T22:17:38Z")

</div>

hello, given: class C that implements some arbitrary methods a database with code fragments stored as text i create a variable ‘var’ of class C and then read some code fragments from the database. each fragment i r…

---

## [Ruby IDE/Debugger for Ubuntu](https://www.ruby-forum.com/t/ruby-ide-debugger-for-ubuntu/102034)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 6\
**Last updated:** [February 8, 2006, 8:24pm UTC](https://www.ruby-forum.com/t/ruby-ide-debugger-for-ubuntu/102034 "2006-02-08T20:24:24Z")

</div>

Hi everyone, What is the best IDE/debugger for Ruby that will work on ubuntu linux? I’ve given up on trying to get eclipse RDT working. Is KDevelop good? I’d like something with a lot of features (autocomplete) rathe…

---

## [Meta-Meta-Programming](https://www.ruby-forum.com/t/meta-meta-programming/53508)

<div class="topic-metadata">

**Author:** [@erikveen](https://www.ruby-forum.com/u/erikveen)\
**Replies:** 29\
**Last updated:** [February 8, 2006, 8:18pm UTC](https://www.ruby-forum.com/t/meta-meta-programming/53508 "2006-02-08T20:18:17Z")

</div>

I had a discussion with a friend. A Java guy. He wants the arguments of a method call being checked. “I want the first one to be an Integer. And the second one is a String. Period.” No discussion. I explained our duck…

---

## [Re: Why do I have three objects instead of one?](https://www.ruby-forum.com/t/re-why-do-i-have-three-objects-instead-of-one/64724)

<div class="topic-metadata">

**Author:** [@PaatschS\_Bernd](https://www.ruby-forum.com/u/PaatschS_Bernd)\
**Replies:** 0\
**Last updated:** [February 8, 2006, 8:06pm UTC](https://www.ruby-forum.com/t/re-why-do-i-have-three-objects-instead-of-one/64724 "2006-02-08T20:06:54Z")

</div>

Ops, found the problem. I had a bug in my code. (Too much coffee and not enough sleep :))

---

## [C extension: symbols](https://www.ruby-forum.com/t/c-extension-symbols/102465)

<div class="topic-metadata">

**Author:** [@pgundlach](https://www.ruby-forum.com/u/pgundlach)\
**Replies:** 3\
**Last updated:** [February 8, 2006, 8:03pm UTC](https://www.ruby-forum.com/t/c-extension-symbols/102465 "2006-02-08T20:03:43Z")

</div>

Hi, in pure ruby, I sometimes access hashes with symbols as keys: { :foo =\> “this”, :bar =\> “other” } Q: How would I create this kind of hash on the c part? OK, the hash is easy (rb\_hash\_new()). But how do I specify …

---

## [Why do I have three objects instead of one?](https://www.ruby-forum.com/t/why-do-i-have-three-objects-instead-of-one/102476)

<div class="topic-metadata">

**Author:** [@PaatschS\_Bernd](https://www.ruby-forum.com/u/PaatschS_Bernd)\
**Replies:** 0\
**Last updated:** [February 8, 2006, 7:03pm UTC](https://www.ruby-forum.com/t/why-do-i-have-three-objects-instead-of-one/102476 "2006-02-08T19:03:21Z")

</div>

Hello, I run into a problem with instances of classes I created. Here is the scope what I want to do: I like to have a class that currently contains out of an Array that itself contains instances of other classes c…

---

## [Re: plruby](https://www.ruby-forum.com/t/re-plruby/102467)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [February 8, 2006, 6:34pm UTC](https://www.ruby-forum.com/t/re-plruby/102467 "2006-02-08T18:34:37Z")

</div>

officially included to postgresql? Mage I don’t know that any has submitted it to the PostgreSQL community. Have you asked? Dan

---

## [Marshalling constants](https://www.ruby-forum.com/t/marshalling-constants/64496)

<div class="topic-metadata">

**Author:** [@brian](https://www.ruby-forum.com/u/brian)\
**Replies:** 11\
**Last updated:** [February 8, 2006, 3:18pm UTC](https://www.ruby-forum.com/t/marshalling-constants/64496 "2006-02-08T15:18:04Z")

</div>

Hello, When one marshals a constant and later unmarshals it, a brand new object appears to be created during unmarshalling. This seems wasteful, especially in cases when constants are large (contain many attributes)…

---

## [Re: c api, getting class](https://www.ruby-forum.com/t/re-c-api-getting-class/102383)

<div class="topic-metadata">

**Author:** [@KroegerS\_Simon\_Sext](https://www.ruby-forum.com/u/KroegerS_Simon_Sext)\
**Replies:** 0\
**Last updated:** [February 8, 2006, 1:41pm UTC](https://www.ruby-forum.com/t/re-c-api-getting-class/102383 "2006-02-08T13:41:19Z")

</div>

Use rb\_path2class(“Myclass::UnknownFormat”). This is exactly what I was looking for; seems somewhat undocumented. Without having a chance of testing right now, I would say rb\_define\_class is just perfect. (Re)ope…

---

## [C api, getting class](https://www.ruby-forum.com/t/c-api-getting-class/64639)

<div class="topic-metadata">

**Author:** [@pgundlach](https://www.ruby-forum.com/u/pgundlach)\
**Replies:** 2\
**Last updated:** [February 8, 2006, 1:35pm UTC](https://www.ruby-forum.com/t/c-api-getting-class/64639 "2006-02-08T13:35:17Z")

</div>

Hi, q: How do I throw a custom exception in the c-part of a ruby program? I have a mixed ruby/c class and I’d like to throw an exception that is defined in the ruby side from the c side: myklass.rb class Myclass cl…

---

## [Get blog](https://www.ruby-forum.com/t/get-blog/102311)

<div class="topic-metadata">

**Author:** [@Byung-Hee\_HWANG](https://www.ruby-forum.com/u/Byung-Hee_HWANG)\
**Replies:** 2\
**Last updated:** [February 8, 2006, 1:23pm UTC](https://www.ruby-forum.com/t/get-blog/102311 "2006-02-08T13:23:12Z")

</div>

Hi, there! First time on this list so I should start by saying thanks for a great language. Ruby is a great language, the first one I’ve tried that I actually like. :slight\_smile: And now, I need useful blog made in …

---

## [Quality cURL bindings for Ruby](https://www.ruby-forum.com/t/quality-curl-bindings-for-ruby/101662)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [February 8, 2006, 9:14am UTC](https://www.ruby-forum.com/t/quality-curl-bindings-for-ruby/101662 "2006-02-08T09:14:42Z")

</div>

I’m overseeing porting a large PHP app to Ruby. The app uses cURL for critical functionality. I’m looking for quality cURL bindings for Ruby. Similar to the PHP or Python bindings. And reliable. Does anyone have o…

---

## [Help: File.file?, ftype fails oddly](https://www.ruby-forum.com/t/help-file-file-ftype-fails-oddly/102064)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 2\
**Last updated:** [February 8, 2006, 7:24am UTC](https://www.ruby-forum.com/t/help-file-file-ftype-fails-oddly/102064 "2006-02-08T07:24:41Z")

</div>

Hello all, I’ve been working on a class+script to crawl through my directories and thought I had it working just right, when it crashed some 13 minutes into running. I included the stack at the bottom, in case it gi…

---

## [Re: Ruby in Browsers?](https://www.ruby-forum.com/t/re-ruby-in-browsers/102309)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 0\
**Last updated:** [February 8, 2006, 7:24am UTC](https://www.ruby-forum.com/t/re-ruby-in-browsers/102309 "2006-02-08T07:24:41Z")

</div>

removed\_email\_address@domain.invalid \[mailto:removed\_email\_address@domain.invalid\] #Any moves out there to get Ruby imbeded in browsers? #How about Ruby as a client-side scripting web standard? (Maybe it would #have …

---

## [Calling child methods in parent](https://www.ruby-forum.com/t/calling-child-methods-in-parent/102294)

<div class="topic-metadata">

**Author:** [@Dave\_Ru](https://www.ruby-forum.com/u/Dave_Ru)\
**Replies:** 1\
**Last updated:** [February 8, 2006, 3:24am UTC](https://www.ruby-forum.com/t/calling-child-methods-in-parent/102294 "2006-02-08T03:24:18Z")

</div>

Hi- This may be a pretty easy question but I’m new to ruby Say I have a class like this class MyClass def myCallingMethod myMethodToOverrider(“hello”) end def myMethodToOverride(string) end end and I want to cr…

---

## [My new Rails Site - eVokeTV](https://www.ruby-forum.com/t/my-new-rails-site-evoketv/102259)

<div class="topic-metadata">

**Author:** [@gr0k](https://www.ruby-forum.com/u/gr0k)\
**Replies:** 2\
**Last updated:** [February 8, 2006, 1:59am UTC](https://www.ruby-forum.com/t/my-new-rails-site-evoketv/102259 "2006-02-08T01:59:21Z")

</div>

Someone else announced their new rails site earlier today and it just so happens I’m also excited to be launching my first one and wanted to help spread the word. Please forgive me, I don’t mean to spam. …

---

## [Required Data Analyst with School Interoperability Framewor](https://www.ruby-forum.com/t/required-data-analyst-with-school-interoperability-framewor/53506)

<div class="topic-metadata">

**Author:** [@Sri\_Rao](https://www.ruby-forum.com/u/Sri_Rao)\
**Replies:** 1\
**Last updated:** [February 8, 2006, 12:20am UTC](https://www.ruby-forum.com/t/required-data-analyst-with-school-interoperability-framewor/53506 "2006-02-08T00:20:51Z")

</div>

Required Data Analyst with School Interoperability Framework Location: Columbus,OHIO DURATION: 8 MONHTS(LIKELY TO GET EXTENDED BASED ON CLIENT DISCRETION BUT MOST LIKELY) Rate: Competitive ODE desires to procure a …

---

## [Re: Meta-Meta-Programming](https://www.ruby-forum.com/t/re-meta-meta-programming/64593)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [February 7, 2006, 11:26pm UTC](https://www.ruby-forum.com/t/re-meta-meta-programming/64593 "2006-02-07T23:26:06Z")

</div>

one to be an Integer. And the second one is a String. Period." No discussion. I explained our duck-typing paradigm. He’s not convinced. He thinks Java. So, he gets Java. Lets check the types of the arguments of a met…

---

## [About Extending Systax](https://www.ruby-forum.com/t/about-extending-systax/102067)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 8\
**Last updated:** [February 7, 2006, 11:19pm UTC](https://www.ruby-forum.com/t/about-extending-systax/102067 "2006-02-07T23:19:58Z")

</div>

Hi! A friend of mine challenged me with Smalltalk. He’s a big fan of Smalltalk. He asked me what I can do if I want to add “try ~ finally ~” systax in Ruby. Yes, we already have “begin ~ ensure ~”. But he asked me …

---

## [How to check NTFS file permissions?](https://www.ruby-forum.com/t/how-to-check-ntfs-file-permissions/64544)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 2\
**Last updated:** [February 7, 2006, 10:49pm UTC](https://www.ruby-forum.com/t/how-to-check-ntfs-file-permissions/64544 "2006-02-07T22:49:28Z")

</div>

This problem comes up because WinXP keeps putting it’s ‘System Volume Information’ directories on each partition. In this case, I think the FS was created by an earlier incarnation of the machine I’m on. However it …

---

## [Regex trick](https://www.ruby-forum.com/t/regex-trick/101391)

<div class="topic-metadata">

**Author:** [@Alain\_FELER](https://www.ruby-forum.com/u/Alain_FELER)\
**Replies:** 7\
**Last updated:** [February 7, 2006, 10:46pm UTC](https://www.ruby-forum.com/t/regex-trick/101391 "2006-02-07T22:46:23Z")

</div>

I want to replace all ’ by ’ ? (I need it to do inserts in mysql). s = “j’ai” s.gsub!(/’/,’’’) p s ==\> gives j’ai and not j’ai as I want Thanks for help.

---

## [Reasons to use else inside rescue](https://www.ruby-forum.com/t/reasons-to-use-else-inside-rescue/101856)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 8\
**Last updated:** [February 7, 2006, 10:34pm UTC](https://www.ruby-forum.com/t/reasons-to-use-else-inside-rescue/101856 "2006-02-07T22:34:04Z")

</div>

I understand that the code in the else part of a begin block is only executed if no exceptions are raised by code in the begin block. However, the same is true of code at the end of the begin block. Why not put the co…

---

## [Re: Problems building binaries on OS X 10.4](https://www.ruby-forum.com/t/re-problems-building-binaries-on-os-x-10-4/53504)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 0\
**Last updated:** [February 7, 2006, 9:35pm UTC](https://www.ruby-forum.com/t/re-problems-building-binaries-on-os-x-10-4/53504 "2006-02-07T21:35:18Z")

</div>

You can build it once to install, say, in /usr/local/ruby-1.8, install it (plus libraries/gems you may need) and then tar the whole directory. Un-tar it in the same location on every new Mac. At least, this is what I …

---

## [Re: How to check NTFS file permissions?](https://www.ruby-forum.com/t/re-how-to-check-ntfs-file-permissions/64545)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [February 7, 2006, 9:13pm UTC](https://www.ruby-forum.com/t/re-how-to-check-ntfs-file-permissions/64545 "2006-02-07T21:13:43Z")

</div>

incarnation of the machine I’m on. However it is marked Read Only, and there doesn’t seem to be any way to change it. Properties window says it is Read only (with a square, not a checkmark) and Hidden, and it lets …

---

## [Re: ODBA 1.0.2](https://www.ruby-forum.com/t/re-odba-1-0-2/102036)

<div class="topic-metadata">

**Author:** [@mifi](https://www.ruby-forum.com/u/mifi)\
**Replies:** 3\
**Last updated:** [February 7, 2006, 9:13pm UTC](https://www.ruby-forum.com/t/re-odba-1-0-2/102036 "2006-02-07T21:13:42Z")

</div>

Hey Hannes, Really interesting work, but I’m not sure, but your approach reminds me of Og are you aware of that and could you give a short summary of the differences between them? you can find Og at NitroHq.com is…

---

## [Plruby](https://www.ruby-forum.com/t/plruby/64495)

<div class="topic-metadata">

**Author:** [@Mage](https://www.ruby-forum.com/u/Mage)\
**Replies:** 0\
**Last updated:** [February 7, 2006, 8:29pm UTC](https://www.ruby-forum.com/t/plruby/64495 "2006-02-07T20:29:13Z")

</div>

Hello, does anyone know that when plruby and its documentation will be officially included to postgresql? Mage

---

## [Re: Ruby in Browsers?](https://www.ruby-forum.com/t/re-ruby-in-browsers/53501)

<div class="topic-metadata">

**Author:** [@Lou\_V](https://www.ruby-forum.com/u/Lou_V)\
**Replies:** 0\
**Last updated:** [February 7, 2006, 7:54pm UTC](https://www.ruby-forum.com/t/re-ruby-in-browsers/53501 "2006-02-07T19:54:25Z")

</div>

http://whytheluckystiff.net/clog/ruby/rubyDotJs.html http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/117184

---

## [Re: ruby-nuby bytes question](https://www.ruby-forum.com/t/re-ruby-nuby-bytes-question/64492)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [February 7, 2006, 7:38pm UTC](https://www.ruby-forum.com/t/re-ruby-nuby-bytes-question/64492 "2006-02-07T19:38:07Z")

</div>

Dear Steven, there are no integers in Ruby, only Fixnum and Bignum. The conversion is automatical. Matz, Ruby’s creator, says that you should use these without caring about their internal representation. You can fin…

---

## [New Haven Rubyists monthly meeting](https://www.ruby-forum.com/t/new-haven-rubyists-monthly-meeting/64490)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [February 7, 2006, 7:35pm UTC](https://www.ruby-forum.com/t/new-haven-rubyists-monthly-meeting/64490 "2006-02-07T19:35:02Z")

</div>

Just letting anyone within driving distance of the greater new haven area in connecticut that our monthly meeting will be on Wednesday, 2006.02.08 at Innovation Software in North Haven, CT This month, Al Gordon will b…

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

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