# Ruby

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

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

---

## [Ruby/apache 2/win](https://www.ruby-forum.com/t/ruby-apache-2-win/85414)

<div class="topic-metadata">

**Author:** [@kapitancho](https://www.ruby-forum.com/u/kapitancho)\
**Replies:** 1\
**Last updated:** [February 13, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/ruby-apache-2-win/85414 "2007-02-13T19:11:31Z")

</div>

Hi all, I am a PHP developer but recenetly I started reading about Ruby and now I tried to install it and set it up to run as an Apache module. I have Apache 2.0.58 on Windows XP and I got Ruby 1.8.5 installed withou…

---

## [One-Liners (#113)](https://www.ruby-forum.com/t/one-liners-113/85219)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 17\
**Last updated:** [February 13, 2007, 6:56pm UTC](https://www.ruby-forum.com/t/one-liners-113/85219 "2007-02-13T18:56:29Z")

</div>

Here are my solutions to Quiz #113. For some of them I just couldn’t help but to provide a couple variations. Because I’m a terrible golfer, most strive for elegance (in some form) over terseness. 1 - Commafy Numeric…

---

## [Template Engine in Ruby (similar to TT2)](https://www.ruby-forum.com/t/template-engine-in-ruby-similar-to-tt2/85446)

<div class="topic-metadata">

**Author:** [@Ralf\_Robert\_HSSSSpp](https://www.ruby-forum.com/u/Ralf_Robert_HSSSSpp)\
**Replies:** 3\
**Last updated:** [February 13, 2007, 6:50pm UTC](https://www.ruby-forum.com/t/template-engine-in-ruby-similar-to-tt2/85446 "2007-02-13T18:50:29Z")

</div>

Hi all, is there a template engine similar to Template Toolkit 2 (in Perl) available for Ruby? It should be feature-rich, stand-alone, not restricted to only generate HTML output. I know there are solutions around (e…

---

## [MountainWest RubyConf registration closing soon](https://www.ruby-forum.com/t/mountainwest-rubyconf-registration-closing-soon/85451)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 0\
**Last updated:** [February 13, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/mountainwest-rubyconf-registration-closing-soon/85451 "2007-02-13T18:07:25Z")

</div>

Registration for the MountainWest RubyConf (Mar 16-17 in SLC, UT) is closing on Feb 23rd. There are still seats available, but with the closing date, now is the time to register. Registration is just $50 and include…

---

## [Nice explanation of call/cc](https://www.ruby-forum.com/t/nice-explanation-of-call-cc/85294)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 3\
**Last updated:** [February 13, 2007, 5:28pm UTC](https://www.ruby-forum.com/t/nice-explanation-of-call-cc/85294 "2007-02-13T17:28:20Z")

</div>

From http://sigfpe.blogspot.com/2007/02/exceptions-disjunctions-and.html: In functional languages exceptions tend to be handled a little differently. Whereas C++ has a throw keyword, there is no equivalent in Scheme,…

---

## [New Venture](https://www.ruby-forum.com/t/new-venture/102689)

<div class="topic-metadata">

**Author:** [@jason](https://www.ruby-forum.com/u/jason)\
**Replies:** 0\
**Last updated:** [February 13, 2007, 5:25pm UTC](https://www.ruby-forum.com/t/new-venture/102689 "2007-02-13T17:25:39Z")

</div>

All, I am looking for a senior engineer in the NYC area. I want this person to be a part of my core development team as my company grows. We are currently funded, and have an off shore team delivering phase one of the …

---

## [What's the best way of parsing this string?](https://www.ruby-forum.com/t/whats-the-best-way-of-parsing-this-string/85351)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 8\
**Last updated:** [February 13, 2007, 4:42pm UTC](https://www.ruby-forum.com/t/whats-the-best-way-of-parsing-this-string/85351 "2007-02-13T16:42:13Z")

</div>

Hi there, I have a question about string search and replacement. Let’s say I have this string that contains 2 links for embedding youtube videos amongst some other random text. string = “We’ve got some junk text h…

---

## [Converting Word Documents (and other types of files) to PDF](https://www.ruby-forum.com/t/converting-word-documents-and-other-types-of-files-to-pdf/102688)

<div class="topic-metadata">

**Author:** [@brendon](https://www.ruby-forum.com/u/brendon)\
**Replies:** 4\
**Last updated:** [February 13, 2007, 2:04pm UTC](https://www.ruby-forum.com/t/converting-word-documents-and-other-types-of-files-to-pdf/102688 "2007-02-13T14:04:55Z")

</div>

Hi everyone, I’m currently developing a Rails content management system, and one of the useful features we’re trying to get sorted is a way to allow a user to upload a word document or some other type of regular file,…

---

## [What's the correct and fast way to determine if a (gig) numb](https://www.ruby-forum.com/t/whats-the-correct-and-fast-way-to-determine-if-a-gig-numb/85230)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 10\
**Last updated:** [February 13, 2007, 2:00pm UTC](https://www.ruby-forum.com/t/whats-the-correct-and-fast-way-to-determine-if-a-gig-numb/85230 "2007-02-13T14:00:55Z")

</div>

Hello, I’m solving a math problem in Ruby. I need to determine if a number is a perfect square. If the number is small, you may do like the following. def perfect\_square? n sqrt = n \*\* 0.5 sqrt - sqrt.to\_i == 0 en…

---

## [Just a really general Question](https://www.ruby-forum.com/t/just-a-really-general-question/85309)

<div class="topic-metadata">

**Author:** [@derekteixeira](https://www.ruby-forum.com/u/derekteixeira)\
**Replies:** 8\
**Last updated:** [February 13, 2007, 1:10pm UTC](https://www.ruby-forum.com/t/just-a-really-general-question/85309 "2007-02-13T13:10:00Z")

</div>

hey guys, listen, i am currently going to school for Graphic Design/ Web Design. While going here, going through the classes, i realized that my real love is for coding, and that stuff, much rather than the artistic …

---

## [\#113 One-liners](https://www.ruby-forum.com/t/113-one-liners/85416)

<div class="topic-metadata">

**Author:** [@m4lloc](https://www.ruby-forum.com/u/m4lloc)\
**Replies:** 0\
**Last updated:** [February 13, 2007, 10:00am UTC](https://www.ruby-forum.com/t/113-one-liners/85416 "2007-02-13T10:00:30Z")

</div>

Hi, this is my solution. I found the first one-liner hard, and I’m not satisfied with my solution for it (it doesn’t work for negative numbers for example). But, I think the others are not bad. #################### E…

---

## [Hanging in a client server threaded program](https://www.ruby-forum.com/t/hanging-in-a-client-server-threaded-program/225941)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 0\
**Last updated:** [February 13, 2007, 9:37am UTC](https://www.ruby-forum.com/t/hanging-in-a-client-server-threaded-program/225941 "2007-02-13T09:37:47Z")

</div>

I was having a buffered IO problem which I solved using IO.ready?, but now I’m hanging. What’s interesting is that I wrote a little test program to demonstrate the problem, and it doesn’t cause the server to hang, bu…

---

## [Win32OLE doesn't work with Outlook Express?](https://www.ruby-forum.com/t/win32ole-doesnt-work-with-outlook-express/85272)

<div class="topic-metadata">

**Author:** [@baon](https://www.ruby-forum.com/u/baon)\
**Replies:** 4\
**Last updated:** [February 13, 2007, 9:25am UTC](https://www.ruby-forum.com/t/win32ole-doesnt-work-with-outlook-express/85272 "2007-02-13T09:25:27Z")

</div>

Hi there, I am trying to retrieve some mails from my Outlook Express mail-box. However, when using the ‘WIN32OLE.connect(‘Outlook Express.Application’)’, I will get the following error message: WIN32OLERuntimeError:…

---

## ["super" bug](https://www.ruby-forum.com/t/super-bug/85401)

<div class="topic-metadata">

**Author:** [@ledelste](https://www.ruby-forum.com/u/ledelste)\
**Replies:** 3\
**Last updated:** [February 13, 2007, 9:00am UTC](https://www.ruby-forum.com/t/super-bug/85401 "2007-02-13T09:00:22Z")

</div>

Hi all - I misused the “super” keyword and I think I should have received an error, but didn’t. I tried “super.my\_method\_name(…)” and got strange results. OK, fine, I’m supposed to say “super(…)” or just “super”. B…

---

## [Ruby-version control system](https://www.ruby-forum.com/t/ruby-version-control-system/85410)

<div class="topic-metadata">

**Author:** [@kumar](https://www.ruby-forum.com/u/kumar)\
**Replies:** 1\
**Last updated:** [February 13, 2007, 8:12am UTC](https://www.ruby-forum.com/t/ruby-version-control-system/85410 "2007-02-13T08:12:20Z")

</div>

Hi, Can We write the code in Ruby to know the Frequently changing classes in version control system. (CVS) My doubt, Is it worthy to do in Ruby…? else, which scripting language is best one for this…? Regards …

---

## [Use Ruby for version control system](https://www.ruby-forum.com/t/use-ruby-for-version-control-system/85409)

<div class="topic-metadata">

**Author:** [@kumar](https://www.ruby-forum.com/u/kumar)\
**Replies:** 0\
**Last updated:** [February 13, 2007, 8:02am UTC](https://www.ruby-forum.com/t/use-ruby-for-version-control-system/85409 "2007-02-13T08:02:55Z")

</div>

Hi, Can We write the code in Ruby to know the Frequently changing classes in version control system (CVS)which are check in. My doubt, Is it worthy to do in Ruby…? else, which scripting language is best one for …

---

## [Ruby code for version control system](https://www.ruby-forum.com/t/ruby-code-for-version-control-system/85407)

<div class="topic-metadata">

**Author:** [@kumar](https://www.ruby-forum.com/u/kumar)\
**Replies:** 0\
**Last updated:** [February 13, 2007, 7:59am UTC](https://www.ruby-forum.com/t/ruby-code-for-version-control-system/85407 "2007-02-13T07:59:04Z")

</div>

Hi, Can We write the code to find which classes or data’s are Frquently changed in version control system --\> (CVS) My doubt, Is it worthy to do in Ruby…? else, which scripting language is best one for this…? …

---

## [Milwaukee RUG Meeting 2/21/07 @ 5:30 to 7:30](https://www.ruby-forum.com/t/milwaukee-rug-meeting-2-21-07-5-30-to-7-30/85391)

<div class="topic-metadata">

**Author:** [@tomjerry](https://www.ruby-forum.com/u/tomjerry)\
**Replies:** 0\
**Last updated:** [February 13, 2007, 6:16am UTC](https://www.ruby-forum.com/t/milwaukee-rug-meeting-2-21-07-5-30-to-7-30/85391 "2007-02-13T06:16:12Z")

</div>

John M. has graciously stepped up to give us a presentation on Rake automation. For more details, please see: http://www.mkerb.org/index.php/Meeting\_2/21/2007 See you there, – Tom. – “Nothing will ever be attempte…

---

## [Programmierer gesucht](https://www.ruby-forum.com/t/programmierer-gesucht/85385)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [February 13, 2007, 3:46am UTC](https://www.ruby-forum.com/t/programmierer-gesucht/85385 "2007-02-13T03:46:01Z")

</div>

Für die Entwicklung einer Online Community suchen wir einen erfahrenen cakePHP Programmierer in Heimarbeit und Vollzeit. cakePHP/Ruby Kenntnisse. svn Routine. zeitlich ab sofort verfügbar. 2-3 Monate, ggf. länger. Kur…

---

## [Https and non-valid certificates](https://www.ruby-forum.com/t/https-and-non-valid-certificates/85380)

<div class="topic-metadata">

**Author:** [@barjunk](https://www.ruby-forum.com/u/barjunk)\
**Replies:** 0\
**Last updated:** [February 13, 2007, 2:25am UTC](https://www.ruby-forum.com/t/https-and-non-valid-certificates/85380 "2007-02-13T02:25:46Z")

</div>

I’m trying to screen scrape a linksys device that I have, but because it doesn’t have a valid certificate, I’m getting errors. I’m using Mechanzie, but would willing try something else…can someone point me in the righ…

---

## [Ext/tk/lib causes an error](https://www.ruby-forum.com/t/ext-tk-lib-causes-an-error/85269)

<div class="topic-metadata">

**Author:** [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Replies:** 2\
**Last updated:** [February 13, 2007, 1:39am UTC](https://www.ruby-forum.com/t/ext-tk-lib-causes-an-error/85269 "2007-02-13T01:39:42Z")

</div>

e$B$3$s$K$A$O!"e(Bsheepman e$B$G$9!#e(B trunke$B$re(Bmakee$B$9$k$3$H$,$G$-$^$;$s!#e(Btke$B4XO"$G%(%i!\<$,=P$^$9!#e(B e$B0J2\<$,%(%i!\<%a%C%;!\<%8$G$9!#e(B $ make (e$BCfN,e(B) cp …/…/…/ruby/ext/tk/lib/remote-tk.rb …/…/.e…

---

## [Sup 0.0.7 released](https://www.ruby-forum.com/t/sup-0-0-7-released/85368)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 0\
**Last updated:** [February 13, 2007, 12:38am UTC](https://www.ruby-forum.com/t/sup-0-0-7-released/85368 "2007-02-13T00:38:36Z")

</div>

Sup version 0.0.7 has been released! http://sup.rubyforge.org Sup is a console-based email client that combines the best features of GMail, mutt, and emacs. Sup matches the power of GMail with the speed and simplicit…

---

## [North Bay Ruby Users Group Formed](https://www.ruby-forum.com/t/north-bay-ruby-users-group-formed/83298)

<div class="topic-metadata">

**Author:** [@keith2koool](https://www.ruby-forum.com/u/keith2koool)\
**Replies:** 1\
**Last updated:** [February 12, 2007, 11:55pm UTC](https://www.ruby-forum.com/t/north-bay-ruby-users-group-formed/83298 "2007-02-12T23:55:28Z")

</div>

I’m pleased to announce a new Ruby U. Group for folks north of San Francisco (or who like to go to Sebastopol, CA): the \[1\]North Bay Ruby U. Group with a first meeting on February 15th, 2007 at 7:30pm. O’Reilly has gr…

---

## [ActiveRecord::Extensions Question](https://www.ruby-forum.com/t/activerecord-extensions-question/85332)

<div class="topic-metadata">

**Author:** [@dfg59](https://www.ruby-forum.com/u/dfg59)\
**Replies:** 3\
**Last updated:** [February 12, 2007, 10:55pm UTC](https://www.ruby-forum.com/t/activerecord-extensions-question/85332 "2007-02-12T22:55:06Z")

</div>

After a discussion of using ActiveRecord for data validation, it became apparent to me (and others) that ActiveRecord was missing the ability to iterate over a large set of records without storing the entire set in me…

---

## [Fwd: Testsuite for #113](https://www.ruby-forum.com/t/fwd-testsuite-for-113/85253)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 2\
**Last updated:** [February 12, 2007, 10:50pm UTC](https://www.ruby-forum.com/t/fwd-testsuite-for-113/85253 "2007-02-12T22:50:20Z")

</div>

Begin forwarded message:

---

## [OCaml Summer Project](https://www.ruby-forum.com/t/ocaml-summer-project/85358)

<div class="topic-metadata">

**Author:** [@David\_Powers](https://www.ruby-forum.com/u/David_Powers)\
**Replies:** 0\
**Last updated:** [February 12, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/ocaml-summer-project/85358 "2007-02-12T22:41:19Z")

</div>

Firstly, my apologies for the off-topic post, but many of the admirable language design qualities of OCaml apply to ruby, and my hope is to get the news below out to potentially interested folk who may not be using OC…

---

## [Make test-all fails](https://www.ruby-forum.com/t/make-test-all-fails/85348)

<div class="topic-metadata">

**Author:** [@Farrel\_L](https://www.ruby-forum.com/u/Farrel_L)\
**Replies:** 1\
**Last updated:** [February 12, 2007, 10:16pm UTC](https://www.ruby-forum.com/t/make-test-all-fails/85348 "2007-02-12T22:16:16Z")

</div>

I’ve compiled the Ruby source from trunk (r11707) but make test-all is failing with the following error: ./miniruby ./runruby.rb --extout=.ext – “./test/runner.rb” –basedir="./test" --runner=console “./ruby ./test/r…

---

## [\- PathEditor 1.0.0 - A command line utility for managing you](https://www.ruby-forum.com/t/patheditor-1-0-0-a-command-line-utility-for-managing-you/84552)

<div class="topic-metadata">

**Author:** [@vtphysguy](https://www.ruby-forum.com/u/vtphysguy)\
**Replies:** 9\
**Last updated:** [February 12, 2007, 9:21pm UTC](https://www.ruby-forum.com/t/patheditor-1-0-0-a-command-line-utility-for-managing-you/84552 "2007-02-12T21:21:09Z")

</div>

What it is Anyone who’s had to update their Windows PATH variable more than once in a week knows it’s a tiresome, error-prone, and clumsy process. This utility aims to make it simple and easy. Where to get it The to…

---

## [Windows Language](https://www.ruby-forum.com/t/windows-language/85311)

<div class="topic-metadata">

**Author:** [@AndrSSSS](https://www.ruby-forum.com/u/AndrSSSS)\
**Replies:** 5\
**Last updated:** [February 12, 2007, 8:22pm UTC](https://www.ruby-forum.com/t/windows-language/85311 "2007-02-12T20:22:58Z")

</div>

Hello, Is it possible to find the Windows natural language (ex. English, French, Russian, etc…) from Ruby? Thank you in advance, Andr

---

## [Firebrigade + hoe?](https://www.ruby-forum.com/t/firebrigade-hoe/85197)

<div class="topic-metadata">

**Author:** [@Mat\_S](https://www.ruby-forum.com/u/Mat_S)\
**Replies:** 4\
**Last updated:** [February 12, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/firebrigade-hoe/85197 "2007-02-12T20:01:52Z")

</div>

I used newgem to create my ‘sparehand’ gem. The rakefile now depends on Hoe, but it also looks like newgem creates a Rakefile such that hoe can’t be a dependency. I tried adding ‘hoe’ as a dependency with no luck. T…

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

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