# Ruby

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

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

---

## [Red Dirt Registration Ending](https://www.ruby-forum.com/t/red-dirt-registration-ending/187283)

<div class="topic-metadata">

**Author:** [@James\_Edward\_GSII](https://www.ruby-forum.com/u/James_Edward_GSII)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 3:20am UTC](https://www.ruby-forum.com/t/red-dirt-registration-ending/187283 "2010-04-21T03:20:10Z")

</div>

Rubyists: Friday is the last day for normal registration to the Red Dirt RubyConf. We have everything locked-in and it’s going to be an awesome event. Here are just a handful of the planned highlights: Keynote speec…

---

## [Help with HTTP Intercepting Proxy in Ruby?](https://www.ruby-forum.com/t/help-with-http-intercepting-proxy-in-ruby/187279)

<div class="topic-metadata">

**Author:** [@pdubb](https://www.ruby-forum.com/u/pdubb)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 12:38am UTC](https://www.ruby-forum.com/t/help-with-http-intercepting-proxy-in-ruby/187279 "2010-04-21T00:38:17Z")

</div>

I have the beginnings of an HTTP Intercepting Proxy written in Ruby (see attachment). This simple proxy that I made parses the destination out of the HTTP request, then reads the HTTP response and performs logic based…

---

## [AES decrypt without PKCS padding?](https://www.ruby-forum.com/t/aes-decrypt-without-pkcs-padding/187213)

<div class="topic-metadata">

**Author:** [@Aaron\_DSGifford](https://www.ruby-forum.com/u/Aaron_DSGifford)\
**Replies:** 2\
**Last updated:** [April 21, 2010, 12:34am UTC](https://www.ruby-forum.com/t/aes-decrypt-without-pkcs-padding/187213 "2010-04-21T00:34:32Z")

</div>

Hi, I need to do some decryption of data encrypted with Rijndael (AES) but that is NOT PKCS padded. I can’t use openssl, as it chokes on data that isn’t padded PKCS-style. And I tried the all-Ruby crypt gem and it s…

---

## [GetoptLong::AmbigousOption](https://www.ruby-forum.com/t/getoptlong-ambigousoption/187271)

<div class="topic-metadata">

**Author:** [@davidjrice](https://www.ruby-forum.com/u/davidjrice)\
**Replies:** 0\
**Last updated:** [April 20, 2010, 9:30pm UTC](https://www.ruby-forum.com/t/getoptlong-ambigousoption/187271 "2010-04-20T21:30:03Z")

</div>

Hi I wanted to understand how I can get the error of GetoptLong::Ambigous option. Actually I am having that error but I do not understand why? I do: require ‘getoptlong’ optconfig = \[ \[ ‘–help’, GetoptLon…

---

## [Import photos from face book account](https://www.ruby-forum.com/t/import-photos-from-face-book-account/187269)

<div class="topic-metadata">

**Author:** [@aashish](https://www.ruby-forum.com/u/aashish)\
**Replies:** 2\
**Last updated:** [April 20, 2010, 8:54pm UTC](https://www.ruby-forum.com/t/import-photos-from-face-book-account/187269 "2010-04-20T20:54:57Z")

</div>

How to import photos from face book account in my server?

---

## [Pipeliner 1.1 released](https://www.ruby-forum.com/t/pipeliner-1-1-released/187262)

<div class="topic-metadata">

**Author:** [@spox](https://www.ruby-forum.com/u/spox)\
**Replies:** 0\
**Last updated:** [April 20, 2010, 6:56pm UTC](https://www.ruby-forum.com/t/pipeliner-1-1-released/187262 "2010-04-20T18:56:41Z")

</div>

The pipeliner library provides framework for message passing between objects. It allows objects to hook into the pipeline to receive certain types of objects, and process them in any way they see fit. An overview and…

---

## [Using variables defined in configuration files](https://www.ruby-forum.com/t/using-variables-defined-in-configuration-files/187257)

<div class="topic-metadata">

**Author:** [@dlucci](https://www.ruby-forum.com/u/dlucci)\
**Replies:** 1\
**Last updated:** [April 20, 2010, 6:09pm UTC](https://www.ruby-forum.com/t/using-variables-defined-in-configuration-files/187257 "2010-04-20T18:09:15Z")

</div>

Greetings all, I recently posted about how to import a configuration file. I got this as a reply: load File.join(ENV\[‘HOME’\], ‘.myconfrc’) file ~/.myconfrc: $interval = 15 But when I go to run it, I get this: tes…

---

## [Net::Ping::HTTP inconsistencies](https://www.ruby-forum.com/t/net-http-inconsistencies/187212)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 4\
**Last updated:** [April 20, 2010, 5:15pm UTC](https://www.ruby-forum.com/t/net-http-inconsistencies/187212 "2010-04-20T17:15:58Z")

</div>

I have multiple websites that are “up”. That is, they are accessible via the browser and return to the user content. But… require ‘net/ping’ =\> true Net::Ping::HTTP.new(‘somewebsite.com’).ping? =\> false And, s…

---

## [Extending Ruby using C++ and Rice](https://www.ruby-forum.com/t/extending-ruby-using-c-and-rice/187085)

<div class="topic-metadata">

**Author:** [@savage82](https://www.ruby-forum.com/u/savage82)\
**Replies:** 2\
**Last updated:** [April 20, 2010, 4:45pm UTC](https://www.ruby-forum.com/t/extending-ruby-using-c-and-rice/187085 "2010-04-20T16:45:12Z")

</div>

Hi, I am trying to extend Ruby and my current implementation is using C++ and Rice (http://rice.rubyforge.org/main.html). Mac OS X 10.5.8 Ruby 1.8.6 (2008-08-11 patchlevel 287) \[universal-darwin9.0\] I have completed…

---

## [\[Bug #3030\] make test-all fails with zlib 1.2.4](https://www.ruby-forum.com/t/bug-3030-make-test-all-fails-with-zlib-1-2-4/185883)

<div class="topic-metadata">

**Author:** [@Takashi\_T](https://www.ruby-forum.com/u/Takashi_T)\
**Replies:** 4\
**Last updated:** [April 20, 2010, 4:44pm UTC](https://www.ruby-forum.com/t/bug-3030-make-test-all-fails-with-zlib-1-2-4/185883 "2010-04-20T16:44:55Z")

</div>

Bug #3030: make test-all fails with zlib 1.2.4 http://redmine.ruby-lang.org/issues/show/3030 e$B5/I\<\<Te(B: Takashi T. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: ext, Target version: 1.9.2 ruby -v: …

---

## [Regexp: exclude a word or a phrase](https://www.ruby-forum.com/t/regexp-exclude-a-word-or-a-phrase/187253)

<div class="topic-metadata">

**Author:** [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Replies:** 2\
**Last updated:** [April 20, 2010, 4:30pm UTC](https://www.ruby-forum.com/t/regexp-exclude-a-word-or-a-phrase/187253 "2010-04-20T16:30:51Z")

</div>

Dear all I am trying to exclude certain text from whole text using regular expression but the i cannot get it working. I am using this to get the text between the matches and not the match itself for example, I have …

---

## [How could I get RPC in iron ruby?](https://www.ruby-forum.com/t/how-could-i-get-rpc-in-iron-ruby/185398)

<div class="topic-metadata">

**Author:** [@sagasw](https://www.ruby-forum.com/u/sagasw)\
**Replies:** 13\
**Last updated:** [April 20, 2010, 4:12pm UTC](https://www.ruby-forum.com/t/how-could-i-get-rpc-in-iron-ruby/185398 "2010-04-20T16:12:42Z")

</div>

I want to find a solution in IronRuby to use RPC function. I tried SOAP, but it can’t work, any one could tell me how to implement RPC (or XMLRPC) in ironruby? Thanks,

---

## [\[Bug:trunk\] readpartial after ungetc fails with text mode](https://www.ruby-forum.com/t/bug-trunk-readpartial-after-ungetc-fails-with-text-mode/184189)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 8\
**Last updated:** [April 20, 2010, 3:15pm UTC](https://www.ruby-forum.com/t/bug-trunk-readpartial-after-ungetc-fails-with-text-mode/184189 "2010-04-20T15:15:20Z")

</div>

e$B1sF#$G$9!#e(B e$B0J2\<$N$h$&$K$9$k$H!“e(B"a” e$B$,=PNO$5$l$k$3$H$r4|BT$9$k$N$G$9$,!"e(B EOFError e$B$K$J$j$^$9!#e(B $ echo -n a \> foo.txt && ./ruby -e ’ open(“foo.txt”, “r+t”) do |f| f.ungetc(f.getc) p f.readpart…

---

## [\[Bug #3137\] complex.rb changes exceptions of Math](https://www.ruby-forum.com/t/bug-3137-complex-rb-changes-exceptions-of-math/186801)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 14\
**Last updated:** [April 20, 2010, 2:41pm UTC](https://www.ruby-forum.com/t/bug-3137-complex-rb-changes-exceptions-of-math/186801 "2010-04-20T14:41:22Z")

</div>

Bug #3137: complex.rb changes exceptions of Math http://redmine.ruby-lang.org/issues/show/3137 e$B5/I\<\<Te(B: Yusuke E. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Keiju Ishitsuka, e$B%+%F%4%je(B: lib, …

---

## [Win32ole with COM method taking two out refs](https://www.ruby-forum.com/t/win32ole-with-com-method-taking-two-out-refs/57140)

<div class="topic-metadata">

**Author:** [@addywaddy](https://www.ruby-forum.com/u/addywaddy)\
**Replies:** 19\
**Last updated:** [April 20, 2010, 2:36pm UTC](https://www.ruby-forum.com/t/win32ole-with-com-method-taking-two-out-refs/57140 "2010-04-20T14:36:05Z")

</div>

Hi, I’ve got a challenge with a COM API that has a method with the signature: OpenApplication arg0, arg1, arg2, arg3, arg4 where arg0, arg1, arg2 are String IN paramters (VT\_BSTR) arg3, arg4 are Variant OUT paramet…

---

## [\[bug:trunk\] Invalid read of size 4 by redefining load](https://www.ruby-forum.com/t/bug-trunk-invalid-read-of-size-4-by-redefining-load/183841)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 4\
**Last updated:** [April 20, 2010, 2:33pm UTC](https://www.ruby-forum.com/t/bug-trunk-invalid-read-of-size-4-by-redefining-load/183841 "2010-04-20T14:33:44Z")

</div>

e$B0J2\<$N$h$&$Ke(B load e$BCf$Ke(B load e$B$r:FDj5A$9$k$H!“JQ$J$H$3$m$r%”%/%;%9$9$k$N$,e(B valgrind e$B$G4QB,$5$l$^$9!#e(B % cat tst.rb module Kernel def load(\*args) end end raise % valgrind ./ruby -ve ‘load “ts…

---

## [\[Bug:trunk\] rubyspec: Time#+ rounds micro seconds rather than truncates FAILED](https://www.ruby-forum.com/t/bug-trunk-rubyspec-time-rounds-micro-seconds-rather-than-truncates-failed/183253)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 6\
**Last updated:** [April 20, 2010, 1:39pm UTC](https://www.ruby-forum.com/t/bug-trunk-rubyspec-time-rounds-micro-seconds-rather-than-truncates-failed/183253 "2010-04-20T13:39:53Z")

</div>

akr e$B$5$se(B e$B1sF#$G$9!#e(B Evan P. e$B$He(B Time e$B$N5sF0$K$D$$$FAjCL$7$?\>e$Ge(B Time e$B$K$D$$$F0l1~$Ne(B e$B3NG’$G$9!#e(B 1.8 e$B$Ne(B Time#+ e$B$Oe(B usec e$B$G;M\<N8^F~$7$F$$$^$9$,!“e(B1.9 e$B$G$O$7$^$;$…

---

## [Ya config file parser](https://www.ruby-forum.com/t/ya-config-file-parser/187208)

<div class="topic-metadata">

**Author:** [@robyonrails](https://www.ruby-forum.com/u/robyonrails)\
**Replies:** 3\
**Last updated:** [April 20, 2010, 12:32pm UTC](https://www.ruby-forum.com/t/ya-config-file-parser/187208 "2010-04-20T12:32:43Z")

</div>

I’m wondering how to extend the config-yaml parser at Deneme Bonusu Veren Bahis Siteleri - En iyi Bonus Veren Siteler Nelerdir? so I can write to the file through the variable. right now it works like this: yaml\_dat…

---

## [Running drb as a windows service](https://www.ruby-forum.com/t/running-drb-as-a-windows-service/187232)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 1\
**Last updated:** [April 20, 2010, 11:19am UTC](https://www.ruby-forum.com/t/running-drb-as-a-windows-service/187232 "2010-04-20T11:19:25Z")

</div>

I’d like to run drb as a service, so that when windows starts up there’s a drb process there and listening for input. Has anyone done something like this? martin

---

## [Documenting Rakefile using rdoc](https://www.ruby-forum.com/t/documenting-rakefile-using-rdoc/187111)

<div class="topic-metadata">

**Author:** [@Jean-Julien\_F](https://www.ruby-forum.com/u/Jean-Julien_F)\
**Replies:** 10\
**Last updated:** [April 20, 2010, 10:35am UTC](https://www.ruby-forum.com/t/documenting-rakefile-using-rdoc/187111 "2010-04-20T10:35:30Z")

</div>

Hello there, Does anybody know a gem that could be used to document a Rakefile the way rdoc does ? I’ve got a Rakefile full of tasks but only a few of them have a ‘desc’ keyword in order to keep ‘rake -T’ readable. I…

---

## [Writing a parser](https://www.ruby-forum.com/t/writing-a-parser/187064)

<div class="topic-metadata">

**Author:** [@himdel](https://www.ruby-forum.com/u/himdel)\
**Replies:** 17\
**Last updated:** [April 20, 2010, 10:16am UTC](https://www.ruby-forum.com/t/writing-a-parser/187064 "2010-04-20T10:16:49Z")

</div>

Hello there, I am struggling to get a grip on OO (and Ruby) and write a parser for this particular data format described at the below get\_record method. The goal is to parse and emit records of this type and be able t…

---

## [Ruby BASIC (#228)](https://www.ruby-forum.com/t/ruby-basic-228/182574)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 1\
**Last updated:** [April 20, 2010, 8:25am UTC](https://www.ruby-forum.com/t/ruby-basic-228/182574 "2010-04-20T08:25:32Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this m…

---

## [Code Review: Kernel#test additions](https://www.ruby-forum.com/t/code-review-kernel-test-additions/187221)

<div class="topic-metadata">

**Author:** [@Zac\_Brown](https://www.ruby-forum.com/u/Zac_Brown)\
**Replies:** 0\
**Last updated:** [April 20, 2010, 4:44am UTC](https://www.ruby-forum.com/t/code-review-kernel-test-additions/187221 "2010-04-20T04:44:53Z")

</div>

Hi, Please see the attached 8 patches for additions to the Kernel#test function for code review. Thanks, Zac

---

## [Elegant Solution to a Seemingly Simple Problem?](https://www.ruby-forum.com/t/elegant-solution-to-a-seemingly-simple-problem/187140)

<div class="topic-metadata">

**Author:** [@derek](https://www.ruby-forum.com/u/derek)\
**Replies:** 11\
**Last updated:** [April 20, 2010, 4:15am UTC](https://www.ruby-forum.com/t/elegant-solution-to-a-seemingly-simple-problem/187140 "2010-04-20T04:15:37Z")

</div>

Hello everyone. It’s me: Derek, again! Sorry for writing a novel here, but I’d really appreciate some help. I’m still working on the same program – a way to show valid course combinations for my school schedule, using…

---

## [Can't install gems with native extensions](https://www.ruby-forum.com/t/cant-install-gems-with-native-extensions/185015)

<div class="topic-metadata">

**Author:** [@nvi](https://www.ruby-forum.com/u/nvi)\
**Replies:** 4\
**Last updated:** [April 20, 2010, 2:15am UTC](https://www.ruby-forum.com/t/cant-install-gems-with-native-extensions/185015 "2010-04-20T02:15:40Z")

</div>

âž¤ gem install rdiscount Building native extensions. This could take a while… ERROR: Error installing rdiscount: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb WARNING: JRuby does not…

---

## [\[FYI\] RedBridge (JRuby Embed), what are new and improved in JRuby 1.5.0RC1](https://www.ruby-forum.com/t/fyi-redbridge-jruby-embed-what-are-new-and-improved-in-jruby-1-5-0rc1/187166)

<div class="topic-metadata">

**Author:** [@Yoko\_H](https://www.ruby-forum.com/u/Yoko_H)\
**Replies:** 5\
**Last updated:** [April 20, 2010, 1:30am UTC](https://www.ruby-forum.com/t/fyi-redbridge-jruby-embed-what-are-new-and-improved-in-jruby-1-5-0rc1/187166 "2010-04-20T01:30:36Z")

</div>

Hi RedBridge users, Since the last release, RedBridge (JRuby Embed) had a log of changes. Some of them might affect on your code. So, please see my blog post, yokolet's notelets: RedBridge, what are new and improved i…

---

## [Windows 7 - 64-bit and MySql - what are my options?](https://www.ruby-forum.com/t/windows-7-64-bit-and-mysql-what-are-my-options/187215)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 2\
**Last updated:** [April 20, 2010, 1:06am UTC](https://www.ruby-forum.com/t/windows-7-64-bit-and-mysql-what-are-my-options/187215 "2010-04-20T01:06:00Z")

</div>

I upgraded from 32-bit to Windows 7 64-bit. Here is my environment: Windows 7 - 64-bit ruby 1.9.1p243 (i386-mingw32) … which was probably built on 32 bit. I’m using the 64-bit version of mysql. What do I need to do…

---

## [Ruby Summer of Code needs more student proposals!](https://www.ruby-forum.com/t/ruby-summer-of-code-needs-more-student-proposals/187217)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 0\
**Last updated:** [April 20, 2010, 12:19am UTC](https://www.ruby-forum.com/t/ruby-summer-of-code-needs-more-student-proposals/187217 "2010-04-20T00:19:46Z")

</div>

Ruby Summer of Code still has room for more proposals from students interested in working on JRuby (or Ruby/Rails) projects over the summer. You will get a mentor from the Ruby/JRuby/Rails community plus a $5000 stipe…

---

## [Rainbows! 0.91.1 - use a less-broken parser from Unicorn](https://www.ruby-forum.com/t/rainbows-0-91-1-use-a-less-broken-parser-from-unicorn/187214)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 3\
**Last updated:** [April 19, 2010, 11:28pm UTC](https://www.ruby-forum.com/t/rainbows-0-91-1-use-a-less-broken-parser-from-unicorn/187214 "2010-04-19T23:28:51Z")

</div>

Rainbows! is an 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 b…

---

## [How to redirect to a url that is stored inside a variable](https://www.ruby-forum.com/t/how-to-redirect-to-a-url-that-is-stored-inside-a-variable/187196)

<div class="topic-metadata">

**Author:** [@sreevarshini\_k](https://www.ruby-forum.com/u/sreevarshini_k)\
**Replies:** 1\
**Last updated:** [April 19, 2010, 10:31pm UTC](https://www.ruby-forum.com/t/how-to-redirect-to-a-url-that-is-stored-inside-a-variable/187196 "2010-04-19T22:31:30Z")

</div>

I am trying to redirect to an url by using the method redirect\_to but the URL is stored in a variable. i tried to give some thing like this redirect\_to (@redirectURL) but it dint worked Plz help me out Thanks sreev…

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

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