# Ruby

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

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

---

## [Centos and ruby 1.9.1 - possible?](https://www.ruby-forum.com/t/centos-and-ruby-1-9-1-possible/169895)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 19\
**Last updated:** [June 18, 2009, 6:15am UTC](https://www.ruby-forum.com/t/centos-and-ruby-1-9-1-possible/169895 "2009-06-18T06:15:17Z")

</div>

I hate even typing the question but my vps template has centos unfortunately. So, I’m looking for instructions on how to install ruby with centos and yum… Anyone have some solutions for me - advice?

---

## [Stepping Through Ruby](https://www.ruby-forum.com/t/stepping-through-ruby/170231)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 5\
**Last updated:** [June 18, 2009, 3:17am UTC](https://www.ruby-forum.com/t/stepping-through-ruby/170231 "2009-06-18T03:17:27Z")

</div>

In VBA you can step through the code and at any point examine all the state. Is there any similar facility for Ruby?

---

## [Ruby Redmine login problem](https://www.ruby-forum.com/t/ruby-redmine-login-problem/170484)

<div class="topic-metadata">

**Author:** [@Young\_H](https://www.ruby-forum.com/u/Young_H)\
**Replies:** 1\
**Last updated:** [June 18, 2009, 2:10am UTC](https://www.ruby-forum.com/t/ruby-redmine-login-problem/170484 "2009-06-18T02:10:47Z")

</div>

I can’t log into Redmine; I get an “Invalid user or password”. Does anyone know who I can contact to get this resolved (there’s no link to an admin email address anywhere)? As far as I can tell, I’ve successfully reg…

---

## [Hoe-seattlerb 1.1.0 Released](https://www.ruby-forum.com/t/hoe-seattlerb-1-1-0-released/170482)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [June 18, 2009, 1:47am UTC](https://www.ruby-forum.com/t/hoe-seattlerb-1-1-0-released/170482 "2009-06-18T01:47:24Z")

</div>

hoe-seattlerb version 1.1.0 has been released! http://seattlerb.rubyforge.org/hoe-seattlerb Hoe plugins providing tasks used by seattle.rb including minitest, perforce, and email providing full front-to-back release/…

---

## [Hoe 2.2.0 Released](https://www.ruby-forum.com/t/hoe-2-2-0-released/170481)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [June 18, 2009, 1:45am UTC](https://www.ruby-forum.com/t/hoe-2-2-0-released/170481 "2009-06-18T01:45:03Z")

</div>

hoe version 2.2.0 has been released! http://rubyforge.org/projects/seattlerb/ http://seattlerb.rubyforge.org/hoe/ removed\_email\_address@domain.invalid Hoe is a rake/rubygems helper for project Rakefiles. It helps gene…

---

## [Converting an Object to Collection to Bind to DataGridView](https://www.ruby-forum.com/t/converting-an-object-to-collection-to-bind-to-datagridview/170474)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 3\
**Last updated:** [June 18, 2009, 1:27am UTC](https://www.ruby-forum.com/t/converting-an-object-to-collection-to-bind-to-datagridview/170474 "2009-06-18T01:27:32Z")

</div>

Hi, I have the following code which I am using to bind an object to the Window Forms dataGridView control: def bind\_customes\_to\_grid(customer) $gvCustomers.DataSource = customer end Now, I need to convert the custo…

---

## [AutoIt: Regarging AutoIt usage with Firefox](https://www.ruby-forum.com/t/autoit-regarging-autoit-usage-with-firefox/154280)

<div class="topic-metadata">

**Author:** [@anukulsinghal](https://www.ruby-forum.com/u/anukulsinghal)\
**Replies:** 4\
**Last updated:** [June 17, 2009, 10:03pm UTC](https://www.ruby-forum.com/t/autoit-regarging-autoit-usage-with-firefox/154280 "2009-06-17T22:03:50Z")

</div>

Hi, I am trying to automate some operations in Firefox using AutoItX3 dll. I am giving a sample script below, and in this both WinExists and WinClose return 0 (false), although it should return 1 (true as per AutoIt). …

---

## [Re: is there a way to pick a method overload?](https://www.ruby-forum.com/t/re-is-there-a-way-to-pick-a-method-overload/170466)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [June 17, 2009, 9:54pm UTC](https://www.ruby-forum.com/t/re-is-there-a-way-to-pick-a-method-overload/170466 "2009-06-17T21:54:53Z")

</div>

I believe it is UnitOfWork.current.method(:find).overloads().call(). Check in the subfolders of merlin/Main/Languages/Ruby/Tests/interop/net/method/ for overload\_spec.rb to see it. JD

---

## [Download csv file from secure web site (https](https://www.ruby-forum.com/t/download-csv-file-from-secure-web-site-https/168882)

<div class="topic-metadata">

**Author:** [@alice\_gheorghiu](https://www.ruby-forum.com/u/alice_gheorghiu)\
**Replies:** 6\
**Last updated:** [June 17, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/download-csv-file-from-secure-web-site-https/168882 "2009-06-17T21:39:26Z")

</div>

I am a newbie to Ruby and I created a script to process a file which I am getting from my local directory. However, in order to obtain this file, I do a manual login to a secure http site (https) which presents me wit…

---

## [Lambda and a Proc](https://www.ruby-forum.com/t/lambda-and-a-proc/170464)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 2\
**Last updated:** [June 17, 2009, 9:34pm UTC](https://www.ruby-forum.com/t/lambda-and-a-proc/170464 "2009-06-17T21:34:22Z")

</div>

Hi, I am a bit unsure on what the difference is between a lambda and a Proc? hello = lambda { puts(‘aidy, aidy, aidy’ ) } hello.call hello = Proc.new{ puts(‘aidy, aidy, aidy’ ) } hello.call Cheers Aidy

---

## [Reading large file in chunks: optimal chunk size?](https://www.ruby-forum.com/t/reading-large-file-in-chunks-optimal-chunk-size/170392)

<div class="topic-metadata">

**Author:** [@bwv549](https://www.ruby-forum.com/u/bwv549)\
**Replies:** 3\
**Last updated:** [June 17, 2009, 9:30pm UTC](https://www.ruby-forum.com/t/reading-large-file-in-chunks-optimal-chunk-size/170392 "2009-06-17T21:30:50Z")

</div>

I’m reading a large file (too big to fit in memory) and doing a hexdigest on it. What are some optimal size chunks to read the file in and why? (speed is probably most important here as long as enough memory is avai…

---

## [Is there a way to pick a method overload?](https://www.ruby-forum.com/t/is-there-a-way-to-pick-a-method-overload/170467)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [June 17, 2009, 9:16pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-pick-a-method-overload/170467 "2009-06-17T21:16:43Z")

</div>

Hi Is there a way to pick a CLR method overload? var query = new Query(); UnitOfWorkScope.Current.Find(query); That find method takes a Query type or a ProcedureQuery type where ProcedureQuery would be a stored proc…

---

## [Plugin Automation FireWatir](https://www.ruby-forum.com/t/plugin-automation-firewatir/170462)

<div class="topic-metadata">

**Author:** [@arevert](https://www.ruby-forum.com/u/arevert)\
**Replies:** 0\
**Last updated:** [June 17, 2009, 8:52pm UTC](https://www.ruby-forum.com/t/plugin-automation-firewatir/170462 "2009-06-17T20:52:00Z")

</div>

Hi everybody, let’s talk about my problem. I need to automate a plugin for firefox, the problem that i have, is that it opens a “frame” but is not a frame, is like a part of javascript plugin, and i can’t see it with …

---

## [Accessing open-uri from the same directory](https://www.ruby-forum.com/t/accessing-open-uri-from-the-same-directory/170389)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 23\
**Last updated:** [June 17, 2009, 8:26pm UTC](https://www.ruby-forum.com/t/accessing-open-uri-from-the-same-directory/170389 "2009-06-17T20:26:17Z")

</div>

Hi, I am have placed open-uri in the same directory as my application and I am trying to include open-uri in my application using the require attribute. require File.dirname(FILE) + ‘/open-uri’ It throws the followi…

---

## [Watir unable fails to load in Shoe](https://www.ruby-forum.com/t/watir-unable-fails-to-load-in-shoe/170461)

<div class="topic-metadata">

**Author:** [@raviap](https://www.ruby-forum.com/u/raviap)\
**Replies:** 0\
**Last updated:** [June 17, 2009, 8:11pm UTC](https://www.ruby-forum.com/t/watir-unable-fails-to-load-in-shoe/170461 "2009-06-17T20:11:07Z")

</div>

I am a newbie to Ruby environment. I am trying to write a simple GUI application to our website, using Shoes and Watir. But when I specify watir in the Shoes.set up, as follows: Shoes.setup do gem ‘hpricot \>= 0.8.1’ …

---

## [Command line Option Parsing broken](https://www.ruby-forum.com/t/command-line-option-parsing-broken/170451)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 0\
**Last updated:** [June 17, 2009, 6:51pm UTC](https://www.ruby-forum.com/t/command-line-option-parsing-broken/170451 "2009-06-17T18:51:49Z")

</div>

Hot on the heels of my blog post about getting Cucumber working with IronRuby, I’ve discovered that some change in the last 2 weeks has caused igem to stop parsing command line arguments correctly. The problem is tha…

---

## [Unexpected behaviour of Highline metod ask!](https://www.ruby-forum.com/t/unexpected-behaviour-of-highline-metod-ask/170403)

<div class="topic-metadata">

**Author:** [@Buda\_SampS\_Nada](https://www.ruby-forum.com/u/Buda_SampS_Nada)\
**Replies:** 2\
**Last updated:** [June 17, 2009, 4:47pm UTC](https://www.ruby-forum.com/t/unexpected-behaviour-of-highline-metod-ask/170403 "2009-06-17T16:47:27Z")

</div>

Hi! I am having an unexpected behaviour when the follwoing code is executed: pass = ask("Enter your password: ") { |q| q.echo = “x” } As I enter characters there is not instantenious echo of the “x” character. Ins…

---

## [Celerity user agent](https://www.ruby-forum.com/t/celerity-user-agent/170435)

<div class="topic-metadata">

**Author:** [@generaltaylor](https://www.ruby-forum.com/u/generaltaylor)\
**Replies:** 0\
**Last updated:** [June 17, 2009, 4:29pm UTC](https://www.ruby-forum.com/t/celerity-user-agent/170435 "2009-06-17T16:29:12Z")

</div>

I need a way of accessing and changing a celerity browser object’s user-agent variable. Is there a way to do this on an already created instance of the celerity browser object?

---

## [Why is attr\_accessor also mutator?](https://www.ruby-forum.com/t/why-is-attr-accessor-also-mutator/170429)

<div class="topic-metadata">

**Author:** [@bjorn\_borg](https://www.ruby-forum.com/u/bjorn_borg)\
**Replies:** 3\
**Last updated:** [June 17, 2009, 4:26pm UTC](https://www.ruby-forum.com/t/why-is-attr-accessor-also-mutator/170429 "2009-06-17T16:26:20Z")

</div>

Sorry for the “nitpicky question” but I’m new to Ruby and was wondering why attr\_accessor was used to implicitly define accessor AND a mutator when the name attr\_accessor itself has nothing alluding to mutation (i.e. …

---

## [\[Bug #1647\] fdiv $B$,L/$KCY$/$J$k$3$H$,$"$k(B](https://www.ruby-forum.com/t/bug-1647-fdiv-b-l-kcy-j-k-3-h-k-b/170434)

<div class="topic-metadata">

**Author:** [@tadayoshi\_funaba](https://www.ruby-forum.com/u/tadayoshi_funaba)\
**Replies:** 0\
**Last updated:** [June 17, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/bug-1647-fdiv-b-l-kcy-j-k-3-h-k-b/170434 "2009-06-17T16:25:44Z")

</div>

Bug #1647: fdiv e$B$,L/$KCY$/$J$k$3$H$,$"$ke(B http://redmine.ruby-lang.org/issues/show/1647 e$B5/I\<\<Te(B: tadayoshi funaba e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.8.7 (2009-06-12 patchlevel 174)…

---

## [Re: Flagged enums](https://www.ruby-forum.com/t/re-flagged-enums/170430)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [June 17, 2009, 4:12pm UTC](https://www.ruby-forum.com/t/re-flagged-enums/170430 "2009-06-17T16:12:13Z")

</div>

enum/mapping\_spec.rb would be fine.

---

## [Which is more expensive Rename or Move?](https://www.ruby-forum.com/t/which-is-more-expensive-rename-or-move/170376)

<div class="topic-metadata">

**Author:** [@mrmaster](https://www.ruby-forum.com/u/mrmaster)\
**Replies:** 8\
**Last updated:** [June 17, 2009, 3:43pm UTC](https://www.ruby-forum.com/t/which-is-more-expensive-rename-or-move/170376 "2009-06-17T15:43:26Z")

</div>

Hello, I’d like to create a ruby script that parses emails(that will grow with volume) and I need to find a way to distinct which emails the script touches. I can either rename the email after the script is done with …

---

## [\[qt\] - connect signal with my method](https://www.ruby-forum.com/t/qt-connect-signal-with-my-method/170405)

<div class="topic-metadata">

**Author:** [@demas](https://www.ruby-forum.com/u/demas)\
**Replies:** 2\
**Last updated:** [June 17, 2009, 2:05pm UTC](https://www.ruby-forum.com/t/qt-connect-signal-with-my-method/170405 "2009-06-17T14:05:36Z")

</div>

Hi all, I’m trying to connect signal with the method of my class. If the method doesn’t have any arguments I have not the problems. But I couldn’t find any solution to pass argument to my method. This is my code: c…

---

## [Ruby Reflection Method Parameters](https://www.ruby-forum.com/t/ruby-reflection-method-parameters/170394)

<div class="topic-metadata">

**Author:** [@sirisha](https://www.ruby-forum.com/u/sirisha)\
**Replies:** 2\
**Last updated:** [June 17, 2009, 10:51am UTC](https://www.ruby-forum.com/t/ruby-reflection-method-parameters/170394 "2009-06-17T10:51:08Z")

</div>

Hi, I have a class called ClassFromString and it has a method called getCounterValue. It takes a parameter called name. Is there in Ruby using reflection to get the name of the parameters of a method. class ClassFrom…

---

## [SQLite3 passing row data from 1 class to another](https://www.ruby-forum.com/t/sqlite3-passing-row-data-from-1-class-to-another/170026)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 6\
**Last updated:** [June 17, 2009, 10:47am UTC](https://www.ruby-forum.com/t/sqlite3-passing-row-data-from-1-class-to-another/170026 "2009-06-17T10:47:05Z")

</div>

I have code in one class that runs an SQL statement against a SQLite3 table and would like to return the resulting row back to another class as an array. here is my ‘database’ class… require “sqlite3” class Dbase d…

---

## [IronRuby MVC sample](https://www.ruby-forum.com/t/ironruby-mvc-sample/169776)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 2\
**Last updated:** [June 17, 2009, 9:42am UTC](https://www.ruby-forum.com/t/ironruby-mvc-sample/169776 "2009-06-17T09:42:25Z")

</div>

Hi I’ve built a small sample app over the weekend that uses IronRuby MVC. I tested it running on cassini/webdev server and IIS in both cases it works fine. The SQLite dll included in the dependencies is a 64-bit dll…

---

## [Flagged enums](https://www.ruby-forum.com/t/flagged-enums/163833)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 7\
**Last updated:** [June 17, 2009, 9:11am UTC](https://www.ruby-forum.com/t/flagged-enums/163833 "2009-06-17T09:11:18Z")

</div>

Hi, it seems that the following code isn’t supported: AnchorStyles.Bottom | AnchorStyles.Left I believe IronPython supports this (see EnumOps.cs). Is that syntax planned ? – Thibaut

---

## [Calling Explicit Interfaces](https://www.ruby-forum.com/t/calling-explicit-interfaces/170126)

<div class="topic-metadata">

**Author:** [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Replies:** 1\
**Last updated:** [June 17, 2009, 7:53am UTC](https://www.ruby-forum.com/t/calling-explicit-interfaces/170126 "2009-06-17T07:53:22Z")

</div>

Hi, Is this still a bug i.e. bug #23494. i’m trying to use cucumber test a WPF app using the WPFAutomation. there’s an explicit interface implementation of System.Windows.Automation.Provider.IInvokeProvider on the B…

---

## [\[Bug #1612\] StringScanner#matchedsize warn "use #matched\_size instead"](https://www.ruby-forum.com/t/bug-1612-stringscanner-matchedsize-warn-use-matched-size-instead/170042)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [June 17, 2009, 7:08am UTC](https://www.ruby-forum.com/t/bug-1612-stringscanner-matchedsize-warn-use-matched-size-instead/170042 "2009-06-17T07:08:13Z")

</div>

Bug #1612: StringScanner#matchedsize warn “use #matched\_size instead” http://redmine.ruby-lang.org/issues/show/1612 e$B5/I\<\<Te(B: okkez \_ e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: ext, Target versi…

---

## [Syntax error in Ruby Cookbook example](https://www.ruby-forum.com/t/syntax-error-in-ruby-cookbook-example/170393)

<div class="topic-metadata">

**Author:** [@JSU](https://www.ruby-forum.com/u/JSU)\
**Replies:** 2\
**Last updated:** [June 17, 2009, 6:45am UTC](https://www.ruby-forum.com/t/syntax-error-in-ruby-cookbook-example/170393 "2009-06-17T06:45:58Z")

</div>

I am practicing/learning Ruby using Study Notes from www.ruby-lang.org. I am working on Validation program taken from Ruby Cookbook, but unable to run program as is. Please advise where I may have gone wrong. Thanks…

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

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