# Ruby

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

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

---

## [Joggle 0.1.0 Released: Jabber to Twitter Relay](https://www.ruby-forum.com/t/joggle-0-1-0-released-jabber-to-twitter-relay/162881)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 1\
**Last updated:** [March 15, 2009, 11:54am UTC](https://www.ruby-forum.com/t/joggle-0-1-0-released-jabber-to-twitter-relay/162881 "2009-03-15T11:54:13Z")

</div>

Joggle is a Jabber to Twitter relay, written in Ruby. Tweets (Twitter messages) are sent as Jabber instant messages, and instant messages are sent as tweets. Joggle is available as a gem (gem install joggle), or as a…

---

## [Newbie needs advice to startoff Ruby!](https://www.ruby-forum.com/t/newbie-needs-advice-to-startoff-ruby/162657)

<div class="topic-metadata">

**Author:** [@jay](https://www.ruby-forum.com/u/jay)\
**Replies:** 9\
**Last updated:** [March 15, 2009, 6:11am UTC](https://www.ruby-forum.com/t/newbie-needs-advice-to-startoff-ruby/162657 "2009-03-15T06:11:44Z")

</div>

Â Hello, I have just started learning ruby through various tutorials on the internet. But i would like get more valuble information regarding the best books available , online tutorials , simple and complete referenc…

---

## [Language globalization and localization](https://www.ruby-forum.com/t/language-globalization-and-localization/162826)

<div class="topic-metadata">

**Author:** [@vikas](https://www.ruby-forum.com/u/vikas)\
**Replies:** 1\
**Last updated:** [March 15, 2009, 3:20am UTC](https://www.ruby-forum.com/t/language-globalization-and-localization/162826 "2009-03-15T03:20:01Z")

</div>

Hi, I am developing a web application(like online music portal) which provides searching option for user’s favorite music album or song. theme is that - user can able to search their favorite album or song in his nat…

---

## [\[Bug:1.8\] SEGV by ObjectSpace.define\_finalizer("") {}](https://www.ruby-forum.com/t/bug-1-8-segv-by-objectspace-define-finalizer/162884)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 3:10am UTC](https://www.ruby-forum.com/t/bug-1-8-segv-by-objectspace-define-finalizer/162884 "2009-03-15T03:10:32Z")

</div>

e$B0J2\<$N$h$&$K$9$k$He(B SEGV e$B$7$^$9!#e(B % ./ruby -ve ‘ObjectSpace.define\_finalizer("") {}’ ruby 1.8.8dev (2009-03-15 revision 22961) \[i686-linux\] zsh: segmentation fault ./ruby -ve ‘ObjectSpace.define\_finalizer(…

---

## [Extract common entries in two arrays](https://www.ruby-forum.com/t/extract-common-entries-in-two-arrays/162878)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 4\
**Last updated:** [March 15, 2009, 2:10am UTC](https://www.ruby-forum.com/t/extract-common-entries-in-two-arrays/162878 "2009-03-15T02:10:19Z")

</div>

Hi, how to get an array with just common entries from two arrays?: array1 = \[“q”, “w”, “e”, “r”, “t”, “y”\] array2 = \[“w”, “t”, “z”\] I want to get: array\_common = \[“w”, “t”\] I don0t find an ellegant and fast way to g…

---

## [Nokogiri 1.2.2 Released](https://www.ruby-forum.com/t/nokogiri-1-2-2-released/162882)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [March 15, 2009, 1:46am UTC](https://www.ruby-forum.com/t/nokogiri-1-2-2-released/162882 "2009-03-15T01:46:20Z")

</div>

nokogiri version 1.2.2 has been released! http://nokogiri.rubyforge.org/ http://github.com/tenderlove/nokogiri/wikis http://github.com/tenderlove/nokogiri/tree/master http://rubyforge.org/mailman/listinfo/nokogiri-talk …

---

## [Ruby Editor, clickable stacktrace in console](https://www.ruby-forum.com/t/ruby-editor-clickable-stacktrace-in-console/162745)

<div class="topic-metadata">

**Author:** [@axyd80](https://www.ruby-forum.com/u/axyd80)\
**Replies:** 3\
**Last updated:** [March 14, 2009, 11:34pm UTC](https://www.ruby-forum.com/t/ruby-editor-clickable-stacktrace-in-console/162745 "2009-03-14T23:34:37Z")

</div>

I’ve surrender to use Ruby IDE (they all are too alpha, no matter wich version it is). Ruby Console debugger is good ennought. But there is one thing i can’t live without - clickable stacktrace. I’m using Kate/GEdit/…

---

## [Fetching cookie?](https://www.ruby-forum.com/t/fetching-cookie/162819)

<div class="topic-metadata">

**Author:** [@saurabhpurnaye](https://www.ruby-forum.com/u/saurabhpurnaye)\
**Replies:** 10\
**Last updated:** [March 14, 2009, 9:54pm UTC](https://www.ruby-forum.com/t/fetching-cookie/162819 "2009-03-14T21:54:27Z")

</div>

Hi All, Kindly suggest for the following issue Issue: As we know cookies stored in Mozilla(in Tools\> Internet options\> privacy show all cookies). I am trying to fetch cookies other than localhost, i.e. fetching coo…

---

## [Parse\_input exception when gem is executed in a different directory](https://www.ruby-forum.com/t/parse-input-exception-when-gem-is-executed-in-a-different-directory/162648)

<div class="topic-metadata">

**Author:** [@skiz](https://www.ruby-forum.com/u/skiz)\
**Replies:** 5\
**Last updated:** [March 14, 2009, 7:47pm UTC](https://www.ruby-forum.com/t/parse-input-exception-when-gem-is-executed-in-a-different-directory/162648 "2009-03-14T19:47:18Z")

</div>

Hi, This exception completely baffles me. I am working with autotest to make it JRuby compatible. So I have the trunk checked out and when I execute it from the local directory it runs fine. But, when I copy it to…

---

## [Cannot fetch from database using if...else](https://www.ruby-forum.com/t/cannot-fetch-from-database-using-if-else/162850)

<div class="topic-metadata">

**Author:** [@arunvoip](https://www.ruby-forum.com/u/arunvoip)\
**Replies:** 2\
**Last updated:** [March 14, 2009, 6:26pm UTC](https://www.ruby-forum.com/t/cannot-fetch-from-database-using-if-else/162850 "2009-03-14T18:26:53Z")

</div>

Hi, I’m new to ruby and right now i’m trying out some examples involving database access using the dbi module. This is my code… #!/usr/local/bin/ruby -w require ‘dbi’ begin con = DBI.connect(“DBI:Mysql:Sample:local…

---

## [\[Bug #1290\] lib/mkmf.rb:73: \[BUG\] Segmentation fault](https://www.ruby-forum.com/t/bug-1290-lib-mkmf-rb-bug-segmentation-fault/162849)

<div class="topic-metadata">

**Author:** [@pegacorn\_jp](https://www.ruby-forum.com/u/pegacorn_jp)\
**Replies:** 1\
**Last updated:** [March 14, 2009, 6:17pm UTC](https://www.ruby-forum.com/t/bug-1290-lib-mkmf-rb-bug-segmentation-fault/162849 "2009-03-14T18:17:28Z")

</div>

Bug #1290: lib/mkmf.rb:73: \[BUG\] Segmentation fault http://redmine.ruby-lang.org/issues/show/1290 e$B5/I\<\<Te(B: pegacorn jp e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: core ruby -v: ruby 1.9.2dev (2…

---

## [Doodle 0.2.3 Released](https://www.ruby-forum.com/t/doodle-0-2-3-released/162863)

<div class="topic-metadata">

**Author:** [@sean](https://www.ruby-forum.com/u/sean)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 6:01pm UTC](https://www.ruby-forum.com/t/doodle-0-2-3-released/162863 "2009-03-14T18:01:00Z")

</div>

doodle version 0.2.3 has been released! http://doodle.rubyforge.org Doodle is a gem for simplifying the definition of Ruby classes by making attributes and their properties more declarative. Doodle is eco-friendly: …

---

## [Railsmag is out](https://www.ruby-forum.com/t/railsmag-is-out/162836)

<div class="topic-metadata">

**Author:** [@khelll](https://www.ruby-forum.com/u/khelll)\
**Replies:** 4\
**Last updated:** [March 14, 2009, 4:55pm UTC](https://www.ruby-forum.com/t/railsmag-is-out/162836 "2009-03-14T16:55:59Z")

</div>

Hello, The free pdf version of rails mag is out, it has some content on JRoR, you better check it out Что такое SEO продвижение сайта Thanks

---

## [Regular expression / gsub question](https://www.ruby-forum.com/t/regular-expression-gsub-question/162794)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 6\
**Last updated:** [March 14, 2009, 1:54pm UTC](https://www.ruby-forum.com/t/regular-expression-gsub-question/162794 "2009-03-14T13:54:26Z")

</div>

Hi Do you know how use a regular expression to get only the scripname from the each filename below? I have long filename and I want to pull out a segment “scriptname” only. I have been using a regular expression with …

---

## [Hi..About Gsoc 2009 project ideas](https://www.ruby-forum.com/t/hi-about-gsoc-2009-project-ideas/161647)

<div class="topic-metadata">

**Author:** [@usw](https://www.ruby-forum.com/u/usw)\
**Replies:** 14\
**Last updated:** [March 14, 2009, 1:19pm UTC](https://www.ruby-forum.com/t/hi-about-gsoc-2009-project-ideas/161647 "2009-03-14T13:19:03Z")

</div>

Hi, I’m an Computer Science Undergraduate who is currently undergoing training and engaged n the field of Open Source SOA products n development. I’ve recently done project work in the area of WS Security (WS \[Web…

---

## [Updating Ruby 1.8.6 to 1.8.6-p287 in Debian 4](https://www.ruby-forum.com/t/updating-ruby-1-8-6-to-1-8-6-p287-in-debian-4/196821)

<div class="topic-metadata">

**Author:** [@The\_N](https://www.ruby-forum.com/u/The_N)\
**Replies:** 20\
**Last updated:** [March 14, 2009, 1:13pm UTC](https://www.ruby-forum.com/t/updating-ruby-1-8-6-to-1-8-6-p287-in-debian-4/196821 "2009-03-14T13:13:17Z")

</div>

Hi I have a Debian 4 machine with Ruby 1.8.6 (installed from source) and some gems including Rails 2.1 and Phusion Passenger 2.0.3 (mod\_rails, which needs fastthread and rack gems). I want to update to the latest pat…

---

## [Read the SWF header](https://www.ruby-forum.com/t/read-the-swf-header/162829)

<div class="topic-metadata">

**Author:** [@manimaran](https://www.ruby-forum.com/u/manimaran)\
**Replies:** 1\
**Last updated:** [March 14, 2009, 11:41am UTC](https://www.ruby-forum.com/t/read-the-swf-header/162829 "2009-03-14T11:41:14Z")

</div>

Dear folks, I need to extract the SWF header from the SWF file. Is there any gem available? please help me.

---

## [FYI review: YAML improvements](https://www.ruby-forum.com/t/fyi-review-yaml-improvements/162809)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [March 14, 2009, 7:42am UTC](https://www.ruby-forum.com/t/fyi-review-yaml-improvements/162809 "2009-03-14T07:42:41Z")

</div>

---

## [Microsoft.Scripting dll versions](https://www.ruby-forum.com/t/microsoft-scripting-dll-versions/162808)

<div class="topic-metadata">

**Author:** [@Bruce\_Pierson](https://www.ruby-forum.com/u/Bruce_Pierson)\
**Replies:** 3\
**Last updated:** [March 14, 2009, 5:56am UTC](https://www.ruby-forum.com/t/microsoft-scripting-dll-versions/162808 "2009-03-14T05:56:57Z")

</div>

I have an application that allows the user to choose between Ruby and Python scripting. In order to make this work, I had to rebuild IronRuby with all the Microsoft.Scripting.\* assemblies renamed, because the version…

---

## [HTML extraction using ruby](https://www.ruby-forum.com/t/html-extraction-using-ruby/162721)

<div class="topic-metadata">

**Author:** [@arunvoip](https://www.ruby-forum.com/u/arunvoip)\
**Replies:** 3\
**Last updated:** [March 14, 2009, 5:20am UTC](https://www.ruby-forum.com/t/html-extraction-using-ruby/162721 "2009-03-14T05:20:43Z")

</div>

Hi, Can anybody tell me how to extract all the hyperlinks given in the url:http://scores.sify.com/match/archive/archive.shtml using ruby. I want the those urls having the class ‘com\_blue com\_size12 com\_arial12’. ie. …

---

## [When was the parse method added to the Time class?](https://www.ruby-forum.com/t/when-was-the-parse-method-added-to-the-time-class/162797)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 4\
**Last updated:** [March 14, 2009, 3:55am UTC](https://www.ruby-forum.com/t/when-was-the-parse-method-added-to-the-time-class/162797 "2009-03-14T03:55:26Z")

</div>

Hi there, I’ve been running a particular script for a few years now and only just noticed that it crashes on one particular system. (I don’t use that system very often and have run that script on it very rarely.) The…

---

## [OpenSSL::Cipher partially decrypts string with wrong iv](https://www.ruby-forum.com/t/openssl-cipher-partially-decrypts-string-with-wrong-iv/162818)

<div class="topic-metadata">

**Author:** [@mseries](https://www.ruby-forum.com/u/mseries)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 3:19am UTC](https://www.ruby-forum.com/t/openssl-cipher-partially-decrypts-string-with-wrong-iv/162818 "2009-03-14T03:19:41Z")

</div>

I have an application where I want to require both the correct key and iv in order to decrypt a string. I wrote a very simple program to test the various success and failure cases. ruby 1.8.6 (2007-03-13 patchlevel 0)…

---

## [File owner attribute method](https://www.ruby-forum.com/t/file-owner-attribute-method/162802)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 2\
**Last updated:** [March 14, 2009, 2:52am UTC](https://www.ruby-forum.com/t/file-owner-attribute-method/162802 "2009-03-14T02:52:34Z")

</div>

I want to get the owner attribute of a file from a folder. I have not found a class that contains a method like this. I have looked in File, FileUtils and Ftools. Do you have a recommendation? Thanks. MC

---

## [\[Bug:1.8\] Thread.new { Queue.new.pop }; fork](https://www.ruby-forum.com/t/bug-1-8-thread-new-queue-new-pop-fork/162817)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 2:25am UTC](https://www.ruby-forum.com/t/bug-1-8-thread-new-queue-new-pop-fork/162817 "2009-03-14T02:25:55Z")

</div>

ruby 1.8 e$B$G!"0J2\<$N$h$&$K$9$k$He(B (fork e$B$G$G$-$?;R%W%m%;%9$,e(B) SEGV e$B$7$^$9!#e(B % ./ruby -rthread -e ‘Thread.new { Queue.new.pop }; fork’ -e:1: \[BUG\] Segmentation fault ruby 1.8.8dev (2009-03-14 revision …

---

## [RubyCocoa and Mac System Icons](https://www.ruby-forum.com/t/rubycocoa-and-mac-system-icons/159423)

<div class="topic-metadata">

**Author:** [@Tom\_Medhurst](https://www.ruby-forum.com/u/Tom_Medhurst)\
**Replies:** 5\
**Last updated:** [March 14, 2009, 1:43am UTC](https://www.ruby-forum.com/t/rubycocoa-and-mac-system-icons/159423 "2009-03-14T01:43:02Z")

</div>

Hi There, I am trying to create an NSImage which contains the system kComputer icon. Unfortunately RubyCocoa can’t resolve kComputer or use :kComputer or it’s header value ‘root’… I have tried the following: NSWor…

---

## [Ruby OpenGL Gears example that uses shiny and velvet GLSL shaders](https://www.ruby-forum.com/t/ruby-opengl-gears-example-that-uses-shiny-and-velvet-glsl-shaders/162349)

<div class="topic-metadata">

**Author:** [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Replies:** 10\
**Last updated:** [March 13, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/ruby-opengl-gears-example-that-uses-shiny-and-velvet-glsl-shaders/162349 "2009-03-13T23:56:48Z")

</div>

Hello: For your entertainment, I’ve created a modified version of the original “gears.rb” OpenGL Ruby program (by Arto Bendiken) which uses GLSL shaders to color the gears with velvet and shiny materials. You’ll nee…

---

## [Permission denied when running file](https://www.ruby-forum.com/t/permission-denied-when-running-file/162786)

<div class="topic-metadata">

**Author:** [@bwinborg](https://www.ruby-forum.com/u/bwinborg)\
**Replies:** 1\
**Last updated:** [March 13, 2009, 11:44pm UTC](https://www.ruby-forum.com/t/permission-denied-when-running-file/162786 "2009-03-13T23:44:30Z")

</div>

I am having a problem that I can’t seem to track down the attached file worked fine a week ago, to my knowledge nothing has changed. However now when I try to run it I get Permission denied this happens on other files …

---

## [OutOfMemory Errors](https://www.ruby-forum.com/t/outofmemory-errors/162801)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 3\
**Last updated:** [March 13, 2009, 10:19pm UTC](https://www.ruby-forum.com/t/outofmemory-errors/162801 "2009-03-13T22:19:02Z")

</div>

Starting to see a lot of strange OutOfMemory errors with 1.1.6… any ideas here ? Charles is this that same Caching bug in 1.1.6 ? SEVERE: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryErr…

---

## [Assert\_xhtml - test your HTML by example](https://www.ruby-forum.com/t/assert-xhtml-test-your-html-by-example/162627)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 3\
**Last updated:** [March 13, 2009, 10:11pm UTC](https://www.ruby-forum.com/t/assert-xhtml-test-your-html-by-example/162627 "2009-03-13T22:11:59Z")

</div>

Rubies: My quest to get the maximum coverage & diagnostics from the leanest possible tests has reached a new level. This is a Rails functional test on an HTML form: user = users(:Moses) get :edit\_user, :id =\> user…

---

## [IronRuby Mono CI build box back online](https://www.ruby-forum.com/t/ironruby-mono-ci-build-box-back-online/162798)

<div class="topic-metadata">

**Author:** [@C.JSAdams-Collier](https://www.ruby-forum.com/u/C.JSAdams-Collier)\
**Replies:** 0\
**Last updated:** [March 13, 2009, 9:37pm UTC](https://www.ruby-forum.com/t/ironruby-mono-ci-build-box-back-online/162798 "2009-03-13T21:37:58Z")

</div>

Hey all, I moved the servers the CI was running on into my basement last weekend. They’re back online, and you can follow the logs here: http://ironruby.colliertech.org/integrity/ironruby Michael L. is the one respo…

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

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