# Ruby

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

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

---

## [\[ANN\] frubygems -- quicker loading rubygems:"spooky" version](https://www.ruby-forum.com/t/ann-frubygems-quicker-loading-rubygems-spooky-version/177935)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [October 27, 2009, 6:27pm UTC](https://www.ruby-forum.com/t/ann-frubygems-quicker-loading-rubygems-spooky-version/177935 "2009-10-27T18:27:22Z")

</div>

Please to announce release code-named “spooky” of fast rubygems. Changelog: added ‘frubygems’ as an additional require option Synopsis: require ‘frubygems’ # takes about 1/5th the time of doing a require ‘rubygems’ …

---

## [Hash Reverse?](https://www.ruby-forum.com/t/hash-reverse/177899)

<div class="topic-metadata">

**Author:** [@koko](https://www.ruby-forum.com/u/koko)\
**Replies:** 8\
**Last updated:** [October 27, 2009, 6:24pm UTC](https://www.ruby-forum.com/t/hash-reverse/177899 "2009-10-27T18:24:26Z")

</div>

I am preparing for my orals exam in Ruby (my last chance… , If I fail the test, no more possible to study Computer Science related :slight\_smile: ) http://codepad.org/foNb9Pd3 class Hash def hash\_revert hash\_new = H…

---

## [Add\_assertion' called for nil:NilClass errror when testing](https://www.ruby-forum.com/t/add-assertion-called-for-nil-nilclass-errror-when-testing/177991)

<div class="topic-metadata">

**Author:** [@arti\_singh](https://www.ruby-forum.com/u/arti_singh)\
**Replies:** 1\
**Last updated:** [October 27, 2009, 6:12pm UTC](https://www.ruby-forum.com/t/add-assertion-called-for-nil-nilclass-errror-when-testing/177991 "2009-10-27T18:12:47Z")

</div>

This @browser is defined in the login method @browser=Selenium::Client::Driver.new(“localhost”, 4444, “\*chrome”, $url , 10000); class CrudDContent\<Test::Unit::TestCase def initialize() login(“browser\_name”) end#ini…

---

## [Error while running make for Ruby 1.9.1 P243](https://www.ruby-forum.com/t/error-while-running-make-for-ruby-1-9-1-p243/177989)

<div class="topic-metadata">

**Author:** [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 4:30pm UTC](https://www.ruby-forum.com/t/error-while-running-make-for-ruby-1-9-1-p243/177989 "2009-10-27T16:30:45Z")

</div>

Hi…I am new to Ruby and trying to install Ruby 1.9.1 P243 following the install instruction in README. The ./configure was successfully completed…but the make command failed error code 1 (./miniruby not found). Can …

---

## [How can I do a linux mount in a programmatic way?](https://www.ruby-forum.com/t/how-can-i-do-a-linux-mount-in-a-programmatic-way/177988)

<div class="topic-metadata">

**Author:** [@Jedrin](https://www.ruby-forum.com/u/Jedrin)\
**Replies:** 2\
**Last updated:** [October 27, 2009, 4:12pm UTC](https://www.ruby-forum.com/t/how-can-i-do-a-linux-mount-in-a-programmatic-way/177988 "2009-10-27T16:12:59Z")

</div>

If I do something like system('sudo mount … ') then I don’t really get any error codes back to see what happened because I just get the sudo return code here. Is there a way to do this like a library call in ruby ?

---

## [About ruby/ext/my\_extension/lib function](https://www.ruby-forum.com/t/about-ruby-ext-my-extension-lib-function/177794)

<div class="topic-metadata">

**Author:** [@ravishi](https://www.ruby-forum.com/u/ravishi)\
**Replies:** 1\
**Last updated:** [October 27, 2009, 4:10pm UTC](https://www.ruby-forum.com/t/about-ruby-ext-my-extension-lib-function/177794 "2009-10-27T16:10:32Z")

</div>

What is the right structure for a Ruby extension? I mean, not a RubyGem, a Ruby extension like that openssl one that comes with Ruby source. I’ve asked in the IRC channel and all that the people said was: “just put it…

---

## [UnMarshal without source file](https://www.ruby-forum.com/t/unmarshal-without-source-file/197106)

<div class="topic-metadata">

**Author:** [@Manny\_Calavera](https://www.ruby-forum.com/u/Manny_Calavera)\
**Replies:** 3\
**Last updated:** [October 27, 2009, 3:55pm UTC](https://www.ruby-forum.com/t/unmarshal-without-source-file/197106 "2009-10-27T15:55:59Z")

</div>

I’m looking for a STANDARD methods to unmarshal a class istance without have source file. Thanx

---

## [RCR: regex + regex](https://www.ruby-forum.com/t/rcr-regex-regex/177934)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [October 27, 2009, 2:04pm UTC](https://www.ruby-forum.com/t/rcr-regex-regex/177934 "2009-10-27T14:04:29Z")

</div>

Feedback on the following suggestion for ruby: by default allow for adding regex’s i.e. /foo/ + /bar/ =\> /foobar/ Thoughts? -r

---

## [Marshal error with nom ascii chars](https://www.ruby-forum.com/t/marshal-error-with-nom-ascii-chars/177974)

<div class="topic-metadata">

**Author:** [@marcelocavaco](https://www.ruby-forum.com/u/marcelocavaco)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 12:50pm UTC](https://www.ruby-forum.com/t/marshal-error-with-nom-ascii-chars/177974 "2009-10-27T12:50:43Z")

</div>

first. sorry about my english. i dont speak english very well. please, someone help me… i have an array with 2 colums. ex: myfiles\[1\] = name of file myfiles\[2\] = text of file i used marshal.dump in this array. lat…

---

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

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 12:28pm UTC](https://www.ruby-forum.com/t/unsubscribe/177973 "2009-10-27T12:28:28Z")

</div>

\# unsubscribe

---

## [Array question](https://www.ruby-forum.com/t/array-question/177944)

<div class="topic-metadata">

**Author:** [@rubymarc](https://www.ruby-forum.com/u/rubymarc)\
**Replies:** 4\
**Last updated:** [October 27, 2009, 12:01pm UTC](https://www.ruby-forum.com/t/array-question/177944 "2009-10-27T12:01:32Z")

</div>

Hey everyone I’m a 14 year-old beginner in ruby and I discovered that I need to separate strings into arrays for a program that I am making. For example, if I have the string ‘abc’, I’ll want to make it into the array…

---

## [Rainbows! 0.4.0 - EventMachine+async\_sinatra support](https://www.ruby-forum.com/t/rainbows-0-4-0-eventmachine-async-sinatra-support/177966)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 10:02am UTC](https://www.ruby-forum.com/t/rainbows-0-4-0-eventmachine-async-sinatra-support/177966 "2009-10-27T10:02:42Z")

</div>

Rainbows! is a HTTP server for sleepy Rack applications. It is based on Unicorn, but designed to handle applications that expect long request/response times and/or slow clients. For Rack applications not heavily bou…

---

## [Unicorn 0.93.4 - \*BSD stdio compatibility](https://www.ruby-forum.com/t/unicorn-0-93-4-bsd-stdio-compatibility/177964)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 10:02am UTC](https://www.ruby-forum.com/t/unicorn-0-93-4-bsd-stdio-compatibility/177964 "2009-10-27T10:02:07Z")

</div>

Unicorn is a HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels. Slow clients should only be serv…

---

## [In Ruby How to handle the Request operation](https://www.ruby-forum.com/t/in-ruby-how-to-handle-the-request-operation/177882)

<div class="topic-metadata">

**Author:** [@antony\_4u](https://www.ruby-forum.com/u/antony_4u)\
**Replies:** 1\
**Last updated:** [October 27, 2009, 9:54am UTC](https://www.ruby-forum.com/t/in-ruby-how-to-handle-the-request-operation/177882 "2009-10-27T09:54:29Z")

</div>

In a \*.erb file I have a Form with controller action In that I have 3 textbox and a submit button while clicking submit button I want to get the value of all 3 textbox in controller I mean In java we ll get the value li…

---

## [\[ANN\] Dfect 1.1.0](https://www.ruby-forum.com/t/ann-dfect-1-1-0/177952)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 8:45am UTC](https://www.ruby-forum.com/t/ann-dfect-1-1-0/177952 "2009-10-27T08:45:25Z")

</div>

Dfect 1.1.0 Assertion testing library for Ruby http://snk.tuxfamily.org/lib/dfect/ Dfect is an assertion testing library for Ruby that emphasizes a simple assertion voc…

---

## [Revactor 0.1.5: Erlangy add-ons to Ruby 1.9](https://www.ruby-forum.com/t/revactor-0-1-5-erlangy-add-ons-to-ruby-1-9/177951)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 6:01am UTC](https://www.ruby-forum.com/t/revactor-0-1-5-erlangy-add-ons-to-ruby-1-9/177951 "2009-10-27T06:01:33Z")

</div>

“The reports of my death are greatly exaggerated” Revactor implements an approach to concurrency known as the Actor model. Actors are lightweight concurrency primitives which talk to each other using messages. While…

---

## [\[ANN\] Tiamat: Automatic parallelism across multiple machines](https://www.ruby-forum.com/t/ann-tiamat-automatic-parallelism-across-multiple-machines/177757)

<div class="topic-metadata">

**Author:** [@noagenda](https://www.ruby-forum.com/u/noagenda)\
**Replies:** 5\
**Last updated:** [October 27, 2009, 2:00am UTC](https://www.ruby-forum.com/t/ann-tiamat-automatic-parallelism-across-multiple-machines/177757 "2009-10-27T02:00:22Z")

</div>

= Tiamat == Summary Automatic parallelism across multiple cores and machines: a plugin for Pure. == Synopsis require ‘tiamat/autoconfig’ require ‘benchmark’ mod = Pure.define do def total(left, right) left + rig…

---

## [HOW TO PRODUCE LIGHT {Noor(Divine Energy)} IN YOUR HEART](https://www.ruby-forum.com/t/how-to-produce-light-noor-divine-energy-in-your-heart/177929)

<div class="topic-metadata">

**Author:** [@Sarfaraz\_Ahmed](https://www.ruby-forum.com/u/Sarfaraz_Ahmed)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 9:31pm UTC](https://www.ruby-forum.com/t/how-to-produce-light-noor-divine-energy-in-your-heart/177929 "2009-10-26T21:31:01Z")

</div>

The method of producing light.{NOOR} NO MATTER ANY RELIGION - ALLAH(GOD) IS FOR EVERY ONE. In prehistoric times stones would be rubbed together to make fire. Whereas a spark can also be produced by rubbing two metals …

---

## [Rice 1.2.0](https://www.ruby-forum.com/t/rice-1-2-0/177927)

<div class="topic-metadata">

**Author:** [@jruyle](https://www.ruby-forum.com/u/jruyle)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 8:36pm UTC](https://www.ruby-forum.com/t/rice-1-2-0/177927 "2009-10-26T20:36:33Z")

</div>

Rice: Ruby Interface for C++ Extensions What is Rice? Rice is a C++ interface to Ruby’s C API. It provides a type-safe and exception-safe interface in order to make embedding Ruby and writing Ruby extensions with C+…

---

## [Rb++ / rbgccxml 0.9](https://www.ruby-forum.com/t/rb-rbgccxml-0-9/177926)

<div class="topic-metadata">

**Author:** [@jruyle](https://www.ruby-forum.com/u/jruyle)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 8:31pm UTC](https://www.ruby-forum.com/t/rb-rbgccxml-0-9/177926 "2009-10-26T20:31:17Z")

</div>

= What is rb++ / rbgccxml? Rb++, rbgccxml, and rice compose a suite of tools that make wrapping C++ libraries into Ruby extensions as simple as possible. This is built as a replacement for SWIG-Ruby. == What’s New …

---

## [Anyone going to PDC this year?](https://www.ruby-forum.com/t/anyone-going-to-pdc-this-year/177925)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/anyone-going-to-pdc-this-year/177925 "2009-10-26T20:21:55Z")

</div>

Is anyone going to PDC this year? Dino is giving a talk there, and the “Ask the Experts” dinner event will have a joint “Dynamic Language Runtime, IronPython, and IronRuby” table, but only with Dino sitting there. Whi…

---

## [Setting instance variables from hash parameters (with defaults)](https://www.ruby-forum.com/t/setting-instance-variables-from-hash-parameters-with-defaults/177910)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 8\
**Last updated:** [October 26, 2009, 8:06pm UTC](https://www.ruby-forum.com/t/setting-instance-variables-from-hash-parameters-with-defaults/177910 "2009-10-26T20:06:42Z")

</div>

Hi! I’m sure I might be reinventing the wheel here. I was writing the following ugly code in order to set options (with defaults) from a hash: def initialize(opts = {}) @select\_max = opts.has\_key?(:select\_max) ? opt…

---

## [Using methods from Selenium::Client::Idiomatic in Unit::Test](https://www.ruby-forum.com/t/using-methods-from-selenium-idiomatic-in-unit-test/197012)

<div class="topic-metadata">

**Author:** [@arti\_singh](https://www.ruby-forum.com/u/arti_singh)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 7:24pm UTC](https://www.ruby-forum.com/t/using-methods-from-selenium-idiomatic-in-unit-test/197012 "2009-10-26T19:24:46Z")

</div>

I am unable to access the methods defined in Selenium::Client::Idiomatic under my unit tests which are a child of Test::Unit::TestCase $browser=Selenium::SeleniumDriver.new(“localhost”, 4444, “\*chrome”, $url , 10000); …

---

## [Gui Unit testing with Ruby](https://www.ruby-forum.com/t/gui-unit-testing-with-ruby/177918)

<div class="topic-metadata">

**Author:** [@arti\_singh](https://www.ruby-forum.com/u/arti_singh)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 6:49pm UTC](https://www.ruby-forum.com/t/gui-unit-testing-with-ruby/177918 "2009-10-26T18:49:58Z")

</div>

I am unable to access the methods defined in Selenium::Client::Idiomatic under my unit tests which are a child of Test::Unit::TestCase $browser=Selenium::SeleniumDriver.new(“localhost”, 4444, “\*chrome”, $url , 10000); …

---

## [\[ANN\] kdtree 0.1](https://www.ruby-forum.com/t/ann-kdtree-0-1/177916)

<div class="topic-metadata">

**Author:** [@adamdorsey](https://www.ruby-forum.com/u/adamdorsey)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 5:52pm UTC](https://www.ruby-forum.com/t/ann-kdtree-0-1/177916 "2009-10-26T17:52:38Z")

</div>

I’ve written a fast 2d kdtree gem. kdtree was specifically created to solve the nearest neighbor problem for Urbanspoon across nearly 1 million restaurants. Here are some benchmarks for a tree with 1 million nodes on …

---

## [BareTest 0.2 released](https://www.ruby-forum.com/t/baretest-0-2-released/177853)

<div class="topic-metadata">

**Author:** [@apeiros](https://www.ruby-forum.com/u/apeiros)\
**Replies:** 6\
**Last updated:** [October 26, 2009, 5:51pm UTC](https://www.ruby-forum.com/t/baretest-0-2-released/177853 "2009-10-26T17:51:12Z")

</div>

I’m pleased to announce BareTest 0.2. BareTest is a new test framework. I started writing it for mainly 2 reasons: I disliked the undescriptive way you have specify tests in vanilla Test::Unit (def test\_bla), compa…

---

## [Hoe and GemCutter](https://www.ruby-forum.com/t/hoe-and-gemcutter/177905)

<div class="topic-metadata">

**Author:** [@james-calivar](https://www.ruby-forum.com/u/james-calivar)\
**Replies:** 2\
**Last updated:** [October 26, 2009, 4:49pm UTC](https://www.ruby-forum.com/t/hoe-and-gemcutter/177905 "2009-10-26T16:49:24Z")

</div>

Hi all, This is really targeted at the Hoe developers but I’m asking it here so everyone can see the response. In light of http://update.gemcutter.org/2009/10/26/transition.html, will Hoe be swapping out its Rubyfor…

---

## [First open source election software uses rails](https://www.ruby-forum.com/t/first-open-source-election-software-uses-rails/177912)

<div class="topic-metadata">

**Author:** [@3nd3r](https://www.ruby-forum.com/u/3nd3r)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 4:38pm UTC](https://www.ruby-forum.com/t/first-open-source-election-software-uses-rails/177912 "2009-10-26T16:38:51Z")

</div>

from http://www.wired.com/threatlevel/2009/10/open-source "LOS ANGELES â€” A group working to produce an open and transparent voting system to replace current proprietary systems has published its first batches of cod…

---

## [Spawn new JRuby interpreters from Jruby](https://www.ruby-forum.com/t/spawn-new-jruby-interpreters-from-jruby/177900)

<div class="topic-metadata">

**Author:** [@zgchurch](https://www.ruby-forum.com/u/zgchurch)\
**Replies:** 1\
**Last updated:** [October 26, 2009, 4:29pm UTC](https://www.ruby-forum.com/t/spawn-new-jruby-interpreters-from-jruby/177900 "2009-10-26T16:29:29Z")

</div>

Is it possible to spawn another JRuby interpreter from within JRuby? I’m looking to use this as an alternative to forking, and to avoid unavoidable race conditions involved with using threads. I’m sure you can create …

---

## [Re: windows buildserver test run](https://www.ruby-forum.com/t/re-windows-buildserver-test-run/177908)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/re-windows-buildserver-test-run/177908 "2009-10-26T16:25:23Z")

</div>

Default.mspec has a trace handler that causes assserts to print a message instead of the dialog if %SILENTASSERT% is set. This listener could be ported to a different location to make it work across the test runners. …

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

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