# Ruby

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

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

---

## [Win32ole excel excelconst disable macros](https://www.ruby-forum.com/t/win32ole-excel-excelconst-disable-macros/189966)

<div class="topic-metadata">

**Author:** [@zak](https://www.ruby-forum.com/u/zak)\
**Replies:** 3\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/win32ole-excel-excelconst-disable-macros/189966 "2010-06-17T16:22:31Z")

</div>

Hi! I use book = self.excel.Workbooks.Open(file,ExcelConst::XlUpdateLinksNever) to never update links in excel files when opend with ruby. is there an excelconst to disable macros? i can’t find anything. Thanks, u…

---

## [Pik 0.2.7 Released](https://www.ruby-forum.com/t/pik-0-2-7-released/190253)

<div class="topic-metadata">

**Author:** [@gordon321](https://www.ruby-forum.com/u/gordon321)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/pik-0-2-7-released/190253 "2010-06-17T16:22:30Z")

</div>

pik version 0.2.7 has been released! http://github.com/vertiginous/pik \<Mailing List: http://groups.google.com/group/discuss\_pik\> \<Rubyforge: http://rubyforge.org/projects/pik/\> \<Bugs/Feature requests: Issues · vert…

---

## [User input with predefined and editable/completable entry](https://www.ruby-forum.com/t/user-input-with-predefined-and-editable-completable-entry/190243)

<div class="topic-metadata">

**Author:** [@rbenit68](https://www.ruby-forum.com/u/rbenit68)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/user-input-with-predefined-and-editable-completable-entry/190243 "2010-06-17T16:22:29Z")

</div>

Hello, I need to code an user entry (text mode) which appears with a default entry already settled, so the user could delete and entry a new one, complete with added text, or simply accept. Could somebody help me? A…

---

## [RubyKaigi 2010: PGP Keysigning Party](https://www.ruby-forum.com/t/rubykaigi-2010-pgp-keysigning-party/190244)

<div class="topic-metadata">

**Author:** [@Urabe\_S](https://www.ruby-forum.com/u/Urabe_S)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/rubykaigi-2010-pgp-keysigning-party/190244 "2010-06-17T16:22:29Z")

</div>

Hello all. A PGP Keysigning party will be held at RubyKaigi 2010. If you get interested in, please take a look at the following wiki, and subscribe to the mailing list by sending an email to To: rubykaigi2010keysi…

---

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

<div class="topic-metadata">

**Author:** [@Wes\_B](https://www.ruby-forum.com/u/Wes_B)\
**Replies:** 1\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/no-subject/190168 "2010-06-17T16:22:26Z")

</div>

unsubscribe

---

## [\[Bug #3371\] test-all aborted on amd64 lenny](https://www.ruby-forum.com/t/bug-3371-test-all-aborted-on-amd64-lenny/189404)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 6\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/bug-3371-test-all-aborted-on-amd64-lenny/189404 "2010-06-17T16:22:23Z")

</div>

Bug #3371: test-all aborted on amd64 lenny http://redmine.ruby-lang.org/issues/show/3371 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Target version: 1.9.2 ruby -v: ruby 1.9.2dev (20…

---

## [Help with errors:](https://www.ruby-forum.com/t/help-with-errors/190146)

<div class="topic-metadata">

**Author:** [@tedforte](https://www.ruby-forum.com/u/tedforte)\
**Replies:** 2\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/help-with-errors/190146 "2010-06-17T16:22:21Z")

</div>

Hi everyone, I was running some scripts but the following lines are giving me errors. Now I"m not sure if this methods don’t exist in ruby or I don’t have the libraries for them: NoMethodError: undefined method \`sync…

---

## [PenTBox Security Suite 1.3.2](https://www.ruby-forum.com/t/pentbox-security-suite-1-3-2/190211)

<div class="topic-metadata">

**Author:** [@Alberto\_OrtegaSa0](https://www.ruby-forum.com/u/Alberto_OrtegaSa0)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/pentbox-security-suite-1-3-2/190211 "2010-06-17T16:22:21Z")

</div>

Hi mates! I’m proud to present you Penetration Testing Box (PenTBox), a Security Suite programmed in Ruby. Last version was 1.3.2, the first stable. PenTBox is a Security Suite that packs security and stability tes…

---

## [Rails returning session of another user](https://www.ruby-forum.com/t/rails-returning-session-of-another-user/189986)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 3\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/rails-returning-session-of-another-user/189986 "2010-06-17T16:22:19Z")

</div>

Running Jruby1.4.0, Rails 2.3.5, Tomcat 5.5, Java 1.6 We are getting reports that when a user logs in they are getting the session of another user. We are unclear how this could happen. One suspicion is a potentia…

---

## [\[Bug #3445\] 1.9.2-preview3 $B$G(B Object#extend $B$9$k$H(B public\_methods(false) $B$+$i%a%=%C](https://www.ruby-forum.com/t/bug-3445-1-9-2-preview3-b-g-b-object-extend-b-9-k-h-b-public-methods-false-b-i-a-c/190205)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/bug-3445-1-9-2-preview3-b-g-b-object-extend-b-9-k-h-b-public-methods-false-b-i-a-c/190205 "2010-06-17T16:22:19Z")

</div>

Bug #3445: 1.9.2-preview3 e$B$Ge(B Object#extend e$B$9$k$He(B public\_methods(false) e$B$+$i%a%=%C%IL\>$,\>C$($ke(B http://redmine.ruby-lang.org/issues/show/3445 e$B5/I\<\<Te(B: Yusuke E. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEY…

---

## [Mechanize login form](https://www.ruby-forum.com/t/mechanize-login-form/190121)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 1\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/mechanize-login-form/190121 "2010-06-17T16:22:17Z")

</div>

i’m gona to simulate login my ubuntu forum,here is my program require ‘rubygems’ require ‘mechanize’ agent = Mechanize.new page = agent.get(‘Ubuntu中文论坛 - 用户控制面板 - 登录’) uform = page.forms\[1\] uform.username = ‘…

---

## [\[Bug #3443\] require$B$,CY$/$J$k(B](https://www.ruby-forum.com/t/bug-3443-require-b-cy-j-k-b/190189)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/bug-3443-require-b-cy-j-k-b/190189 "2010-06-17T16:22:15Z")

</div>

Bug #3443: requiree$B$,CY$/$J$ke(B http://redmine.ruby-lang.org/issues/show/3443 e$B5/I\<\<Te(B: Yusuke E. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Target version: 1.9.2 ruby -v: ruby 1.9.3dev (2010-05-30 trunk 28…

---

## [Ocra Tk "\_invoke\_without\_enc"](https://www.ruby-forum.com/t/ocra-tk-invoke-without-enc/190069)

<div class="topic-metadata">

**Author:** [@micx](https://www.ruby-forum.com/u/micx)\
**Replies:** 2\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/ocra-tk-invoke-without-enc/190069 "2010-06-17T16:22:14Z")

</div>

Hallo I would like to convert a ruby.file into an \*.exe. (Important: I use the library “Tk”) I am getting the following error message: C:/Ruby/lib/ruby/1.8/tk.rb:1694:in \`\_invoke\_without\_enc’: can’t find package res …

---

## [Gsub: invalid byte sequence in US-ASCII](https://www.ruby-forum.com/t/gsub-invalid-byte-sequence-in-us-ascii/190107)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 5\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/gsub-invalid-byte-sequence-in-us-ascii/190107 "2010-06-17T16:22:14Z")

</div>

I download the page http://www.ruby-forum.com/forum/4 using wget. Then i cat the file and pipe to gsub. I get: -e:1:in \`gsub’: invalid byte sequence in US-ASCII (ArgumentError) wget -q -k -O index11.html http://www.ru…

---

## [Option parsers that support single-dash words?](https://www.ruby-forum.com/t/option-parsers-that-support-single-dash-words/189999)

<div class="topic-metadata">

**Author:** [@Jos\_B](https://www.ruby-forum.com/u/Jos_B)\
**Replies:** 4\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/option-parsers-that-support-single-dash-words/189999 "2010-06-17T16:22:13Z")

</div>

Hi, In order to convert some legacy Perl code that uses Getopt::Long, I’m looking for an option parser that supports -help' in addition to–help’. All the option parser libraries I have looked at only support the la…

---

## [\[Bug #3433\]\[Closed\] Error that occurs by BasicSocket#sendmsg](https://www.ruby-forum.com/t/bug-3433-closed-error-that-occurs-by-basicsocket-sendmsg/190173)

<div class="topic-metadata">

**Author:** [@Akira\_T](https://www.ruby-forum.com/u/Akira_T)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/bug-3433-closed-error-that-occurs-by-basicsocket-sendmsg/190173 "2010-06-17T16:22:10Z")

</div>

e$B%A%1%C%He(B #3433 e$B$,99?7$5$l$^$7$?!#e(B (by Akira T.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B This issue was solved with changeset r28320. Masaya, thank you for…

---

## [Simulating keystrokes for automated user input](https://www.ruby-forum.com/t/simulating-keystrokes-for-automated-user-input/190119)

<div class="topic-metadata">

**Author:** [@rmac217](https://www.ruby-forum.com/u/rmac217)\
**Replies:** 8\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/simulating-keystrokes-for-automated-user-input/190119 "2010-06-17T16:22:07Z")

</div>

I’ve written a simple console app (type command. get results. repeat.) and I’m looking for a way to send it simulated keystrokes (hoping to remotely send commands through a socket connection and have them “typed” in t…

---

## [Where are the downloads for Ruby 1.9.2?](https://www.ruby-forum.com/t/where-are-the-downloads-for-ruby-1-9-2/190073)

<div class="topic-metadata">

**Author:** [@matthew](https://www.ruby-forum.com/u/matthew)\
**Replies:** 2\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/where-are-the-downloads-for-ruby-1-9-2/190073 "2010-06-17T16:22:03Z")

</div>

I’m wanting to play with Rails 3 Beta 4, and from what I can tell, I need to be running Ruby 1.9.2 for it to work. Is that right? Well, I’m having a very hard time finding the install packages for Ruby 1.9.2. I am no…

---

## [RDBI needs reviewers](https://www.ruby-forum.com/t/rdbi-needs-reviewers/190102)

<div class="topic-metadata">

**Author:** [@happolati](https://www.ruby-forum.com/u/happolati)\
**Replies:** 2\
**Last updated:** [June 17, 2010, 11:16am UTC](https://www.ruby-forum.com/t/rdbi-needs-reviewers/190102 "2010-06-17T11:16:34Z")

</div>

RDBI is a rewrite of the notable Ruby/DBI database interface library, and is largely complete at this point. It sports a few new ideas, but those of you familiar with Ruby/DBI or perl’s DBI would be unsurprised at its…

---

## [Calling WCF Service](https://www.ruby-forum.com/t/calling-wcf-service/190141)

<div class="topic-metadata">

**Author:** [@bstack](https://www.ruby-forum.com/u/bstack)\
**Replies:** 0\
**Last updated:** [June 17, 2010, 12:51am UTC](https://www.ruby-forum.com/t/calling-wcf-service/190141 "2010-06-17T00:51:20Z")

</div>

Hi All, Im a .NET developer trying to introduce Ruby for testing a WCF web service. Can I test this via IronRuby?, if so is there any example of WCF client code that you could point me to? Cheers, Billy Stack

---

## [Strange thing with method lookup](https://www.ruby-forum.com/t/strange-thing-with-method-lookup/190089)

<div class="topic-metadata">

**Author:** [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Replies:** 0\
**Last updated:** [June 14, 2010, 4:54pm UTC](https://www.ruby-forum.com/t/strange-thing-with-method-lookup/190089 "2010-06-14T16:54:38Z")

</div>

It happens in a quite complex fxruby application, and I am not able to extract it in a simpler form. I have a utility function on Fixnum, say ‘foo’. When I define it by module MyMod class ::Fixnum def foo ; … ; end …

---

## [To access a webpage multiple times](https://www.ruby-forum.com/t/to-access-a-webpage-multiple-times/190080)

<div class="topic-metadata">

**Author:** [@sandeepcasp](https://www.ruby-forum.com/u/sandeepcasp)\
**Replies:** 1\
**Last updated:** [June 13, 2010, 11:17pm UTC](https://www.ruby-forum.com/t/to-access-a-webpage-multiple-times/190080 "2010-06-13T23:17:51Z")

</div>

I have a website : where I have to input data into multiple text-bars multiple number of times and there is a submit data button which I use after the data have been given … After the submit button is clicked the webp…

---

## [Newbie 1.8.7 to 1.9.1 problem](https://www.ruby-forum.com/t/newbie-1-8-7-to-1-9-1-problem/190053)

<div class="topic-metadata">

**Author:** [@philippeqc](https://www.ruby-forum.com/u/philippeqc)\
**Replies:** 3\
**Last updated:** [June 12, 2010, 9:13pm UTC](https://www.ruby-forum.com/t/newbie-1-8-7-to-1-9-1-problem/190053 "2010-06-12T21:13:02Z")

</div>

Several scripts that used to work now don’t. I had not used ruby or any of these scripts for several months. In the meantime i upgraded vista to windows 7 (clean install) and decided to install 1.9.1 rather than the …

---

## [1.5.1 webrick w/rack on Win7 error](https://www.ruby-forum.com/t/1-5-1-webrick-w-rack-on-win7-error/189836)

<div class="topic-metadata">

**Author:** [@ratchetcat](https://www.ruby-forum.com/u/ratchetcat)\
**Replies:** 2\
**Last updated:** [June 12, 2010, 3:33pm UTC](https://www.ruby-forum.com/t/1-5-1-webrick-w-rack-on-win7-error/189836 "2010-06-12T15:33:14Z")

</div>

Can anyone replicate the following webrick error using the following simple.ru file? I’ve only tested on Win7 32-bit Ultimate and I’m only seeing the failure when I explicitly try to set the listening port. As expecte…

---

## [Does Oniguruma support unicode properties?](https://www.ruby-forum.com/t/does-oniguruma-support-unicode-properties/190055)

<div class="topic-metadata">

**Author:** [@ntysdd](https://www.ruby-forum.com/u/ntysdd)\
**Replies:** 2\
**Last updated:** [June 12, 2010, 2:44pm UTC](https://www.ruby-forum.com/t/does-oniguruma-support-unicode-properties/190055 "2010-06-12T14:44:39Z")

</div>

Well,when i want to use property in the regexp,ruby does complain that bad property,but i never find any good property it accepts.Now i have a question,does it support unicode property,such as \\p{Han}??Or is it just d…

---

## [Windows and Linux Tips](https://www.ruby-forum.com/t/windows-and-linux-tips/190064)

<div class="topic-metadata">

**Author:** [@pavelhaque](https://www.ruby-forum.com/u/pavelhaque)\
**Replies:** 0\
**Last updated:** [June 12, 2010, 11:55am UTC](https://www.ruby-forum.com/t/windows-and-linux-tips/190064 "2010-06-12T11:55:30Z")

</div>

Hi friends, Do u need Windows and Linux Tips? Please visit the following site: http://windowsandlinuxtips.blogspot.com/

---

## [DateTime about the zone](https://www.ruby-forum.com/t/datetime-about-the-zone/190061)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Replies:** 3\
**Last updated:** [June 12, 2010, 11:35am UTC](https://www.ruby-forum.com/t/datetime-about-the-zone/190061 "2010-06-12T11:35:36Z")

</div>

i’m reading a news server from ruby asking for DATE, it returns : “20100612” for the date, that’s ok for today and : “073429” for the time when it is 2 hours more i want to return a correct datetime, taking into acco…

---

## [How can I call foo in Bar.foo?](https://www.ruby-forum.com/t/how-can-i-call-foo-in-bar-foo/190057)

<div class="topic-metadata">

**Author:** [@ntysdd](https://www.ruby-forum.com/u/ntysdd)\
**Replies:** 2\
**Last updated:** [June 12, 2010, 11:00am UTC](https://www.ruby-forum.com/t/how-can-i-call-foo-in-bar-foo/190057 "2010-06-12T11:00:29Z")

</div>

it’s like this … module Bar def foo puts ‘hello’ end def bye puts ‘bye’ end end def Bar.foo #Do something #I want to call foo now #And call bye #… end … is there anything i can to to solve the problem

---

## [Require command problem](https://www.ruby-forum.com/t/require-command-problem/190017)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 5\
**Last updated:** [June 12, 2010, 8:46am UTC](https://www.ruby-forum.com/t/require-command-problem/190017 "2010-06-12T08:46:53Z")

</div>

i have write a class ,use command to put in the /usr/lib/ruby/1.8/rubygems/Webmovie.rb sudo cp /tmp/Webmovie.rb /usr/lib/ruby/1.8/rubygems/Webmovie.rb Code.rb is my calss ,also in /usr/lib/ruby/1.8/rubygems/ pt@pt-…

---

## [Ruby-growl 2.0 Released](https://www.ruby-forum.com/t/ruby-growl-2-0-released/190060)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [June 12, 2010, 7:39am UTC](https://www.ruby-forum.com/t/ruby-growl-2-0-released/190060 "2010-06-12T07:39:12Z")

</div>

ruby-growl version 2.0 has been released! http://ruby-growl.rubyforge.org/ruby-growl A pure-ruby growl notifier. ruby-growl allows you to perform Growl notification via UDP from machines without growl installed (for…

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

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