# Ruby

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

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

---

## [Mr Bones 2.3.0 (Calcaneus)](https://www.ruby-forum.com/t/mr-bones-2-3-0-calcaneus/158633)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 5:37am UTC](https://www.ruby-forum.com/t/mr-bones-2-3-0-calcaneus/158633 "2009-01-26T05:37:46Z")

</div>

Mr Bones version 2.3.0 by Tim P. http://codeforpeople.rubyforge.org/bones (the “Calcaneus” release) == DESCRIPTION Mr Bones is a handy tool that builds a skeleton for your new Ruby projects. The skeleton contains …

---

## [Code Review: Better error messages](https://www.ruby-forum.com/t/code-review-better-error-messages/158499)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 8\
**Last updated:** [January 25, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/code-review-better-error-messages/158499 "2009-01-25T23:56:43Z")

</div>

tfpt review “/shelveset:error;REDMOND\\sborde” Microsoft.Scripting: Change in DefaultBinder is to make the binder exception processing logic be extensible so that languages can customize the type of exception thrown. …

---

## [Creating facebook](https://www.ruby-forum.com/t/creating-facebook/158610)

<div class="topic-metadata">

**Author:** [@hellkor](https://www.ruby-forum.com/u/hellkor)\
**Replies:** 7\
**Last updated:** [January 25, 2009, 9:55pm UTC](https://www.ruby-forum.com/t/creating-facebook/158610 "2009-01-25T21:55:48Z")

</div>

what about creating facebook with rails !

---

## [\[ANN\] Rumai 2.0.1](https://www.ruby-forum.com/t/ann-rumai-2-0-1/158607)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 8:10pm UTC](https://www.ruby-forum.com/t/ann-rumai-2-0-1/158607 "2009-01-25T20:10:08Z")

</div>

Rumai 2.0.1 Ruby interface to the wmii window manager http://snk.tuxfamily.org/lib/rumai Rumai is a \[1\]Ruby interface to the \[2\]wmii window manager. Version 2.0.1 (2009-01…

---

## [\[ANN\] Inochi 0.2.0](https://www.ruby-forum.com/t/ann-inochi-0-2-0/158603)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 7:27pm UTC](https://www.ruby-forum.com/t/ann-inochi-0-2-0/158603 "2009-01-25T19:27:06Z")

</div>

Inochi 0.2.0 Gives life to RubyGems-based software http://snk.tuxfamily.org/lib/inochi Inochi is an infrastructure for \[1\]RubyGems-based software projects that encourages…

---

## [Unsubscribe my email address from all ruby forums](https://www.ruby-forum.com/t/unsubscribe-my-email-address-from-all-ruby-forums/158591)

<div class="topic-metadata">

**Author:** [@southtowestco](https://www.ruby-forum.com/u/southtowestco)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 5:10pm UTC](https://www.ruby-forum.com/t/unsubscribe-my-email-address-from-all-ruby-forums/158591 "2009-01-25T17:10:47Z")

</div>

unsubscribe my email address from all ruby forums

---

## [Regural expression with not condition](https://www.ruby-forum.com/t/regural-expression-with-not-condition/158560)

<div class="topic-metadata">

**Author:** [@vamsi](https://www.ruby-forum.com/u/vamsi)\
**Replies:** 3\
**Last updated:** [January 25, 2009, 4:53pm UTC](https://www.ruby-forum.com/t/regural-expression-with-not-condition/158560 "2009-01-25T16:53:17Z")

</div>

Hi all, i’m trying validate the format which doesn’t consist of an empty string in the single or double quotes. validates\_format\_of :name,:with=\>/^\[’"\]\[ \]\*\[’"\]$/ ,:on=\> :create /^\[’"\]\[ \]\*\[’"\]$/ it does validation for…

---

## [Help me understand this technique from an open source app?](https://www.ruby-forum.com/t/help-me-understand-this-technique-from-an-open-source-app/158541)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 1\
**Last updated:** [January 25, 2009, 4:43pm UTC](https://www.ruby-forum.com/t/help-me-understand-this-technique-from-an-open-source-app/158541 "2009-01-25T16:43:22Z")

</div>

n the code at the bottom (from HTTParty), the module is included in some other class (“O”), and among the effects is that (for example) the method default\_params becomes available in “O”. I don’t understand the techni…

---

## [How to find the position of each match within a string](https://www.ruby-forum.com/t/how-to-find-the-position-of-each-match-within-a-string/158558)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 5\
**Last updated:** [January 25, 2009, 3:35pm UTC](https://www.ruby-forum.com/t/how-to-find-the-position-of-each-match-within-a-string/158558 "2009-01-25T15:35:09Z")

</div>

Hi all, I have a small script to find a match. If a match is found I need to print its position within the string. I try the String#index but it only returns the first match. Any idea? Thanks, Li C:\\Documents and …

---

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

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 6\
**Last updated:** [January 25, 2009, 11:12am UTC](https://www.ruby-forum.com/t/gem-thought/158561 "2009-01-25T11:12:18Z")

</div>

I noticed how convenient it is to use debgem, I am wondering if it would be useful to be able to optionally specify “apt get style” dependencies, per gem. a la specification\[:apt\_get\_dependency\] = ‘some\_package’ the…

---

## [Failure: test\_str\_crypt on Darwin x64](https://www.ruby-forum.com/t/failure-test-str-crypt-on-darwin-x64/158547)

<div class="topic-metadata">

**Author:** [@TAKANO\_Mitsuhiro](https://www.ruby-forum.com/u/TAKANO_Mitsuhiro)\
**Replies:** 1\
**Last updated:** [January 25, 2009, 2:56am UTC](https://www.ruby-forum.com/t/failure-test-str-crypt-on-darwin-x64/158547 "2009-01-25T02:56:54Z")

</div>

e$B$3$s$K$A$Oe(B e$B9bLn$G$9!#e(B Darwine$B$Ge(Bx86\_64e$B$N%P%$%J%j$r:n@.$7!"%F%9%H$r$7$F$$$?$i$\*$+$7$J5sF0$,$"$j$^e(B e$B$7$?!#e(B test\_m17n\_comb.rb e$B$GJ8;zNs$Ne(Bcrypte$B$r$7$F$$$k$H$3$m$G$9!#e(B $ file ./ruby …

---

## [Not sure why this is failing, barring a typo:](https://www.ruby-forum.com/t/not-sure-why-this-is-failing-barring-a-typo/158571)

<div class="topic-metadata">

**Author:** [@yuckysocks](https://www.ruby-forum.com/u/yuckysocks)\
**Replies:** 2\
**Last updated:** [January 25, 2009, 2:11am UTC](https://www.ruby-forum.com/t/not-sure-why-this-is-failing-barring-a-typo/158571 "2009-01-25T02:11:52Z")

</div>

This code, directly from a book: class Animal def initialize(color) @color = color end def get\_color return @color end end animal = Animal.new(“brown”) puts "The new animal is " + animal.color results in “unde…

---

## [freeVikings 0.8](https://www.ruby-forum.com/t/freevikings-0-8/158573)

<div class="topic-metadata">

**Author:** [@Jakub\_PavlSSS\_k\_jn](https://www.ruby-forum.com/u/Jakub_PavlSSS_k_jn)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 2:07am UTC](https://www.ruby-forum.com/t/freevikings-0-8/158573 "2009-01-25T02:07:47Z")

</div>

== What is it? Game. Clone of Lost Vikings written in Ruby. == URL \[http://freevikings.sf.net\] == Summary of new features in this release: user’s configuration file select campaign in menu (you can forget option -l…

---

## [How to use the type in the Mysql::Field object?](https://www.ruby-forum.com/t/how-to-use-the-type-in-the-mysql-field-object/158365)

<div class="topic-metadata">

**Author:** [@pjpatten](https://www.ruby-forum.com/u/pjpatten)\
**Replies:** 4\
**Last updated:** [January 25, 2009, 12:00am UTC](https://www.ruby-forum.com/t/how-to-use-the-type-in-the-mysql-field-object/158365 "2009-01-25T00:00:04Z")

</div>

I’m trying to do something like this (not really, I want to use the type info instead of just displaying it…): fields = $db.list\_fields(tablename).fetch\_fields fields.each do |field| puts “Type = #{field.type} (#{fie…

---

## [\[RedCloth\] Adding a class to a link with Textile](https://www.ruby-forum.com/t/redcloth-adding-a-class-to-a-link-with-textile/158566)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 1\
**Last updated:** [January 24, 2009, 11:42pm UTC](https://www.ruby-forum.com/t/redcloth-adding-a-class-to-a-link-with-textile/158566 "2009-01-24T23:42:19Z")

</div>

I am trying to generate the following link using Textile: Using the following info found on a Textpattern forum: http://forum.textpattern.com/viewtopic.php?id=19888 This should have worked: “(first)This is a testlin…

---

## [OpenSSL Ruby 1.9? "Certificate verify failed"](https://www.ruby-forum.com/t/openssl-ruby-1-9-certificate-verify-failed/158522)

<div class="topic-metadata">

**Author:** [@alex797](https://www.ruby-forum.com/u/alex797)\
**Replies:** 4\
**Last updated:** [January 24, 2009, 11:14pm UTC](https://www.ruby-forum.com/t/openssl-ruby-1-9-certificate-verify-failed/158522 "2009-01-24T23:14:22Z")

</div>

Hi Guys! I’m trying to use OpenSSL with Ruby 1.9.1 but each time it tells me “SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)”. Also, I had to copy ssleay32.dll and libeay32.dll el…

---

## [Rttool-1.0.3](https://www.ruby-forum.com/t/rttool-1-0-3/158555)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [January 24, 2009, 8:24pm UTC](https://www.ruby-forum.com/t/rttool-1-0-3/158555 "2009-01-24T20:24:00Z")

</div>

Hi, == Abstract RT is a simple and human-readable table format. RTtool is a converter from RT into various formats. RT can be incorporated into RD. At this time, RTtool can convert RT into HTML and plain text. To c…

---

## [Help on SQLITE3-ruby (1.2.3) Windows problem](https://www.ruby-forum.com/t/help-on-sqlite3-ruby-1-2-3-windows-problem/158515)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [January 24, 2009, 7:46pm UTC](https://www.ruby-forum.com/t/help-on-sqlite3-ruby-1-2-3-windows-problem/158515 "2009-01-24T19:46:14Z")

</div>

Your Help please: I have installed sqlite3 in directory : c:\\tools\\sqlite3 and performed gem install : gem install sqlite3-ruby-1.2.3- mswin32.gem test2.rb program: #----------------------------------------------…

---

## [With or without arguments - how?](https://www.ruby-forum.com/t/with-or-without-arguments-how/158520)

<div class="topic-metadata">

**Author:** [@leveille](https://www.ruby-forum.com/u/leveille)\
**Replies:** 4\
**Last updated:** [January 24, 2009, 5:41pm UTC](https://www.ruby-forum.com/t/with-or-without-arguments-how/158520 "2009-01-24T17:41:24Z")

</div>

I’ve used methods before that work with or without arguments. I’ve tried to figure it out but can’t get to the bottom of it. Could someone give me a hint how you would go about creating a method that works for either …

---

## [Regex extension to handle matching parens?](https://www.ruby-forum.com/t/regex-extension-to-handle-matching-parens/158500)

<div class="topic-metadata">

**Author:** [@ivo\_welch](https://www.ruby-forum.com/u/ivo_welch)\
**Replies:** 5\
**Last updated:** [January 24, 2009, 5:40pm UTC](https://www.ruby-forum.com/t/regex-extension-to-handle-matching-parens/158500 "2009-01-24T17:40:49Z")

</div>

Dear Experts: I am very new to ruby, literally having just read the ruby book. I want to write a program that does basic LaTeX parsing, so I need to match ‘}’ closings to the opening ‘{’. (yes, I understand that LaT…

---

## [Socket connection to the Tor server](https://www.ruby-forum.com/t/socket-connection-to-the-tor-server/158508)

<div class="topic-metadata">

**Author:** [@camilleroux](https://www.ruby-forum.com/u/camilleroux)\
**Replies:** 1\
**Last updated:** [January 24, 2009, 3:35pm UTC](https://www.ruby-forum.com/t/socket-connection-to-the-tor-server/158508 "2009-01-24T15:35:36Z")

</div>

Hi, I’d like to code a script able to connect to the Tor server. Find above the command line script. I’d like to do the same in ruby. I tried using TCPSocket, Net::Telnet… no way. Thank you Camille SHELL SESSION: …

---

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

<div class="topic-metadata">

**Author:** [@rapido](https://www.ruby-forum.com/u/rapido)\
**Replies:** 0\
**Last updated:** [January 24, 2009, 11:25am UTC](https://www.ruby-forum.com/t/unsubscribe/158529 "2009-01-24T11:25:11Z")

</div>

How can i ubsubscribe from this mailing list. thanks

---

## [Sorting array with nils](https://www.ruby-forum.com/t/sorting-array-with-nils/158527)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 2\
**Last updated:** [January 24, 2009, 11:18am UTC](https://www.ruby-forum.com/t/sorting-array-with-nils/158527 "2009-01-24T11:18:26Z")

</div>

I have been browsing but given answers are not suiting me. I hava a double dim array like a dataset. I thus cannot use compact since that would knock off rows. Some answers say a nil cannot be compared to another data…

---

## [Desktop \<-\> Web](https://www.ruby-forum.com/t/desktop-web/157825)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 18\
**Last updated:** [January 24, 2009, 4:46am UTC](https://www.ruby-forum.com/t/desktop-web/157825 "2009-01-24T04:46:10Z")

</div>

I want to interface a desktop application to a backend web application. What’s the easiest way to go about this --what’s the best way to communicate between the two? Thanks, T.

---

## [Instantiate a class dynamically](https://www.ruby-forum.com/t/instantiate-a-class-dynamically/158510)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [January 24, 2009, 3:23am UTC](https://www.ruby-forum.com/t/instantiate-a-class-dynamically/158510 "2009-01-24T03:23:02Z")

</div>

Hey All, If I have the name of a class in a string var, is it possible to get a new instance of that class (and if so, how)? The following do not work: my\_string = “Hash” my\_object = Class(my\_string) my\_object = C…

---

## [Wxruby and the use of sizers - Help, Please!](https://www.ruby-forum.com/t/wxruby-and-the-use-of-sizers-help-please/158502)

<div class="topic-metadata">

**Author:** [@rubina](https://www.ruby-forum.com/u/rubina)\
**Replies:** 2\
**Last updated:** [January 24, 2009, 2:46am UTC](https://www.ruby-forum.com/t/wxruby-and-the-use-of-sizers-help-please/158502 "2009-01-24T02:46:46Z")

</div>

Hello all you happy people! I am trying to learn wxruby and to that effect I played with the tutorial, which is very limited. I am trying to draw a grid for a sudoku puzzle. I first tried using GridSizer but then I …

---

## [Testing against an api](https://www.ruby-forum.com/t/testing-against-an-api/158463)

<div class="topic-metadata">

**Author:** [@brentmc79](https://www.ruby-forum.com/u/brentmc79)\
**Replies:** 3\
**Last updated:** [January 24, 2009, 2:02am UTC](https://www.ruby-forum.com/t/testing-against-an-api/158463 "2009-01-24T02:02:19Z")

</div>

When testing code that consumes a web service, is it bad for the tests/specs to actually hit the api, or should the get/post/whatever requests be stubbed out? I’m currently writing a Ruby gem for a particular micro-bl…

---

## [DLR Daily Builds (including IronRuby)](https://www.ruby-forum.com/t/dlr-daily-builds-including-ironruby/158429)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 10\
**Last updated:** [January 24, 2009, 12:22am UTC](https://www.ruby-forum.com/t/dlr-daily-builds-including-ironruby/158429 "2009-01-24T00:22:14Z")

</div>

In case this is new to anyone … Harry Pierson recently built a daily-build site for the IronPython and DLR Codeplex sites. Good news for IronRuby is it’s included in the DLR Codeplex source repository (since IronRuby …

---

## [Class 'initialize' method not working?](https://www.ruby-forum.com/t/class-initialize-method-not-working/158487)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 8\
**Last updated:** [January 23, 2009, 11:42pm UTC](https://www.ruby-forum.com/t/class-initialize-method-not-working/158487 "2009-01-23T23:42:22Z")

</div>

I’m baffled by this error, after a hour+ of experimentation with solutions. I assume it’s a compiler error (right term in Ruby?), as I’m not even getting access to ruby-debug. Code snippet: def main opdb = Open\_db.ne…

---

## [Regexp'n bbcode](https://www.ruby-forum.com/t/regexpn-bbcode/158486)

<div class="topic-metadata">

**Author:** [@morbusg](https://www.ruby-forum.com/u/morbusg)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 9:11pm UTC](https://www.ruby-forum.com/t/regexpn-bbcode/158486 "2009-01-23T21:11:33Z")

</div>

I’m scratching my head over the goal of converting bbcode to markdown. The gist of the problem boils down to handling regexp matches inside regexp matches. Example: bbcode: which I’d like to convert to: foo: bar…

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

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