# Ruby

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

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

---

## [FreeBSD $B$G(B ruby-mecab $B$N%i%$%V%i%j;2\>H$NIT6q9g(B](https://www.ruby-forum.com/t/freebsd-b-g-b-ruby-mecab-b-n-i-v-i-j-2-h-nit6q9g-b/171535)

<div class="topic-metadata">

**Author:** [@KISHIMOTOS\_Makoto](https://www.ruby-forum.com/u/KISHIMOTOS_Makoto)\
**Replies:** 5\
**Last updated:** [July 5, 2009, 5:33am UTC](https://www.ruby-forum.com/t/freebsd-b-g-b-ruby-mecab-b-n-i-v-i-j-2-h-nit6q9g-b/171535 "2009-07-05T05:33:08Z")

</div>

e$B$-$7$b$H$G$9e(B FreeBSD7.2 (RELENG\_7) e$B$G!"e(BCVS e$B$+$i\<h$C$F$-$?e(B ports e$B$r;H$C$F$$$^$9!#e(B Ruby e$B$N%P!\<%8%g%s$Oe(B $ ruby --version ruby 1.8.7 (2009-04-08 patchlevel 160) \[amd64-freebsd7\] e$B$H$J$C$…

---

## [Newbie help](https://www.ruby-forum.com/t/newbie-help/171553)

<div class="topic-metadata">

**Author:** [@ouikoto](https://www.ruby-forum.com/u/ouikoto)\
**Replies:** 4\
**Last updated:** [July 5, 2009, 5:18am UTC](https://www.ruby-forum.com/t/newbie-help/171553 "2009-07-05T05:18:07Z")

</div>

Greetings Great Gurus of RoR I do have a bunch of questions regarding RoR i did follow a book titled “RoR for Dummies” but it seems i cant go anywhere everytime I create a controller shoppingcart show and check http:…

---

## [Nfc 1.0.0 Released](https://www.ruby-forum.com/t/nfc-1-0-0-released/169316)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 15\
**Last updated:** [July 4, 2009, 10:00pm UTC](https://www.ruby-forum.com/t/nfc-1-0-0-released/169316 "2009-07-04T22:00:28Z")

</div>

nfc version 1.0.0 has been released! http://seattlerb.rubyforge.org NFC is a ruby wrapper for the Near Field Communication library. The Near Field Communication library works with many USB RFID readers, so this ge…

---

## [\[ANN\] allgems.ruby-forum.com "release 440ca77a867a317bd9b35"](https://www.ruby-forum.com/t/ann-allgems-ruby-forum-com-release-440ca77a867a317bd9b35/171543)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 0\
**Last updated:** [July 4, 2009, 3:38pm UTC](https://www.ruby-forum.com/t/ann-allgems-ruby-forum-com-release-440ca77a867a317bd9b35/171543 "2009-07-04T15:38:19Z")

</div>

Pleased to announce release version “commit 440ca77a867a317bd9b3549f6009cc8745c1c291” (ok that’s a joke number, but hey). of my ruby allgems docs site. http://allgems.ruby-forum.com http://rubydoc.ruby-forum.com Ch…

---

## [Win32ole and outlook](https://www.ruby-forum.com/t/win32ole-and-outlook/171484)

<div class="topic-metadata">

**Author:** [@neverhood](https://www.ruby-forum.com/u/neverhood)\
**Replies:** 1\
**Last updated:** [July 4, 2009, 11:40am UTC](https://www.ruby-forum.com/t/win32ole-and-outlook/171484 "2009-07-04T11:40:42Z")

</div>

Hi everbody! Im trying to send mail which has some embedded images. Everythings working great except incoming mail has a blank spaces which are supposed to be images. here\`s the part of html body I use : \<img src="C…

---

## [Ruby beginner](https://www.ruby-forum.com/t/ruby-beginner/171531)

<div class="topic-metadata">

**Author:** [@golfdude](https://www.ruby-forum.com/u/golfdude)\
**Replies:** 3\
**Last updated:** [July 4, 2009, 9:10am UTC](https://www.ruby-forum.com/t/ruby-beginner/171531 "2009-07-04T09:10:35Z")

</div>

I have ruby 1.8.6 installed on windows. I want to view the doc offline. I downloaded from ruby-docs.org a .tgz file which when extracted was a 6-core-rdocs file. Not sure what to do with this. When I run “gem server” …

---

## [Pass variables to arbitrary ruby script: ruby script.rb](https://www.ruby-forum.com/t/pass-variables-to-arbitrary-ruby-script-ruby-script-rb/171511)

<div class="topic-metadata">

**Author:** [@mgiorno](https://www.ruby-forum.com/u/mgiorno)\
**Replies:** 4\
**Last updated:** [July 4, 2009, 8:00am UTC](https://www.ruby-forum.com/t/pass-variables-to-arbitrary-ruby-script-ruby-script-rb/171511 "2009-07-04T08:00:24Z")

</div>

Does anyone know if there is a way to pass variables to a arbitrarily run script? I tried this with no luck. ruby script.rb VARIABLE=value Thanks!

---

## [RubyScript2Exe fix for bug in line 621?](https://www.ruby-forum.com/t/rubyscript2exe-fix-for-bug-in-line-621/171352)

<div class="topic-metadata">

**Author:** [@guraz](https://www.ruby-forum.com/u/guraz)\
**Replies:** 6\
**Last updated:** [July 4, 2009, 6:45am UTC](https://www.ruby-forum.com/t/rubyscript2exe-fix-for-bug-in-line-621/171352 "2009-07-04T06:45:42Z")

</div>

I am new to Ruby, but not to programming. I have spent several hours researching how to get RubyScript2Exe to work with Ruby version 1.8.6-p287. RubyScript2Exe is no longer maintained, however. Because of this, ther…

---

## [\[Bug #1721\] NaN.divmod(NaN) $B$,Nc30$K$J$i$J$$(B](https://www.ruby-forum.com/t/bug-1721-nan-divmod-nan-b-nc30-k-j-i-j-b/171495)

<div class="topic-metadata">

**Author:** [@tadayoshi\_funaba](https://www.ruby-forum.com/u/tadayoshi_funaba)\
**Replies:** 2\
**Last updated:** [July 4, 2009, 1:22am UTC](https://www.ruby-forum.com/t/bug-1721-nan-divmod-nan-b-nc30-k-j-i-j-b/171495 "2009-07-04T01:22:41Z")

</div>

Bug #1721: NaN.divmod(NaN) e$B$,Nc30$K$J$i$J$$e(B http://redmine.ruby-lang.org/issues/show/1721 e$B5/I\<\<Te(B: tadayoshi funaba e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Target version: 1.9.x ruby -v: ruby 1.9.2de…

---

## [RDoc 2.3 now with Darkfish, without CHM and extra HTML templates](https://www.ruby-forum.com/t/rdoc-2-3-now-with-darkfish-without-chm-and-extra-html-templates/158889)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 38\
**Last updated:** [July 4, 2009, 12:56am UTC](https://www.ruby-forum.com/t/rdoc-2-3-now-with-darkfish-without-chm-and-extra-html-templates/158889 "2009-07-04T00:56:23Z")

</div>

This release of RDoc brings some big changes. Most notably Michael Granger’s Darkfish generator has become the default output format for RDoc! Michael put a ton of great work into this, and it looks quite lovely. Chec…

---

## [RDoc v2 templates?](https://www.ruby-forum.com/t/rdoc-v2-templates/171415)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 5\
**Last updated:** [July 4, 2009, 12:29am UTC](https://www.ruby-forum.com/t/rdoc-v2-templates/171415 "2009-07-04T00:29:22Z")

</div>

I’d like to play around with templates for RDoc v2. Aside from Darkfish, which is bundled with the RDoc 2 gem install, are there other templates available I could look at at? Googling wasn’t very helpful :frowning: T…

---

## [Memory leaks, maybe. need help](https://www.ruby-forum.com/t/memory-leaks-maybe-need-help/170349)

<div class="topic-metadata">

**Author:** [@doron](https://www.ruby-forum.com/u/doron)\
**Replies:** 2\
**Last updated:** [July 4, 2009, 12:08am UTC](https://www.ruby-forum.com/t/memory-leaks-maybe-need-help/170349 "2009-07-04T00:08:28Z")

</div>

I am writing a server using ruby 1.8.6 patchlevel 287. It connects to another server, fetches and process information. Sometimes it needs to process a lot of information. It uses net/http and REXML libraries. My prob…

---

## [String += vs \<\<](https://www.ruby-forum.com/t/string-vs/170452)

<div class="topic-metadata">

**Author:** [@jballanc](https://www.ruby-forum.com/u/jballanc)\
**Replies:** 11\
**Last updated:** [July 4, 2009, 12:04am UTC](https://www.ruby-forum.com/t/string-vs/170452 "2009-07-04T00:04:57Z")

</div>

A friend recently sent me this article: http://blog.metasploit.com/2009/03/blog-post.html In particular, note the perf difference of += vs \<\< : framework3 $ time ruby -e ‘a = “A”; 100000.times { a \<\< “A” }’ real 0m0…

---

## [Support for IMAP IDLE in net/imap](https://www.ruby-forum.com/t/support-for-imap-idle-in-net-imap/171480)

<div class="topic-metadata">

**Author:** [@abhishiv](https://www.ruby-forum.com/u/abhishiv)\
**Replies:** 4\
**Last updated:** [July 3, 2009, 11:19pm UTC](https://www.ruby-forum.com/t/support-for-imap-idle-in-net-imap/171480 "2009-07-03T23:19:45Z")

</div>

Ok, I have been suck on it for hours. I thought net/imap.rb with ruby 1.9 supported the idle command, but not yet. Can anyone help me in implementing that? From herehttp://www.ruby-forum.com/topic/50828, I though th…

---

## [Open-uri $B$N(B content\_type](https://www.ruby-forum.com/t/open-uri-b-n-b-content-type/171509)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 0\
**Last updated:** [July 3, 2009, 7:19pm UTC](https://www.ruby-forum.com/t/open-uri-b-n-b-content-type/171509 "2009-07-03T19:19:28Z")

</div>

e$B@\>;3OB9-$G$9!#e(B e$B0J2\<$N$h$&$KE,Ev$Je(B FC2 e$B$N%V%m%0$re(B open-uri e$B$G3+$/$He(B content\_type e$B$,e(B “application/octet-stream” e$B$K$J$C$F$7$^$$$^$9!#e(B “text/html” e$B$,JV$C$F$-$F$\[$7$$$H;W$C$?$N$G$9$,…

---

## [Net::SSH - shell service gone?](https://www.ruby-forum.com/t/net-ssh-shell-service-gone/171501)

<div class="topic-metadata">

**Author:** [@jzabiello](https://www.ruby-forum.com/u/jzabiello)\
**Replies:** 1\
**Last updated:** [July 3, 2009, 4:10pm UTC](https://www.ruby-forum.com/t/net-ssh-shell-service-gone/171501 "2009-07-03T16:10:42Z")

</div>

Where can I find shell service in Net:SSH? It is described at http://net-ssh.rubyforge.org/ssh/v1/chapter-5.html#s3. The problem is there is no methods “shell” anymore :frowning: p Net::SSH.start(host, user).shell # …

---

## [Using selenium in a ruby program](https://www.ruby-forum.com/t/using-selenium-in-a-ruby-program/171320)

<div class="topic-metadata">

**Author:** [@kga85](https://www.ruby-forum.com/u/kga85)\
**Replies:** 6\
**Last updated:** [July 3, 2009, 2:43pm UTC](https://www.ruby-forum.com/t/using-selenium-in-a-ruby-program/171320 "2009-07-03T14:43:30Z")

</div>

Is it posible to make a ruby file that runs test that uses selenium. This code is from the selenium ide (Only somthing don in a hurry): require “selenium” require “test/unit” class Untitled \< Test::Unit::TestCase de…

---

## [Search for scaffold](https://www.ruby-forum.com/t/search-for-scaffold/196978)

<div class="topic-metadata">

**Author:** [@beny18241](https://www.ruby-forum.com/u/beny18241)\
**Replies:** 1\
**Last updated:** [July 3, 2009, 1:08pm UTC](https://www.ruby-forum.com/t/search-for-scaffold/196978 "2009-07-03T13:08:16Z")

</div>

Hi Anyone knows how to put search option in scaffold? Reagrds

---

## [Ruby (mechanize , net/http)](https://www.ruby-forum.com/t/ruby-mechanize-net-http/171329)

<div class="topic-metadata">

**Author:** [@neverhood](https://www.ruby-forum.com/u/neverhood)\
**Replies:** 1\
**Last updated:** [July 3, 2009, 10:36am UTC](https://www.ruby-forum.com/t/ruby-mechanize-net-http/171329 "2009-07-03T10:36:29Z")

</div>

Hi guys. Im using mechanize to get some images from the web application. I have 2 problems: 1-st : I cant catch the links. The whole link looks like \<a href = "https://…/reports/switch\_accounts.html?.."See full report …

---

## [Support for IMAP IDLE in net/imap](https://www.ruby-forum.com/t/support-for-imap-idle-in-net-imap/171481)

<div class="topic-metadata">

**Author:** [@abhishiv](https://www.ruby-forum.com/u/abhishiv)\
**Replies:** 0\
**Last updated:** [July 3, 2009, 10:18am UTC](https://www.ruby-forum.com/t/support-for-imap-idle-in-net-imap/171481 "2009-07-03T10:18:36Z")

</div>

Ok, I have been stuck on it for hours. I thought net/imap.rb with ruby 1.9 supported the idle command, but not yet. Can anyone help me in implementing that? From here, I though this would work: class Net::IMAP def i…

---

## [Ruby threads](https://www.ruby-forum.com/t/ruby-threads/171403)

<div class="topic-metadata">

**Author:** [@neverhood](https://www.ruby-forum.com/u/neverhood)\
**Replies:** 3\
**Last updated:** [July 3, 2009, 9:45am UTC](https://www.ruby-forum.com/t/ruby-threads/171403 "2009-07-03T09:45:11Z")

</div>

Hi guys! Hope you\`ll find some time to assist with any ideas i have an array of links and a number of steps that needs to be done to each of those links. there are always the same amount of links in array…so basically…

---

## [Delete\_if\_with\_index or delete\_at(array) in 1.8.6?](https://www.ruby-forum.com/t/delete-if-with-index-or-delete-at-array-in-1-8-6/171442)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 9\
**Last updated:** [July 2, 2009, 10:50pm UTC](https://www.ruby-forum.com/t/delete-if-with-index-or-delete-at-array-in-1-8-6/171442 "2009-07-02T22:50:54Z")

</div>

Hi, Given an array of integers, I need to delete all those entries that are lower than the current array index. I first thought of the non-existent, array.delete\_if\_with\_index{ |e,i| e \< i } then, remove\_indices = …

---

## [\[ANN/ADV\] Training: Intro to Ruby, with Black & Kastner, Sept. 14-17](https://www.ruby-forum.com/t/ann-adv-training-intro-to-ruby-with-black-kastner-sept-14-17/171453)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 0\
**Last updated:** [July 2, 2009, 7:19pm UTC](https://www.ruby-forum.com/t/ann-adv-training-intro-to-ruby-with-black-kastner-sept-14-17/171453 "2009-07-02T19:19:57Z")

</div>

Hi everyone – I am delighted to announce an upcoming Ruby Power and Light training course, to be taught jointly by me and Erik Kastner: Introduction to Ruby September 14-17 Edison, New Jersey, USA The course…

---

## [ANN: Sequel 3.2.0 Released](https://www.ruby-forum.com/t/ann-sequel-3-2-0-released/171452)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 0\
**Last updated:** [July 2, 2009, 6:29pm UTC](https://www.ruby-forum.com/t/ann-sequel-3-2-0-released/171452 "2009-07-02T18:29:34Z")

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

---

## [Windows XP problem with Ruby, gem sqlite3-ruby, and SQLite3](https://www.ruby-forum.com/t/windows-xp-problem-with-ruby-gem-sqlite3-ruby-and-sqlite3/171405)

<div class="topic-metadata">

**Author:** [@SunSw0rd](https://www.ruby-forum.com/u/SunSw0rd)\
**Replies:** 4\
**Last updated:** [July 2, 2009, 4:10pm UTC](https://www.ruby-forum.com/t/windows-xp-problem-with-ruby-gem-sqlite3-ruby-and-sqlite3/171405 "2009-07-02T16:10:38Z")

</div>

Varients of this problem have been posted before. However none of the solutions have worked for me. Therefore I started with a clean slate. (1) uninstalled and reinstalled Ruby (version 1.8.6) into standard directory…

---

## [64-bit Ruby for OS X?](https://www.ruby-forum.com/t/64-bit-ruby-for-os-x/171357)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 14\
**Last updated:** [July 2, 2009, 3:49pm UTC](https://www.ruby-forum.com/t/64-bit-ruby-for-os-x/171357 "2009-07-02T15:49:36Z")

</div>

Has anyone built a 64-bit Ruby for Leopard. I’ve googled my brains out, but am finding nothing. I’m using 1.8.6 right now, but I could start testing 1.9.x if necessary. I need it for pure Ruby projects to work on some…

---

## [Rspec failing\_example\_groups AND html:t.html cmd](https://www.ruby-forum.com/t/rspec-failing-example-groups-and-html-t-html-cmd/170957)

<div class="topic-metadata">

**Author:** [@kga85](https://www.ruby-forum.com/u/kga85)\
**Replies:** 1\
**Last updated:** [July 2, 2009, 3:28pm UTC](https://www.ruby-forum.com/t/rspec-failing-example-groups-and-html-t-html-cmd/170957 "2009-07-02T15:28:34Z")

</div>

When i start a test program from command line i want to do this in Rspec: ruby Test1.rb --format failing\_example\_groups --format html:test.html but this dos not work properly. but it works seperatly: ruby Test1.rb -…

---

## [Year one (12a)](https://www.ruby-forum.com/t/year-one-12a/171435)

<div class="topic-metadata">

**Author:** [@Rashid\_Ali\_Soomro](https://www.ruby-forum.com/u/Rashid_Ali_Soomro)\
**Replies:** 0\
**Last updated:** [July 2, 2009, 1:55pm UTC](https://www.ruby-forum.com/t/year-one-12a/171435 "2009-07-02T13:55:37Z")

</div>

Why we are excited: Harold Ramis’s ramshackle movie through the paleolithic era headlined by Jack Black and Michael Cera puts the actors side-by-side as huntergatherers with a nose for adventure. Plot: Pelt-clad primi…

---

## [Pirates Notebook: Wilson apologizes for remarks](https://www.ruby-forum.com/t/pirates-notebook-wilson-apologizes-for-remarks/171434)

<div class="topic-metadata">

**Author:** [@Rashid\_Ali\_Soomro](https://www.ruby-forum.com/u/Rashid_Ali_Soomro)\
**Replies:** 0\
**Last updated:** [July 2, 2009, 1:50pm UTC](https://www.ruby-forum.com/t/pirates-notebook-wilson-apologizes-for-remarks/171434 "2009-07-02T13:50:56Z")

</div>

Pirates shortstopJack Wilsondid an about-face yesterday – and he insists no one urged him to do it. Rather, he dug down deep within himself andknewan apology was what he should deliver. More details on http://ilovecom…

---

## [Tension Set Rings](https://www.ruby-forum.com/t/tension-set-rings/171427)

<div class="topic-metadata">

**Author:** [@Muhammad\_adil\_khan](https://www.ruby-forum.com/u/Muhammad_adil_khan)\
**Replies:** 0\
**Last updated:** [July 2, 2009, 12:11pm UTC](https://www.ruby-forum.com/t/tension-set-rings/171427 "2009-07-02T12:11:02Z")

</div>

Beautiful tension set rings. visit: http://alldiamonds4u.blogspot.com/

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

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