# Ruby

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

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

---

## [Webrick, cross-thread violation on rb\_thread\_schedule()](https://www.ruby-forum.com/t/webrick-cross-thread-violation-on-rb-thread-schedule/93739)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 0\
**Last updated:** [April 7, 2006, 8:38pm UTC](https://www.ruby-forum.com/t/webrick-cross-thread-violation-on-rb-thread-schedule/93739 "2006-04-07T20:38:42Z")

</div>

Hi all, Anyone else seen this? Although it happened while serving Rails, I figured a core dump caused by webrick should be posted to ruby-talk as well. It happened after I hit Ctrl-C to kill the webrick server, af…

---

## [Instant Rails 1.2](https://www.ruby-forum.com/t/instant-rails-1-2/57195)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 0\
**Last updated:** [April 7, 2006, 8:32pm UTC](https://www.ruby-forum.com/t/instant-rails-1-2/57195 "2006-04-07T20:32:34Z")

</div>

According to Zed S. who is doing extensive work on Windows at the moment, there is some kind of bug or adverse interaction between the Ruby based MySQL driver and Rails 1.1, but it appears the the C base MySQL driver …

---

## [Autorequire.rb](https://www.ruby-forum.com/t/autorequire-rb/93729)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [April 7, 2006, 8:32pm UTC](https://www.ruby-forum.com/t/autorequire-rb/93729 "2006-04-07T20:32:33Z")

</div>

just hacked this out - can anyone see holes in it? harp:~ \> cat autorequire.rb class Module alias\_method "const\_missing!", "const\_missing" def const\_missing c lib4 = lambda{|k| k.to\_s.downcase.gsub(%r/::/, …

---

## [Question about extending schemas at run-time](https://www.ruby-forum.com/t/question-about-extending-schemas-at-run-time/57171)

<div class="topic-metadata">

**Author:** [@eric](https://www.ruby-forum.com/u/eric)\
**Replies:** 2\
**Last updated:** [April 7, 2006, 8:28pm UTC](https://www.ruby-forum.com/t/question-about-extending-schemas-at-run-time/57171 "2006-04-07T20:28:20Z")

</div>

I’m sure this has been brought up before but I probably am using the wrong keywords to search. I’d like to know if there is a way to use Ruby to create dynamic schemas. As an example, I’d like to create an administrat…

---

## [Cant run my Rails app!](https://www.ruby-forum.com/t/cant-run-my-rails-app/57187)

<div class="topic-metadata">

**Author:** [@jadzien](https://www.ruby-forum.com/u/jadzien)\
**Replies:** 3\
**Last updated:** [April 7, 2006, 7:30pm UTC](https://www.ruby-forum.com/t/cant-run-my-rails-app/57187 "2006-04-07T19:30:56Z")

</div>

Boy, this is a very weird feeling. Excitement mixed with frustration! Am really excited to learn Ruby and was following the examples of Ruby For Rails e-book (manning) and finally, after getting all the coding and set…

---

## [Rb\_hash\_aref and symbol keys](https://www.ruby-forum.com/t/rb-hash-aref-and-symbol-keys/57158)

<div class="topic-metadata">

**Author:** [@reflex](https://www.ruby-forum.com/u/reflex)\
**Replies:** 7\
**Last updated:** [April 7, 2006, 7:18pm UTC](https://www.ruby-forum.com/t/rb-hash-aref-and-symbol-keys/57158 "2006-04-07T19:18:49Z")

</div>

Hello I’m just getting starting with ruby C extensions, and I’m having a problem accessing hash values corresponding to keys which are symbols. String keys work fine: /\* In ruby: myhash = { ‘foo’ =\> ‘blah’ } / foo =…

---

## [Archive-tar-external 1.2.0](https://www.ruby-forum.com/t/archive-tar-external-1-2-0/57182)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 0\
**Last updated:** [April 7, 2006, 6:51pm UTC](https://www.ruby-forum.com/t/archive-tar-external-1-2-0/57182 "2006-04-07T18:51:25Z")

</div>

Hi all, I pleased to announce the release of archive-tar-external 1.2.0. This project was formerly known as archive-tarsimple. In the interests of consistency, as well as continued good relations between the U.S. …

---

## [Ruby-dev summary 28397-28494](https://www.ruby-forum.com/t/ruby-dev-summary-28397-28494/57163)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 0\
**Last updated:** [April 7, 2006, 4:58pm UTC](https://www.ruby-forum.com/t/ruby-dev-summary-28397-28494/57163 "2006-04-07T16:58:06Z")

</div>

Hi, This is ruby-dev summary 28397-28494. \[ruby-dev:28436\] Re: Affinity of “win32/registry” and “dl/win32” take\_tk claimed that using Win32API.so with dl/win32.rb doesn’t work fine. On this background, WATANABE Hiro…

---

## [Re: fxRuby: changing icon in TreeItem crashes](https://www.ruby-forum.com/t/re-fxruby-changing-icon-in-treeitem-crashes/57117)

<div class="topic-metadata">

**Author:** [@Kloubakov\_Yura](https://www.ruby-forum.com/u/Kloubakov_Yura)\
**Replies:** 2\
**Last updated:** [April 7, 2006, 4:09pm UTC](https://www.ruby-forum.com/t/re-fxruby-changing-icon-in-treeitem-crashes/57117 "2006-04-07T16:09:02Z")

</div>

Christer, You have to explicitly call “create” for the new icon to create the server side object. Fox does it automatically for all the objects it can see at the time “create” is called for the FXApp object if I rem…

---

## [Re: Status of WxRuby](https://www.ruby-forum.com/t/re-status-of-wxruby/57153)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 0\
**Last updated:** [April 7, 2006, 3:59pm UTC](https://www.ruby-forum.com/t/re-status-of-wxruby/57153 "2006-04-07T15:59:40Z")

</div>

Thanks for that update, Roy. I’m not a C-level programmer, so probably would not compile source code, myself. If you do release a Windows binary, however, I’ll try to provide feedback. I really like WxWidgets, and h…

---

## [Best practices](https://www.ruby-forum.com/t/best-practices/93666)

<div class="topic-metadata">

**Author:** [@Jean-Charles\_Carell](https://www.ruby-forum.com/u/Jean-Charles_Carell)\
**Replies:** 14\
**Last updated:** [April 7, 2006, 1:32pm UTC](https://www.ruby-forum.com/t/best-practices/93666 "2006-04-07T13:32:25Z")

</div>

I’m working my way through the Pickaxe book and I have a question regarding syntax and best practices. Example from page 64 # 1 Book example songs.append(Song.new(title, name, mins.to\_i \* 60 + secs.to\_i)) # 2 Alte…

---

## [Basic input/output question](https://www.ruby-forum.com/t/basic-input-output-question/57019)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 10\
**Last updated:** [April 7, 2006, 1:27pm UTC](https://www.ruby-forum.com/t/basic-input-output-question/57019 "2006-04-07T13:27:34Z")

</div>

Hello, I spent my $40 on “Programming Ruby,” but, it seems dedicated to C programmer rocket scientists. I work in publishing and basically I just need to open files, convert the data, and write the files, either to th…

---

## [Running rake silently?](https://www.ruby-forum.com/t/running-rake-silently/93685)

<div class="topic-metadata">

**Author:** [@nuno](https://www.ruby-forum.com/u/nuno)\
**Replies:** 4\
**Last updated:** [April 7, 2006, 1:08pm UTC](https://www.ruby-forum.com/t/running-rake-silently/93685 "2006-04-07T13:08:52Z")

</div>

Hi, may be I’m a bit off topic here but… Is there a way to run rake silently ? --silent, -s, --quiet don’t have any effect and when I use rake for testing purpose the output is polluted with unecessary informations. I…

---

## [Easy question about inspect method](https://www.ruby-forum.com/t/easy-question-about-inspect-method/57083)

<div class="topic-metadata">

**Author:** [@lazylester](https://www.ruby-forum.com/u/lazylester)\
**Replies:** 2\
**Last updated:** [April 7, 2006, 12:12pm UTC](https://www.ruby-forum.com/t/easy-question-about-inspect-method/57083 "2006-04-07T12:12:47Z")

</div>

When I use myarray.inspect, the result has some odd asymmetrical formatting, like: #nil, “role\_id”=\>“1”, “last”=\>“Normal”, “first”=\>“Norman”, “id”=\>“17”}\> what is the significance of the # at the start, and the } and \>…

---

## [Ruby Hacking Guide - New chapters (and a bonus)](https://www.ruby-forum.com/t/ruby-hacking-guide-new-chapters-and-a-bonus/93632)

<div class="topic-metadata">

**Author:** [@Vincent\_I](https://www.ruby-forum.com/u/Vincent_I)\
**Replies:** 8\
**Last updated:** [April 7, 2006, 12:03pm UTC](https://www.ruby-forum.com/t/ruby-hacking-guide-new-chapters-and-a-bonus/93632 "2006-04-07T12:03:37Z")

</div>

Hi everyone, Here they are, translations of chapter 3, 4 and 6 of the Ruby Hacking Guide! We know the translation is far from being perfect, and we welcome any correction on the text or diagrams of any chapter (even …

---

## [Kconv.to\* $B$H(B -m0](https://www.ruby-forum.com/t/kconv-to-b-h-b-m0/55596)

<div class="topic-metadata">

**Author:** [@NARUSES\_Yui](https://www.ruby-forum.com/u/NARUSES_Yui)\
**Replies:** 4\
**Last updated:** [April 7, 2006, 9:48am UTC](https://www.ruby-forum.com/t/kconv-to-b-h-b-m0/55596 "2006-04-07T09:48:38Z")

</div>

e$B@.@%$G$9!#e(B ruby-man:trap::Kconv e$B$K$b$"$k$h$&$K!"e(B Kconve$B$NJQ49%a%=%C%I$O%G%U%)%k%H$Ge(B MIME e$B%G%3!\<%I$r9T$&$o$1$G$9$,!"e(B e$B$3$NF0:n$rJQ$($F$h$$$b$N$G$7$g$&$+!#e(B http://www.ruby-lang.org/ja/man/?…

---

## [Embedding ruby](https://www.ruby-forum.com/t/embedding-ruby/93694)

<div class="topic-metadata">

**Author:** [@ptriller](https://www.ruby-forum.com/u/ptriller)\
**Replies:** 3\
**Last updated:** [April 7, 2006, 9:39am UTC](https://www.ruby-forum.com/t/embedding-ruby/93694 "2006-04-07T09:39:20Z")

</div>

Hi. I am right now considering which Scripting Language to embed into my Server application and ruby seems to be a very good choice. But I have a small problem. I need to limit the functions which are allowed to be c…

---

## [Compiling ruby on AIX 5.3](https://www.ruby-forum.com/t/compiling-ruby-on-aix-5-3/57107)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 0\
**Last updated:** [April 7, 2006, 8:41am UTC](https://www.ruby-forum.com/t/compiling-ruby-on-aix-5-3/57107 "2006-04-07T08:41:06Z")

</div>

I just recently went through the fun of getting ruby 1.8.4 to compile on AIX 5.3, and your error was one of the ones that I struck. I’ve written up my experience at In summary, to get ruby to compile, I needed to run…

---

## [Re: Archive::Tar uncompress question](https://www.ruby-forum.com/t/re-archive-tar-uncompress-question/93705)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 5\
**Last updated:** [April 7, 2006, 8:38am UTC](https://www.ruby-forum.com/t/re-archive-tar-uncompress-question/93705 "2006-04-07T08:38:00Z")

</div>

guess was an unforseen use. I need to simply unpack an when /.t(ar.)?gz/ which works fine for what I need if I redefine It seems that @compressed\_archive\_name can only be set if one first compresses an archive. I …

---

## [Accessing session with session.each](https://www.ruby-forum.com/t/accessing-session-with-session-each/57092)

<div class="topic-metadata">

**Author:** [@opensas](https://www.ruby-forum.com/u/opensas)\
**Replies:** 11\
**Last updated:** [April 7, 2006, 7:41am UTC](https://www.ruby-forum.com/t/accessing-session-with-session-each/57092 "2006-04-07T07:41:50Z")

</div>

I’d like to traverse thru the contents of the session object I’ve been looking at C:\\ruby\\lib\\ruby\\1.8\\cgi\\session.rb and found out that there’s no each method in it. So I tried to make accesible the data collection. …

---

## [Un\_include and un\_extend](https://www.ruby-forum.com/t/un-include-and-un-extend/93551)

<div class="topic-metadata">

**Author:** [@itsme213](https://www.ruby-forum.com/u/itsme213)\
**Replies:** 12\
**Last updated:** [April 7, 2006, 6:18am UTC](https://www.ruby-forum.com/t/un-include-and-un-extend/93551 "2006-04-07T06:18:21Z")

</div>

How do I un\_include a module from a class/module, or un\_extend a module from an object? Thanks.

---

## [Status of WxRuby](https://www.ruby-forum.com/t/status-of-wxruby/57028)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 1\
**Last updated:** [April 7, 2006, 5:57am UTC](https://www.ruby-forum.com/t/status-of-wxruby/57028 "2006-04-07T05:57:01Z")

</div>

The WxRuby web page does not indicate recent activity. Is the 2.0 version still under active development? Jamal

---

## [Ruby Weekly News 27th March - 2nd April 2006](https://www.ruby-forum.com/t/ruby-weekly-news-27th-march-2nd-april-2006/93526)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [April 7, 2006, 5:23am UTC](https://www.ruby-forum.com/t/ruby-weekly-news-27th-march-2nd-april-2006/93526 "2006-04-07T05:23:47Z")

</div>

http://www.rubyweeklynews.org/20060402.html Ruby Weekly News 27th March - 2nd April 2006 Ruby Weekly News is a summary of the week’s activity on the ruby-talk mailing list / the comp.lang.ruby newsgroup / Ruby forum, …

---

## [GPL v3 and Ruby License](https://www.ruby-forum.com/t/gpl-v3-and-ruby-license/93601)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 33\
**Last updated:** [April 7, 2006, 4:44am UTC](https://www.ruby-forum.com/t/gpl-v3-and-ruby-license/93601 "2006-04-07T04:44:22Z")

</div>

I went to MIT for the Free Software Foundation Associate members meeting last weekend. I asked Stallman the question of whether the FSF planned to contact various individuals who were using dual licenses and encourag…

---

## [Installing bdb to local directory](https://www.ruby-forum.com/t/installing-bdb-to-local-directory/57042)

<div class="topic-metadata">

**Author:** [@notmatt](https://www.ruby-forum.com/u/notmatt)\
**Replies:** 1\
**Last updated:** [April 7, 2006, 1:10am UTC](https://www.ruby-forum.com/t/installing-bdb-to-local-directory/57042 "2006-04-07T01:10:55Z")

</div>

Is there a way to install bdb in particular and other Ruby C extensions in general to a non-default directory? For instance, when you don’t have admin privileges. I couldn’t find any relevant arguments for extconf, a…

---

## [fxRuby: changing icon in TreeItem crashes](https://www.ruby-forum.com/t/fxruby-changing-icon-in-treeitem-crashes/57076)

<div class="topic-metadata">

**Author:** [@christer](https://www.ruby-forum.com/u/christer)\
**Replies:** 0\
**Last updated:** [April 7, 2006, 12:44am UTC](https://www.ruby-forum.com/t/fxruby-changing-icon-in-treeitem-crashes/57076 "2006-04-07T00:44:05Z")

</div>

I would like to change the icon used by TreeItem in TreeList. I’m using Convenience function to load & construct an icon def makeIcon(filename) begin filename = File.join(“icons”, filename) icon = nil File.open(fil…

---

## [Methods that return a hash or an exception?](https://www.ruby-forum.com/t/methods-that-return-a-hash-or-an-exception/57052)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 2\
**Last updated:** [April 6, 2006, 10:17pm UTC](https://www.ruby-forum.com/t/methods-that-return-a-hash-or-an-exception/57052 "2006-04-06T22:17:29Z")

</div>

Hi everyone, I’m not quite sure how to handle this type of thing. I have a method that searches for a user in our LDAP by way of a Person model’s username attribute: @ldap\_person = @person.get\_ldap\_user This method…

---

## [Re: Archive::Tar uncompress question](https://www.ruby-forum.com/t/re-archive-tar-uncompress-question/93703)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [April 6, 2006, 9:49pm UTC](https://www.ruby-forum.com/t/re-archive-tar-uncompress-question/93703 "2006-04-06T21:49:57Z")

</div>

its name, instead of Archive::Tar::Wrapper or something like that, I’m using it as a namespace in minitar (Archive::Tar::Minitar), which just declares it as a module. I can be a bit smarter about how I declare it, …

---

## [Re: Archive::Tar uncompress question](https://www.ruby-forum.com/t/re-archive-tar-uncompress-question/93702)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [April 6, 2006, 9:34pm UTC](https://www.ruby-forum.com/t/re-archive-tar-uncompress-question/93702 "2006-04-06T21:34:43Z")

</div>

\-----Original Message----- From: Austin Z. \[mailto:removed\_email\_address@domain.invalid\] Sent: Thursday, April 06, 2006 1:17 PM To: ruby-talk ML Subject: Re: Archive::Tar uncompress question I’m not sure. I’m jus…

---

## [More random, please ! :)](https://www.ruby-forum.com/t/more-random-please/57050)

<div class="topic-metadata">

**Author:** [@Meino\_Christian\_C](https://www.ruby-forum.com/u/Meino_Christian_C)\
**Replies:** 3\
**Last updated:** [April 6, 2006, 9:31pm UTC](https://www.ruby-forum.com/t/more-random-please/57050 "2006-04-06T21:31:41Z")

</div>

Hi, recently I asked, how one would distribute all letters of the alphabet randomly and each statistically equal handled (oh…damn…this looks like awful german English…sorry…) And the solution was too simple, as I wou…

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

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