# Ruby

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

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

---

## [Ruby 1.8.7, Cygwin and File.expand\_path()](https://www.ruby-forum.com/t/ruby-1-8-7-cygwin-and-file-expand-path/139266)

<div class="topic-metadata">

**Author:** [@erikveen](https://www.ruby-forum.com/u/erikveen)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 9:29am UTC](https://www.ruby-forum.com/t/ruby-1-8-7-cygwin-and-file-expand-path/139266 "2008-06-03T09:29:49Z")

</div>

File.expand\_path() in Ruby 1.8.7 doesn’t work like File.expand\_path() in Ruby 1.8.6-p114 on Cygwin on Windows XP Pro SP 2 (build 2600). Bug or feature?.. gegroet, Erik V. - http://www.erikveen.dds.nl/ Ruby 1.8.6-…

---

## [Rev 0.2.2 released](https://www.ruby-forum.com/t/rev-0-2-2-released/139177)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 6:10am UTC](https://www.ruby-forum.com/t/rev-0-2-2-released/139177 "2008-06-03T06:10:49Z")

</div>

I’m pleased to announce the release of Rev 0.2.2, an event library for Ruby which combines the high performance event monitoring of libev with I/O and networking done with Ruby’s own native IO objects and sockets. T…

---

## [Totally stumped](https://www.ruby-forum.com/t/totally-stumped/139341)

<div class="topic-metadata">

**Author:** [@jenny\_w](https://www.ruby-forum.com/u/jenny_w)\
**Replies:** 3\
**Last updated:** [June 3, 2008, 5:34am UTC](https://www.ruby-forum.com/t/totally-stumped/139341 "2008-06-03T05:34:33Z")

</div>

Hi, everyone, I’m have this issue where I’m using FreeTDS and unixODBC to connect to an SQL Server database. The weird thing is that it works when I’m logged in, running things from irb. However, if I start a proce…

---

## [Code Review: Symbols](https://www.ruby-forum.com/t/code-review-symbols/139342)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 4:15am UTC](https://www.ruby-forum.com/t/code-review-symbols/139342 "2008-06-03T04:15:38Z")

</div>

tfpt review “/shelveset:Symbols;REDMOND\\tomat” Removes usage of obsolete DLR AST factories. Adds stop-watches measuring load time. Tomas

---

## [Prevent ruby constant variables from changing?](https://www.ruby-forum.com/t/prevent-ruby-constant-variables-from-changing/138334)

<div class="topic-metadata">

**Author:** [@finster](https://www.ruby-forum.com/u/finster)\
**Replies:** 35\
**Last updated:** [June 3, 2008, 4:14am UTC](https://www.ruby-forum.com/t/prevent-ruby-constant-variables-from-changing/138334 "2008-06-03T04:14:43Z")

</div>

Hi, I understand that ruby constant variables are declared by using uppercase letter. However, the constant variable can still be reassigned even though a warning is issued. Is there a way I can fix the value that i…

---

## [Need help on RSS feed](https://www.ruby-forum.com/t/need-help-on-rss-feed/139264)

<div class="topic-metadata">

**Author:** [@Deepak\_G](https://www.ruby-forum.com/u/Deepak_G)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 3:14am UTC](https://www.ruby-forum.com/t/need-help-on-rss-feed/139264 "2008-06-03T03:14:46Z")

</div>

Hello, I need a help on RSS feeds. Let me explain the scenario. In my application I am storing the feed items. After some interval I am again fetching the feed items but those are getting duplicate. I want only new i…

---

## [Webby 0.9.0 (TODO)](https://www.ruby-forum.com/t/webby-0-9-0-todo/139295)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [June 3, 2008, 12:45am UTC](https://www.ruby-forum.com/t/webby-0-9-0-todo/139295 "2008-06-03T00:45:25Z")

</div>

webby version 0.8.3 by Tim P. http://webby.rubyforge.org/ (the “Mother Cluckers” release) == DESCRIPTION Webby is a super fantastic little website management system. It would be called a content management system i…

---

## [Mr Bones 2.0.2 (Haughty Hen)](https://www.ruby-forum.com/t/mr-bones-2-0-2-haughty-hen/139327)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 11:20pm UTC](https://www.ruby-forum.com/t/mr-bones-2-0-2-haughty-hen/139327 "2008-06-02T23:20:53Z")

</div>

Mr Bones version 2.0.2 by Tim P. http://codeforpeople.rubyforge.org/bones (the “Haughty Hen” release) == DESCRIPTION Mr Bones is a handy tool that builds a skeleton for your new Ruby projects. The skeleton contain…

---

## [Performance difference in Asp.Net with IronRuby](https://www.ruby-forum.com/t/performance-difference-in-asp-net-with-ironruby/139250)

<div class="topic-metadata">

**Author:** [@rahil](https://www.ruby-forum.com/u/rahil)\
**Replies:** 6\
**Last updated:** [June 2, 2008, 10:45pm UTC](https://www.ruby-forum.com/t/performance-difference-in-asp-net-with-ironruby/139250 "2008-06-02T22:45:33Z")

</div>

Hi, Will there be any significant difference between Asp.Net with C# and IronRuby.? Since i have ready many blogs claiming C# to be running faster than Vb.Net, i just wanted to reconfirm that will IronRuby at par wit…

---

## [RailsConf hacks](https://www.ruby-forum.com/t/railsconf-hacks/139235)

<div class="topic-metadata">

**Author:** [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Replies:** 2\
**Last updated:** [June 2, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/railsconf-hacks/139235 "2008-06-02T22:32:39Z")

</div>

I’ve prepared a diff that contains the code that we hacked in to get ActiveRecord to work. If you’re curious, take a look at this code or apply it to r113. That said, it does break a TON of tests for some reason that …

---

## [ERB bug](https://www.ruby-forum.com/t/erb-bug/139249)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 1\
**Last updated:** [June 2, 2008, 9:11pm UTC](https://www.ruby-forum.com/t/erb-bug/139249 "2008-06-02T21:11:11Z")

</div>

ã€€\[ruby-core:17028\] ã§ã®æŒ‡æ‘˜ã®é€šã‚Š ruby\_1\_8 ã§ã¯ r15794 ã® å¤‰æ›´ã§ strscan ãŒãªã„å ´åˆã®ERBã®æŒ™å‹•ãŒãŠã‹ã—ããªã£ã¦ã„ã¾ã™ã€‚ ã€€ä¸€ç®‡æ‰€ç›´ã—ã¾ã—ãŸãŒã€ã¾ã ä»¥ä¸‹ã®å•é¡ŒãŒæ®‹ã£…

---

## [RoR and Firebird](https://www.ruby-forum.com/t/ror-and-firebird/139311)

<div class="topic-metadata">

**Author:** [@pbjs](https://www.ruby-forum.com/u/pbjs)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 9:00pm UTC](https://www.ruby-forum.com/t/ror-and-firebird/139311 "2008-06-02T21:00:34Z")

</div>

Hi, Does anyone use Firebird in RoR programming? Are there any problems with using FireRuby extension for Firebird? Thanks in advance for any information, Janusz

---

## [Code Review: RailsConf6](https://www.ruby-forum.com/t/code-review-railsconf6/139310)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 8:41pm UTC](https://www.ruby-forum.com/t/code-review-railsconf6/139310 "2008-06-02T20:41:06Z")

</div>

tfpt review “/shelveset:RailsConf6;REDMOND\\tomat” Refactoring: Use CreateTemporaryVariable/CreateLocalVariable that takes a string instead of a symbol. Don't use local variables for temporary variables. …

---

## [Re: Performance difference in Asp.Net with IronRuby](https://www.ruby-forum.com/t/re-performance-difference-in-asp-net-with-ironruby/139305)

<div class="topic-metadata">

**Author:** [@Mohammad\_Tayseer](https://www.ruby-forum.com/u/Mohammad_Tayseer)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 8:15pm UTC](https://www.ruby-forum.com/t/re-performance-difference-in-asp-net-with-ironruby/139305 "2008-06-02T20:15:42Z")

</div>

Performance is a very complex issue. I suggest that everyone reads Joseph Newcomer article “Optimization: Your Worst Enemy” Mohammad Tayseer http://spellcoder.com/blogs/tayseer ----- Original Message ---- From: Jim …

---

## [Tests failed on PPC and PPC64](https://www.ruby-forum.com/t/tests-failed-on-ppc-and-ppc64/139285)

<div class="topic-metadata">

**Author:** [@SSSSSrgio\_Durigan\_J](https://www.ruby-forum.com/u/SSSSSrgio_Durigan_J)\
**Replies:** 2\
**Last updated:** [June 2, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/tests-failed-on-ppc-and-ppc64/139285 "2008-06-02T19:10:57Z")

</div>

Hi all, I’m trying to compile Ruby from the source using a biarch PPC64 system (64-bit kernel with mixed 32- and 64-bit apps). The source-code version that I have here is “ruby-1.8.6-p114”. I have compiled both PPC an…

---

## [How to update text field contents during looping process](https://www.ruby-forum.com/t/how-to-update-text-field-contents-during-looping-process/139298)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 6:51pm UTC](https://www.ruby-forum.com/t/how-to-update-text-field-contents-during-looping-process/139298 "2008-06-02T18:51:16Z")

</div>

I am running a loop over AppleScript files in a directory tree. Each time through the loop “osadecompiles” the script and adds the script text to an array. When it is through it populates a table. What I have been a…

---

## [How to turn of message logs when using Rack](https://www.ruby-forum.com/t/how-to-turn-of-message-logs-when-using-rack/139100)

<div class="topic-metadata">

**Author:** [@Vivek\_P](https://www.ruby-forum.com/u/Vivek_P)\
**Replies:** 6\
**Last updated:** [June 2, 2008, 6:37pm UTC](https://www.ruby-forum.com/t/how-to-turn-of-message-logs-when-using-rack/139100 "2008-06-02T18:37:28Z")

</div>

I have a Rails application that is packaged as WAR using warbler 0.9.9(Rack) and when deployed it works fine but I see lots of logs, such as: \[#|2008-05-29T23:55:07.144-0700|INFO|sun-appserver9.1| ntainer.web|\_Threa…

---

## [Split a string at tab positions](https://www.ruby-forum.com/t/split-a-string-at-tab-positions/139081)

<div class="topic-metadata">

**Author:** [@suresh](https://www.ruby-forum.com/u/suresh)\
**Replies:** 6\
**Last updated:** [June 2, 2008, 6:29pm UTC](https://www.ruby-forum.com/t/split-a-string-at-tab-positions/139081 "2008-06-02T18:29:08Z")

</div>

Hi I am a newbie to ruby and when i tried to split a string at tab positions, it didnt work. Could you please tell me where I am going wrong? Code is pasted. #!/usr/bin/ruby1.9 s = “a b” ss = s.split(’\\t’) puts s…

---

## [Either gem or rails is borked. Still](https://www.ruby-forum.com/t/either-gem-or-rails-is-borked-still/137287)

<div class="topic-metadata">

**Author:** [@Michael\_TSRichter](https://www.ruby-forum.com/u/Michael_TSRichter)\
**Replies:** 1\
**Last updated:** [June 2, 2008, 5:15pm UTC](https://www.ruby-forum.com/t/either-gem-or-rails-is-borked-still/137287 "2008-06-02T17:15:56Z")

</div>

$ gem install --rdoc --ri --verbose rails Latest index not found, using quick index ERROR: Falling back to bulk fetch: No quick index found: Gem::RemoteFetcher::FetchError: bad response Not Found 404 reading http://…

---

## [The dark side of the duck](https://www.ruby-forum.com/t/the-dark-side-of-the-duck/139288)

<div class="topic-metadata">

**Author:** [@robkuz](https://www.ruby-forum.com/u/robkuz)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/the-dark-side-of-the-duck/139288 "2008-06-02T17:10:57Z")

</div>

2008/6/2 Robert D. removed\_email\_address@domain.invalid: designs. I do not know what others do, but the simple fact that I use Ruby classes for other things falsifies your statement. BTW, performance apart, I can per…

---

## [Ruby 1.9 on Gentoo Linux](https://www.ruby-forum.com/t/ruby-1-9-on-gentoo-linux/139166)

<div class="topic-metadata">

**Author:** [@enduro](https://www.ruby-forum.com/u/enduro)\
**Replies:** 7\
**Last updated:** [June 2, 2008, 3:38pm UTC](https://www.ruby-forum.com/t/ruby-1-9-on-gentoo-linux/139166 "2008-06-02T15:38:25Z")

</div>

Just a quick question whether someone knows whether someone is working on bringing Ruby 1.9 to my beloved Gentoo as an ebuild? The repos have vanished and both forum and bugtracker over at Gentoo are silent as a grave…

---

## [Usin net/ssh library](https://www.ruby-forum.com/t/usin-net-ssh-library/139185)

<div class="topic-metadata">

**Author:** [@prasadm29](https://www.ruby-forum.com/u/prasadm29)\
**Replies:** 3\
**Last updated:** [June 2, 2008, 2:32pm UTC](https://www.ruby-forum.com/t/usin-net-ssh-library/139185 "2008-06-02T14:32:32Z")

</div>

Hi, I was using the net/ssh library in my code ro ssh to a particular machine. But I found that the ssh library goes directly to the shell prompt and executes the commands. net/ssh uses the ssh2 protocol internally, …

---

## [Stop-credit-card-debt](https://www.ruby-forum.com/t/stop-credit-card-debt/139259)

<div class="topic-metadata">

**Author:** [@jmathew](https://www.ruby-forum.com/u/jmathew)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 11:16am UTC](https://www.ruby-forum.com/t/stop-credit-card-debt/139259 "2008-06-02T11:16:05Z")

</div>

are you looking to avoid credit cards ? here is a good site to visit . jmathew Don’t be a victim. Stop credit card debt now. We can help. http://www.stop-credit-card-debt.com

---

## [Accessors: Problem in accessing an attribute of other class](https://www.ruby-forum.com/t/accessors-problem-in-accessing-an-attribute-of-other-class/139251)

<div class="topic-metadata">

**Author:** [@anukulsinghal](https://www.ruby-forum.com/u/anukulsinghal)\
**Replies:** 3\
**Last updated:** [June 2, 2008, 9:55am UTC](https://www.ruby-forum.com/t/accessors-problem-in-accessing-an-attribute-of-other-class/139251 "2008-06-02T09:55:30Z")

</div>

Hi, I was practising accessors in ruby and came across the following problem: class Music attr\_accessor :song, :artist def initialize @song = “This never happened before” @artist = “Paul McCartney” end end clas…

---

## [Can I use Tcc to compile ruby c extension?](https://www.ruby-forum.com/t/can-i-use-tcc-to-compile-ruby-c-extension/139252)

<div class="topic-metadata">

**Author:** [@shinwoo](https://www.ruby-forum.com/u/shinwoo)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 9:39am UTC](https://www.ruby-forum.com/t/can-i-use-tcc-to-compile-ruby-c-extension/139252 "2008-06-02T09:39:38Z")

</div>

I want to use a small compiler to compile some simple c code. I tried with tcc but I get some error that it cannot detect my ruby library: I try to generate an extension for ruby which compiles using mingw gcc. When I…

---

## [Find files](https://www.ruby-forum.com/t/find-files/139024)

<div class="topic-metadata">

**Author:** [@owc](https://www.ruby-forum.com/u/owc)\
**Replies:** 6\
**Last updated:** [June 2, 2008, 9:16am UTC](https://www.ruby-forum.com/t/find-files/139024 "2008-06-02T09:16:21Z")

</div>

Hi, I have a block of code where I would like to traverese into files using the Find module and search for files and at the same time have exceptions to the list of files that I want to eventually select. (These files…

---

## [Parse XML to database](https://www.ruby-forum.com/t/parse-xml-to-database/139225)

<div class="topic-metadata">

**Author:** [@hloooi](https://www.ruby-forum.com/u/hloooi)\
**Replies:** 4\
**Last updated:** [June 2, 2008, 9:06am UTC](https://www.ruby-forum.com/t/parse-xml-to-database/139225 "2008-06-02T09:06:11Z")

</div>

hi, can someone help me with this after i read theres nothing show in my database… wat happen…? where is my error in my code?? class Map require ‘rexml/document’ require “mysql” require “dbi” include REXML scanfi…

---

## [Crud opertion with ajax](https://www.ruby-forum.com/t/crud-opertion-with-ajax/139242)

<div class="topic-metadata">

**Author:** [@hemantaray](https://www.ruby-forum.com/u/hemantaray)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 8:55am UTC](https://www.ruby-forum.com/t/crud-opertion-with-ajax/139242 "2008-06-02T08:55:27Z")

</div>

I am trying to do the crud operation with ajax effect. In case of delete operation 1st selected data is deleted bt in case of next data is not deleted in web page though it is deleted from database. Here I use one c…

---

## [Problem with Warble, glassfish, default root context and sun-web.xml](https://www.ruby-forum.com/t/problem-with-warble-glassfish-default-root-context-and-sun-web-xml/138909)

<div class="topic-metadata">

**Author:** [@M\_C](https://www.ruby-forum.com/u/M_C)\
**Replies:** 8\
**Last updated:** [June 2, 2008, 7:58am UTC](https://www.ruby-forum.com/t/problem-with-warble-glassfish-default-root-context-and-sun-web-xml/138909 "2008-06-02T07:58:42Z")

</div>

I am trying a deploy a ruby on rails web application using Warble/Jruby1.1.2 on glassfish v2 into the default root context (i.e. “/” instead of “/myapp”). On glassfish this can apparently be done by adding a “sun-web.…

---

## [\[ANN\] Gerbil 3.0.0](https://www.ruby-forum.com/t/ann-gerbil-3-0-0/139237)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 7:38am UTC](https://www.ruby-forum.com/t/ann-gerbil-3-0-0/139237 "2008-06-02T07:38:10Z")

</div>

Gerbil Gerbil is an extensible document generator based on eRuby that outputs to any format you want: plain text, HTML, LaTeX, UNIX man page, your own custom format, and so on. http://gerb…

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

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