# Ruby

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

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

---

## [1.9.2dev compilation with clang 1.1](https://www.ruby-forum.com/t/1-9-2dev-compilation-with-clang-1-1/184190)

<div class="topic-metadata">

**Author:** [@keltia](https://www.ruby-forum.com/u/keltia)\
**Replies:** 0\
**Last updated:** [February 26, 2010, 12:10pm UTC](https://www.ruby-forum.com/t/1-9-2dev-compilation-with-clang-1-1/184190 "2010-02-26T12:10:41Z")

</div>

Any on how to find out where it is broken and maybe even why? (bug in ruby? bug in clang?) clang/llvm 1.1@97037, ruby@26766, OS X 10.6.2. clang -O -m64 -g -pipe -L. -m64 -g -L/usr/local/lib -Wl,-u,\_objc\_msgSend main…

---

## [Speed sprint](https://www.ruby-forum.com/t/speed-sprint/183935)

<div class="topic-metadata">

**Author:** [@Benedikt\_MSSS\_ller](https://www.ruby-forum.com/u/Benedikt_MSSS_ller)\
**Replies:** 22\
**Last updated:** [February 26, 2010, 10:20am UTC](https://www.ruby-forum.com/t/speed-sprint/183935 "2010-02-26T10:20:42Z")

</div>

Hi We all know: Ruby is not the fastest interpreted language out there. I think, this isn’t the goal, but I also think, Ruby is too slow. I would suggest, that a time, say two monthes or three, only speed patches and…

---

## [Ruby class](https://www.ruby-forum.com/t/ruby-class/184135)

<div class="topic-metadata">

**Author:** [@alexamat](https://www.ruby-forum.com/u/alexamat)\
**Replies:** 6\
**Last updated:** [February 26, 2010, 10:09am UTC](https://www.ruby-forum.com/t/ruby-class/184135 "2010-02-26T10:09:21Z")

</div>

Hello all. I have two classes: class CartItem attr\_reader :product, :quantity def initialize(product) @product = product @quantity = 1 end def increment\_quantity @quantity += 1 end def title @product.title en…

---

## [Ruby CMS](https://www.ruby-forum.com/t/ruby-cms/183869)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [February 26, 2010, 5:02am UTC](https://www.ruby-forum.com/t/ruby-cms/183869 "2010-02-26T05:02:56Z")

</div>

Hi all! I’m looking for a mature ruby based cms. Something like Slate http://slatecms.wvu.edu/ but a bit more active and mature. Its either that or I’m going to have to stick with PHP for this one. ANy recommendation…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/184170)

<div class="topic-metadata">

**Author:** [@Brian\_Watkins](https://www.ruby-forum.com/u/Brian_Watkins)\
**Replies:** 1\
**Last updated:** [February 26, 2010, 2:40am UTC](https://www.ruby-forum.com/t/no-subject/184170 "2010-02-26T02:40:44Z")

</div>

unsubscribe

---

## [Trace local variable](https://www.ruby-forum.com/t/trace-local-variable/183990)

<div class="topic-metadata">

**Author:** [@onionwushu](https://www.ruby-forum.com/u/onionwushu)\
**Replies:** 3\
**Last updated:** [February 26, 2010, 12:43am UTC](https://www.ruby-forum.com/t/trace-local-variable/183990 "2010-02-26T00:43:50Z")

</div>

Hi ! I’ve searched a lot to get an answer but I can’t figured it out. I wish to trace local variables in a method. Here is an example: def test a = 1 b = 2 end Returns: Variable a gets the value 1 in test Variab…

---

## [Making a VALUE visible to multiple source files](https://www.ruby-forum.com/t/making-a-value-visible-to-multiple-source-files/184151)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 3\
**Last updated:** [February 25, 2010, 10:17pm UTC](https://www.ruby-forum.com/t/making-a-value-visible-to-multiple-source-files/184151 "2010-02-25T22:17:56Z")

</div>

Hi, I’m having some trouble pre-declaring some VALUE’s. I’ve got a VALUE cFoo I want to be visible to multiple source files. Say the layout is something like this: foo/ext/stuff/extconf.rb foo/ext/stuff/foo.c foo/e…

---

## [Thin 1.2.6 Crazy Delicious release](https://www.ruby-forum.com/t/thin-1-2-6-crazy-delicious-release/184163)

<div class="topic-metadata">

**Author:** [@macournoyer](https://www.ruby-forum.com/u/macournoyer)\
**Replies:** 0\
**Last updated:** [February 25, 2010, 10:10pm UTC](https://www.ruby-forum.com/t/thin-1-2-6-crazy-delicious-release/184163 "2010-02-25T22:10:55Z")

</div>

Hey all, Thin version 1.2.6 (codename Crazy Delicious) is out! == What’s new? Make work with Rails 3 out-of-the-box. Auto-detect and load config.ru files on start. Makes Rails 3 work. Fix signals being ignored under …

---

## [WWW deprecation notice in Mechanize](https://www.ruby-forum.com/t/www-deprecation-notice-in-mechanize/184104)

<div class="topic-metadata">

**Author:** [@roger99999](https://www.ruby-forum.com/u/roger99999)\
**Replies:** 2\
**Last updated:** [February 25, 2010, 8:26pm UTC](https://www.ruby-forum.com/t/www-deprecation-notice-in-mechanize/184104 "2010-02-25T20:26:44Z")

</div>

I’m a Ruby newbie trying to use scrubyt to extract text from a site. I have mechanize 1.0.0 installed and keep getting the following deprecation notice. Unfortunately, I’m not sure how to switch the WWW to mechanize, …

---

## [Dia 1.1 released!](https://www.ruby-forum.com/t/dia-1-1-released/183558)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 16\
**Last updated:** [February 25, 2010, 7:58pm UTC](https://www.ruby-forum.com/t/dia-1-1-released/183558 "2010-02-25T19:58:03Z")

</div>

Hey For anyone on OSX who has a few minutes to spare you might “Dia” a fun project to play around with. It can run a Ruby block or an OSX Application under a sandbox with five different profiles that affect the restr…

---

## [Selenium, secure connection failed, security certificate](https://www.ruby-forum.com/t/selenium-secure-connection-failed-security-certificate/171592)

<div class="topic-metadata">

**Author:** [@kga85](https://www.ruby-forum.com/u/kga85)\
**Replies:** 3\
**Last updated:** [February 25, 2010, 7:50pm UTC](https://www.ruby-forum.com/t/selenium-secure-connection-failed-security-certificate/171592 "2010-02-25T19:50:36Z")

</div>

I am doing some testing with Selenium, and i have a problem. The site I am testing is a secure site with username and password. And i have one problem. When i start Selenium tests from a ruby program then a new browse…

---

## [Help on algorithm to calculate combinations](https://www.ruby-forum.com/t/help-on-algorithm-to-calculate-combinations/184110)

<div class="topic-metadata">

**Author:** [@motoris](https://www.ruby-forum.com/u/motoris)\
**Replies:** 8\
**Last updated:** [February 25, 2010, 7:19pm UTC](https://www.ruby-forum.com/t/help-on-algorithm-to-calculate-combinations/184110 "2010-02-25T19:19:59Z")

</div>

Hello all I would like to find an algorithm to caclulate all options on the following problem. Lets suppose we have a room of max capacity of 4 persons. Which are the combinations of man - child in this room? some o…

---

## [\[ANN\] Ruby 1.9.2dev has passed RubySpec!](https://www.ruby-forum.com/t/ann-ruby-1-9-2dev-has-passed-rubyspec/184073)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 2\
**Last updated:** [February 25, 2010, 5:49pm UTC](https://www.ruby-forum.com/t/ann-ruby-1-9-2dev-has-passed-rubyspec/184073 "2010-02-25T17:49:50Z")

</div>

e$B1sF#$G$9!#e(B e$B:#$7$,$?!"e(Btrunk (1.9.2dev) e$B$,e(B RubySpec e$B$NA4e(B spec e$B$r%Q%9$7$^$7$?!#e(B 1.9.2 e$B$N%j%j!\<%9$O!"e(BYugui e$B$5$s$,e(B \[ruby-core:25707\] e$B$G!Ve(BRubySpec e$B$re(B e$B%Q%9$7$J$-$c%j…

---

## [Error on iterating through a set of nested tables in a form](https://www.ruby-forum.com/t/error-on-iterating-through-a-set-of-nested-tables-in-a-form/184138)

<div class="topic-metadata">

**Author:** [@arti\_singh](https://www.ruby-forum.com/u/arti_singh)\
**Replies:** 0\
**Last updated:** [February 25, 2010, 4:54pm UTC](https://www.ruby-forum.com/t/error-on-iterating-through-a-set-of-nested-tables-in-a-form/184138 "2010-02-25T16:54:27Z")

</div>

I am trying to run the code below on a nested table that is embedded in a form, but I keep getting the error: Undefined method: table for NIL class when I try to iterate through this table. is there anything that I a…

---

## [Launching a commamd prompt window from .rbw application](https://www.ruby-forum.com/t/launching-a-commamd-prompt-window-from-rbw-application/184068)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 2\
**Last updated:** [February 25, 2010, 4:15pm UTC](https://www.ruby-forum.com/t/launching-a-commamd-prompt-window-from-rbw-application/184068 "2010-02-25T16:15:43Z")

</div>

How can I launch a command prompt window from within a .rbw application? I’d like, under certain circumstances, to allow output and input via a command prompt window/terminal window, but I don’t want it launched at st…

---

## [WIN32OLE & MS Access 2007: read-only... only?](https://www.ruby-forum.com/t/win32ole-ms-access-2007-read-only-only/184121)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 1\
**Last updated:** [February 25, 2010, 2:39pm UTC](https://www.ruby-forum.com/t/win32ole-ms-access-2007-read-only-only/184121 "2010-02-25T14:39:33Z")

</div>

Hi, With Office 2003, I am able to open through ruby an Access database, make a few structure changes in it, and finally open a report, with code similar to: require ‘win32ole’ access = WIN32OLE.new(‘Access.Applicat…

---

## [Ruby on Rails application could not be started](https://www.ruby-forum.com/t/ruby-on-rails-application-could-not-be-started/184054)

<div class="topic-metadata">

**Author:** [@canner](https://www.ruby-forum.com/u/canner)\
**Replies:** 2\
**Last updated:** [February 25, 2010, 10:16am UTC](https://www.ruby-forum.com/t/ruby-on-rails-application-could-not-be-started/184054 "2010-02-25T10:16:51Z")

</div>

Hi, I’m upt o install retrospectiva on my centOS 5 machine. Therefore, i installed ruby 1.9.1 (ruby 1.9.1p376 (2009-12-07 revision 26041) \[x86\_64-linux\]) and following gems: \*\*\* LOCAL GEMS \*\*\* actionmailer (2.3.5) …

---

## [Warbler and rails3?](https://www.ruby-forum.com/t/warbler-and-rails3/184109)

<div class="topic-metadata">

**Author:** [@cnick](https://www.ruby-forum.com/u/cnick)\
**Replies:** 1\
**Last updated:** [February 25, 2010, 6:43am UTC](https://www.ruby-forum.com/t/warbler-and-rails3/184109 "2010-02-25T06:43:41Z")

</div>

Has anyone gotten warbler to work with rails3? When I first tried running warble in a rails3 app I got the following: no such file to load – jruby-jars I tried adding jruby-jars to my Gemfile, next I got an error li…

---

## [Deserialize java object](https://www.ruby-forum.com/t/deserialize-java-object/184094)

<div class="topic-metadata">

**Author:** [@adad](https://www.ruby-forum.com/u/adad)\
**Replies:** 2\
**Last updated:** [February 25, 2010, 2:56am UTC](https://www.ruby-forum.com/t/deserialize-java-object/184094 "2010-02-25T02:56:01Z")

</div>

Hi, I am using ruby to check some memcache keys. the memcache values are serialized java objects. Is it possible to read these objects in ruby and output their values? thanks, ad.

---

## [Opening new command window from a Ruby application](https://www.ruby-forum.com/t/opening-new-command-window-from-a-ruby-application/184100)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 0\
**Last updated:** [February 25, 2010, 1:23am UTC](https://www.ruby-forum.com/t/opening-new-command-window-from-a-ruby-application/184100 "2010-02-25T01:23:56Z")

</div>

I have a .rbw application. I only want it to open a command window/terminal under certain circumstances, such as if there are error messages, or if it needs user input. Otherwise, I don’t want to display the window. …

---

## [Ocra: "Failed to create directory"](https://www.ruby-forum.com/t/ocra-failed-to-create-directory/168868)

<div class="topic-metadata">

**Author:** [@tbaustert](https://www.ruby-forum.com/u/tbaustert)\
**Replies:** 7\
**Last updated:** [February 24, 2010, 11:09pm UTC](https://www.ruby-forum.com/t/ocra-failed-to-create-directory/168868 "2010-02-24T23:09:05Z")

</div>

Hello. I was trying to use Ocra with Ruby 1.9.1 on Windows. It creates the executable but then when I try to run it, all I get is “Failed to create directory” on the console, and the program finishes. It’s hard to fin…

---

## [Create a counter in a hash to return first 10 results only](https://www.ruby-forum.com/t/create-a-counter-in-a-hash-to-return-first-10-results-only/184078)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 2\
**Last updated:** [February 24, 2010, 9:51pm UTC](https://www.ruby-forum.com/t/create-a-counter-in-a-hash-to-return-first-10-results-only/184078 "2010-02-24T21:51:09Z")

</div>

New to ruby… I created a hash array and everything works fine except I can’t figure out how to include a counter to return the first 10 results only. Thanks John Here is the code h = Hash.new good\_words.each { |w| …

---

## [Code Review: Adding more Rails 3 tests](https://www.ruby-forum.com/t/code-review-adding-more-rails-3-tests/184083)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 9:17pm UTC](https://www.ruby-forum.com/t/code-review-adding-more-rails-3-tests/184083 "2010-02-24T21:17:47Z")

</div>

tfpt review “/shelveset:as3;REDMOND\\sborde” Comment : Adds ActiveSupport 3.0.pre tests. Pass rate is 98%! Conditionally disables some ActiveRecord tests that fail on non-English machines Adds support to run the Act…

---

## [Memprof / GC dynamics](https://www.ruby-forum.com/t/memprof-gc-dynamics/184031)

<div class="topic-metadata">

**Author:** [@thegoatboy](https://www.ruby-forum.com/u/thegoatboy)\
**Replies:** 1\
**Last updated:** [February 24, 2010, 6:44pm UTC](https://www.ruby-forum.com/t/memprof-gc-dynamics/184031 "2010-02-24T18:44:46Z")

</div>

Wow, memprof is great stuff. I have a case I don’t really understand, though. (On 1.8.7-p249) I have Memprof.start # optionally GC.start Whether I have the Memprof.start call in there or not changes the results of …

---

## [Rubygems can install gems due to lack of space](https://www.ruby-forum.com/t/rubygems-can-install-gems-due-to-lack-of-space/184029)

<div class="topic-metadata">

**Author:** [@helos](https://www.ruby-forum.com/u/helos)\
**Replies:** 1\
**Last updated:** [February 24, 2010, 6:43pm UTC](https://www.ruby-forum.com/t/rubygems-can-install-gems-due-to-lack-of-space/184029 "2010-02-24T18:43:12Z")

</div>

Hi i get… ERROR: While executing gem … (Errno::ENOSPC) No space left on device - /var/lib/gems/1.8/gems/actionpack-3.0.0.beta/README when i have 700+mb of space on my disk

---

## [Glassfish gem with JRuby trunk](https://www.ruby-forum.com/t/glassfish-gem-with-jruby-trunk/184037)

<div class="topic-metadata">

**Author:** [@Joseph\_A](https://www.ruby-forum.com/u/Joseph_A)\
**Replies:** 2\
**Last updated:** [February 24, 2010, 5:14pm UTC](https://www.ruby-forum.com/t/glassfish-gem-with-jruby-trunk/184037 "2010-02-24T17:14:57Z")

</div>

Is anyone using the current glassfish gem with JRuby trunk? With a trivial app I get this every time I try to go to a page: INFO: JRuby version is: 1.5.0.dev Feb 23, 2010 9:18:30 PM com.sun.grizzly.jruby.RackGrizzly…

---

## [Results are different by running script via irb and ruby](https://www.ruby-forum.com/t/results-are-different-by-running-script-via-irb-and-ruby/184071)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 1\
**Last updated:** [February 24, 2010, 4:49pm UTC](https://www.ruby-forum.com/t/results-are-different-by-running-script-via-irb-and-ruby/184071 "2010-02-24T16:49:11Z")

</div>

Hey, I am new to ruby. I have the following simple ruby script def make\_show\_name(show) return Proc.new {|host| show + " with " + host} end show = make\_show\_name(“Practical Cannibalism”) show.call(“H. Annabellector…

---

## [Referring to Hash and Array Elements](https://www.ruby-forum.com/t/referring-to-hash-and-array-elements/184056)

<div class="topic-metadata">

**Author:** [@saeed](https://www.ruby-forum.com/u/saeed)\
**Replies:** 3\
**Last updated:** [February 24, 2010, 3:17pm UTC](https://www.ruby-forum.com/t/referring-to-hash-and-array-elements/184056 "2010-02-24T15:17:17Z")

</div>

Hi All, I am a beginner to Ruby. Currently I am working with Hashes and Arrays. I have a loop where the code saves several objects into a Hash. Everytime the loop is run the objects in the Hash are overwritten, there…

---

## [RDoc status and future?](https://www.ruby-forum.com/t/rdoc-status-and-future/183975)

<div class="topic-metadata">

**Author:** [@Claus\_Folke\_B](https://www.ruby-forum.com/u/Claus_Folke_B)\
**Replies:** 4\
**Last updated:** [February 24, 2010, 1:00pm UTC](https://www.ruby-forum.com/t/rdoc-status-and-future/183975 "2010-02-24T13:00:53Z")

</div>

Hi all, RDoc 1.0.1 is part of the standard library for Ruby 1.8.6 and 1.8.7 (don’t know about Ruby 1.9.x). RDoc 2.4.3 seems to be the newest and very different version but is not part of the standard library. Can an…

---

## [Ruby-debug-ide & Vim](https://www.ruby-forum.com/t/ruby-debug-ide-vim/184045)

<div class="topic-metadata">

**Author:** [@willwach](https://www.ruby-forum.com/u/willwach)\
**Replies:** 0\
**Last updated:** [February 24, 2010, 7:47am UTC](https://www.ruby-forum.com/t/ruby-debug-ide-vim/184045 "2010-02-24T07:47:36Z")

</div>

Hi, There is a vim-ruby-debugger script out there. It seems to work fine. However when starting sup within the debugger using this command: rdebug-ide -Ilib -p 39767 – bin/sup There is an exception: Uncaught except…

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

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