# Ruby

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

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

---

## [Lone Star Ruby Conference 2010 - Call for Speakers](https://www.ruby-forum.com/t/lone-star-ruby-conference-2010-call-for-speakers/188012)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [May 4, 2010, 5:21am UTC](https://www.ruby-forum.com/t/lone-star-ruby-conference-2010-call-for-speakers/188012 "2010-05-04T05:21:12Z")

</div>

Lone Star Ruby Conference 2010 (Thu-Sat) August 26-28, 2010 Norris Conference Center Austin, TX Greetings The fourth annual Lone Star Ruby Conference is getting under way and the call for speakers is now open. LSR…

---

## [\[Bug: trunk\] Fiber transfer limitation](https://www.ruby-forum.com/t/bug-trunk-fiber-transfer-limitation/185967)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 4\
**Last updated:** [May 4, 2010, 5:04am UTC](https://www.ruby-forum.com/t/bug-trunk-fiber-transfer-limitation/185967 "2010-05-04T05:04:49Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!e(B1.9.2 e$B$KF~$l$FM\_$7$$e(B Fiber e$B$K4X$9$k;EMMJQ99$K$D$$$F!$0l$DK:$l$F$$$^$7$?!%e(B e$B!!8=:\_!$e(BFiber#transfer e$B$He(B Fiber.yield/Fiber#resume e$B$O0l=o$K;H$&$J!$;H$Ce(B e$B$FJQ$J$…

---

## [Is there likely to be any problem with an embedded assert statement like this?](https://www.ruby-forum.com/t/is-there-likely-to-be-any-problem-with-an-embedded-assert-statement-like-this/187995)

<div class="topic-metadata">

**Author:** [@Xeno\_CSS\_Eskimo\_No](https://www.ruby-forum.com/u/Xeno_CSS_Eskimo_No)\
**Replies:** 1\
**Last updated:** [May 4, 2010, 12:40am UTC](https://www.ruby-forum.com/t/is-there-likely-to-be-any-problem-with-an-embedded-assert-statement-like-this/187995 "2010-05-04T00:40:19Z")

</div>

class BaseMenuUnitTests \< Test::Unit::TestCase def test\_validateNavId assert\_nothing\_raised(Exception) { navid = validateNavId(NavTrac,"test\_validNavId") assert(navid == NavTrac, "validateNavId R…

---

## [ANN: Sequel 3.11.0 Released](https://www.ruby-forum.com/t/ann-sequel-3-11-0-released/188000)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 10:13pm UTC](https://www.ruby-forum.com/t/ann-sequel-3-11-0-released/188000 "2010-05-03T22:13:20Z")

</div>

Sequel is a lightweight database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas. Sequel also includes a lightweight but…

---

## [Detecting Single Modifier Key Presses (Is HighLine Not Able?](https://www.ruby-forum.com/t/detecting-single-modifier-key-presses-is-highline-not-able/187986)

<div class="topic-metadata">

**Author:** [@richardfairhurst](https://www.ruby-forum.com/u/richardfairhurst)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 7:44pm UTC](https://www.ruby-forum.com/t/detecting-single-modifier-key-presses-is-highline-not-able/187986 "2010-05-03T19:44:54Z")

</div>

\<2.33GHz MBPC2D, Running OS X 10.6.3, Ruby 1.8.7 (173)\> Greetings, folks! Quick question: Is there any way for Ruby to return the state of any of the keyboard modifier keys? I thought HighLine might be able to do so, …

---

## [Teaching Programming Languages (including Ruby)](https://www.ruby-forum.com/t/teaching-programming-languages-including-ruby/187932)

<div class="topic-metadata">

**Author:** [@Samuel\_W](https://www.ruby-forum.com/u/Samuel_W)\
**Replies:** 19\
**Last updated:** [May 3, 2010, 7:27pm UTC](https://www.ruby-forum.com/t/teaching-programming-languages-including-ruby/187932 "2010-05-03T19:27:43Z")

</div>

Hello, This is a follow up from previous postings about teaching Ruby in the class room. I’ve now come full circle, and put together this website: http://programming.dojo.net.nz/ This site is about programming langu…

---

## [Bundler gem: "no such file to load"](https://www.ruby-forum.com/t/bundler-gem-no-such-file-to-load/187979)

<div class="topic-metadata">

**Author:** [@mosh](https://www.ruby-forum.com/u/mosh)\
**Replies:** 1\
**Last updated:** [May 3, 2010, 7:00pm UTC](https://www.ruby-forum.com/t/bundler-gem-no-such-file-to-load/187979 "2010-05-03T19:00:40Z")

</div>

Hi guys, I have some troubles with a Ruby gem… named Bundler. My OS is Ubuntu 10.04. My environment is as follows: $ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.6 - RUBY VERSION: 1.9.1 (2010-01-10 patc…

---

## [Bowline](https://www.ruby-forum.com/t/bowline/187939)

<div class="topic-metadata">

**Author:** [@robin](https://www.ruby-forum.com/u/robin)\
**Replies:** 2\
**Last updated:** [May 3, 2010, 6:44pm UTC](https://www.ruby-forum.com/t/bowline/187939 "2010-05-03T18:44:24Z")

</div>

Does anyone know how to use or where to find docs for this gem: bowline? Thanks, -r

---

## [How can i get that kind of transpose?](https://www.ruby-forum.com/t/how-can-i-get-that-kind-of-transpose/187917)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 4\
**Last updated:** [May 3, 2010, 6:15pm UTC](https://www.ruby-forum.com/t/how-can-i-get-that-kind-of-transpose/187917 "2010-05-03T18:15:42Z")

</div>

there is text1 1,2,3,4 1,2,3 1,2 1,2,3,4,5 what i want to get is text2: 1ï¼Œ1ï¼Œ1ï¼Œ1 2ï¼Œ2ï¼Œ2ï¼Œ2 3ï¼Œ3ï¼Œ 3 4ï¼Œ 4 5 how to get it ?

---

## [Installing icu4r](https://www.ruby-forum.com/t/installing-icu4r/187970)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 2:30pm UTC](https://www.ruby-forum.com/t/installing-icu4r/187970 "2010-05-03T14:30:57Z")

</div>

i wanted to install icur (within MacRuby) and get the following : zsh-% sudo macgem install icu4r Building native extensions. This could take a while… ERROR: While executing gem … (TypeError) can’t convert Float in…

---

## [Doubt regarding Exception handling in Watir](https://www.ruby-forum.com/t/doubt-regarding-exception-handling-in-watir/187963)

<div class="topic-metadata">

**Author:** [@simbolla](https://www.ruby-forum.com/u/simbolla)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 12:35pm UTC](https://www.ruby-forum.com/t/doubt-regarding-exception-handling-in-watir/187963 "2010-05-03T12:35:02Z")

</div>

Hi all, below is my code def gotourl(url) begin $ie.goto(url) rescue Watir::Exception::NavigationException =\> e puts “navigation error” printscreen(url) end end 1.in IE 8.0 version i get this error message when…

---

## [\[Backport #3149\](Closed) Mac OS X $B$N(B ruby 1.9.1p378 $B$G:F(B open $B8e(B delete $B$7$?(](https://www.ruby-forum.com/t/backport-3149-closed-mac-os-x-b-n-b-ruby-1-9-1p378-b-g-f-b-open-b8e-b-delete-b-7/187958)

<div class="topic-metadata">

**Author:** [@Yuki\_S](https://www.ruby-forum.com/u/Yuki_S)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 11:18am UTC](https://www.ruby-forum.com/t/backport-3149-closed-mac-os-x-b-n-b-ruby-1-9-1p378-b-g-f-b-open-b8e-b-delete-b-7/187958 "2010-05-03T11:18:20Z")

</div>

e$B%A%1%C%He(B #3149 e$B$,99?7$5$l$^$7$?!#e(B (by Yuki S.) 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 r27598. Kazuhiro, thank you fo…

---

## [\[Backport #3242\] test$B$N5-=R%\_%9(B](https://www.ruby-forum.com/t/backport-3242-test-b-n5-r-9-b/187956)

<div class="topic-metadata">

**Author:** [@Yuki\_S](https://www.ruby-forum.com/u/Yuki_S)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 11:16am UTC](https://www.ruby-forum.com/t/backport-3242-test-b-n5-r-9-b/187956 "2010-05-03T11:16:35Z")

</div>

Backport #3242: teste$B$N5-=R%\_%9e(B http://redmine.ruby-lang.org/issues/show/3242 e$B5/I\<\<Te(B: Yuki S. e$B%9%F!\<%?%9e(B: Assigned, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Yuki S. \[ruby-core:29908\] e$B$G8+$D$+$C$?%F%9%H…

---

## [MacRuby 0.5 : Library not loaded](https://www.ruby-forum.com/t/macruby-0-5-library-not-loaded/187955)

<div class="topic-metadata">

**Author:** [@stefjeubs](https://www.ruby-forum.com/u/stefjeubs)\
**Replies:** 1\
**Last updated:** [May 3, 2010, 9:54am UTC](https://www.ruby-forum.com/t/macruby-0-5-library-not-loaded/187955 "2010-05-03T09:54:29Z")

</div>

Hi, I’m using XCode 3.2.3 and MacRuby 0.5. I have created a MacRuby project which works perfectly on my mac. But when i try the .app on another mac where probably the dev tools are not installed, i got this error : d…

---

## [Install from source on CentOS question](https://www.ruby-forum.com/t/install-from-source-on-centos-question/187945)

<div class="topic-metadata">

**Author:** [@cameronsharpe](https://www.ruby-forum.com/u/cameronsharpe)\
**Replies:** 2\
**Last updated:** [May 3, 2010, 9:49am UTC](https://www.ruby-forum.com/t/install-from-source-on-centos-question/187945 "2010-05-03T09:49:00Z")

</div>

I am attempting to install 1.9.1 from source on CentOS 5.4 and am running into an issue. after unpacking the archive and cd-ing into the ruby-1.9.1-p376 I run: ./configure --with-openssl-dir=/usr/lib/openssl but the …

---

## [\[Backport #2512\] CC is ignored in ext](https://www.ruby-forum.com/t/backport-2512-cc-is-ignored-in-ext/180584)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 1\
**Last updated:** [May 3, 2010, 5:07am UTC](https://www.ruby-forum.com/t/backport-2512-cc-is-ignored-in-ext/180584 "2010-05-03T05:07:49Z")

</div>

Backport #2512: CC is ignored in ext http://redmine.ruby-lang.org/issues/show/2512 e$B5/I\<\<Te(B: Nobuyoshi N. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Yuki S., e$B%+%F%4%je(B: build configuree$B$KE…

---

## [Qtruby scale images on window resize with QGraphicsView and QGraphicsScene](https://www.ruby-forum.com/t/qtruby-scale-images-on-window-resize-with-qgraphicsview-and-qgraphicsscene/187940)

<div class="topic-metadata">

**Author:** [@kevin](https://www.ruby-forum.com/u/kevin)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 9:46pm UTC](https://www.ruby-forum.com/t/qtruby-scale-images-on-window-resize-with-qgraphicsview-and-qgraphicsscene/187940 "2010-05-02T21:46:03Z")

</div>

I’m trying to get an image to scale nicely on window resize with Qt and all I seem to be able to get is the image to load full size. The offending code is here: shadowskill - Pastebin.com I’m trying to get an effect …

---

## [Glassfish gem removes quotes from post parameters](https://www.ruby-forum.com/t/glassfish-gem-removes-quotes-from-post-parameters/186006)

<div class="topic-metadata">

**Author:** [@Albert\_R](https://www.ruby-forum.com/u/Albert_R)\
**Replies:** 26\
**Last updated:** [May 2, 2010, 9:40pm UTC](https://www.ruby-forum.com/t/glassfish-gem-removes-quotes-from-post-parameters/186006 "2010-05-02T21:40:47Z")

</div>

Hello! We are experiencing a wierd problem with Glassfish-Gem. When we post parameters to our rails application running glassfish-gem (1.0.2), our rails process gets the parameters somehow altered, any quotes surroun…

---

## [\[Bug #3236\] ISeq.load $B$G(B \[BUG\] iseq\_set\_sequence: ic\_index overflow $B$,H/@8(B](https://www.ruby-forum.com/t/bug-3236-iseq-load-b-g-b-bug-iseq-set-sequence-ic-index-overflow-b-h-8-b/187936)

<div class="topic-metadata">

**Author:** [@Tomoyuki\_C](https://www.ruby-forum.com/u/Tomoyuki_C)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 5:10pm UTC](https://www.ruby-forum.com/t/bug-3236-iseq-load-b-g-b-bug-iseq-set-sequence-ic-index-overflow-b-h-8-b/187936 "2010-05-02T17:10:24Z")

</div>

Bug #3236: ISeq.load e$B$Ge(B \[BUG\] iseq\_set\_sequence: ic\_index overflow e$B$,H/@8e(B http://redmine.ruby-lang.org/issues/show/3236 e$B5/I\<\<Te(B: Tomoyuki C. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B…

---

## [Convert a raw string to an array of big-endian words](https://www.ruby-forum.com/t/convert-a-raw-string-to-an-array-of-big-endian-words/187931)

<div class="topic-metadata">

**Author:** [@judge](https://www.ruby-forum.com/u/judge)\
**Replies:** 1\
**Last updated:** [May 2, 2010, 3:41pm UTC](https://www.ruby-forum.com/t/convert-a-raw-string-to-an-array-of-big-endian-words/187931 "2010-05-02T15:41:49Z")

</div>

Hello, I would like to convert a raw string to an array of big-endian words. As example, here is a JavaScript function that do it well (by Paul Johnston): /\* Convert a raw string to an array of big-endian words Cha…

---

## [Encrypting/Decrypting files wirh ruby](https://www.ruby-forum.com/t/encrypting-decrypting-files-wirh-ruby/187876)

<div class="topic-metadata">

**Author:** [@demec](https://www.ruby-forum.com/u/demec)\
**Replies:** 3\
**Last updated:** [May 2, 2010, 10:58am UTC](https://www.ruby-forum.com/t/encrypting-decrypting-files-wirh-ruby/187876 "2010-05-02T10:58:49Z")

</div>

I have been searching the internet to find a way to encrypt files and then decrypt the back… What I found is how to encrypt a string of text and then decrypt it back. For exampe you have a plaintext = “some text” yo…

---

## [Upgrading a socket to an SSLSocket](https://www.ruby-forum.com/t/upgrading-a-socket-to-an-sslsocket/187901)

<div class="topic-metadata">

**Author:** [@baduk](https://www.ruby-forum.com/u/baduk)\
**Replies:** 2\
**Last updated:** [May 2, 2010, 10:43am UTC](https://www.ruby-forum.com/t/upgrading-a-socket-to-an-sslsocket/187901 "2010-05-02T10:43:56Z")

</div>

Is it possible to ‘upgrade’ a normal socket to an SSL socket. I would like to transmit and receive some data in plain text initially, before performing the SSL handshake and start communicating securely, without havin…

---

## [\[Bug #3229\](Closed) iseq\_s\_load $B$G(B TypeError $BH/@8(B](https://www.ruby-forum.com/t/bug-3229-closed-iseq-s-load-b-g-b-typeerror-bh-8-b/187921)

<div class="topic-metadata">

**Author:** [@SSwanabe](https://www.ruby-forum.com/u/SSwanabe)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 5:31am UTC](https://www.ruby-forum.com/t/bug-3229-closed-iseq-s-load-b-g-b-typeerror-bh-8-b/187921 "2010-05-02T05:31:02Z")

</div>

e$B%A%1%C%He(B #3229 e$B$,99?7$5$l$^$7$?!#e(B (by \_ wanabe) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B r27582 e$B!J$\*$h$Se(B r27583e$B!K$GE,MQ$5$;$F$$$?$@$-$^$7$?!#$"$j$,$H$&$4$6$$$^$7$?!#e(B http://redmine.ru…

---

## [\[Bug #3229\] iseq\_s\_load $B$G(B TypeError $BH/@8(B](https://www.ruby-forum.com/t/bug-3229-iseq-s-load-b-g-b-typeerror-bh-8-b/187918)

<div class="topic-metadata">

**Author:** [@SSwanabe](https://www.ruby-forum.com/u/SSwanabe)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 4:38am UTC](https://www.ruby-forum.com/t/bug-3229-iseq-s-load-b-g-b-typeerror-bh-8-b/187918 "2010-05-02T04:38:57Z")

</div>

e$B%A%1%C%He(B #3229 e$B$,99?7$5$l$^$7$?!#e(B (by \_ wanabe) e$B%o%J%Y$H?=$7$^$9!#e(B RubyGems e$B$Ne(B iseq e$B%i%$%V%i%j$rMxMQ$7$F!“J8;zNs$+$ie(B compile e$B$7$?e(B ISeq e$B$r%m!\<%I$5$;$h$&$H$9$k$He(B e$B0J2\<$N$h$&$…

---

## [Class in instance\_eval -- what the namespace?](https://www.ruby-forum.com/t/class-in-instance-eval-what-the-namespace/187909)

<div class="topic-metadata">

**Author:** [@simon780](https://www.ruby-forum.com/u/simon780)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 9:21pm UTC](https://www.ruby-forum.com/t/class-in-instance-eval-what-the-namespace/187909 "2010-05-01T21:21:12Z")

</div>

I’m confused as to how the parent constant is determined when you define a class within an instance\_eval. It appears that sometimes ruby decides to use a nameless, perhaps temporary class as the parent constant. Int…

---

## [Return values of modifiers](https://www.ruby-forum.com/t/return-values-of-modifiers/187848)

<div class="topic-metadata">

**Author:** [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Replies:** 21\
**Last updated:** [May 1, 2010, 9:17pm UTC](https://www.ruby-forum.com/t/return-values-of-modifiers/187848 "2010-05-01T21:17:06Z")

</div>

This is logical, but no very useful : irb(main):007:0\> x = 10 =\> 10 irb(main):008:0\> x = x + 1 if false =\> nil irb(main):009:0\> x = x + 1 if true =\> 11 Idem, a while modifier always returns nil irb(main):010:0\> x…

---

## [Reading lines from a file into an array](https://www.ruby-forum.com/t/reading-lines-from-a-file-into-an-array/187911)

<div class="topic-metadata">

**Author:** [@jimb](https://www.ruby-forum.com/u/jimb)\
**Replies:** 2\
**Last updated:** [May 1, 2010, 3:32pm UTC](https://www.ruby-forum.com/t/reading-lines-from-a-file-into-an-array/187911 "2010-05-01T15:32:39Z")

</div>

Using ruby, I am trying to read in lines from a two column html table and store each line in a two element array. This two element array is in turn stored in one large array. The table rows look like this: Row 1 -…

---

## [Running Webrick with RAILS\_ENV=production](https://www.ruby-forum.com/t/running-webrick-with-rails-env-production/187437)

<div class="topic-metadata">

**Author:** [@Shane\_Holder](https://www.ruby-forum.com/u/Shane_Holder)\
**Replies:** 3\
**Last updated:** [May 1, 2010, 3:04pm UTC](https://www.ruby-forum.com/t/running-webrick-with-rails-env-production/187437 "2010-05-01T15:04:18Z")

</div>

Ironruby-core mailing list removed\_email\_address@domain.invalid http://rubyforge.org/mailman/listinfo/ironruby-core

---

## [A ruby 1.8.5 list of ruby VM's](https://www.ruby-forum.com/t/a-ruby-1-8-5-list-of-ruby-vms/187910)

<div class="topic-metadata">

**Author:** [@luckydeepak](https://www.ruby-forum.com/u/luckydeepak)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 2:54pm UTC](https://www.ruby-forum.com/t/a-ruby-1-8-5-list-of-ruby-vms/187910 "2010-05-01T14:54:45Z")

</div>

hi, a ruby 1.8.5 list of ruby VM’s http://web.archive.org/web/20070813065125/http://wiki.rubygarden.org/Ruby/page/show/VirtualMachineOptions it is kinda fun to see the options listed. cheers, deepak

---

## [Online survey jobs & data entry jobs](https://www.ruby-forum.com/t/online-survey-jobs-data-entry-jobs/187900)

<div class="topic-metadata">

**Author:** [@online\_jobs](https://www.ruby-forum.com/u/online_jobs)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 10:15am UTC](https://www.ruby-forum.com/t/online-survey-jobs-data-entry-jobs/187900 "2010-05-01T10:15:48Z")

</div>

http://teluguscope.com/job.html http://teluguscope.com/links/onlinedataentryjobs.html http://teluguscope.com/links/Copy%20Past%20jobs.html http://teluguscope.com/links/Work%20from%20Home.html http://teluguscope.com/l…

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

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