# Ruby

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

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

---

## [Problems With Fibers in Threads](https://www.ruby-forum.com/t/problems-with-fibers-in-threads/177306)

<div class="topic-metadata">

**Author:** [@supasta](https://www.ruby-forum.com/u/supasta)\
**Replies:** 8\
**Last updated:** [October 15, 2009, 10:40pm UTC](https://www.ruby-forum.com/t/problems-with-fibers-in-threads/177306 "2009-10-15T22:40:00Z")

</div>

I know it’s an odd combination, but I have a situation where a thread pulls a fiber off of a queue and then calls resume on it. I used to use Proc objects but I need the ability to stop and start the jobs while they …

---

## [Dynamicsilverlight.net died?](https://www.ruby-forum.com/t/dynamicsilverlight-net-died/177067)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 1\
**Last updated:** [October 15, 2009, 10:15pm UTC](https://www.ruby-forum.com/t/dynamicsilverlight-net-died/177067 "2009-10-15T22:15:25Z")

</div>

Hi Did dynamicsilverlight.net die? It takes me to http://silverlight.net/404.aspx?aspxerrorpath=/learn/dynamiclanguages.aspx/ Oops â€“ Page Not Found Met vriendelijke groeten - Best regards - Salutations Ivan Port…

---

## [Rake-tester-0.0.1](https://www.ruby-forum.com/t/rake-tester-0-0-1/177370)

<div class="topic-metadata">

**Author:** [@fstroehle](https://www.ruby-forum.com/u/fstroehle)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 10:01pm UTC](https://www.ruby-forum.com/t/rake-tester-0-0-1/177370 "2009-10-15T22:01:57Z")

</div>

Hi folks, I just released the first version of rake-tester, an extension of the rake-compiler gem that allows the testing of Ruby C extension parts with C testing frameworks, e.g. cmockery. This allows you to test th…

---

## [Java\_servlet\_store breaks with jruby-rack-0.9.5](https://www.ruby-forum.com/t/java-servlet-store-breaks-with-jruby-rack-0-9-5/177222)

<div class="topic-metadata">

**Author:** [@ajosephmi](https://www.ruby-forum.com/u/ajosephmi)\
**Replies:** 4\
**Last updated:** [October 15, 2009, 9:43pm UTC](https://www.ruby-forum.com/t/java-servlet-store-breaks-with-jruby-rack-0-9-5/177222 "2009-10-15T21:43:13Z")

</div>

jruby-rack-0.9.5 release notes indicate that ‘java\_servlet\_store’ support has been added. When I deploy the application on tomcat as a war file it errors out. I have ActionController::Base.session\_store = :java\_se…

---

## [PlatformAdaptationLayer - scope](https://www.ruby-forum.com/t/platformadaptationlayer-scope/177259)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 8\
**Last updated:** [October 15, 2009, 9:06pm UTC](https://www.ruby-forum.com/t/platformadaptationlayer-scope/177259 "2009-10-15T21:06:55Z")

</div>

What is the correct way to view the PlatformAdaptationLayer? My initial assumption was that it was IronRuby’s abstraction of the file system (and environment variables), but in digging deeper I see that the Dir builti…

---

## [Null pointer iv with non-EBC block cipher](https://www.ruby-forum.com/t/null-pointer-iv-with-non-ebc-block-cipher/177367)

<div class="topic-metadata">

**Author:** [@dmarkow](https://www.ruby-forum.com/u/dmarkow)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 7:23pm UTC](https://www.ruby-forum.com/t/null-pointer-iv-with-non-ebc-block-cipher/177367 "2009-10-15T19:23:52Z")

</div>

I’m not sure if this is an openssl problem with not checking for null before dereferencing pointers, but with ruby you can do the following cbc block cipher without specifying an IV: require ‘openssl’ key = “0599E113…

---

## [Passing two or more parameters from mocha request](https://www.ruby-forum.com/t/passing-two-or-more-parameters-from-mocha-request/177368)

<div class="topic-metadata">

**Author:** [@mark42](https://www.ruby-forum.com/u/mark42)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 6:54pm UTC](https://www.ruby-forum.com/t/passing-two-or-more-parameters-from-mocha-request/177368 "2009-10-15T18:54:38Z")

</div>

I am trying to make a call to a function using a mocha request to a controller. The functions title is ‘index’ and the parameters are ‘Parameter1’ and ‘Parameter2’. In javascript it would be SomethingController.inde…

---

## [IronRuby, RubyZip and ZLib == error](https://www.ruby-forum.com/t/ironruby-rubyzip-and-zlib-error/177365)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 1\
**Last updated:** [October 15, 2009, 6:11pm UTC](https://www.ruby-forum.com/t/ironruby-rubyzip-and-zlib-error/177365 "2009-10-15T18:11:17Z")

</div>

Hello, Just tried to use RubyZip with IronRuby (porting a rake task onto irake) and I received the following error: rake aborted! wrong number of arguments (2 for 0) c:/ironruby/lib/ironruby/gems/1.8/gems/rubyzip-0.…

---

## [.irbc on Mac OS X Snow Leopard](https://www.ruby-forum.com/t/irbc-on-mac-os-x-snow-leopard/177357)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 1\
**Last updated:** [October 15, 2009, 3:40pm UTC](https://www.ruby-forum.com/t/irbc-on-mac-os-x-snow-leopard/177357 "2009-10-15T15:40:28Z")

</div>

I discovered that ~/.irbc ignored on Snow Leopard, and that instead irb looks for /etc/irbc which is not user editable (by default) Is there a good reason for that and can I make irb look at ~/.irbc instead? Thanks! …

---

## [Monkeybars and jdbc-mysql](https://www.ruby-forum.com/t/monkeybars-and-jdbc-mysql/177247)

<div class="topic-metadata">

**Author:** [@Luiz\_Fernando\_Signo](https://www.ruby-forum.com/u/Luiz_Fernando_Signo)\
**Replies:** 8\
**Last updated:** [October 15, 2009, 3:27pm UTC](https://www.ruby-forum.com/t/monkeybars-and-jdbc-mysql/177247 "2009-10-15T15:27:58Z")

</div>

Hello, I’m writting an desktop app using Monkeybars, and need like to connect to a MySQL database. The problem is that I can’t get the jdbc-mysql to work with Monkeybars. I’ve posted the following question in the Mo…

---

## [Code Review: BF2](https://www.ruby-forum.com/t/code-review-bf2/177318)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [October 15, 2009, 3:18pm UTC](https://www.ruby-forum.com/t/code-review-bf2/177318 "2009-10-15T15:18:01Z")

</div>

tfpt review “/shelveset:BF2;REDMOND\\tomat” Comment : Python, DLR: Fixes Dev10 build. Fixes bug http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=772 - new type builder doesn’t handle modops correctly. R…

---

## [Copying local files to remote disk](https://www.ruby-forum.com/t/copying-local-files-to-remote-disk/177352)

<div class="topic-metadata">

**Author:** [@Alexander\_Cohen](https://www.ruby-forum.com/u/Alexander_Cohen)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 2:45pm UTC](https://www.ruby-forum.com/t/copying-local-files-to-remote-disk/177352 "2009-10-15T14:45:49Z")

</div>

Hello, I’m wondering if it’s possible to copy local files to a remote drive such as a shared smb or afp drive using the regular File, Dir or FileUtils routines? Are there any examples or anything out there, i have no…

---

## [Coulda example](https://www.ruby-forum.com/t/coulda-example/177348)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 1:09pm UTC](https://www.ruby-forum.com/t/coulda-example/177348 "2009-10-15T13:09:14Z")

</div>

Hi! Can someone provide a simple example of how to use COULDA to actually test something? The example on the site seems to be for people who have gone through a whole history of different testing systems and makes li…

---

## [Problem with IronRubyMvc and IR 0.9.1](https://www.ruby-forum.com/t/problem-with-ironrubymvc-and-ir-0-9-1/177103)

<div class="topic-metadata">

**Author:** [@iwache](https://www.ruby-forum.com/u/iwache)\
**Replies:** 21\
**Last updated:** [October 15, 2009, 12:02pm UTC](https://www.ruby-forum.com/t/problem-with-ironrubymvc-and-ir-0-9-1/177103 "2009-10-15T12:02:47Z")

</div>

Hi, tried to get running casualjim/ironrubymvc master from github to work. (I’m about to write a IronRuby MVC plugin for OpenSource CMS Umbraco with this, see: http://www.umbraco.org) Problem is calling a controller …

---

## [Dynamically access class constants?](https://www.ruby-forum.com/t/dynamically-access-class-constants/177329)

<div class="topic-metadata">

**Author:** [@marli03](https://www.ruby-forum.com/u/marli03)\
**Replies:** 3\
**Last updated:** [October 15, 2009, 11:36am UTC](https://www.ruby-forum.com/t/dynamically-access-class-constants/177329 "2009-10-15T11:36:02Z")

</div>

I’ve been looking for a method similar to: Obj.send(:method) but to access class constants. So if I have: class MyObj MY\_CONSTANT\_1 end I want to access MyObj::MY\_CONSTANT\_1 by using a variable like foo = MY\_CONS…

---

## [Rainbows! 0.2.0 w/ bare Rev support and AppPool middleware](https://www.ruby-forum.com/t/rainbows-0-2-0-w-bare-rev-support-and-apppool-middleware/177345)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 10:20am UTC](https://www.ruby-forum.com/t/rainbows-0-2-0-w-bare-rev-support-and-apppool-middleware/177345 "2009-10-15T10:20:39Z")

</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…

---

## [Net::SSH woes (Solaris, JRuby, Net::SSH 2.0.15)](https://www.ruby-forum.com/t/net-ssh-woes-solaris-jruby-net-ssh-2-0-15/176764)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 8\
**Last updated:** [October 15, 2009, 7:40am UTC](https://www.ruby-forum.com/t/net-ssh-woes-solaris-jruby-net-ssh-2-0-15/176764 "2009-10-15T07:40:14Z")

</div>

We’re on Solaris 10, using JRuby 1.3.1 (but we’ve seen the problem under regular Ruby 1.8.7 as well), trying to communicate with another Solaris 10 machine. The first problem we ran into was an UnimplementedCipher err…

---

## [Rev 0.3.1: a libev-based event framework, now with better filesystem monitoring](https://www.ruby-forum.com/t/rev-0-3-1-a-libev-based-event-framework-now-with-better-filesystem-monitoring/177335)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 6:15am UTC](https://www.ruby-forum.com/t/rev-0-3-1-a-libev-based-event-framework-now-with-better-filesystem-monitoring/177335 "2009-10-15T06:15:57Z")

</div>

rev 0.3.1 is largely a maintenance/bugfix release, but it comes with a new feature: configurable filesystem polling intervals. The previous version introduced Rev::StatWatcher, a simple observer that notifies you if …

---

## [Ruby 1.9.1 p243 for AIX](https://www.ruby-forum.com/t/ruby-1-9-1-p243-for-aix/177332)

<div class="topic-metadata">

**Author:** [@pedz](https://www.ruby-forum.com/u/pedz)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 5:28am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p243-for-aix/177332 "2009-10-15T05:28:14Z")

</div>

I’ve started a web site where I offer installp images for AIX of various open source packages. The list is a bit small right now but I hope it grows over time. I just uploaded an installp images for Ruby 1.9.1 p243 t…

---

## [\[bug:trunk\] loop by Iconv.open("foo", "bar") {|x| p x }](https://www.ruby-forum.com/t/bug-trunk-loop-by-iconv-open-foo-bar-x-p-x/177331)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 5:08am UTC](https://www.ruby-forum.com/t/bug-trunk-loop-by-iconv-open-foo-bar-x-p-x/177331 "2009-10-15T05:08:03Z")

</div>

e$B0J2\<$N$h$&$K!"e(BIconv.open(“foo”, “bar”) {|x| p x } e$B$,L58B%k!\<e(B e$B%W$C$\]$/?6$kIq$&$N$O$J$K$+JQ$G$O$J$$$G$7$g$&$+!#e(B % ./ruby -riconv -ve ‘Iconv.open(“foo”, “bar”) {|x| p x }’ ruby 1.9.2dev (2009-10-15 trun…

---

## [BigDecimal#to\_i/to\_int $B$N5sF0$K$D$$$F(B](https://www.ruby-forum.com/t/bigdecimal-to-i-to-int-b-n5sf0-k-d-f-b/177200)

<div class="topic-metadata">

**Author:** [@KAKUTANI\_Shintaro](https://www.ruby-forum.com/u/KAKUTANI_Shintaro)\
**Replies:** 2\
**Last updated:** [October 15, 2009, 4:28am UTC](https://www.ruby-forum.com/t/bigdecimal-to-i-to-int-b-n5sf0-k-d-f-b/177200 "2009-10-15T04:28:51Z")

</div>

e$B$+$/$?$K$G$9!#e(B rubyspec e$B$re(B1.8e$B%?!\<%2%C%H$GF0$+$7$F$$$F!"I85-$Ne(Bspece$B$,\<j85$G$ODL$i$J$$$3$H$K5$$E$-$^$7$?!#e(B e$B2?$,@5$7$$$N$+\<+J,$G$O$o$+$i$J$$$N$G65$($F$b$i$($k$H$&$l$7$$$G$9!#e(B BigDecimale$B$G…

---

## [Communicating w/ command-line program (OR ruby expect)](https://www.ruby-forum.com/t/communicating-w-command-line-program-or-ruby-expect/115407)

<div class="topic-metadata">

**Author:** [@heynow](https://www.ruby-forum.com/u/heynow)\
**Replies:** 4\
**Last updated:** [October 15, 2009, 3:34am UTC](https://www.ruby-forum.com/t/communicating-w-command-line-program-or-ruby-expect/115407 "2009-10-15T03:34:44Z")

</div>

Hello, I’m trying to communicate w/ a command-line process w/ ruby. I thought IO.popen would be the right tool for the job, but I need to be able to read and write to the process, and I can’t get it to work (i’ve go…

---

## [HTTPCookieProcessor in ruby](https://www.ruby-forum.com/t/httpcookieprocessor-in-ruby/177327)

<div class="topic-metadata">

**Author:** [@dannypotta](https://www.ruby-forum.com/u/dannypotta)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 2:46am UTC](https://www.ruby-forum.com/t/httpcookieprocessor-in-ruby/177327 "2009-10-15T02:46:57Z")

</div>

im a python developer, and i am starting learn ruby porting an previous program i did, to interact with my ruby on rails application, but i don’t know how to develop this kind of behavior on ruby self.o = urllib.reque…

---

## [Ruby for the wrong reason](https://www.ruby-forum.com/t/ruby-for-the-wrong-reason/176779)

<div class="topic-metadata">

**Author:** [@flebber](https://www.ruby-forum.com/u/flebber)\
**Replies:** 38\
**Last updated:** [October 15, 2009, 2:17am UTC](https://www.ruby-forum.com/t/ruby-for-the-wrong-reason/176779 "2009-10-15T02:17:44Z")

</div>

Hi A few months ago, I started learning Python - my first language for a project I want to do (personal) which will involve several facets including MySql/postgres database and gui frontend I need to create on window…

---

## [Re: how to solve a special JRuby and Java syntax conflict? - correction to my 'final' summary?](https://www.ruby-forum.com/t/re-how-to-solve-a-special-jruby-and-java-syntax-conflict-correction-to-my-final-summary/177326)

<div class="topic-metadata">

**Author:** [@colinbm](https://www.ruby-forum.com/u/colinbm)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 12:58am UTC](https://www.ruby-forum.com/t/re-how-to-solve-a-special-jruby-and-java-syntax-conflict-correction-to-my-final-summary/177326 "2009-10-15T00:58:08Z")

</div>

Axel I hope this won’t be taken the wrong way: I’m rather glad you had the problem and posted your question, because it prompted me to actually try out what I’d intended to do, and even more because Carl Leiby-2 gave…

---

## [Code Review: irtests\_parallel](https://www.ruby-forum.com/t/code-review-irtests-parallel/177322)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 1\
**Last updated:** [October 15, 2009, 12:42am UTC](https://www.ruby-forum.com/t/code-review-irtests-parallel/177322 "2009-10-15T00:42:55Z")

</div>

FYI Review: tfpt review “/shelveset:irtests\_parallel;REDMOND\\jdeville” Comment : cmd /k caused irtests to hang for non-parallel processes. So I made the /k conditional on passing in the parallel option.

---

## [Testing command-line apps with Cucumber: advice?](https://www.ruby-forum.com/t/testing-command-line-apps-with-cucumber-advice/176620)

<div class="topic-metadata">

**Author:** [@james-calivar](https://www.ruby-forum.com/u/james-calivar)\
**Replies:** 1\
**Last updated:** [October 15, 2009, 12:08am UTC](https://www.ruby-forum.com/t/testing-command-line-apps-with-cucumber-advice/176620 "2009-10-15T00:08:58Z")

</div>

Hi all, I’d like to write some Cucumber features for a command-line app I’m working on (specifically, GitHub - jcoglan/claw: Command-line tool for searching and opening files). The app runs a Readline loop taking us…

---

## [IronRuby related gem: iron\_maiden](https://www.ruby-forum.com/t/ironruby-related-gem-iron-maiden/177314)

<div class="topic-metadata">

**Author:** [@Web\_Administrator](https://www.ruby-forum.com/u/Web_Administrator)\
**Replies:** 6\
**Last updated:** [October 14, 2009, 11:20pm UTC](https://www.ruby-forum.com/t/ironruby-related-gem-iron-maiden/177314 "2009-10-14T23:20:58Z")

</div>

I just pushed v0.2.0 of a gem I have put together called iron\_maiden to gemcutter. Github: http://github.com/jwthompson2/iron\_maiden Gemcutter: RubyGems.org | your community gem host It has a basic IronRuby.Rack temp…

---

## [^M^M Control Character Substitution](https://www.ruby-forum.com/t/m-m-control-character-substitution/177308)

<div class="topic-metadata">

**Author:** [@goodfriend](https://www.ruby-forum.com/u/goodfriend)\
**Replies:** 1\
**Last updated:** [October 14, 2009, 11:05pm UTC](https://www.ruby-forum.com/t/m-m-control-character-substitution/177308 "2009-10-14T23:05:44Z")

</div>

Hi, I have code that successfully reads a CSV file using FasterCSV and puts the data into a simple, 2x2 array. Some of the cells I read in and print out to a file contain some kind of a control character that I don’t…

---

## [How to solve a special JRuby and Java syntax conflict?](https://www.ruby-forum.com/t/how-to-solve-a-special-jruby-and-java-syntax-conflict/177228)

<div class="topic-metadata">

**Author:** [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Replies:** 14\
**Last updated:** [October 14, 2009, 10:45pm UTC](https://www.ruby-forum.com/t/how-to-solve-a-special-jruby-and-java-syntax-conflict/177228 "2009-10-14T22:45:50Z")

</div>

Dear all, I am trying to use a Java class in JRuby from an external Java library. This runs all very nicely, yet at some point, I have to define a matrix. In the Java library, this is supposed to be done using this s…

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

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