# Ruby

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

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

---

## [Ruby-services 0.2.0](https://www.ruby-forum.com/t/ruby-services-0-2-0/77915)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 3\
**Last updated:** [January 28, 2007, 12:05am UTC](https://www.ruby-forum.com/t/ruby-services-0-2-0/77915 "2007-01-28T00:05:47Z")

</div>

Hi all, The Win32Utils Team is happy to announce the 0.2.0 release of the ruby-services package. This release adds services for both Gems (gem\_server) and FastRI (fastri\_server). This isn’t a typical library or appl…

---

## [A Hash and a Set (sitting in a tree)](https://www.ruby-forum.com/t/a-hash-and-a-set-sitting-in-a-tree/83209)

<div class="topic-metadata">

**Author:** [@Shot\_SPiotr\_S.S](https://www.ruby-forum.com/u/Shot_SPiotr_S.S)\
**Replies:** 6\
**Last updated:** [January 27, 2007, 11:33pm UTC](https://www.ruby-forum.com/t/a-hash-and-a-set-sitting-in-a-tree/83209 "2007-01-27T23:33:43Z")

</div>

(For those keeping track at home of my Ruby vs. Ruby/C vs. C++ adventures, I decided to go with pure Ruby and optimise afterwards if/where needed and my supervisor agreed. I also started coding yesterday, and would li…

---

## [RubyGems 0.9.1 calling a gem with gem '\<gem\>'](https://www.ruby-forum.com/t/rubygems-0-9-1-calling-a-gem-with-gem-gem/83530)

<div class="topic-metadata">

**Author:** [@austin7873](https://www.ruby-forum.com/u/austin7873)\
**Replies:** 5\
**Last updated:** [January 27, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/rubygems-0-9-1-calling-a-gem-with-gem-gem/83530 "2007-01-27T23:06:39Z")

</div>

After upgrading to RubyGems 0.9.1, I’m seeing the following error: irb(main):001:0\> require ‘rubygems’ =\> true irb(main):002:0\> gem ‘uuid’ =\> true irb(main):003:0\> UUID.new NameError: uninitialized constant UUID f…

---

## [Another Ruby language question](https://www.ruby-forum.com/t/another-ruby-language-question/83584)

<div class="topic-metadata">

**Author:** [@nevf](https://www.ruby-forum.com/u/nevf)\
**Replies:** 6\
**Last updated:** [January 27, 2007, 10:00pm UTC](https://www.ruby-forum.com/t/another-ruby-language-question/83584 "2007-01-27T22:00:29Z")

</div>

Following from yesterday I have a few more Ruby questions. Can someone please explain what ‘self’ does in the following: module Mod1 def self.a\_method puts ‘a’ end def b\_method puts ‘b’ end end If self isn’t sp…

---

## [Transparent text with rmagick?](https://www.ruby-forum.com/t/transparent-text-with-rmagick/83618)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [January 27, 2007, 9:37pm UTC](https://www.ruby-forum.com/t/transparent-text-with-rmagick/83618 "2007-01-27T21:37:27Z")

</div>

hi - (this maybe more an imagemagick q that a ruby one, but here goes …) using rmagick / I have a small script for generating some type, but I cannot get the type to come out as transparent png - it comes out just on…

---

## [Log file](https://www.ruby-forum.com/t/log-file/83573)

<div class="topic-metadata">

**Author:** [@samckayak](https://www.ruby-forum.com/u/samckayak)\
**Replies:** 2\
**Last updated:** [January 27, 2007, 9:13pm UTC](https://www.ruby-forum.com/t/log-file/83573 "2007-01-27T21:13:25Z")

</div>

How do I log the user inputs from my program to a text file? I’ve looked on the web for this, and I can’t find it… Thanks!

---

## [Script with -e command line option?](https://www.ruby-forum.com/t/script-with-e-command-line-option/83526)

<div class="topic-metadata">

**Author:** [@sunadrad](https://www.ruby-forum.com/u/sunadrad)\
**Replies:** 9\
**Last updated:** [January 27, 2007, 8:27pm UTC](https://www.ruby-forum.com/t/script-with-e-command-line-option/83526 "2007-01-27T20:27:19Z")

</div>

If I type in the following example from “Programming Ruby”, I get an error: $ ruby -n -e “print if /wombat/” \*.txt -e:1: No such file or directory - if (Errno::ENOENT) This is from a BASH command line on a linux syst…

---

## [Arachno gets problem?](https://www.ruby-forum.com/t/arachno-gets-problem/83273)

<div class="topic-metadata">

**Author:** [@bartb](https://www.ruby-forum.com/u/bartb)\
**Replies:** 1\
**Last updated:** [January 27, 2007, 8:03pm UTC](https://www.ruby-forum.com/t/arachno-gets-problem/83273 "2007-01-27T20:03:12Z")

</div>

I’m trying Arachno as a IDE and it gives me a strange problem with gets. When I try to run this: puts gets I get …/test.rb:8:in gets': Bad file descriptor (Errno::EBADF) from ........./test.rb:8 from /usr/lib/ruby/si…

---

## [Implementation of Symbols](https://www.ruby-forum.com/t/implementation-of-symbols/83613)

<div class="topic-metadata">

**Author:** [@Michael\_Cowden](https://www.ruby-forum.com/u/Michael_Cowden)\
**Replies:** 2\
**Last updated:** [January 27, 2007, 6:54pm UTC](https://www.ruby-forum.com/t/implementation-of-symbols/83613 "2007-01-27T18:54:01Z")

</div>

Ok, I’m sure this one has been addressed ump-teen times, but everything I read, at least on the rails side, puts symbols in the ‘magic’ space where you don’t need to know how they’re implemented–or what they are for …

---

## [Ruby Program with RSS Feeds](https://www.ruby-forum.com/t/ruby-program-with-rss-feeds/83579)

<div class="topic-metadata">

**Author:** [@franky](https://www.ruby-forum.com/u/franky)\
**Replies:** 2\
**Last updated:** [January 27, 2007, 5:55pm UTC](https://www.ruby-forum.com/t/ruby-program-with-rss-feeds/83579 "2007-01-27T17:55:11Z")

</div>

hello, I am a new member to the Ruby forums. I am presently designing a small program in Ruby that is able to read RSS Feeds. However, I am not sure how I could connect an RSS Feed to my Ruby program. I have just star…

---

## [Ruby WX (weather)](https://www.ruby-forum.com/t/ruby-wx-weather/83493)

<div class="topic-metadata">

**Author:** [@Hans\_F](https://www.ruby-forum.com/u/Hans_F)\
**Replies:** 12\
**Last updated:** [January 27, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/ruby-wx-weather/83493 "2007-01-27T16:30:54Z")

</div>

WX is shorthand for weather in the same nutty circles that encode weather observations and forecasts like this: METAR KLRU 261553Z AUTO 00000KT 5SM BR OVC004 03/03 A3009 RMK AO2 TAF KLRU 261600Z 261612 35007KT P6SM -S…

---

## [Re: Recommendation for Simple GUI Development](https://www.ruby-forum.com/t/re-recommendation-for-simple-gui-development/83605)

<div class="topic-metadata">

**Author:** [@lycanthrope](https://www.ruby-forum.com/u/lycanthrope)\
**Replies:** 0\
**Last updated:** [January 27, 2007, 3:54pm UTC](https://www.ruby-forum.com/t/re-recommendation-for-simple-gui-development/83605 "2007-01-27T15:54:48Z")

</div>

Apologies if this ends up being a duplicated – Seems like posts from me the past couple of days have been being redirected \>/dev/null or something… Trying from a different account. On Fri, 2007-01-26 at 11:15 +0900, …

---

## [Got completely stuck with using 'class \<\<' feature](https://www.ruby-forum.com/t/got-completely-stuck-with-using-class-feature/83497)

<div class="topic-metadata">

**Author:** [@Maksim\_B](https://www.ruby-forum.com/u/Maksim_B)\
**Replies:** 1\
**Last updated:** [January 27, 2007, 3:40pm UTC](https://www.ruby-forum.com/t/got-completely-stuck-with-using-class-feature/83497 "2007-01-27T15:40:47Z")

</div>

Hello! I’m more than a bit confused with module inclusion and ‘class \<\<’ syntax for class definition, so I’m asking for some help. Here’s a short program that produces an effect I cannot understand: module One def …

---

## [Recommendation for Simple GUI Development](https://www.ruby-forum.com/t/recommendation-for-simple-gui-development/83442)

<div class="topic-metadata">

**Author:** [@billbell52](https://www.ruby-forum.com/u/billbell52)\
**Replies:** 9\
**Last updated:** [January 27, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/recommendation-for-simple-gui-development/83442 "2007-01-27T15:17:44Z")

</div>

I am looking for a quick easy GUI development capability that runs on both Windows and Linux. Today, I am using Excel’s VBA to create a GUI and using that to control running the Ruby scipts. It is a simple 20 minut…

---

## [Process POST data](https://www.ruby-forum.com/t/process-post-data/83522)

<div class="topic-metadata">

**Author:** [@chucky](https://www.ruby-forum.com/u/chucky)\
**Replies:** 2\
**Last updated:** [January 27, 2007, 12:58pm UTC](https://www.ruby-forum.com/t/process-post-data/83522 "2007-01-27T12:58:20Z")

</div>

Hi to all, Recently, I had one little problem regarding Ruby and Processing POST requests from a HTML form. I know that there is Webrick for Servlets and stuff, but I want to know, there is possible to process POST/G…

---

## [Eval, HereDoc and Regular Expressions](https://www.ruby-forum.com/t/eval-heredoc-and-regular-expressions/83540)

<div class="topic-metadata">

**Author:** [@toro04](https://www.ruby-forum.com/u/toro04)\
**Replies:** 3\
**Last updated:** [January 27, 2007, 10:51am UTC](https://www.ruby-forum.com/t/eval-heredoc-and-regular-expressions/83540 "2007-01-27T10:51:13Z")

</div>

I’m having a bit of a problem with Ruby playing nice when it comes to combining an eval, a combination of lines in a HereDoc, and a regular expression. Consider this code: a = 42 puts “yes” if a =~ /\\d{2}/ =\> “yes” …

---

## [Ruby Newbie questions](https://www.ruby-forum.com/t/ruby-newbie-questions/83507)

<div class="topic-metadata">

**Author:** [@Rae](https://www.ruby-forum.com/u/Rae)\
**Replies:** 9\
**Last updated:** [January 27, 2007, 10:41am UTC](https://www.ruby-forum.com/t/ruby-newbie-questions/83507 "2007-01-27T10:41:12Z")

</div>

I have a website created with FrontPage. So I really didn’t need to learn programming, just how to use that software. I 've alway wanted to learn how to create a website. Is Ruby the way to go for a beginner? I downlo…

---

## [Some small suggestions to Array](https://www.ruby-forum.com/t/some-small-suggestions-to-array/83352)

<div class="topic-metadata">

**Author:** [@SSSS\_SS\_SSSSS\_S](https://www.ruby-forum.com/u/SSSS_SS_SSSSS_S)\
**Replies:** 4\
**Last updated:** [January 27, 2007, 10:30am UTC](https://www.ruby-forum.com/t/some-small-suggestions-to-array/83352 "2007-01-27T10:30:11Z")

</div>

I’m a new user of ruby from China. I love it very much. And I believe it will become better and better in future. During the study of ruby these days, I have some small suggestions to ruby. The suggestions are about t…

---

## [Melbourne Ruby meetup: Tuesday 30th January](https://www.ruby-forum.com/t/melbourne-ruby-meetup-tuesday-30th-january/102666)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 0\
**Last updated:** [January 27, 2007, 10:11am UTC](https://www.ruby-forum.com/t/melbourne-ruby-meetup-tuesday-30th-january/102666 "2007-01-27T10:11:10Z")

</div>

A reminder that the Melbourne Ruby group is meeting on Tuesday night, 6:00 PM, at the usual venue: ThoughtWorks Level 11, 155 Queen St (SMS Mike on 0438-448-600 if you have trouble getting in) Pizza will be provide…

---

## [How do you run a .rb file in mac?](https://www.ruby-forum.com/t/how-do-you-run-a-rb-file-in-mac/83587)

<div class="topic-metadata">

**Author:** [@the-dark-lord](https://www.ruby-forum.com/u/the-dark-lord)\
**Replies:** 3\
**Last updated:** [January 27, 2007, 9:51am UTC](https://www.ruby-forum.com/t/how-do-you-run-a-rb-file-in-mac/83587 "2007-01-27T09:51:08Z")

</div>

Hello. I created a ruby program in Smultron, but I couldn’t figure out how to run it on a mac. Should I download anything to execute it? I thought Macs had ruby pre -installed. Thanks.

---

## [Problem with stripping leading whitespace in here documents](https://www.ruby-forum.com/t/problem-with-stripping-leading-whitespace-in-here-documents/83424)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [January 27, 2007, 8:47am UTC](https://www.ruby-forum.com/t/problem-with-stripping-leading-whitespace-in-here-documents/83424 "2007-01-27T08:47:01Z")

</div>

I’m writing a number of test cases. I would like the input data to behave like a file, and I would like to include that data within the test file (in order to reduce the proliferation of files and eliminate the neces…

---

## [One-Click Ruby Installer for Windows: 185-22 RC2](https://www.ruby-forum.com/t/one-click-ruby-installer-for-windows-185-22-rc2/83589)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 0\
**Last updated:** [January 27, 2007, 8:08am UTC](https://www.ruby-forum.com/t/one-click-ruby-installer-for-windows-185-22-rc2/83589 "2007-01-27T08:08:58Z")

</div>

RC2 upgrades RubyGems to 0.9.1+. There were no other changes. Curt

---

## [Download bioruby API document](https://www.ruby-forum.com/t/download-bioruby-api-document/83578)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 0\
**Last updated:** [January 27, 2007, 4:33am UTC](https://www.ruby-forum.com/t/download-bioruby-api-document/83578 "2007-01-27T04:33:47Z")

</div>

Hi all, How do I download/install API document for Bioruby after installing Bioruby? Thanks, Li

---

## [OpenWFEru 0.9.2 released](https://www.ruby-forum.com/t/openwferu-0-9-2-released/83576)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 0\
**Last updated:** [January 27, 2007, 3:53am UTC](https://www.ruby-forum.com/t/openwferu-0-9-2-released/83576 "2007-01-27T03:53:45Z")

</div>

Hi, we have released OpenWFEru 0.9.2, it’s available from Rubyforge : http://rubyforge.org/projects/openwferu The website is at http://openwferu.rubyforge.org It’s a Ruby open source (BSD) workflow and bpm engine, it…

---

## [A Ruby Operating System (no bashing please)](https://www.ruby-forum.com/t/a-ruby-operating-system-no-bashing-please/83406)

<div class="topic-metadata">

**Author:** [@AndrSSSS](https://www.ruby-forum.com/u/AndrSSSS)\
**Replies:** 15\
**Last updated:** [January 27, 2007, 2:50am UTC](https://www.ruby-forum.com/t/a-ruby-operating-system-no-bashing-please/83406 "2007-01-27T02:50:40Z")

</div>

Hello, this post might sound strange, but after working with ruby for so long, I’ve been thinking about writing a ruby operating system. I’ve been thinking about doing my M.D. thesis about it, but I want to hear some …

---

## [Is Ruby clairvoyant](https://www.ruby-forum.com/t/is-ruby-clairvoyant/83533)

<div class="topic-metadata">

**Author:** [@nock12](https://www.ruby-forum.com/u/nock12)\
**Replies:** 0\
**Last updated:** [January 27, 2007, 12:39am UTC](https://www.ruby-forum.com/t/is-ruby-clairvoyant/83533 "2007-01-27T00:39:29Z")

</div>

For the last couple of weeks I’ve been thinking about writing a weather application. Not serious yet, just mulling it over during downtime as you do. I used to write this sort of thing for a living (in C but) so I hav…

---

## [Inter-platform communication](https://www.ruby-forum.com/t/inter-platform-communication/83332)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [January 26, 2007, 10:26pm UTC](https://www.ruby-forum.com/t/inter-platform-communication/83332 "2007-01-26T22:26:13Z")

</div>

Hi, I’m trying to find a new way to achieve inter-platform communication. I’m currently using web services to pass data between a Solaris machine, a Windows machine and a Linux machine. I would like to find out if ru…

---

## [PHP\_FCGI\_CHILDREN for Ruby](https://www.ruby-forum.com/t/php-fcgi-children-for-ruby/83291)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [January 26, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/php-fcgi-children-for-ruby/83291 "2007-01-26T22:21:11Z")

</div>

Hello, I know the environment variable PHP\_FCGI\_CHILDREN sets the maximum number of php fastcgi processes to be spawn when using Apache. Is there a similar environment variable for Ruby/Rails fastcgi applications? Or …

---

## [Simple question about Ruby Regext](https://www.ruby-forum.com/t/simple-question-about-ruby-regext/83477)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 21\
**Last updated:** [January 26, 2007, 5:44pm UTC](https://www.ruby-forum.com/t/simple-question-about-ruby-regext/83477 "2007-01-26T17:44:56Z")

</div>

Hi, I’ve been learning RUBY the past 7 months or so, and, now, my assistant is doing the same. In her perusal of the “Programming RUBY” book, first edition, she’s come across a simple, simple regex truism that throws …

---

## [Learn by repetition - ruby exercises and answers?](https://www.ruby-forum.com/t/learn-by-repetition-ruby-exercises-and-answers/83492)

<div class="topic-metadata">

**Author:** [@b1\_S](https://www.ruby-forum.com/u/b1_S)\
**Replies:** 2\
**Last updated:** [January 26, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/learn-by-repetition-ruby-exercises-and-answers/83492 "2007-01-26T17:11:56Z")

</div>

I prefer to learn by repetition and I was wondering if there are any Ruby exercise and answer orientated sites with lots of exercises, starting with simple and progressing to harder. This is what I’ve found so far: h…

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

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