# Ruby

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

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

---

## [Rubygems: How to prevent gem from downloading & installing you own packages?](https://www.ruby-forum.com/t/rubygems-how-to-prevent-gem-from-downloading-installing-you-own-packages/143732)

<div class="topic-metadata">

**Author:** [@ThoML](https://www.ruby-forum.com/u/ThoML)\
**Replies:** 1\
**Last updated:** [July 22, 2008, 11:53pm UTC](https://www.ruby-forum.com/t/rubygems-how-to-prevent-gem-from-downloading-installing-you-own-packages/143732 "2008-07-22T23:53:56Z")

</div>

Hi, Does somebody know how I can prevent gem from installing a package from rubyforge when I have that package already installed from another non-gem source? Is there an option so that I can tell gem that it doesn’t …

---

## [RubyGems hangs while updating the source index](https://www.ruby-forum.com/t/rubygems-hangs-while-updating-the-source-index/143678)

<div class="topic-metadata">

**Author:** [@newarade47](https://www.ruby-forum.com/u/newarade47)\
**Replies:** 1\
**Last updated:** [July 22, 2008, 11:52pm UTC](https://www.ruby-forum.com/t/rubygems-hangs-while-updating-the-source-index/143678 "2008-07-22T23:52:10Z")

</div>

I have a problem with RubyGems. It doesnâ€™t matter what I try to install with, it freezez. Particulary I tried to execute: gem install rails --include-dependencies but the command freezez at the following message: “…

---

## [RMagick 5th anniversary](https://www.ruby-forum.com/t/rmagick-5th-anniversary/143746)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 5\
**Last updated:** [July 22, 2008, 11:50pm UTC](https://www.ruby-forum.com/t/rmagick-5th-anniversary/143746 "2008-07-22T23:50:02Z")

</div>

Today is the 5th anniversary of the first appearance of RMagick on RubyForge. On July 22, 2003, a week after RubyForge started, Tom C. approved the RMagick project and I uploaded RMagick 1.2.2. I started RMagick beca…

---

## [Social search engine -beta](https://www.ruby-forum.com/t/social-search-engine-beta/143808)

<div class="topic-metadata">

**Author:** [@RoR007](https://www.ruby-forum.com/u/RoR007)\
**Replies:** 0\
**Last updated:** [July 22, 2008, 11:05pm UTC](https://www.ruby-forum.com/t/social-search-engine-beta/143808 "2008-07-22T23:05:52Z")

</div>

Hey, Did you hear about Scour? It is the next gen search engine with Google/Yahoo/MSN results and user comments all on one page. Best of all we get paid for using it by earning points with every search, comment and …

---

## [Re: \[ANN\] JRuby 1.1.3 Released](https://www.ruby-forum.com/t/re-ann-jruby-1-1-3-released/143803)

<div class="topic-metadata">

**Author:** [@Forrest\_C](https://www.ruby-forum.com/u/Forrest_C)\
**Replies:** 0\
**Last updated:** [July 22, 2008, 10:05pm UTC](https://www.ruby-forum.com/t/re-ann-jruby-1-1-3-released/143803 "2008-07-22T22:05:27Z")

</div>

I see them now, but they weren’t there for about 20 min up to the point where I posted Forrest ----- Original Message ---- From: Vladimir S. removed\_email\_address@domain.invalid To: removed\_email\_address@domain.inva…

---

## [Re: JRuby-Rack 0.9 RackInitializationException on Tomcat: The system cannot find the path specified](https://www.ruby-forum.com/t/re-jruby-rack-0-9-rackinitializationexception-on-tomcat-the-system-cannot-find-the-path-specified/143677)

<div class="topic-metadata">

**Author:** [@tbaustert](https://www.ruby-forum.com/u/tbaustert)\
**Replies:** 1\
**Last updated:** [July 22, 2008, 10:03pm UTC](https://www.ruby-forum.com/t/re-jruby-rack-0-9-rackinitializationexception-on-tomcat-the-system-cannot-find-the-path-specified/143677 "2008-07-22T22:03:40Z")

</div>

It appears this problem was being caused by having Tomcat under the C:\\Program Files\\Apache Software Foundation directory. Once I moved it to the root folder it worked fine. Seems like a bug somewhere thoughâ€¦ -----…

---

## [Re: \[ANN\] JRuby 1.1.3 Released](https://www.ruby-forum.com/t/re-ann-jruby-1-1-3-released/143800)

<div class="topic-metadata">

**Author:** [@Forrest\_C](https://www.ruby-forum.com/u/Forrest_C)\
**Replies:** 1\
**Last updated:** [July 22, 2008, 9:53pm UTC](https://www.ruby-forum.com/t/re-ann-jruby-1-1-3-released/143800 "2008-07-22T21:53:41Z")

</div>

Hey: So I'm looking now and there's no 1.1.3 packages on http://dist.codehaus.org/jruby/ Forrest ----- Original Message ---- From: Thomas E Enebo removed\_email\_address@domain.invalid To: removed\_email\_address@doma…

---

## [Jruby and activemq/JMS](https://www.ruby-forum.com/t/jruby-and-activemq-jms/143718)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 4\
**Last updated:** [July 22, 2008, 9:36pm UTC](https://www.ruby-forum.com/t/jruby-and-activemq-jms/143718 "2008-07-22T21:36:03Z")

</div>

anyone have any experience using Jruby with either JMS or ActiveMQ? Looking to build a messaging architecture and there are a few interesting articles about using the JMS Client consumer right in the jruby code. Jus…

---

## [Fastercsv and several row](https://www.ruby-forum.com/t/fastercsv-and-several-row/143792)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 4\
**Last updated:** [July 22, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/fastercsv-and-several-row/143792 "2008-07-22T21:13:58Z")

</div>

Hi all, I just try fastercsv and it works fine. I use the codes below to print out the first columns of the first ten rows. And it is OK. Question1) Is this the Ruby way to do that? Question 2)what if I want to prin…

---

## [Rack, Camping and missing require](https://www.ruby-forum.com/t/rack-camping-and-missing-require/143726)

<div class="topic-metadata">

**Author:** [@robber](https://www.ruby-forum.com/u/robber)\
**Replies:** 2\
**Last updated:** [July 22, 2008, 8:46pm UTC](https://www.ruby-forum.com/t/rack-camping-and-missing-require/143726 "2008-07-22T20:46:47Z")

</div>

Hey list, I’m trying to get jruby-rack and camping running together. My test application lives in lib/demo.rb (named Demo). Setting the rackup script to “run Rack::Adapter::Camping.new(Demo)” raises an exception that…

---

## [Code Review: License2](https://www.ruby-forum.com/t/code-review-license2/143796)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [July 22, 2008, 8:41pm UTC](https://www.ruby-forum.com/t/code-review-license2/143796 "2008-07-22T20:41:31Z")

</div>

tfpt review “/shelveset:License2;REDMOND\\tomat” Modifies GPPG to take a header of parser.y file and copy it to the generated parser file. Adds license statements to generators. Tomas

---

## [Interacting with a shell script (ssh)](https://www.ruby-forum.com/t/interacting-with-a-shell-script-ssh/143717)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvS\_ue](https://www.ruby-forum.com/u/Une_BSSSSvS_ue)\
**Replies:** 6\
**Last updated:** [July 22, 2008, 6:33pm UTC](https://www.ruby-forum.com/t/interacting-with-a-shell-script-ssh/143717 "2008-07-22T18:33:04Z")

</div>

from a (j)ruby script, I’ll launch a shell script asking for a pass phrase (ssh authentification). obviously I’ll ask the user to enter he’s pass phrase before lauching ssh. but how could i know, after having launche…

---

## [Jruby / tomcat thread hung](https://www.ruby-forum.com/t/jruby-tomcat-thread-hung/143667)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 3\
**Last updated:** [July 22, 2008, 6:33pm UTC](https://www.ruby-forum.com/t/jruby-tomcat-thread-hung/143667 "2008-07-22T18:33:04Z")

</div>

All, Still experiencing weird problems where 1 of my 4 processors intermittently hits 100% cpu and tomcat completely locks up my rails app and no future requests can come in, even with spare CPU cycles. Can anyone h…

---

## [SCP did not finish successfully () (Net::SCP::Error](https://www.ruby-forum.com/t/scp-did-not-finish-successfully-net-error/143785)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvS\_ue](https://www.ruby-forum.com/u/Une_BSSSSvS_ue)\
**Replies:** 0\
**Last updated:** [July 22, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/scp-did-not-finish-successfully-net-error/143785 "2008-07-22T18:30:44Z")

</div>

after googleing upon that subject i’ve found questions without answer. the reason why i post here. i suspect the problem arroses when scp transfers a sole file having a size lower than the CHUNK one ? this is my expe…

---

## [Use of special character like @ in irb](https://www.ruby-forum.com/t/use-of-special-character-like-in-irb/143636)

<div class="topic-metadata">

**Author:** [@mosar](https://www.ruby-forum.com/u/mosar)\
**Replies:** 8\
**Last updated:** [July 22, 2008, 6:07pm UTC](https://www.ruby-forum.com/t/use-of-special-character-like-in-irb/143636 "2008-07-22T18:07:50Z")

</div>

The version I use is 0.9.5. I want to code @ name = name(for example) but I cannot print the @. I I know that there is an option in the command line but I do not find it. Thanks for your help Jean Moser

---

## [Example jruby scripts](https://www.ruby-forum.com/t/example-jruby-scripts/143773)

<div class="topic-metadata">

**Author:** [@phseth2001](https://www.ruby-forum.com/u/phseth2001)\
**Replies:** 0\
**Last updated:** [July 22, 2008, 5:17pm UTC](https://www.ruby-forum.com/t/example-jruby-scripts/143773 "2008-07-22T17:17:36Z")

</div>

Can someone point me to a site where I can get samples of jruby scripts. Thanks

---

## [Rb++ / rbgccxml 0.8](https://www.ruby-forum.com/t/rb-rbgccxml-0-8/143772)

<div class="topic-metadata">

**Author:** [@jruyle](https://www.ruby-forum.com/u/jruyle)\
**Replies:** 0\
**Last updated:** [July 22, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/rb-rbgccxml-0-8/143772 "2008-07-22T17:10:54Z")

</div>

= What is rb++ / rbgccxml? For anyone who wants an alternative to SWIG for generating Ruby extensions from C++ header files, look no further. Generating Ruby extensions has never been easier! The last few months have…

---

## [Issue when running jirb](https://www.ruby-forum.com/t/issue-when-running-jirb/196752)

<div class="topic-metadata">

**Author:** [@phseth2001](https://www.ruby-forum.com/u/phseth2001)\
**Replies:** 0\
**Last updated:** [July 22, 2008, 4:54pm UTC](https://www.ruby-forum.com/t/issue-when-running-jirb/196752 "2008-07-22T16:54:44Z")

</div>

Whenever I run jirb, I get the following: root@nycserv-deva-app1nim:/usr/local/bin/ruby\_inst2/jruby-1.1.2/bin\>jirb jirb:16:in \`require’: no such file to load – irb (LoadError) from jirb:16 Has anyone seen that error …

---

## [\[request\]C API$B$N3HD%(B](https://www.ruby-forum.com/t/request-c-api-b-n3hd-b/143542)

<div class="topic-metadata">

**Author:** [@Goro\_Fuji](https://www.ruby-forum.com/u/Goro_Fuji)\
**Replies:** 14\
**Last updated:** [July 22, 2008, 2:45pm UTC](https://www.ruby-forum.com/t/request-c-api-b-n3hd-b/143542 "2008-07-22T14:45:17Z")

</div>

è—¤ã¨ç”³ã—ã¾ã™ã€‚ Rubyã®C APIã«è¿½åŠ ã—ã¦ã„ãŸã ããŸã„ã‚‚ã®ãŒã‚ã‚‹ã®ã§ã™ãŒï¼Œæ¤œè¨Žã—ã¦ã„ãŸã ã‘ã¾ã›ã‚“ã‹ã€‚ ã‚ã‚‹ã„ã¯ä»¥ä¸‹2ã¤ã¨ã‚‚ä»£æ›¿æ‰‹æ®µãŒã‚ã‚Šï¼Œç§ãŒçŸ¥ã‚‰ãªã„ã ã‘ã‹ã‚…

---

## [Define\_method with dynamic method name](https://www.ruby-forum.com/t/define-method-with-dynamic-method-name/143754)

<div class="topic-metadata">

**Author:** [@balinski](https://www.ruby-forum.com/u/balinski)\
**Replies:** 1\
**Last updated:** [July 22, 2008, 2:16pm UTC](https://www.ruby-forum.com/t/define-method-with-dynamic-method-name/143754 "2008-07-22T14:16:30Z")

</div>

Hi I want to define new method with dynamic name eg: def method\_name “abrakadabra” end define\_method(method\_name.to\_sym){puts “done.”} I cant do it this way, it causes: undefined local variable or method \`method\_n…

---

## [Source code to XML](https://www.ruby-forum.com/t/source-code-to-xml/143742)

<div class="topic-metadata">

**Author:** [@fantomknight10](https://www.ruby-forum.com/u/fantomknight10)\
**Replies:** 2\
**Last updated:** [July 22, 2008, 2:15pm UTC](https://www.ruby-forum.com/t/source-code-to-xml/143742 "2008-07-22T14:15:54Z")

</div>

I need to generate DocBook ProgramListing xincludes from a source code file. How can I escape characters that is not valid in text : \< \> " &

---

## [Filling multidimensional array problem](https://www.ruby-forum.com/t/filling-multidimensional-array-problem/143744)

<div class="topic-metadata">

**Author:** [@indra](https://www.ruby-forum.com/u/indra)\
**Replies:** 4\
**Last updated:** [July 22, 2008, 2:09pm UTC](https://www.ruby-forum.com/t/filling-multidimensional-array-problem/143744 "2008-07-22T14:09:27Z")

</div>

Hi, I want to extend a complex, multidimensional array with (code snippet): results.each do |result| result\[1\] \<\< \[string, array\] puts result\[1\] end puts results The output of “result\[1\]” is correct, showing the \[…

---

## [M order b-tree](https://www.ruby-forum.com/t/m-order-b-tree/143500)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [July 22, 2008, 1:58pm UTC](https://www.ruby-forum.com/t/m-order-b-tree/143500 "2008-07-22T13:58:51Z")

</div>

Hello, I need a ruby implementation of m-order B-tree, where m \> 2. Is anyone aware of an already existing implementation? Thanks,

---

## [Sending multiple attachments using actionmailer](https://www.ruby-forum.com/t/sending-multiple-attachments-using-actionmailer/143750)

<div class="topic-metadata">

**Author:** [@ganana\_srishti](https://www.ruby-forum.com/u/ganana_srishti)\
**Replies:** 0\
**Last updated:** [July 22, 2008, 1:50pm UTC](https://www.ruby-forum.com/t/sending-multiple-attachments-using-actionmailer/143750 "2008-07-22T13:50:46Z")

</div>

Hi, How to send multiple attachments using actionmailer reply me…

---

## [Q: Change shell for backquotes](https://www.ruby-forum.com/t/q-change-shell-for-backquotes/143642)

<div class="topic-metadata">

**Author:** [@GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/u/GSRalph_KuntzS_MD)\
**Replies:** 2\
**Last updated:** [July 22, 2008, 1:30pm UTC](https://www.ruby-forum.com/t/q-change-shell-for-backquotes/143642 "2008-07-22T13:30:42Z")

</div>

I am running the native (One-Click Installer) version of Ruby under Windows, and for various reasons, cannot run the cygwin version. Is there a way to specify that Ruby should use the cygwin bash as its shell for back…

---

## [Grouping/Sorting an Array of objects](https://www.ruby-forum.com/t/grouping-sorting-an-array-of-objects/143606)

<div class="topic-metadata">

**Author:** [@hroberts](https://www.ruby-forum.com/u/hroberts)\
**Replies:** 6\
**Last updated:** [July 22, 2008, 1:28pm UTC](https://www.ruby-forum.com/t/grouping-sorting-an-array-of-objects/143606 "2008-07-22T13:28:21Z")

</div>

Suppose I have an array of two different kinds of objects, each with different attributes, but both having a date attribute. I’d like to be able to loop through the array in such a manner as to be able print a result …

---

## [Ruby Gems](https://www.ruby-forum.com/t/ruby-gems/143719)

<div class="topic-metadata">

**Author:** [@anasmd](https://www.ruby-forum.com/u/anasmd)\
**Replies:** 1\
**Last updated:** [July 22, 2008, 12:40pm UTC](https://www.ruby-forum.com/t/ruby-gems/143719 "2008-07-22T12:40:42Z")

</div>

Hi Folks Im Mohd Anas. Im working in company and my task is to work on Ruby gems. Im working under Linux Ubuntu environment. Please any one help me regarding how to create gems and Plugins. please send any material…

---

## [Google Group Archive Not Posting](https://www.ruby-forum.com/t/google-group-archive-not-posting/143739)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 1\
**Last updated:** [July 22, 2008, 12:29pm UTC](https://www.ruby-forum.com/t/google-group-archive-not-posting/143739 "2008-07-22T12:29:32Z")

</div>

Anyone else having problems posting to this list via Google-Groups? T.

---

## [Action mailer](https://www.ruby-forum.com/t/action-mailer/143734)

<div class="topic-metadata">

**Author:** [@sujith](https://www.ruby-forum.com/u/sujith)\
**Replies:** 3\
**Last updated:** [July 22, 2008, 12:13pm UTC](https://www.ruby-forum.com/t/action-mailer/143734 "2008-07-22T12:13:04Z")

</div>

i want how to recieve mails to inbox

---

## [How do i open a terminal using ruby?](https://www.ruby-forum.com/t/how-do-i-open-a-terminal-using-ruby/143709)

<div class="topic-metadata">

**Author:** [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Replies:** 7\
**Last updated:** [July 22, 2008, 11:00am UTC](https://www.ruby-forum.com/t/how-do-i-open-a-terminal-using-ruby/143709 "2008-07-22T11:00:53Z")

</div>

hi- i want to open up a terminal from ruby if it was not executed in one. so, if not STDIN.isatty #Open up a terminal end do i have to use IO.popen? i would rather not because, i’m using linux but this ruby script…

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

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