# Ruby

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

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

---

## [Openssl can't compile with pcc](https://www.ruby-forum.com/t/openssl-cant-compile-with-pcc/116575)

<div class="topic-metadata">

**Author:** [@NARUSES\_Yui](https://www.ruby-forum.com/u/NARUSES_Yui)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 3:36pm UTC](https://www.ruby-forum.com/t/openssl-cant-compile-with-pcc/116575 "2007-10-07T15:36:27Z")

</div>

e$B@.@%$G$9!#e(B pcc e$B$Ge(B ext/openssl e$B$r%3%s%Q%$%k$7$h$&$H%(%i!\<$,=P$^$9!#e(Bossl\_ssl.c e$B$Ne(B 310 e$B9TL$J$I!"e(BOSSL\_Debug() e$B$N0z?t$,0l$D$N;~$Ke(B syntax error e$B$,=P$F$7$^$C$F$$e(B e$B$k$h$&$G$9!#e(B …

---

## [Ruby vs. PHP](https://www.ruby-forum.com/t/ruby-vs-php/115989)

<div class="topic-metadata">

**Author:** [@marcin\_r](https://www.ruby-forum.com/u/marcin_r)\
**Replies:** 66\
**Last updated:** [October 7, 2007, 3:15pm UTC](https://www.ruby-forum.com/t/ruby-vs-php/115989 "2007-10-07T15:15:20Z")

</div>

Hello My company is trying to get big contract for creating and maintaining HUGE website (nation wide portal). We’re trying to convince investor that Ruby (i don’t mean rails) with custom tailored MVC framework is be…

---

## [Multitasking and collecting results](https://www.ruby-forum.com/t/multitasking-and-collecting-results/116552)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 3\
**Last updated:** [October 7, 2007, 1:50pm UTC](https://www.ruby-forum.com/t/multitasking-and-collecting-results/116552 "2007-10-07T13:50:45Z")

</div>

(new to ruby) I have a routine that makes a web call then does some work. I need to do many of these, and because of latency and all that, I want to go ahead and spawn several of these in async “tasks” (trying to avoi…

---

## [Pcc: constant too big for cross-compiler](https://www.ruby-forum.com/t/pcc-constant-too-big-for-cross-compiler/116556)

<div class="topic-metadata">

**Author:** [@NARUSES\_Yui](https://www.ruby-forum.com/u/NARUSES_Yui)\
**Replies:** 5\
**Last updated:** [October 7, 2007, 11:00am UTC](https://www.ruby-forum.com/t/pcc-constant-too-big-for-cross-compiler/116556 "2007-10-07T11:00:03Z")

</div>

e$B@.@%$G$9!#e(B pcc 0.9.8 for i386–netbsdelf e$B$Ge(B trunk e$B$r%3%s%Q%$%k$7$h$&$H$9$k$H!"e(B pcc -g -O2 -fPIC -I. -I.ext/include/i386-netbsdelf3.1.1. -I…/trunk/include -I…/trunk -DRUBY\_EXPORT -c …/trunk/array.c …

---

## [Plotting points on a map api](https://www.ruby-forum.com/t/plotting-points-on-a-map-api/116554)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 1\
**Last updated:** [October 7, 2007, 9:42am UTC](https://www.ruby-forum.com/t/plotting-points-on-a-map-api/116554 "2007-10-07T09:42:39Z")

</div>

I want to plot points on a map of the united states based on what ruby is given information-wise. Such as, if it receives notice that something is from California, i want it to plot a point on the state of CA. Any app…

---

## [Math.c typo: define(ERANGE)](https://www.ruby-forum.com/t/math-c-typo-define-erange/116555)

<div class="topic-metadata">

**Author:** [@NARUSES\_Yui](https://www.ruby-forum.com/u/NARUSES_Yui)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 8:52am UTC](https://www.ruby-forum.com/t/math-c-typo-define-erange/116555 "2007-10-07T08:52:52Z")

</div>

e$B@.@%$G$9!#e(B gcc e$B$Ge(B trunk e$B$r%3%s%Q%$%k$G$-$J$$$N$G!":#N.9T$i$7$$e(B pcc e$B$G%3%s%Q%$%k$7$he(B e$B$&$H$7$?$i!"$3$s$J$N$r8+$D$1$^$7$?!#e(B Index: math.c — math.c (e$B%j%S%8%g%se(B 13646) +++ math.c …

---

## [File association problems?](https://www.ruby-forum.com/t/file-association-problems/116521)

<div class="topic-metadata">

**Author:** [@dust](https://www.ruby-forum.com/u/dust)\
**Replies:** 1\
**Last updated:** [October 7, 2007, 8:14am UTC](https://www.ruby-forum.com/t/file-association-problems/116521 "2007-10-07T08:14:55Z")

</div>

The other day, ruby was working fine for me. Then i was messing around and when i went to open one of my saved programs with scite, i wondered what would happen if i made it always preform this action so i did. then w…

---

## [Ternary Usage](https://www.ruby-forum.com/t/ternary-usage/116523)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 12\
**Last updated:** [October 7, 2007, 4:43am UTC](https://www.ruby-forum.com/t/ternary-usage/116523 "2007-10-07T04:43:41Z")

</div>

New to Ruby. Having trouble with ternary statements. I am used to a language that allows these two forms: test ? trueStuff test ? trueStuff | falseStuff While I have yet to find a reference that explicitly states thi…

---

## [Using Ruby on a generic ISP](https://www.ruby-forum.com/t/using-ruby-on-a-generic-isp/116519)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 2\
**Last updated:** [October 7, 2007, 2:24am UTC](https://www.ruby-forum.com/t/using-ruby-on-a-generic-isp/116519 "2007-10-07T02:24:42Z")

</div>

I wonder how Ruby can be used on a generic ISP right now? looks like right now i can use a test.rb in my cgi-bin directory, and it is not even checking the #!/usr/bin/ruby line and then i tried a test.erb in the cgi…

---

## [Can you please help to make decision?](https://www.ruby-forum.com/t/can-you-please-help-to-make-decision/115922)

<div class="topic-metadata">

**Author:** [@Byung-Hee\_HWANG](https://www.ruby-forum.com/u/Byung-Hee_HWANG)\
**Replies:** 36\
**Last updated:** [October 7, 2007, 2:12am UTC](https://www.ruby-forum.com/t/can-you-please-help-to-make-decision/115922 "2007-10-07T02:12:58Z")

</div>

Fist of all, sorry for poor English, I am not professional English speaker. I have some plan to do study computer language for my work. But still I do not make decision what to do study between Ruby and Python. I neve…

---

## [Inserting records on a migration question](https://www.ruby-forum.com/t/inserting-records-on-a-migration-question/116535)

<div class="topic-metadata">

**Author:** [@Gene\_Jones](https://www.ruby-forum.com/u/Gene_Jones)\
**Replies:** 1\
**Last updated:** [October 7, 2007, 1:20am UTC](https://www.ruby-forum.com/t/inserting-records-on-a-migration-question/116535 "2007-10-07T01:20:24Z")

</div>

Hi, I am trying to create a user\_types table and insert two rows into it. See code below: class CreateUserAccountTypes \< ActiveRecord::Migration def self.up create\_table :user\_types do |g| g.column :name, :string, …

---

## [WATIR - Clicking img](https://www.ruby-forum.com/t/watir-clicking-img/114430)

<div class="topic-metadata">

**Author:** [@tracyp](https://www.ruby-forum.com/u/tracyp)\
**Replies:** 1\
**Last updated:** [October 6, 2007, 10:58pm UTC](https://www.ruby-forum.com/t/watir-clicking-img/114430 "2007-10-06T22:58:52Z")

</div>

This is driving me up the wall. I need to click on an apply button, however the Javascript has a number of hidden buttons. You would think the developer would identify each one uniquely but he hasn’t. Each one is: t…

---

## [Problem with ruby1.8 and OpenMP in Ruby extension: shared object cannot be dlopen()'ed](https://www.ruby-forum.com/t/problem-with-ruby1-8-and-openmp-in-ruby-extension-shared-object-cannot-be-dlopen-ed/116377)

<div class="topic-metadata">

**Author:** [@Rudi\_C](https://www.ruby-forum.com/u/Rudi_C)\
**Replies:** 2\
**Last updated:** [October 6, 2007, 9:11pm UTC](https://www.ruby-forum.com/t/problem-with-ruby1-8-and-openmp-in-ruby-extension-shared-object-cannot-be-dlopen-ed/116377 "2007-10-06T21:11:13Z")

</div>

Hi everybody, I am the main developer of CompLearn, an open-source machine learning library for scientific researchers. I have written a Ruby binding for CompLearn called complearn-ruby. It has worked fine in the …

---

## [Problem with OpenMP in Ruby extension](https://www.ruby-forum.com/t/problem-with-openmp-in-ruby-extension/116270)

<div class="topic-metadata">

**Author:** [@Rudi\_C](https://www.ruby-forum.com/u/Rudi_C)\
**Replies:** 4\
**Last updated:** [October 6, 2007, 9:09pm UTC](https://www.ruby-forum.com/t/problem-with-openmp-in-ruby-extension/116270 "2007-10-06T21:09:27Z")

</div>

Hi everybody, I am the main developer of CompLearn, an open-source machine learning library for scientific researchers. I have written a Ruby binding for CompLearn called complearn-ruby. It has worked fine in the p…

---

## [Please anyone help me!](https://www.ruby-forum.com/t/please-anyone-help-me/116507)

<div class="topic-metadata">

**Author:** [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Replies:** 8\
**Last updated:** [October 6, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/please-anyone-help-me/116507 "2007-10-06T20:56:00Z")

</div>

Hai Friends! Now I have started to learn the socket. I have not get any good resource for sockets programming in ruby. Please any one help me . If you are having any book or link means,send to me. And also I wanted …

---

## [Ruby Socket: I found a misstake in the doc. Can someone confirm it and who's gonna fix this doc-erro](https://www.ruby-forum.com/t/ruby-socket-i-found-a-misstake-in-the-doc-can-someone-confirm-it-and-whos-gonna-fix-this-doc-erro/116457)

<div class="topic-metadata">

**Author:** [@kazaam](https://www.ruby-forum.com/u/kazaam)\
**Replies:** 4\
**Last updated:** [October 6, 2007, 5:04pm UTC](https://www.ruby-forum.com/t/ruby-socket-i-found-a-misstake-in-the-doc-can-someone-confirm-it-and-whos-gonna-fix-this-doc-erro/116457 "2007-10-06T17:04:08Z")

</div>

Hi, I’m playing around with sockets in ruby and took a look at the docs(http://www.ruby-doc.org/stdlib/libdoc/socket/rdoc/index.html). There are some examples like this here(http://www.ruby-doc.org/stdlib/libdoc/sock…

---

## [Finding obscure documentation](https://www.ruby-forum.com/t/finding-obscure-documentation/116438)

<div class="topic-metadata">

**Author:** [@llinklater](https://www.ruby-forum.com/u/llinklater)\
**Replies:** 6\
**Last updated:** [October 6, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/finding-obscure-documentation/116438 "2007-10-06T16:01:36Z")

</div>

I have learned that you can turn a number to octal (or whatever) this way: p 123.to\_s(8).to\_i =\> 173 I seem to recall that there is something which will read in a number in an arbitrary numeric base, though I forget…

---

## [IronRuby testing WAS: IronRuby community and communications](https://www.ruby-forum.com/t/ironruby-testing-was-ironruby-community-and-communications/116464)

<div class="topic-metadata">

**Author:** [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Replies:** 1\
**Last updated:** [October 6, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/ironruby-testing-was-ironruby-community-and-communications/116464 "2007-10-06T13:24:45Z")

</div>

The rspec specs will probably be more useful as a measure of completeness, but they do require that an implementation can at least successfully run them (albeit not perfectly) so that errors and missing features can …

---

## [Home directory$B$N\<hF@(B](https://www.ruby-forum.com/t/home-directory-b-n-hf-b/116510)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 0\
**Last updated:** [October 6, 2007, 11:12am UTC](https://www.ruby-forum.com/t/home-directory-b-n-hf-b/116510 "2007-10-06T11:12:37Z")

</div>

e$B@\>;3OB9-$G$9!#e(B \[ruby-core:12347\]e$B$r8+$F;W$C$?$N$G$9$,!"e(B e$B0z?t$J$7$Ne(BDir.chdire$B$G$N0\\F0@h$re(BDir.homee$B$Ge(B e$B\<h$l$k$H$&$l$7$$$N$G$O$J$$$+$H;W$C$?$N$G$9$,e(B e$B$I$&$G$7$g$&$+e(B? Dir.chdir { Dir…

---

## [Proc comparison](https://www.ruby-forum.com/t/proc-comparison/116473)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 9\
**Last updated:** [October 6, 2007, 10:55am UTC](https://www.ruby-forum.com/t/proc-comparison/116473 "2007-10-06T10:55:08Z")

</div>

i’m having an issue where i need to compare 2 objects by comparing a Proc which is stored in an instance var. however, everything i have tried results in a false comparison. simple example: class Test attr :action …

---

## [Attn: James Edward Gray II, re: Higher-Order Ruby](https://www.ruby-forum.com/t/attn-james-edward-gray-ii-re-higher-order-ruby/116361)

<div class="topic-metadata">

**Author:** [@cpeterson](https://www.ruby-forum.com/u/cpeterson)\
**Replies:** 3\
**Last updated:** [October 6, 2007, 10:26am UTC](https://www.ruby-forum.com/t/attn-james-edward-gray-ii-re-higher-order-ruby/116361 "2007-10-06T10:26:27Z")

</div>

The previous location of Higher-Order Ruby: Gray Soft / Not Found . . . now gives an error: The page you were looking for doesn’t exist. You may have mistyped the address or the page may have moved. Has it moved to …

---

## [ANN: Facets 2.0](https://www.ruby-forum.com/t/ann-facets-2-0/116343)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 14\
**Last updated:** [October 6, 2007, 8:35am UTC](https://www.ruby-forum.com/t/ann-facets-2-0/116343 "2007-10-06T08:35:25Z")

</div>

Facets 2.0 is out! http://facets.rubyforge.org Facets 2.0.0 represent the project’s initial push into official “production ready” status --a departure from the 1.x series which was focused on acquiring functionality…

---

## [October Phoenix Ruby User Group Meeting](https://www.ruby-forum.com/t/october-phoenix-ruby-user-group-meeting/116504)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [October 6, 2007, 7:50am UTC](https://www.ruby-forum.com/t/october-phoenix-ruby-user-group-meeting/116504 "2007-10-06T07:50:26Z")

</div>

October Phoenix Ruby U. Group Meeting Date: Monday, October 8, 2007 Time: ~6:30pm Place: MWA Intelligence See http://www.rubyaz.org/groups/prug/ for details, including maps and directions Likely talks/demos/previ…

---

## [Tk StatusBar help](https://www.ruby-forum.com/t/tk-statusbar-help/116466)

<div class="topic-metadata">

**Author:** [@jayson](https://www.ruby-forum.com/u/jayson)\
**Replies:** 3\
**Last updated:** [October 6, 2007, 7:11am UTC](https://www.ruby-forum.com/t/tk-statusbar-help/116466 "2007-10-06T07:11:53Z")

</div>

Is anyone familiar at all with Ruby Tk’s StatusBar. I have not been able to find out how to implement a StatusBar in my Ruby code. Could someone lend me a hand? Thanks Jayson

---

## [Confession: I never did ASM](https://www.ruby-forum.com/t/confession-i-never-did-asm/115650)

<div class="topic-metadata">

**Author:** [@julik](https://www.ruby-forum.com/u/julik)\
**Replies:** 59\
**Last updated:** [October 6, 2007, 6:40am UTC](https://www.ruby-forum.com/t/confession-i-never-did-asm/115650 "2007-10-06T06:40:56Z")

</div>

I would love to join the recently started confession fest. I’ve got a similar problem as Jay, but in a totally different domain. Having started as a script kiddo - what kind of book can introduce me in the beautiful b…

---

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

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 4\
**Last updated:** [October 6, 2007, 6:04am UTC](https://www.ruby-forum.com/t/gem-ideas/116486 "2007-10-06T06:04:43Z")

</div>

I have a few ideas I’d like to see the Gem tool. Please correct me if they don’t already exist! options, like the gem path variable, but to display, say 10 at a time with gem list (or an arbitrary number, or even a re…

---

## [Recent Criticism about Ruby (Scalability, etc.)](https://www.ruby-forum.com/t/recent-criticism-about-ruby-scalability-etc/115314)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 81\
**Last updated:** [October 6, 2007, 5:15am UTC](https://www.ruby-forum.com/t/recent-criticism-about-ruby-scalability-etc/115314 "2007-10-06T05:15:39Z")

</div>

I presume most people here read today’s article on Slashdot which had some critique about Ruby and scaling to a large architecture. Though the article didn’t seem to elaborate into specifics, I’m interested in other …

---

## [\[QUIZ\] #67 metakoans.rb](https://www.ruby-forum.com/t/quiz-67-metakoans-rb/116501)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 0\
**Last updated:** [October 6, 2007, 5:01am UTC](https://www.ruby-forum.com/t/quiz-67-metakoans-rb/116501 "2007-10-06T05:01:37Z")

</div>

Here is my solution: I got stuck on like 6, so I borrowed a line and a half from Adam S… I understand it looks a lot like his code, but I swear, i only borrowed 12 and part of 13 from him! #!/usr/local/bin/ruby Cre…

---

## [\[ANN\] Rassmalog 7.0.0](https://www.ruby-forum.com/t/ann-rassmalog-7-0-0/116404)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 1\
**Last updated:** [October 6, 2007, 5:00am UTC](https://www.ruby-forum.com/t/ann-rassmalog-7-0-0/116404 "2007-10-06T05:00:45Z")

</div>

Rassmalog A static blog engine based on YAML, eRuby, and Rake. It transforms blog entries written in Textile or other formatting systems into valid XHTML files that you can view on your computer or upload to your web…

---

## [Replace a text in base directory](https://www.ruby-forum.com/t/replace-a-text-in-base-directory/116427)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 8\
**Last updated:** [October 6, 2007, 4:28am UTC](https://www.ruby-forum.com/t/replace-a-text-in-base-directory/116427 "2007-10-06T04:28:51Z")

</div>

how can replace a text from all files in “/home/user” directory and sub directories (tree)…

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

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