# Ruby

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

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

---

## [Run other programs](https://www.ruby-forum.com/t/run-other-programs/83392)

<div class="topic-metadata">

**Author:** [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Replies:** 3\
**Last updated:** [January 30, 2007, 6:47am UTC](https://www.ruby-forum.com/t/run-other-programs/83392 "2007-01-30T06:47:47Z")

</div>

lets say I have three programs Main.rb Sub1.rb and Sub2.rb When I run Main.rb, I want it to access and run the other two ruby programs. How do I do this?

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/83838)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [January 30, 2007, 5:59am UTC](https://www.ruby-forum.com/t/unsubscribe/83838 "2007-01-30T05:59:56Z")

</div>

unsubscribe IMPORTANT NOTICE Email from OOCL is confidential and may be legally privileged. If it is not intended for you, please delete it immediately unread. The internet cannot guarantee that this communication …

---

## [Local var name collision in instruby.rb (matzruby)](https://www.ruby-forum.com/t/local-var-name-collision-in-instruby-rb-matzruby/83727)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 6\
**Last updated:** [January 30, 2007, 4:10am UTC](https://www.ruby-forum.com/t/local-var-name-collision-in-instruby-rb-matzruby/83727 "2007-01-30T04:10:43Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B matzrubye$B$J$s$G$9$,!"$?$V$s:G6a$N%9%3!\<%W$,$i$\_$NJQ99$N$;$$$Ge(B instruby.rbe$B$,$&$^$/F0$+$J$$e(B(e$B$H$$$&$3$H$O%$%s%9%H!\<%k$K\<:GT$9e(B e$B$ke(B)e$B\>l9g$,$"$k$3$H$K…

---

## [Compiling so](https://www.ruby-forum.com/t/compiling-so/83831)

<div class="topic-metadata">

**Author:** [@wfspoet](https://www.ruby-forum.com/u/wfspoet)\
**Replies:** 0\
**Last updated:** [January 30, 2007, 3:30am UTC](https://www.ruby-forum.com/t/compiling-so/83831 "2007-01-30T03:30:33Z")

</div>

I am trying to make some changes to increase the buffer size in hpricot. I installed mingw and msys. When I run extconf.rb I get this error : checking for main() in c.lib… no creating Makefile and then when I run th…

---

## [Troubleshooting frozen object in tzinfo\_timezone](https://www.ruby-forum.com/t/troubleshooting-frozen-object-in-tzinfo-timezone/83828)

<div class="topic-metadata">

**Author:** [@morten](https://www.ruby-forum.com/u/morten)\
**Replies:** 0\
**Last updated:** [January 30, 2007, 1:15am UTC](https://www.ruby-forum.com/t/troubleshooting-frozen-object-in-tzinfo-timezone/83828 "2007-01-30T01:15:19Z")

</div>

Hi. Off and on I get a “can’t modify frozen object” when working with the tzinfo\_timezone plugin. I’ve added some debugging in the code to try and track down what goes wrong: def tzinfo RAILS\_DEFAULT\_LOGGER.debug(“TZ…

---

## [Gotham Ruby Conference : Call For Proposals](https://www.ruby-forum.com/t/gotham-ruby-conference-call-for-proposals/83823)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [January 30, 2007, 12:25am UTC](https://www.ruby-forum.com/t/gotham-ruby-conference-call-for-proposals/83823 "2007-01-30T00:25:12Z")

</div>

Gotham Ruby Conference, a one-day, single-track event in New York City dedicated to everything Ruby, is now accepting proposal papers. This conference will be held on Saturday, April 21st in the Chelsea headquarters …

---

## [Ruby .NET, RubyCLR, and Assemblies](https://www.ruby-forum.com/t/ruby-net-rubyclr-and-assemblies/82017)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 3\
**Last updated:** [January 30, 2007, 12:09am UTC](https://www.ruby-forum.com/t/ruby-net-rubyclr-and-assemblies/82017 "2007-01-30T00:09:09Z")

</div>

(Resending again as plain-text (hopefully) to ensure it makes it through the google groups gateway.) My company is working on a piece of software right now that is using .NET. One of the features is a scripting consol…

---

## [Re: Counting Toothpicks (#111)](https://www.ruby-forum.com/t/re-counting-toothpicks-111/83815)

<div class="topic-metadata">

**Author:** [@BallS\_Donald\_A\_Jr\_S](https://www.ruby-forum.com/u/BallS_Donald_A_Jr_S)\
**Replies:** 2\
**Last updated:** [January 30, 2007, 12:07am UTC](https://www.ruby-forum.com/t/re-counting-toothpicks-111/83815 "2007-01-30T00:07:08Z")

</div>

I have a fairly verbose submission for this quiz. It’s probably quite slow compared to others, but at least I can follow my own code :slight\_smile: One question for the more advanced rubyists - I use sets in one place,…

---

## ["ungem" script](https://www.ruby-forum.com/t/ungem-script/83751)

<div class="topic-metadata">

**Author:** [@sean](https://www.ruby-forum.com/u/sean)\
**Replies:** 7\
**Last updated:** [January 29, 2007, 11:31pm UTC](https://www.ruby-forum.com/t/ungem-script/83751 "2007-01-29T23:31:02Z")

</div>

Before I go off and write something, has anyone here already written a script to turn an installed gem into an ordinary installed module? While more and more modules are available only via rubygems, gems introduce sig…

---

## [Accessing an ActiveRecord object's validation list](https://www.ruby-forum.com/t/accessing-an-activerecord-objects-validation-list/83812)

<div class="topic-metadata">

**Author:** [@Michael\_Cowden](https://www.ruby-forum.com/u/Michael_Cowden)\
**Replies:** 0\
**Last updated:** [January 29, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/accessing-an-activerecord-objects-validation-list/83812 "2007-01-29T22:54:52Z")

</div>

Is there a way to access an ActiveRecord object’s validation list? for instance: u = User.find 1 u.attributes.each { |attr| puts attr if u.validates\_presence\_of?(attr) } I’m building a test\_scaffold generator and I w…

---

## [Extended deadline: CfP IEEE Software Special Issue on Rapid](https://www.ruby-forum.com/t/extended-deadline-cfp-ieee-software-special-issue-on-rapid/83813)

<div class="topic-metadata">

**Author:** [@Laurence\_Tratt](https://www.ruby-forum.com/u/Laurence_Tratt)\
**Replies:** 0\
**Last updated:** [January 29, 2007, 10:28pm UTC](https://www.ruby-forum.com/t/extended-deadline-cfp-ieee-software-special-issue-on-rapid/83813 "2007-01-29T22:28:48Z")

</div>

============================================================================ IEEE Software Special Issue Rapid Application Development with Dynamically Typed Languages C…

---

## [Working with the parse tree in Ruby?](https://www.ruby-forum.com/t/working-with-the-parse-tree-in-ruby/83541)

<div class="topic-metadata">

**Author:** [@Martin\_CSMartin](https://www.ruby-forum.com/u/Martin_CSMartin)\
**Replies:** 4\
**Last updated:** [January 29, 2007, 10:20pm UTC](https://www.ruby-forum.com/t/working-with-the-parse-tree-in-ruby/83541 "2007-01-29T22:20:43Z")

</div>

Hi, In Lisp, it’s easy to get the parse tree of an expression, and to manipulate those parse trees. That means Lisp code tends to use macros, i.e. lisp functions whose return values are parse trees. These macros ar…

---

## [Xalan with Ruby (either command line or via Jrb)?](https://www.ruby-forum.com/t/xalan-with-ruby-either-command-line-or-via-jrb/83020)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [January 29, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/xalan-with-ruby-either-command-line-or-via-jrb/83020 "2007-01-29T22:08:18Z")

</div>

Does anyone have any experience will using Xalan from a Ruby program (Rails app. especially useful)? I’m willing to entertain running command lines but would like to use Jrb (I’ve already got that working). I’d consi…

---

## [Gotham Ruby Conference, April 21st, New York City](https://www.ruby-forum.com/t/gotham-ruby-conference-april-21st-new-york-city/83804)

<div class="topic-metadata">

**Author:** [@Francis\_H](https://www.ruby-forum.com/u/Francis_H)\
**Replies:** 0\
**Last updated:** [January 29, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/gotham-ruby-conference-april-21st-new-york-city/83804 "2007-01-29T21:46:36Z")

</div>

Hi everybody: I’m proud to announce the first ever Gotham Ruby Conference will be held in New York City on Saturday, April 21st. The lineup of speakers has yet to be determined, and will be determined with an open …

---

## [Postgres API problems](https://www.ruby-forum.com/t/postgres-api-problems/83791)

<div class="topic-metadata">

**Author:** [@nicken](https://www.ruby-forum.com/u/nicken)\
**Replies:** 1\
**Last updated:** [January 29, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/postgres-api-problems/83791 "2007-01-29T20:52:27Z")

</div>

I keep having similar problems with the ruby postgres API (the c api, not postgres-pr). I have now installed it on three different machines two running Ubuntu server 6.06 and most recently on Xubuntu Edgy. I have li…

---

## [Classification](https://www.ruby-forum.com/t/classification/83778)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 3\
**Last updated:** [January 29, 2007, 7:51pm UTC](https://www.ruby-forum.com/t/classification/83778 "2007-01-29T19:51:13Z")

</div>

I have to classify a bunch of products into 4 boxes, according to the value of one of their attribute (product.code , an integer between 0 and 4) I wrote that but it’s seems wrong : box\[0\] = box\[1\] = box\[2\] = box\[3\]…

---

## [CSV::Writer... Using tabs instead of commas (or creating exc](https://www.ruby-forum.com/t/csv-writer-using-tabs-instead-of-commas-or-creating-exc/83772)

<div class="topic-metadata">

**Author:** [@johnk](https://www.ruby-forum.com/u/johnk)\
**Replies:** 2\
**Last updated:** [January 29, 2007, 7:27pm UTC](https://www.ruby-forum.com/t/csv-writer-using-tabs-instead-of-commas-or-creating-exc/83772 "2007-01-29T19:27:08Z")

</div>

I want to create an excel file from data I get from my DB but since some of my fields contain commas in them I was hoping I can use CSV::Writer but instead of having the default of commas seperate data I could use tab…

---

## [Ruby In Steel Developer For Visual Studio](https://www.ruby-forum.com/t/ruby-in-steel-developer-for-visual-studio/83738)

<div class="topic-metadata">

**Author:** [@huw](https://www.ruby-forum.com/u/huw)\
**Replies:** 2\
**Last updated:** [January 29, 2007, 6:45pm UTC](https://www.ruby-forum.com/t/ruby-in-steel-developer-for-visual-studio/83738 "2007-01-29T18:45:48Z")

</div>

SapphireSteel Software today announced the immediate availability of Ruby In Steel Developer - the only professional Ruby programming environment for Microsoft’s Visual Studio 2005. Ruby In Steel Developer includes …

---

## [RailsConf Hackfest 2007 and CD Baby sprint](https://www.ruby-forum.com/t/railsconf-hackfest-2007-and-cd-baby-sprint/81378)

<div class="topic-metadata">

**Author:** [@jeremy\_k](https://www.ruby-forum.com/u/jeremy_k)\
**Replies:** 2\
**Last updated:** [January 29, 2007, 6:41pm UTC](https://www.ruby-forum.com/t/railsconf-hackfest-2007-and-cd-baby-sprint/81378 "2007-01-29T18:41:42Z")

</div>

Ah, Portland. The open-source motherland. Pacific springtime beauty. RailsConf '07 nirvana.rb # =\> true and home of CD Baby, a little record store that digs Ruby and Rails. We’re gearing up for a RailsConf hackfest\[1\]…

---

## [Ruby WX 0.1.4](https://www.ruby-forum.com/t/ruby-wx-0-1-4/83783)

<div class="topic-metadata">

**Author:** [@Hans\_F](https://www.ruby-forum.com/u/Hans_F)\
**Replies:** 0\
**Last updated:** [January 29, 2007, 6:20pm UTC](https://www.ruby-forum.com/t/ruby-wx-0-1-4/83783 "2007-01-29T18:20:37Z")

</div>

Now with a rudimentary to\_s method. (still missing sky and present weather information, and not very smart about things like calm wind, and of course the RMK field is uninterpreted) Also added METAR#raw and METAR#rela…

---

## ["a string".xor("another string")](https://www.ruby-forum.com/t/a-string-xor-another-string/83687)

<div class="topic-metadata">

**Author:** [@erikveen](https://www.ruby-forum.com/u/erikveen)\
**Replies:** 10\
**Last updated:** [January 29, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/a-string-xor-another-string/83687 "2007-01-29T18:07:25Z")

</div>

I want to do an XOR of two strings: “a string”.xor(“another string”) It’s not that hard to implement, but it’s not fast either, since it walks through the data string, byte-by-byte. Any ideas? For example: “It’s memo…

---

## [Executable](https://www.ruby-forum.com/t/executable/83771)

<div class="topic-metadata">

**Author:** [@Rae](https://www.ruby-forum.com/u/Rae)\
**Replies:** 5\
**Last updated:** [January 29, 2007, 5:41pm UTC](https://www.ruby-forum.com/t/executable/83771 "2007-01-29T17:41:56Z")

</div>

How do you make an executable file in Ruby? What software does one use with it?

---

## [DataVision, jRuby and Ruby](https://www.ruby-forum.com/t/datavision-jruby-and-ruby/83617)

<div class="topic-metadata">

**Author:** [@MSEdward\_SEdS\_Bora](https://www.ruby-forum.com/u/MSEdward_SEdS_Bora)\
**Replies:** 3\
**Last updated:** [January 29, 2007, 5:01pm UTC](https://www.ruby-forum.com/t/datavision-jruby-and-ruby/83617 "2007-01-29T17:01:54Z")

</div>

I’m exploring DataVision, a Java-based reporting application. It turns out that it has Ruby scripting support via jRuby. When I went to the documentation section on jRuby, it appeared that it was using an old version …

---

## [Benefits of Multi-Threading?](https://www.ruby-forum.com/t/benefits-of-multi-threading/83660)

<div class="topic-metadata">

**Author:** [@nanostuff](https://www.ruby-forum.com/u/nanostuff)\
**Replies:** 6\
**Last updated:** [January 29, 2007, 4:57pm UTC](https://www.ruby-forum.com/t/benefits-of-multi-threading/83660 "2007-01-29T16:57:52Z")

</div>

I’m slowly going through the pickaxe, and i’ve hit the multi-threading chapter. Despite all the juicy information, I can’t seem to gather what the actual benefits of multi-threading on a single processor are. Is perfo…

---

## [Short solution for replacing Strings inside a file?](https://www.ruby-forum.com/t/short-solution-for-replacing-strings-inside-a-file/83755)

<div class="topic-metadata">

**Author:** [@emmanuel](https://www.ruby-forum.com/u/emmanuel)\
**Replies:** 3\
**Last updated:** [January 29, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/short-solution-for-replacing-strings-inside-a-file/83755 "2007-01-29T16:35:18Z")

</div>

Hello, i’m working with ruby 1.8.5 on a Suse SLES 9 Linux machine. I need to replace strings inside files, specifically the string FECHAIMPRE with the current date. I had a bash script that looked like this: BOF#####…

---

## [The ruby kitchen sink](https://www.ruby-forum.com/t/the-ruby-kitchen-sink/83747)

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 9\
**Last updated:** [January 29, 2007, 3:31pm UTC](https://www.ruby-forum.com/t/the-ruby-kitchen-sink/83747 "2007-01-29T15:31:29Z")

</div>

Hello, I thought people might like to know that I’ve done up a custom search engine for ruby using Google CSE The site is here: http://rubykitchensink.ca The reason why is here: http://noodlejunkie.com/articles/200…

---

## [Including XSL sheet in rss feed in rxml](https://www.ruby-forum.com/t/including-xsl-sheet-in-rss-feed-in-rxml/83748)

<div class="topic-metadata">

**Author:** [@krishna.Mundra](https://www.ruby-forum.com/u/krishna.Mundra)\
**Replies:** 0\
**Last updated:** [January 29, 2007, 2:15pm UTC](https://www.ruby-forum.com/t/including-xsl-sheet-in-rss-feed-in-rxml/83748 "2007-01-29T14:15:47Z")

</div>

Hi every one, I just want to know, how to include XSL style sheet in rss feed generation in rxml… i wrote the code to generate a rss feed like this … xml.instruct! :xml, :version =\> “1.0” xml.rss(:version=\>“2.0”){ …

---

## [Ignite Seattle geek nights](https://www.ruby-forum.com/t/ignite-seattle-geek-nights/83717)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 5\
**Last updated:** [January 29, 2007, 2:01pm UTC](https://www.ruby-forum.com/t/ignite-seattle-geek-nights/83717 "2007-01-29T14:01:00Z")

</div>

Hi, I don’t see any Seattle.rb folks in the lightning talk line ups… Speaker Schedule for Ask Later – Ignite Seattle What’s up? Later,

---

## [Printing Barcodes from Ruby](https://www.ruby-forum.com/t/printing-barcodes-from-ruby/98654)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 13\
**Last updated:** [January 29, 2007, 12:57pm UTC](https://www.ruby-forum.com/t/printing-barcodes-from-ruby/98654 "2007-01-29T12:57:11Z")

</div>

I’d like to be able to generate barcodes from Ruby (to a PDF document). What is the best way to do this? Does it suffice to just get some barcode fonts, and use those, or do I need special libs? Any help appreciated. …

---

## [Newbie Basic Command Interpreter Question in Ruby](https://www.ruby-forum.com/t/newbie-basic-command-interpreter-question-in-ruby/83732)

<div class="topic-metadata">

**Author:** [@martignoni-a](https://www.ruby-forum.com/u/martignoni-a)\
**Replies:** 1\
**Last updated:** [January 29, 2007, 11:45am UTC](https://www.ruby-forum.com/t/newbie-basic-command-interpreter-question-in-ruby/83732 "2007-01-29T11:45:29Z")

</div>

Hello Folks, i’m a newbie who desires to implement a basic command interpreter written in ruby. Let’s say i want to start a new Thread who listen to user input p=Thread.new{ puts "thread started" loop do a=gets.chom…

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

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