# Ruby

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

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

---

## [Class Module](https://www.ruby-forum.com/t/class-module/139172)

<div class="topic-metadata">

**Author:** [@rayn](https://www.ruby-forum.com/u/rayn)\
**Replies:** 5\
**Last updated:** [June 2, 2008, 7:11am UTC](https://www.ruby-forum.com/t/class-module/139172 "2008-06-02T07:11:53Z")

</div>

Hi, I’m still learning ruby and i’m trying, but I just can’t understand this result… class Module @@docs = {} Invoked during class definitions def doc(str) @@docs\[self.name\] = self.name + “:\\n” + str.gsub(/^\\s+/, ‘’…

---

## [Just pushed out r113 to SVN](https://www.ruby-forum.com/t/just-pushed-out-r113-to-svn/139233)

<div class="topic-metadata">

**Author:** [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 6:53am UTC](https://www.ruby-forum.com/t/just-pushed-out-r113-to-svn/139233 "2008-06-02T06:53:10Z")

</div>

This is the version of IronRuby that we had before we went down to RailsConf. It will run “hello world” in a view which contains an erb template. This code does pass our test suite and does not have any known regressi…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/139228)

<div class="topic-metadata">

**Author:** [@David\_Walter](https://www.ruby-forum.com/u/David_Walter)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 5:53am UTC](https://www.ruby-forum.com/t/no-subject/139228 "2008-06-02T05:53:28Z")

</div>

unsubscribe

---

## [How do i replace actual value in the query with variables?](https://www.ruby-forum.com/t/how-do-i-replace-actual-value-in-the-query-with-variables/139022)

<div class="topic-metadata">

**Author:** [@erick](https://www.ruby-forum.com/u/erick)\
**Replies:** 10\
**Last updated:** [June 2, 2008, 5:19am UTC](https://www.ruby-forum.com/t/how-do-i-replace-actual-value-in-the-query-with-variables/139022 "2008-06-02T05:19:33Z")

</div>

I try to set up a loop to put the data in the array into the oracle data base by iteration. Thus I put the variable into the sql query. I know this is no correct for dynamic querying, Can you give me some advise abou…

---

## [Unbuffered output with Logger (newbie question)](https://www.ruby-forum.com/t/unbuffered-output-with-logger-newbie-question/139122)

<div class="topic-metadata">

**Author:** [@Eric\_LIn](https://www.ruby-forum.com/u/Eric_LIn)\
**Replies:** 3\
**Last updated:** [June 2, 2008, 1:50am UTC](https://www.ruby-forum.com/t/unbuffered-output-with-logger-newbie-question/139122 "2008-06-02T01:50:59Z")

</div>

I’m trying to use Ruby’s built-in Logger facility, and I’m not able to make it output log messages in real-time. Instead, log messages are only outputted when I call Logger#close. The Logger is created with a line li…

---

## [Installing 1.8.7](https://www.ruby-forum.com/t/installing-1-8-7/139181)

<div class="topic-metadata">

**Author:** [@rgreen](https://www.ruby-forum.com/u/rgreen)\
**Replies:** 5\
**Last updated:** [June 2, 2008, 1:15am UTC](https://www.ruby-forum.com/t/installing-1-8-7/139181 "2008-06-02T01:15:52Z")

</div>

Would someone please explain to this idiot (me) how to upgrade my leopard installation to ruby 1.8.7. I’ve seen the instructions at Hivelogic but I don’t want to install it under a different path. HELP!!

---

## [Gateway -\> Mail](https://www.ruby-forum.com/t/gateway-mail/138877)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 9\
**Last updated:** [June 2, 2008, 1:10am UTC](https://www.ruby-forum.com/t/gateway-mail/138877 "2008-06-02T01:10:36Z")

</div>

All, is it just me or is the gateway -\> mail broken? I did not seem to receive postings for about 5 hours now. Kind regards robert PS: It’s been quite a long while since we saw gateway emails so this means: the ga…

---

## [\*\*\* How the "RASCAL" President Woodrow Wilson was blackmailed like PUPPET by the AGGRESIVE, MANIPUL](https://www.ruby-forum.com/t/how-the-rascal-president-woodrow-wilson-was-blackmailed-like-puppet-by-the-aggresive-manipul/139222)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 12:35am UTC](https://www.ruby-forum.com/t/how-the-rascal-president-woodrow-wilson-was-blackmailed-like-puppet-by-the-aggresive-manipul/139222 "2008-06-02T00:35:27Z")

</div>

Google is Khazar owned and controlled company. The Khazars plan to electronify and accumulate the whole intellectual property on earth, esp US, Europe and Australia thru google and already have accumulated all the min…

---

## [ANN: Sequel 2.0.0 Released](https://www.ruby-forum.com/t/ann-sequel-2-0-0-released/139219)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 12:27am UTC](https://www.ruby-forum.com/t/ann-sequel-2-0-0-released/139219 "2008-06-02T00:27:59Z")

</div>

Sequel is a lightweight database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas. Sequel also includes a lightweight but…

---

## [? The most EVIL MOTIVE force in HISTORY - The SCHEMING, MANIPULATING and AGGRESSIVE KHAZAR - now](https://www.ruby-forum.com/t/the-most-evil-motive-force-in-history-the-scheming-manipulating-and-aggressive-khazar-now/139218)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 12:26am UTC](https://www.ruby-forum.com/t/the-most-evil-motive-force-in-history-the-scheming-manipulating-and-aggressive-khazar-now/139218 "2008-06-02T00:26:02Z")

</div>

Full Article: http://iamthewitness.com/FreedmanFactsAreFacts.html \<-------- KEY DOCUMENT Steamy Excerpts: Will you be patient with me while I review here as briefly as I can the history of that political emergence an…

---

## [Huge performance gap](https://www.ruby-forum.com/t/huge-performance-gap/54135)

<div class="topic-metadata">

**Author:** [@alexisrichardson](https://www.ruby-forum.com/u/alexisrichardson)\
**Replies:** 78\
**Last updated:** [June 2, 2008, 12:20am UTC](https://www.ruby-forum.com/t/huge-performance-gap/54135 "2008-06-02T00:20:09Z")

</div>

Hi all I’ve ported the following c++ code to ruby. It is a recursive (backtracking) sudoku-solving algorithm. Well, I was rather surprised by the execution time I got: c++ code: 0.33 seconds ruby code: 27.65 secon…

---

## [Build target for YAML project](https://www.ruby-forum.com/t/build-target-for-yaml-project/139211)

<div class="topic-metadata">

**Author:** [@bwinborg](https://www.ruby-forum.com/u/bwinborg)\
**Replies:** 1\
**Last updated:** [June 1, 2008, 11:14pm UTC](https://www.ruby-forum.com/t/build-target-for-yaml-project/139211 "2008-06-01T23:14:20Z")

</div>

Is there a reason why the output path for the YAML project is: ..\\..\\..\\..\\..\\Main\\bin\\Debug\\ rather than ..\\..\\build\\debug\\ ? The latter tries to place binaries outside the checkout folder.

---

## [Tech writer seeks to build portfolio with a ruby project](https://www.ruby-forum.com/t/tech-writer-seeks-to-build-portfolio-with-a-ruby-project/138802)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 8\
**Last updated:** [June 1, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/tech-writer-seeks-to-build-portfolio-with-a-ruby-project/138802 "2008-06-01T22:39:42Z")

</div>

Hi everyone, I’m looking to build my technical writing portfolio by doing some API documentation. Could someone throw out some ruby projects that I could investigate and offer my services to? I have some progra…

---

## [Check for Open Application](https://www.ruby-forum.com/t/check-for-open-application/139196)

<div class="topic-metadata">

**Author:** [@koooee](https://www.ruby-forum.com/u/koooee)\
**Replies:** 4\
**Last updated:** [June 1, 2008, 7:26pm UTC](https://www.ruby-forum.com/t/check-for-open-application/139196 "2008-06-01T19:26:11Z")

</div>

Hello, I am trying to write a simple script and all I need to do is check if there is all ready a running instance of the word application. I look and couldn’t find much on google how to do this…which probably means …

---

## [Feature req: Warble, gems and Rails 2.1](https://www.ruby-forum.com/t/feature-req-warble-gems-and-rails-2-1/139183)

<div class="topic-metadata">

**Author:** [@M\_C](https://www.ruby-forum.com/u/M_C)\
**Replies:** 1\
**Last updated:** [June 1, 2008, 6:45pm UTC](https://www.ruby-forum.com/t/feature-req-warble-gems-and-rails-2-1/139183 "2008-06-01T18:45:00Z")

</div>

I have a feature req. for Warble :slight\_smile: Rails 2.1 now have a “Gem Dependencies” feature (http://ryandaigle.com/articles/2008/4/1/what-s-new-in-edge-rails-gem-dependencies). When running against Rails 2.1 proje…

---

## [Slashes in YAML](https://www.ruby-forum.com/t/slashes-in-yaml/139191)

<div class="topic-metadata">

**Author:** [@coolmenu](https://www.ruby-forum.com/u/coolmenu)\
**Replies:** 2\
**Last updated:** [June 1, 2008, 3:14pm UTC](https://www.ruby-forum.com/t/slashes-in-yaml/139191 "2008-06-01T15:14:24Z")

</div>

Hello all… I wish to store several LaTex constants in YAML file and process them in ruby. LaTex uses single slashes (’’) as a markup specifier. If I specify a yaml string containing a single slash (e.g., “^{\\circ}” wh…

---

## [Ruby 1.8.7 and rubygems](https://www.ruby-forum.com/t/ruby-1-8-7-and-rubygems/139192)

<div class="topic-metadata">

**Author:** [@alipanick](https://www.ruby-forum.com/u/alipanick)\
**Replies:** 2\
**Last updated:** [June 1, 2008, 3:13pm UTC](https://www.ruby-forum.com/t/ruby-1-8-7-and-rubygems/139192 "2008-06-01T15:13:16Z")

</div>

Hi to everyone, 5 minutes ago I installed the last version of ruby, 1.8.7. without specifing a different path, so the new installation overwrite the default system installation. //////////// ruby -v ruby 1.8.7 (200…

---

## [IRB tab completion in fxri, FreeRIDE etc on windows](https://www.ruby-forum.com/t/irb-tab-completion-in-fxri-freeride-etc-on-windows/139189)

<div class="topic-metadata">

**Author:** [@juliusb](https://www.ruby-forum.com/u/juliusb)\
**Replies:** 0\
**Last updated:** [June 1, 2008, 2:38pm UTC](https://www.ruby-forum.com/t/irb-tab-completion-in-fxri-freeride-etc-on-windows/139189 "2008-06-01T14:38:19Z")

</div>

Hi, I’ve googled this to death and came up empty handed, so i was hoping you guys could help me… Has anyone gotten IRB tab completion to work in fxri and FreeRIDE on windows? I have a properly configured .irbrc whic…

---

## [How can I get the subject of mail](https://www.ruby-forum.com/t/how-can-i-get-the-subject-of-mail/139138)

<div class="topic-metadata">

**Author:** [@Jmlover](https://www.ruby-forum.com/u/Jmlover)\
**Replies:** 3\
**Last updated:** [June 1, 2008, 2:08pm UTC](https://www.ruby-forum.com/t/how-can-i-get-the-subject-of-mail/139138 "2008-06-01T14:08:54Z")

</div>

@pop = Net::POP3.new(‘pop.163.com’) @pop.start(@username, @password) @pop.each\_mail do |m| # How can I get the subject of me$B!)e(B # e$B!A!A!A!A!A!A!A!A!A!A!A!A!A!A!A!Ae(B # By m.pop? end @pop.finis…

---

## [NET::SFTP downloading multiple directories](https://www.ruby-forum.com/t/net-sftp-downloading-multiple-directories/139175)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 1\
**Last updated:** [June 1, 2008, 9:15am UTC](https://www.ruby-forum.com/t/net-sftp-downloading-multiple-directories/139175 "2008-06-01T09:15:27Z")

</div>

Hi guys, Im pretty new to ruby, and I want to re-write a bash script I wrote to backup some data on an iphone to a local comp, in ruby. This is the bash version: http://pastebin.com/m1a34a96 Here is what i have in ru…

---

## [Rubinius debian package](https://www.ruby-forum.com/t/rubinius-debian-package/139179)

<div class="topic-metadata">

**Author:** [@Gaston\_R](https://www.ruby-forum.com/u/Gaston_R)\
**Replies:** 0\
**Last updated:** [June 1, 2008, 5:44am UTC](https://www.ruby-forum.com/t/rubinius-debian-package/139179 "2008-06-01T05:44:54Z")

</div>

Out of my lazyness, I made a rubinius debian package to easily install it. It’s clearly a “works for me ™” package, but can be useful for those that would like to try rubinius without the burden of compilation and al…

---

## [Just announced that we're running unmodified Rails on my blog](https://www.ruby-forum.com/t/just-announced-that-were-running-unmodified-rails-on-my-blog/139058)

<div class="topic-metadata">

**Author:** [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Replies:** 7\
**Last updated:** [June 1, 2008, 4:10am UTC](https://www.ruby-forum.com/t/just-announced-that-were-running-unmodified-rails-on-my-blog/139058 "2008-06-01T04:10:45Z")

</div>

http://www.iunknown.com/2008/05/ironruby-and-rails.html Thanks all for your help and support of IronRuby! -John

---

## [Starnge update error](https://www.ruby-forum.com/t/starnge-update-error/139131)

<div class="topic-metadata">

**Author:** [@Irfan\_B](https://www.ruby-forum.com/u/Irfan_B)\
**Replies:** 1\
**Last updated:** [May 31, 2008, 10:30pm UTC](https://www.ruby-forum.com/t/starnge-update-error/139131 "2008-05-31T22:30:01Z")

</div>

I know I am still using 1.1RC3, but havent found time to upgrade knowing that I’d have to reinstall all gems, any tips for a quick upgrade are welcome! :slight\_smile: However, does this stack trace mean something, it …

---

## [Splitting help needed](https://www.ruby-forum.com/t/splitting-help-needed/139124)

<div class="topic-metadata">

**Author:** [@zoephoenix](https://www.ruby-forum.com/u/zoephoenix)\
**Replies:** 18\
**Last updated:** [May 31, 2008, 9:45pm UTC](https://www.ruby-forum.com/t/splitting-help-needed/139124 "2008-05-31T21:45:23Z")

</div>

I have a program that someone on this forum helped me fix before that took a list of cities formatted like: New York | Chicago | Boston | and formatted them like this, along with a phrase added after each one: New Yo…

---

## [Getting standard error and output from ruby script in real time](https://www.ruby-forum.com/t/getting-standard-error-and-output-from-ruby-script-in-real-time/139069)

<div class="topic-metadata">

**Author:** [@crocco](https://www.ruby-forum.com/u/crocco)\
**Replies:** 9\
**Last updated:** [May 31, 2008, 9:10pm UTC](https://www.ruby-forum.com/t/getting-standard-error-and-output-from-ruby-script-in-real-time/139069 "2008-05-31T21:10:41Z")

</div>

I’m trying to write an editor for ruby in ruby using the KDE4 bindings for ruby and I’m facing a problem which I don’t know whether is caused by ruby or by KDE. I want my editor to be able to run a ruby script and di…

---

## [Fonts in RMagick](https://www.ruby-forum.com/t/fonts-in-rmagick/139159)

<div class="topic-metadata">

**Author:** [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Replies:** 1\
**Last updated:** [May 31, 2008, 8:00pm UTC](https://www.ruby-forum.com/t/fonts-in-rmagick/139159 "2008-05-31T20:00:48Z")

</div>

Dear all, I am at a loss installing Rmagick on Ubuntu Gutsy (7.10) - tried both compiling from source and the gem – I’ve read the documentation FAQ and tried several font configuration tools… but when I install Rmag…

---

## [Suggestion: Integer#hex](https://www.ruby-forum.com/t/suggestion-integer-hex/139144)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 2\
**Last updated:** [May 31, 2008, 5:53pm UTC](https://www.ruby-forum.com/t/suggestion-integer-hex/139144 "2008-05-31T17:53:18Z")

</div>

e$B1sF#$G$9!#e(B Integer#hex e$B$He(B #oct e$B$rDI2C$9$k$N$O$I$&$G$7$g$&$+!#e(B String#hex e$B$?$A$NH?E\>$G$9!#e(B 10000.hex #=\> “2710” irb e$B$r7W;;5!Be$o$j$K;H$&\>l9g$KJXMx$@$H;W$$$^$9!#e(B 10000.to\_s(16) e$B$O$A$g$…

---

## [Ruby 1.8.7 has been released](https://www.ruby-forum.com/t/ruby-1-8-7-has-been-released/139158)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 0\
**Last updated:** [May 31, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/ruby-1-8-7-has-been-released/139158 "2008-05-31T17:37:23Z")

</div>

ã€€Ruby 1.8.7 ã‚’ãƒªãƒªãƒ¼ã‚¹ã—ã¾ã—ãŸã€‚ ã€€æœ¬ãƒªãƒªãƒ¼ã‚¹ã«ã¯ã€1.8.6ãƒªãƒªãƒ¼ã‚¹ä»¥é™è¦‹ã¤ã‹ã£ãŸæ•°å¤šãã®ãƒã‚°ã®ä¿®æ­£ã€ çµ„ã¿è¾¼ã¿ã‚¯ãƒ©ã‚¹ã®æ©Ÿèƒ½å……å®Ÿã€æ¨™æº–ãƒ©ã‚¤ãƒ–ãƒ©ãƒªã®æ›´æ–°ã€ãƒ‘ãƒ…

---

## [Error when building 1.8.7 from source with --enable-shared](https://www.ruby-forum.com/t/error-when-building-1-8-7-from-source-with-enable-shared/139153)

<div class="topic-metadata">

**Author:** [@radarek](https://www.ruby-forum.com/u/radarek)\
**Replies:** 1\
**Last updated:** [May 31, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/error-when-building-1-8-7-from-source-with-enable-shared/139153 "2008-05-31T17:10:55Z")

</div>

When I try to build ruby from branch ruby\_1\_8 with --enable-shared option I get error: /usr/bin/ld: regex.o: relocation R\_X86\_64\_32S against \`a local symbol’ can not be used when making a shared object; recompile with…

---

## [Eclipse RDT plugin](https://www.ruby-forum.com/t/eclipse-rdt-plugin/139075)

<div class="topic-metadata">

**Author:** [@tsc](https://www.ruby-forum.com/u/tsc)\
**Replies:** 1\
**Last updated:** [May 31, 2008, 5:01pm UTC](https://www.ruby-forum.com/t/eclipse-rdt-plugin/139075 "2008-05-31T17:01:32Z")

</div>

Hi, I’m fixing a bug on an existing Ruby application. Everything I know about Ruby I have learnt in the last 24 hours. Needless to say I’m just getting started. I read the article at http://www-128.ibm.com/develope…

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

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