# Ruby

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

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

---

## [Can't view a ruby file after installation](https://www.ruby-forum.com/t/cant-view-a-ruby-file-after-installation/84489)

<div class="topic-metadata">

**Author:** [@veeraa2003](https://www.ruby-forum.com/u/veeraa2003)\
**Replies:** 2\
**Last updated:** [February 5, 2007, 10:33am UTC](https://www.ruby-forum.com/t/cant-view-a-ruby-file-after-installation/84489 "2007-02-05T10:33:36Z")

</div>

Hello every body, I’m new person to linux. I already installed PHP5 and MYSql on my system. Now I installed Ruby on the same system. I dont know how to start Ruby in my system . Cos when I create a file with the exten…

---

## [Releasing under win32](https://www.ruby-forum.com/t/releasing-under-win32/84360)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 2\
**Last updated:** [February 5, 2007, 10:14am UTC](https://www.ruby-forum.com/t/releasing-under-win32/84360 "2007-02-05T10:14:03Z")

</div>

Hi, I am developing a ruby package under linux. When I packaged it into a gem and installed it on a win32 box, everything looked scary because of the linux ↔ dos line endings. (there are examples and tutorials etc - …

---

## [Creating a rails app within a rails app](https://www.ruby-forum.com/t/creating-a-rails-app-within-a-rails-app/84473)

<div class="topic-metadata">

**Author:** [@libsfan01](https://www.ruby-forum.com/u/libsfan01)\
**Replies:** 3\
**Last updated:** [February 5, 2007, 8:53am UTC](https://www.ruby-forum.com/t/creating-a-rails-app-within-a-rails-app/84473 "2007-02-05T08:53:56Z")

</div>

hi all due to hosting constraints, i need to deploy a rails site within an existing rails site. where do i need to “cd” to, to issue the rails command to generate the site? i’ve tried the public folder but that doesn…

---

## [Bus error in IRB when trying: require "fox16"](https://www.ruby-forum.com/t/bus-error-in-irb-when-trying-require-fox16/84332)

<div class="topic-metadata">

**Author:** [@zane](https://www.ruby-forum.com/u/zane)\
**Replies:** 6\
**Last updated:** [February 5, 2007, 7:11am UTC](https://www.ruby-forum.com/t/bus-error-in-irb-when-trying-require-fox16/84332 "2007-02-05T07:11:39Z")

</div>

HI, I have spent a couple of days trying to get the Fox GUI library to interact with ruby. Now I think I am getting close. Before I go on to explain my problem here is some information that may be necessary. System I…

---

## [Transaction::Simple 1.4.0 Released](https://www.ruby-forum.com/t/transaction-simple-1-4-0-released/84396)

<div class="topic-metadata">

**Author:** [@austin](https://www.ruby-forum.com/u/austin)\
**Replies:** 2\
**Last updated:** [February 5, 2007, 6:17am UTC](https://www.ruby-forum.com/t/transaction-simple-1-4-0-released/84396 "2007-02-05T06:17:49Z")

</div>

After nearly two years, Transaction::Simple 1.4.0 has been released. http://rubyforge.org/projects/trans-simple Transaction::Simple provides a generic way to add active transaction support to objects. The transaction …

---

## [Unbounded polymorphism](https://www.ruby-forum.com/t/unbounded-polymorphism/84471)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [February 5, 2007, 3:58am UTC](https://www.ruby-forum.com/t/unbounded-polymorphism/84471 "2007-02-05T03:58:43Z")

</div>

Hi, One of the features, I have heard that Ruby has, is unbounded polymorphism. How exactly is it different from polymorphism in languages like Java and C#? Thanks

---

## [Exit rake silently](https://www.ruby-forum.com/t/exit-rake-silently/84466)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 3\
**Last updated:** [February 5, 2007, 3:45am UTC](https://www.ruby-forum.com/t/exit-rake-silently/84466 "2007-02-05T03:45:43Z")

</div>

This haas been asked before… I know b/c I did a search for it. But it was never answered. How does one gracefully exit rake? If I use #abort or #exit I get much extraneus output. I ther no way just to silently end the…

---

## [YARV $B$N(B thread $B$K$D$$$F(B](https://www.ruby-forum.com/t/yarv-b-n-b-thread-b-k-d-f-b/83664)

<div class="topic-metadata">

**Author:** [@Hidetoshi\_NAGAI](https://www.ruby-forum.com/u/Hidetoshi_NAGAI)\
**Replies:** 6\
**Last updated:** [February 5, 2007, 3:22am UTC](https://www.ruby-forum.com/t/yarv-b-n-b-thread-b-k-d-f-b/83664 "2007-02-05T03:22:41Z")

</div>

e$B1J0f!wCNG=!%6e9)Bg$G$9!%e(B Ruby/Tk e$B$Ne(B YARV e$BBP1~$G$9$,!$e(Btcltklib.c e$B$K$\*$1$ke(B Tcl/Tk wrapper e$B$Ne(B e$B:,K$N@oN,$+$i$7$F:n$jD\>$5$M$P$J$i$J$$$h$&$G$9!%e(B e$B$G!$$I$N$h$&$K$9$Y$-$+H=CG$9$k\>e$G!$e(…

---

## [Newbie question on Ruby module support](https://www.ruby-forum.com/t/newbie-question-on-ruby-module-support/84438)

<div class="topic-metadata">

**Author:** [@harry](https://www.ruby-forum.com/u/harry)\
**Replies:** 2\
**Last updated:** [February 5, 2007, 3:05am UTC](https://www.ruby-forum.com/t/newbie-question-on-ruby-module-support/84438 "2007-02-05T03:05:40Z")

</div>

Hello, I’m very new to Ruby. Like its elegant syntax very much, so much so that I instantly feel like dumping Perl. However, I’m also hearing that the number of modules (or, packages) that come with Ruby are far, fa…

---

## [OT: MIME,quoted-printable (was: Sane #hash implementation?)](https://www.ruby-forum.com/t/ot-mime-quoted-printable-was-sane-hash-implementation/84029)

<div class="topic-metadata">

**Author:** [@samoht](https://www.ruby-forum.com/u/samoht)\
**Replies:** 2\
**Last updated:** [February 4, 2007, 9:16pm UTC](https://www.ruby-forum.com/t/ot-mime-quoted-printable-was-sane-hash-implementation/84029 "2007-02-04T21:16:16Z")

</div>

Hello, is my news reader (Gnus v5.9.0) broken? I’m just trying to explain why I see things like that: “Shot (Piotr S.)” removed\_email\_address@domain.invalid wrote/schrieb removed\_email\_address@domain.invalid: –jE+K…

---

## [String Equations (#112)](https://www.ruby-forum.com/t/string-equations-112/84219)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 19\
**Last updated:** [February 4, 2007, 8:55pm UTC](https://www.ruby-forum.com/t/string-equations-112/84219 "2007-02-04T20:55:15Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [Coming Soon](https://www.ruby-forum.com/t/coming-soon/84213)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 4\
**Last updated:** [February 4, 2007, 8:53pm UTC](https://www.ruby-forum.com/t/coming-soon/84213 "2007-02-04T20:53:14Z")

</div>

Hi all - I normally don’t like to blast the Ruby list w/ RSpec news besides release announcements, but this will likely be interesting to any of you who are interested in RSpec. If you’re not, then please save yoursel…

---

## [Unit-testing sql interactions](https://www.ruby-forum.com/t/unit-testing-sql-interactions/84452)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 0\
**Last updated:** [February 4, 2007, 8:26pm UTC](https://www.ruby-forum.com/t/unit-testing-sql-interactions/84452 "2007-02-04T20:26:11Z")

</div>

I’m relatively new to SQL, and I’d like to get my hands a bit dirtier. So I’m writing a toy application (in Ruby, of course) to let me get some more experience. And I’m avoiding high-level SQL libraries (e.g. ActiveR…

---

## [Manipulating CSV files over SSH](https://www.ruby-forum.com/t/manipulating-csv-files-over-ssh/84391)

<div class="topic-metadata">

**Author:** [@dfg59](https://www.ruby-forum.com/u/dfg59)\
**Replies:** 8\
**Last updated:** [February 4, 2007, 8:03pm UTC](https://www.ruby-forum.com/t/manipulating-csv-files-over-ssh/84391 "2007-02-04T20:03:09Z")

</div>

All - I have a nice little script that takes a large CSV document and splits it into 65,000 line chunks which are readable in Excel. However, I currently have a .csv file which I’d like to split that is sitting on a …

---

## [Aop?](https://www.ruby-forum.com/t/aop/84416)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [February 4, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/aop/84416 "2007-02-04T20:01:08Z")

</div>

Hi, Is there an AOP implementation for Ruby? I have heard that using metaprogramming facilities obviates AOP. How is it so? Thanks

---

## [Using fork to conserve memory](https://www.ruby-forum.com/t/using-fork-to-conserve-memory/84338)

<div class="topic-metadata">

**Author:** [@Daniel\_DeLorme](https://www.ruby-forum.com/u/Daniel_DeLorme)\
**Replies:** 21\
**Last updated:** [February 4, 2007, 6:58pm UTC](https://www.ruby-forum.com/t/using-fork-to-conserve-memory/84338 "2007-02-04T18:58:00Z")

</div>

Lately I’ve been bothered by the large start-up time and memory consumption of rails (although this could apply to any large framework). The solution I have in mind is to load rails in one master process (slow, high …

---

## [Gem issue](https://www.ruby-forum.com/t/gem-issue/84393)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 2\
**Last updated:** [February 4, 2007, 5:23pm UTC](https://www.ruby-forum.com/t/gem-issue/84393 "2007-02-04T17:23:54Z")

</div>

I’m working on Ruby program that will have a resource directory for storing configuration, logging information, etc. I’ve used the END and DATA trick in my main ruby program to store some sane defaults for the resou…

---

## [Change Proposal for "String#word\_wrap" (Ruby on Rails - Acti](https://www.ruby-forum.com/t/change-proposal-for-string-word-wrap-ruby-on-rails-acti/84429)

<div class="topic-metadata">

**Author:** [@wonado](https://www.ruby-forum.com/u/wonado)\
**Replies:** 1\
**Last updated:** [February 4, 2007, 4:39pm UTC](https://www.ruby-forum.com/t/change-proposal-for-string-word-wrap-ruby-on-rails-acti/84429 "2007-02-04T16:39:46Z")

</div>

Hi! Hope this is the right place (I’m not a Ruby on Rails user). The Method ist defined as (ActionView::Helpers::TextHelper): def word\_wrap(text, line\_width = 80) text.gsub(/\\n/, “\\n\\n”).gsub(/(.{1,#{line\_width}})(\\…

---

## [Ruby 1.8.5-p12 released](https://www.ruby-forum.com/t/ruby-1-8-5-p12-released/80380)

<div class="topic-metadata">

**Author:** [@Urabe\_S](https://www.ruby-forum.com/u/Urabe_S)\
**Replies:** 3\
**Last updated:** [February 4, 2007, 3:49pm UTC](https://www.ruby-forum.com/t/ruby-1-8-5-p12-released/80380 "2007-02-04T15:49:43Z")

</div>

Hi all. We released Ruby 1.8.5-p12, the latest stable version of Ruby. There are several fixes made when 1.8.5 had not been branched yet. On this release we backported them into 1.8.5. ftp://ftp.ruby-lang.org/pub/rub…

---

## [Not equal? "5".to\_i+ "6".to\_i and "5".to\_i +"6".to\_i](https://www.ruby-forum.com/t/not-equal-5-to-i-6-to-i-and-5-to-i-6-to-i/84432)

<div class="topic-metadata">

**Author:** [@cap](https://www.ruby-forum.com/u/cap)\
**Replies:** 4\
**Last updated:** [February 4, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/not-equal-5-to-i-6-to-i-and-5-to-i-6-to-i/84432 "2007-02-04T15:16:41Z")

</div>

ruby 1.8.5 (2006-12-25 patchlevel 12) \[i686-linux\] “5”.to\_i+ “6”.to\_i =\> 11 “5”.to\_i +“6”.to\_i =\> 5 maybe it’s a mistak?

---

## [Ruby/Tk on 64 bit Centos 4.4](https://www.ruby-forum.com/t/ruby-tk-on-64-bit-centos-4-4/84427)

<div class="topic-metadata">

**Author:** [@skrishnan\_v](https://www.ruby-forum.com/u/skrishnan_v)\
**Replies:** 0\
**Last updated:** [February 4, 2007, 11:42am UTC](https://www.ruby-forum.com/t/ruby-tk-on-64-bit-centos-4-4/84427 "2007-02-04T11:42:06Z")

</div>

Hi all, I installed ruby 1.8.5 on Centos 4.4 running on Xeon processors. Installation is very nice; no problems. make check/test was also ok. however when i try to include tk, there is a problem: irb(main):001:0\> re…

---

## [Win32 Ruby woes... pleas help](https://www.ruby-forum.com/t/win32-ruby-woes-pleas-help/84358)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 8\
**Last updated:** [February 4, 2007, 9:18am UTC](https://www.ruby-forum.com/t/win32-ruby-woes-pleas-help/84358 "2007-02-04T09:18:00Z")

</div>

Hi all, I am going to release my first Ruby package in a few hours and I wanted to check if the unit tests run under Win32 (I am using linux exclusively for the 5th or so year now, so I even had to google how to add …

---

## [Ruby 1.8.4 build failure on AIX 5.3](https://www.ruby-forum.com/t/ruby-1-8-4-build-failure-on-aix-5-3/84419)

<div class="topic-metadata">

**Author:** [@mdadarkar](https://www.ruby-forum.com/u/mdadarkar)\
**Replies:** 0\
**Last updated:** [February 4, 2007, 6:05am UTC](https://www.ruby-forum.com/t/ruby-1-8-4-build-failure-on-aix-5-3/84419 "2007-02-04T06:05:50Z")

</div>

Hi, I am trying to do a Ruby 1.8.4 build on AIX 5.3. The options passed to configure are as follows ./configure --prefix=/usr/manas/ruby --disable-ipv6 I get the following error gcc -g -O2 -I. -I../.. -I../../.…

---

## [Why this ruby code is not working](https://www.ruby-forum.com/t/why-this-ruby-code-is-not-working/84415)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 1\
**Last updated:** [February 4, 2007, 4:46am UTC](https://www.ruby-forum.com/t/why-this-ruby-code-is-not-working/84415 "2007-02-04T04:46:30Z")

</div>

Why the value of temp2 is not consistent with the value of temp. Loading development environment. list = \[\] =\> \[\] (1..10).to\_a.each do |i| ?\> start\_time\_temp = i.days.ago.beginning\_of\_day puts st…

---

## [Ruby Reports 0.8](https://www.ruby-forum.com/t/ruby-reports-0-8/84411)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 1\
**Last updated:** [February 4, 2007, 3:36am UTC](https://www.ruby-forum.com/t/ruby-reports-0-8/84411 "2007-02-04T03:36:45Z")

</div>

= Ruby Reports 0.8 : The “Evil Goldberg” Edition After nearly 100 changesets since 0.7.0, Ruport 0.8 is now ready. This release features a number of enhancements to our formatting system, lots of fun data manipulation…

---

## [WEBrick::HTTPServer and SSL](https://www.ruby-forum.com/t/webrick-httpserver-and-ssl/84215)

<div class="topic-metadata">

**Author:** [@ghoti143](https://www.ruby-forum.com/u/ghoti143)\
**Replies:** 3\
**Last updated:** [February 4, 2007, 1:52am UTC](https://www.ruby-forum.com/t/webrick-httpserver-and-ssl/84215 "2007-02-04T01:52:31Z")

</div>

As a newbie this might be useful to other newbies… I needed to run a WEBrick::HTTPServer using SSL. First thing to do is visit Just follow the steps in the summary if you are in a hurry. Once you have the files as d…

---

## [Expect Module and Bash script](https://www.ruby-forum.com/t/expect-module-and-bash-script/84363)

<div class="topic-metadata">

**Author:** [@R.B.Love](https://www.ruby-forum.com/u/R.B.Love)\
**Replies:** 2\
**Last updated:** [February 4, 2007, 1:30am UTC](https://www.ruby-forum.com/t/expect-module-and-bash-script/84363 "2007-02-04T01:30:30Z")

</div>

How do I use ruby expect to feed input to a simple bash script? Here is a minimal example of what I’m trying to do. All help appreciated. First, the simple bash script. When run from the command line it performs as…

---

## [Named groups in regexp matches?](https://www.ruby-forum.com/t/named-groups-in-regexp-matches/83792)

<div class="topic-metadata">

**Author:** [@twp](https://www.ruby-forum.com/u/twp)\
**Replies:** 9\
**Last updated:** [February 3, 2007, 11:00pm UTC](https://www.ruby-forum.com/t/named-groups-in-regexp-matches/83792 "2007-02-03T23:00:20Z")

</div>

Hi, Does Ruby support regexps that assign names to specific matched groups? In Python, for instance, if you write a regexp like this, TEMP\_RE = re.compile(r"""^(?P(M|-)?\\d+|//|XX|MM)/ (?P(M|-)?\\d+|//|XX|MM)?\\s+""", …

---

## [Yet another linux \<-\> win32 question](https://www.ruby-forum.com/t/yet-another-linux-win32-question/84387)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 6\
**Last updated:** [February 3, 2007, 10:45pm UTC](https://www.ruby-forum.com/t/yet-another-linux-win32-question/84387 "2007-02-03T22:45:19Z")

</div>

Hi, Sorry for these dumb questions but I am really off when it comes to doing anything with win32. So, the thing is that I have a function that creates a temp file, then does something with it and deletes it. I am do…

---

## [UTF in Regexp](https://www.ruby-forum.com/t/utf-in-regexp/84380)

<div class="topic-metadata">

**Author:** [@abu-mats](https://www.ruby-forum.com/u/abu-mats)\
**Replies:** 1\
**Last updated:** [February 3, 2007, 9:12pm UTC](https://www.ruby-forum.com/t/utf-in-regexp/84380 "2007-02-03T21:12:12Z")

</div>

I am sorrrrrry, but I am banging my head against this, and can’t seem to find the answer! Text gets displayed in an input field in a web page with “ prepended and ” appended to the string (needs to be inside the stri…

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

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