# Ruby

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

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

---

## [Question about learning Ruby effectively](https://www.ruby-forum.com/t/question-about-learning-ruby-effectively/197053)

<div class="topic-metadata">

**Author:** [@cnguyen](https://www.ruby-forum.com/u/cnguyen)\
**Replies:** 11\
**Last updated:** [August 16, 2010, 8:07pm UTC](https://www.ruby-forum.com/t/question-about-learning-ruby-effectively/197053 "2010-08-16T20:07:19Z")

</div>

Hi everyone, I’m a newbie to Ruby. I’ve just started learning Ruby for a week, but I love it :slight\_smile: so much. I wonder is there any website to look up standard library like C++? And does Ruby have some standar…

---

## [Just click and meet ur dearest girl nearest u](https://www.ruby-forum.com/t/just-click-and-meet-ur-dearest-girl-nearest-u/193376)

<div class="topic-metadata">

**Author:** [@babe-with-huge-boob](https://www.ruby-forum.com/u/babe-with-huge-boob)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 7:55pm UTC](https://www.ruby-forum.com/t/just-click-and-meet-ur-dearest-girl-nearest-u/193376 "2010-08-16T19:55:37Z")

</div>

just click and meet ur dearest girl nearest u morethen 34 million active members r waiting 4 live hot chat, dating … free… http://adultfriendfinder.com/go/page/reg\_form\_video\_03?pid=g1250650-ppc http://adultfriendfin…

---

## [Determining whether the running ruby is outdated?](https://www.ruby-forum.com/t/determining-whether-the-running-ruby-is-outdated/193041)

<div class="topic-metadata">

**Author:** [@Lars\_O](https://www.ruby-forum.com/u/Lars_O)\
**Replies:** 13\
**Last updated:** [August 16, 2010, 7:20pm UTC](https://www.ruby-forum.com/t/determining-whether-the-running-ruby-is-outdated/193041 "2010-08-16T19:20:28Z")

</div>

Hi, I’m writing a small utility that shows information on the currently running ruby environment. One part of the utility checks whether any gems is outdated, but I also want to check if the ruby interpreter itself i…

---

## [Too many open files with imap connections](https://www.ruby-forum.com/t/too-many-open-files-with-imap-connections/193322)

<div class="topic-metadata">

**Author:** [@pyr0](https://www.ruby-forum.com/u/pyr0)\
**Replies:** 10\
**Last updated:** [August 16, 2010, 5:29pm UTC](https://www.ruby-forum.com/t/too-many-open-files-with-imap-connections/193322 "2010-08-16T17:29:13Z")

</div>

Running into an issue with jruby throwing too many open files when opening imap connections. I am not sure, but I have a hunch it’s an issue specifically with ssl connections. Able to reproduce with this script: re…

---

## [Puts by name](https://www.ruby-forum.com/t/puts-by-name/193249)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 3\
**Last updated:** [August 16, 2010, 5:02pm UTC](https://www.ruby-forum.com/t/puts-by-name/193249 "2010-08-16T17:02:48Z")

</div>

I very often do something like: puts “some\_variable.something = #{some\_variable.something}” That repetition is getting annoying. Is there an idiomatic Ruby way to do something like puts\_v some\_variable.something

---

## [How to sove the loaderror?](https://www.ruby-forum.com/t/how-to-sove-the-loaderror/193303)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 2\
**Last updated:** [August 16, 2010, 4:27pm UTC](https://www.ruby-forum.com/t/how-to-sove-the-loaderror/193303 "2010-08-16T16:27:27Z")

</div>

please run the following program in irb,you can get 1.in irb,you can see wrong,/tmp/AACC =\> \[#\<Thread:0xb76f86c0 dead\>, #\<Thread:0xb76f865c dead\>, #\<Thread:0xb76f7b6c dead\>\] 2.there are two files in /tmp YHOO AAC…

---

## [Help with too many methods](https://www.ruby-forum.com/t/help-with-too-many-methods/193305)

<div class="topic-metadata">

**Author:** [@shortnose](https://www.ruby-forum.com/u/shortnose)\
**Replies:** 10\
**Last updated:** [August 16, 2010, 4:19pm UTC](https://www.ruby-forum.com/t/help-with-too-many-methods/193305 "2010-08-16T16:19:50Z")

</div>

I am writing a Ruby program that creates different URL queries. Right now I have way too many methods to achieve this. Is there a way to do this in Ruby to eliminate the need for so many methods? Each of these method …

---

## [Libstdc++](https://www.ruby-forum.com/t/libstdc/193223)

<div class="topic-metadata">

**Author:** [@pw\_ktp](https://www.ruby-forum.com/u/pw_ktp)\
**Replies:** 24\
**Last updated:** [August 16, 2010, 2:22pm UTC](https://www.ruby-forum.com/t/libstdc/193223 "2010-08-16T14:22:25Z")

</div>

when trying to install a gem i am getting a ‘libstdc++’ not installed but when i check i have libstdc++6 and libstdc++5 in a ubuntu 7.10 install. any additional commands i can use to point these libraries? please HEL…

---

## [Embedded Ruby 1.8.7â€”Segmentation fault](https://www.ruby-forum.com/t/embedded-ruby-1-8-7a-segmentation-fault/193356)

<div class="topic-metadata">

**Author:** [@vyaces](https://www.ruby-forum.com/u/vyaces)\
**Replies:** 1\
**Last updated:** [August 16, 2010, 2:18pm UTC](https://www.ruby-forum.com/t/embedded-ruby-1-8-7a-segmentation-fault/193356 "2010-08-16T14:18:24Z")

</div>

Dear community, I would appreciate if you could help me to solve this. Iâ€™m experimenting with Ruby 1.8.7 embedding. Ruby has been built from sources under Windows by VisualStudio 2008 compiler, with no errors. Here…

---

## [GC::profiler.report for large memory](https://www.ruby-forum.com/t/gc-profiler-report-for-large-memory/193337)

<div class="topic-metadata">

**Author:** [@Tomoaki\_NISHIYAMA](https://www.ruby-forum.com/u/Tomoaki_NISHIYAMA)\
**Replies:** 1\
**Last updated:** [August 16, 2010, 11:51am UTC](https://www.ruby-forum.com/t/gc-profiler-report-for-large-memory/193337 "2010-08-16T11:51:59Z")

</div>

e$B%P%0$H8@$C$F$$$$$N$+J,$+$j$^$;$s$,!"e(B e$B$?$/$5$s%a%b%j!\<$r;H$C$F$+$ie(B GC::profiler.reporte$B$r8F$V$H!"e(B in report': integer 6411976704 too big to convert toint’ (RangeError) e$B$H$$$C$F$\*$3$i$l$^$7$?!#e(B …

---

## [Ansi animation](https://www.ruby-forum.com/t/ansi-animation/193347)

<div class="topic-metadata">

**Author:** [@denno](https://www.ruby-forum.com/u/denno)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 11:37am UTC](https://www.ruby-forum.com/t/ansi-animation/193347 "2010-08-16T11:37:20Z")

</div>

Anyone aware of a ruby ansi animation project, like Term::Animation? (Yes, I have looked on google…)

---

## [\[Security\] Ruby 1.8.7 patchlevel 301 released (CVE-2010-0541)](https://www.ruby-forum.com/t/security-ruby-1-8-7-patchlevel-301-released-cve-2010-0541/193329)

<div class="topic-metadata">

**Author:** [@Urabe\_S](https://www.ruby-forum.com/u/Urabe_S)\
**Replies:** 1\
**Last updated:** [August 16, 2010, 9:40am UTC](https://www.ruby-forum.com/t/security-ruby-1-8-7-patchlevel-301-released-cve-2010-0541/193329 "2010-08-16T09:40:16Z")

</div>

Hello all. This is a new release for 1.8.7 series. As Yugui posted earlier, there is a XSS vulnerability in WEBrick HTTP server. Beware that, though we realized this issue only recently, the CVE-2010-0541 has been …

---

## [IronRuby MVC and MVC 2.0](https://www.ruby-forum.com/t/ironruby-mvc-and-mvc-2-0/193341)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 9:11am UTC](https://www.ruby-forum.com/t/ironruby-mvc-and-mvc-2-0/193341 "2010-08-16T09:11:01Z")

</div>

Hi Thanks to Ryan IronrubyMVC now runs on asp.net mvc 2.0. I’ve pushed this to my master branch. Met vriendelijke groeten - Best regards - Salutations Ivan Porto C. Author of IronRuby in Action (http://manning.com…

---

## [RubyInstaller 1.9.1-p430 available](https://www.ruby-forum.com/t/rubyinstaller-1-9-1-p430-available/193333)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 6:48am UTC](https://www.ruby-forum.com/t/rubyinstaller-1-9-1-p430-available/193333 "2010-08-16T06:48:12Z")

</div>

Hello, Wanted to inform that RubyInstaller project just made available packages and installers for Ruby 1.9.1-p430. These are available for download at RubyForge: http://rubyforge.org/frs/?group\_id=167&release\_id=443…

---

## [Ruby 1.9.1-p430 is out](https://www.ruby-forum.com/t/ruby-1-9-1-p430-is-out/193324)

<div class="topic-metadata">

**Author:** [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 3:43am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p430-is-out/193324 "2010-08-16T03:43:15Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Ruby 1.9.1-p430 has been released. This is a security fix for CVE-2010-0541. \* http://www.ruby-lang.org/en/news/2010/08/16/xss-in-webrick-cve-2010-0541/ I recommen…

---

## [\[Security\] XSS in WEBrick (CVE-2010-0541)](https://www.ruby-forum.com/t/security-xss-in-webrick-cve-2010-0541/193323)

<div class="topic-metadata">

**Author:** [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 3:13am UTC](https://www.ruby-forum.com/t/security-xss-in-webrick-cve-2010-0541/193323 "2010-08-16T03:13:24Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, A possible security vulnerability on WEBrick. The vulnerability has been reported as CVE-2010-0541. (\*1) == CVE-2010-0541 === Description WEBrick have had a cross-…

---

## [Favicon](https://www.ruby-forum.com/t/favicon/193268)

<div class="topic-metadata">

**Author:** [@speed500](https://www.ruby-forum.com/u/speed500)\
**Replies:** 2\
**Last updated:** [August 15, 2010, 10:34pm UTC](https://www.ruby-forum.com/t/favicon/193268 "2010-08-15T22:34:50Z")

</div>

hello everybody! can someone help me?? how To get the favicon from the url using ruby script??? thanks

---

## [Hash-style parameters](https://www.ruby-forum.com/t/hash-style-parameters/193284)

<div class="topic-metadata">

**Author:** [@callyworld](https://www.ruby-forum.com/u/callyworld)\
**Replies:** 5\
**Last updated:** [August 15, 2010, 6:10pm UTC](https://www.ruby-forum.com/t/hash-style-parameters/193284 "2010-08-15T18:10:50Z")

</div>

Some function calls I’ve seen, like in Shoes, look like so: para “Paragraph Text”, :style =\> “this”, :whatever =\> “that” How do I define a function call so that can take one “normal” parameter and then an unknown numb…

---

## [Disappearing lib](https://www.ruby-forum.com/t/disappearing-lib/193313)

<div class="topic-metadata">

**Author:** [@avramd](https://www.ruby-forum.com/u/avramd)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 4:38pm UTC](https://www.ruby-forum.com/t/disappearing-lib/193313 "2010-08-15T16:38:01Z")

</div>

Hello all, My earlier problem with Rails 3 and the jruby-ldap lib was mis-diagnosed. It turns out that what is happening is that after the first request to the app, the library is somehow disappearing - everything it…

---

## [Kind\_of?( NilClass )](https://www.ruby-forum.com/t/kind-of-nilclass/193288)

<div class="topic-metadata">

**Author:** [@Philipp\_K](https://www.ruby-forum.com/u/Philipp_K)\
**Replies:** 6\
**Last updated:** [August 15, 2010, 12:36pm UTC](https://www.ruby-forum.com/t/kind-of-nilclass/193288 "2010-08-15T12:36:01Z")

</div>

Should I write var.kind\_of?( NilClass ) or simply var == nil ? I have the feeling that kind\_of?(NilClass) is more “proper”/“clean” but then again it decreases the readability and might not even be necessary. Are …

---

## [Wget abd block](https://www.ruby-forum.com/t/wget-abd-block/193274)

<div class="topic-metadata">

**Author:** [@yerlan\_k](https://www.ruby-forum.com/u/yerlan_k)\
**Replies:** 2\
**Last updated:** [August 15, 2010, 9:15am UTC](https://www.ruby-forum.com/t/wget-abd-block/193274 "2010-08-15T09:15:30Z")

</div>

Hello. I’m want write a script, which download all the podcast from rss-feed. This is code, not work: def wget @mp3\_links.each do |m| system(“wget”, “#{m}”) end end I understand that to be linked to the delay, bu…

---

## [File.readlines problem](https://www.ruby-forum.com/t/file-readlines-problem/193281)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 1\
**Last updated:** [August 15, 2010, 8:53am UTC](https://www.ruby-forum.com/t/file-readlines-problem/193281 "2010-08-15T08:53:46Z")

</div>

please run the following program in your computer,the output is 2921 3262 -1 why i can not get: namefile.puts urlfile.readlines\[0…2921\] namefile.puts urlfile.readlines\[1…3262\] namefile.puts urlfile.readlines\[1……

---

## [\[ANN\] Inochi 5.1.0](https://www.ruby-forum.com/t/ann-inochi-5-1-0/193293)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 12:56am UTC](https://www.ruby-forum.com/t/ann-inochi-5-1-0/193293 "2010-08-15T00:56:21Z")

</div>

Inochi Gives life to Ruby projects http://snk.tuxfamily.org/lib/inochi/ Inochi is an infrastructure that helps you create, test, document, package, publish, and an…

---

## [Chrome ore Sell Pakistani 30% - 52%,](https://www.ruby-forum.com/t/chrome-ore-sell-pakistani-30-52/193286)

<div class="topic-metadata">

**Author:** [@iqbal\_iqbal](https://www.ruby-forum.com/u/iqbal_iqbal)\
**Replies:** 0\
**Last updated:** [August 14, 2010, 8:31pm UTC](https://www.ruby-forum.com/t/chrome-ore-sell-pakistani-30-52/193286 "2010-08-14T20:31:34Z")

</div>

Chrome ore Sell Pakistani 30% - 52%, http://buy-sell-pakistani-minerals.blogspot.com

---

## [Creating an array of hashes and having issues](https://www.ruby-forum.com/t/creating-an-array-of-hashes-and-having-issues/193276)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 2\
**Last updated:** [August 14, 2010, 8:05pm UTC](https://www.ruby-forum.com/t/creating-an-array-of-hashes-and-having-issues/193276 "2010-08-14T20:05:59Z")

</div>

I have an array that contains 36 objects. The composition of those objects includes a date, a team, and a time. It is being parsed from another site. \[0\] = Sept 2 \[1\] = vsSouthern Miss \[2\] = 7:30 PM ET \[3\] = Sept…

---

## [Mongrel not starting, missing environment Engineyard](https://www.ruby-forum.com/t/mongrel-not-starting-missing-environment-engineyard/193283)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 1\
**Last updated:** [August 14, 2010, 6:29pm UTC](https://www.ruby-forum.com/t/mongrel-not-starting-missing-environment-engineyard/193283 "2010-08-14T18:29:14Z")

</div>

I am trying to deploy my app on Engineyard and I have not been able to get it working. When I deploy through the UI everything goes through fine but I receive a nginx 404 error when I view in a browser. I am able to …

---

## [Ruby is in Grave Danger!](https://www.ruby-forum.com/t/ruby-is-in-grave-danger/193132)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 33\
**Last updated:** [August 14, 2010, 4:13pm UTC](https://www.ruby-forum.com/t/ruby-is-in-grave-danger/193132 "2010-08-14T16:13:35Z")

</div>

Dear Friends, I have received an ominous message from the future. We should take this seriously, as it could determine the fate of our Ruby lives as we know them! Decrypted future-message below: The evil #COBOTS h…

---

## [\[Bug #3673\] PTY.getpty with IO.pipe doesn't finish on FreeBSD](https://www.ruby-forum.com/t/bug-3673-pty-getpty-with-io-pipe-doesnt-finish-on-freebsd/193021)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 8\
**Last updated:** [August 14, 2010, 3:56pm UTC](https://www.ruby-forum.com/t/bug-3673-pty-getpty-with-io-pipe-doesnt-finish-on-freebsd/193021 "2010-08-14T15:56:25Z")

</div>

Bug #3673: PTY.getpty with IO.pipe doesn’t finish on FreeBSD http://redmine.ruby-lang.org/issues/show/3673 e$B5/I\<\<Te(B: Yui NARUSE e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: core, Target version: 1…

---

## [KDE desktop script launching](https://www.ruby-forum.com/t/kde-desktop-script-launching/193266)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 0\
**Last updated:** [August 14, 2010, 12:47pm UTC](https://www.ruby-forum.com/t/kde-desktop-script-launching/193266 "2010-08-14T12:47:58Z")

</div>

okay I’ve got 2 fxruby programs and they run from the command line okay but now I want to have it executed from the KDE desktop. things I’d tried copy konsole (terminal) to the desktop and change settings so that a …

---

## [\[Bug #3695\] r28978 fails to make all](https://www.ruby-forum.com/t/bug-3695-r28978-fails-to-make-all/193261)

<div class="topic-metadata">

**Author:** [@Shyouhei\_U](https://www.ruby-forum.com/u/Shyouhei_U)\
**Replies:** 1\
**Last updated:** [August 14, 2010, 12:17pm UTC](https://www.ruby-forum.com/t/bug-3695-r28978-fails-to-make-all/193261 "2010-08-14T12:17:32Z")

</div>

Bug #3695: r28978 fails to make all http://redmine.ruby-lang.org/issues/show/3695 e$B5/I\<\<Te(B: Shyouhei U. e$B%9%F!\<%?%9e(B: Assigned, e$BM%@hEYe(B: High e$BC4Ev\<Te(B: Nobuyoshi N., e$B%+%F%4%je(B: build, Target ver…

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

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