# Ruby

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

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

---

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

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [September 7, 2009, 5:44am UTC](https://www.ruby-forum.com/t/ann-inochi-1-1-0/175055 "2009-09-07T05:44:45Z")

</div>

Inochi 1.1.0 Gives life to RubyGems-based software http://snk.tuxfamily.org/lib/inochi/ Inochi is an infrastructure for \[1\]RubyGems-based software that encourages good doc…

---

## [\[ANN\] ERBook 7.1.1](https://www.ruby-forum.com/t/ann-erbook-7-1-1/175053)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 2\
**Last updated:** [September 7, 2009, 4:53am UTC](https://www.ruby-forum.com/t/ann-erbook-7-1-1/175053 "2009-09-07T04:53:54Z")

</div>

ERBook 7.1.1 Write books, manuals, and documents in eRuby http://snk.tuxfamily.org/lib/erbook/ ERBook is an extensible document processor that emits \[1\]any document you can im…

---

## [Iimprir el indice del registro](https://www.ruby-forum.com/t/iimprir-el-indice-del-registro/175036)

<div class="topic-metadata">

**Author:** [@aprendiz\_ror](https://www.ruby-forum.com/u/aprendiz_ror)\
**Replies:** 1\
**Last updated:** [September 6, 2009, 9:03pm UTC](https://www.ruby-forum.com/t/iimprir-el-indice-del-registro/175036 "2009-09-06T21:03:55Z")

</div>

buenas necesito de la ayuda en esto: @prestamos es un hash? lo cargue en un controller. necesito imprimir el numero de registro, no es el id, si no el numero de registro que se muestra, ya que esta lista depende …

---

## [Can You Store Individual Letters?](https://www.ruby-forum.com/t/can-you-store-individual-letters/174983)

<div class="topic-metadata">

**Author:** [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Replies:** 3\
**Last updated:** [September 6, 2009, 8:01pm UTC](https://www.ruby-forum.com/t/can-you-store-individual-letters/174983 "2009-09-06T20:01:52Z")

</div>

I was wandering if it is possible to have user inputted words stored and each letter as a seperate variable. I know i could just have each letter inputted indvidually but thats time consuming on the users part. Here’s …

---

## [Comprare Kamagra on line in Italia](https://www.ruby-forum.com/t/comprare-kamagra-on-line-in-italia/175034)

<div class="topic-metadata">

**Author:** [@qqssseee](https://www.ruby-forum.com/u/qqssseee)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 7:50pm UTC](https://www.ruby-forum.com/t/comprare-kamagra-on-line-in-italia/175034 "2009-09-06T19:50:44Z")

</div>

\*\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Kamagra \>\>\>\>\>\> Acquista Kamagra ( Originali che Generici ) http://medrx247.cn/?e=Kamagra Offriamo prodotti originali e gener…

---

## [Enumerable#gather\_each](https://www.ruby-forum.com/t/enumerable-gather-each/167548)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 46\
**Last updated:** [September 6, 2009, 7:05pm UTC](https://www.ruby-forum.com/t/enumerable-gather-each/167548 "2009-09-06T19:05:39Z")

</div>

e$B$H$-$K!“J#?t9T$r$^$H$a$F07$$$?$$$3$H$,$”$j$^$9!#e(B e$B$?$H$($P!"e(BRD e$B$G%$%s%G%s%H$5$l$?ItJ,$r\<h$j=P$9$H$+!"e(BIO e$B$N%Q%ie(B e$B%0%i%U%b!\<%I$C$\]$$$3$H$H$+!“8D?ME\*$K$O:G6ae(B chkbuild e$B$G%m%0$Ne(B e$B0lIt$r…

---

## [Using both the new rvm Ruby Version Manager, AND multiruby from ZenTest](https://www.ruby-forum.com/t/using-both-the-new-rvm-ruby-version-manager-and-multiruby-from-zentest/174844)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 1\
**Last updated:** [September 6, 2009, 2:18am UTC](https://www.ruby-forum.com/t/using-both-the-new-rvm-ruby-version-manager-and-multiruby-from-zentest/174844 "2009-09-06T02:18:50Z")

</div>

The new Ruby Version Manager http://rvm.beginrescueend.com/ seems great for having multiple ruby installations to USE, while the multiruby feature in the ZenTest gem is great for running tests/specs under a bunch of d…

---

## [Gnuplot font type and size](https://www.ruby-forum.com/t/gnuplot-font-type-and-size/174998)

<div class="topic-metadata">

**Author:** [@robredford](https://www.ruby-forum.com/u/robredford)\
**Replies:** 2\
**Last updated:** [September 6, 2009, 12:16am UTC](https://www.ruby-forum.com/t/gnuplot-font-type-and-size/174998 "2009-09-06T00:16:54Z")

</div>

I’m using terminal png. How in the world do I set the font size and type? I tried: plot.title "“Test” font “Times-Roman,32"” That produced a plot with title: “Test” font “Times-Roman,32”

---

## [How to compare two object instances? is "m1.to\_yaml.eql?(m2.to\_yaml)" a good way?](https://www.ruby-forum.com/t/how-to-compare-two-object-instances-is-m1-to-yaml-eql-m2-to-yaml-a-good-way/174990)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 7\
**Last updated:** [September 5, 2009, 11:58pm UTC](https://www.ruby-forum.com/t/how-to-compare-two-object-instances-is-m1-to-yaml-eql-m2-to-yaml-a-good-way/174990 "2009-09-05T23:58:56Z")

</div>

Hi, What’s an easy way to compare for equality two object instances (that haven’t been saved yet). Or in other words pretty much just two object instances. I’ve tried “==” and “eql?” on the objects directly and thi…

---

## [QED v1.1.0 released](https://www.ruby-forum.com/t/qed-v1-1-0-released/175014)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [September 5, 2009, 10:20pm UTC](https://www.ruby-forum.com/t/qed-v1-1-0-released/175014 "2009-09-05T22:20:34Z")

</div>

= Ruby Q.E.D. homepage: http://proutils.rubyforge.org/qed mailing list: http://groups.google.com/group/tigerops-community development: http://github.com/proutils/qed/tree/master == Introduction Q.E.D. stands for Q…

---

## [Unicorn 0.91.0 - finally supports HTTP/0.9!](https://www.ruby-forum.com/t/unicorn-0-91-0-finally-supports-http-0-9/174965)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 1\
**Last updated:** [September 5, 2009, 9:52pm UTC](https://www.ruby-forum.com/t/unicorn-0-91-0-finally-supports-http-0-9/174965 "2009-09-05T21:52:13Z")

</div>

Unicorn is a Rack HTTP server for Unix, fast clients and nothing else. 18 years too late, Unicorn finally gets HTTP/0.9 support as HTTP was implemented in 1991. Shortlog as follows: Eric W. (16): Documentation updat…

---

## [Find class, module, exception dynamically](https://www.ruby-forum.com/t/find-class-module-exception-dynamically/174982)

<div class="topic-metadata">

**Author:** [@prateekagarwal](https://www.ruby-forum.com/u/prateekagarwal)\
**Replies:** 2\
**Last updated:** [September 5, 2009, 8:03pm UTC](https://www.ruby-forum.com/t/find-class-module-exception-dynamically/174982 "2009-09-05T20:03:00Z")

</div>

How to find the class, module and exception structures of the built-in classes dynamically? I mean how do you implement it into a program?

---

## [Resolv not working after a while?](https://www.ruby-forum.com/t/resolv-not-working-after-a-while/174890)

<div class="topic-metadata">

**Author:** [@Space\_Ship\_T](https://www.ruby-forum.com/u/Space_Ship_T)\
**Replies:** 1\
**Last updated:** [September 5, 2009, 6:53pm UTC](https://www.ruby-forum.com/t/resolv-not-working-after-a-while/174890 "2009-09-05T18:53:57Z")

</div>

Hello, I’m using the resolv standard library. After resolving several names, it stops working. The resolver simply hangs and does not provide a result. I’m still trying to isolate the problem, but has anyone else ex…

---

## [Gem installation-time dependency](https://www.ruby-forum.com/t/gem-installation-time-dependency/174361)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 4\
**Last updated:** [September 5, 2009, 5:20pm UTC](https://www.ruby-forum.com/t/gem-installation-time-dependency/174361 "2009-09-05T17:20:48Z")

</div>

Is there a way to build a gem in such a way so that dependencies can be resolved at installation-time? I want users to be able to “gem install ruby-debug-ide”, and have the ruby-debug-ide gem install either ruby-debug…

---

## [End of file error when trying to Marshal.load](https://www.ruby-forum.com/t/end-of-file-error-when-trying-to-marshal-load/174993)

<div class="topic-metadata">

**Author:** [@vahagn](https://www.ruby-forum.com/u/vahagn)\
**Replies:** 6\
**Last updated:** [September 5, 2009, 2:34pm UTC](https://www.ruby-forum.com/t/end-of-file-error-when-trying-to-marshal-load/174993 "2009-09-05T14:34:58Z")

</div>

Hi,- I am trying out the marshaling functionality of Ruby with this documentation as a guide: http://www.ruby-doc.org/core/classes/Marshal.html Code goes like this: class Klass def initialize(str) @str = str end …

---

## [Oniguruma: Different result in ruby 1.9.1 and 1.8.7](https://www.ruby-forum.com/t/oniguruma-different-result-in-ruby-1-9-1-and-1-8-7/174917)

<div class="topic-metadata">

**Author:** [@miguelfteixeira](https://www.ruby-forum.com/u/miguelfteixeira)\
**Replies:** 5\
**Last updated:** [September 5, 2009, 1:14pm UTC](https://www.ruby-forum.com/t/oniguruma-different-result-in-ruby-1-9-1-and-1-8-7/174917 "2009-09-05T13:14:29Z")

</div>

Hi, I have the following regular expression created in ruby 1.9.1: /(?:(?:$(?‘name1’\[\\w\\s'\]+)(?:(?‘name2’(?:created|developed)\[\\w\\s\]+)(?name3’(?:in|at)\[\\w\\s\]+)))|(?:$(?‘name1’\[\\w\\s'\]+)(?‘name2’(:?created|developed)\[\\w\\…

---

## [Filling Wx::ListCtrl with contents](https://www.ruby-forum.com/t/filling-wx-listctrl-with-contents/174992)

<div class="topic-metadata">

**Author:** [@Maximilian\_BrSSS\_ut](https://www.ruby-forum.com/u/Maximilian_BrSSS_ut)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 1:08pm UTC](https://www.ruby-forum.com/t/filling-wx-listctrl-with-contents/174992 "2009-09-05T13:08:27Z")

</div>

Hi all, I’ve got a question concerning ListCtrl\_virtual of wxRuby since I see no way filling the list with dynamic contents. I’m new to Ruby so I maybe have to apologise for my request. The problem is, that I have to…

---

## [Better RDoc Inline Markup](https://www.ruby-forum.com/t/better-rdoc-inline-markup/174897)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 11\
**Last updated:** [September 5, 2009, 9:13am UTC](https://www.ruby-forum.com/t/better-rdoc-inline-markup/174897 "2009-09-05T09:13:43Z")

</div>

RDoc’s SimpleMarkup doesn’t catch all the cases of inline markup that is really useful for a Ruby documentation. I think it’s checking for \\w+ only, but adding some other punctuation marks would be helpful. Namely, …

---

## [Ruby cvs module](https://www.ruby-forum.com/t/ruby-cvs-module/174813)

<div class="topic-metadata">

**Author:** [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Replies:** 3\
**Last updated:** [September 5, 2009, 6:24am UTC](https://www.ruby-forum.com/t/ruby-cvs-module/174813 "2009-09-05T06:24:00Z")

</div>

Is there any cvs module available on ruby? I have some requirement , through ruby on rails I have to do the CVS operation . Anyone give some suggestion or idea. Platform: Linux Regards S.Vellingiri.

---

## [OSX -flat\_namespace issues show up in hitimes, nokogiri and amalgalite](https://www.ruby-forum.com/t/osx-flat-namespace-issues-show-up-in-hitimes-nokogiri-and-amalgalite/174269)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 3\
**Last updated:** [September 5, 2009, 3:30am UTC](https://www.ruby-forum.com/t/osx-flat-namespace-issues-show-up-in-hitimes-nokogiri-and-amalgalite/174269 "2009-09-05T03:30:46Z")

</div>

I’m not sure if it is the problem, but it appears that because ruby is compiled with -flat\_namespace on Mac OS X that unexpected behavior can occur if an extension links against CoreServices. Here’s a fairly indepth…

---

## [Where is \_why (not the code)?](https://www.ruby-forum.com/t/where-is-why-not-the-code/174804)

<div class="topic-metadata">

**Author:** [@EustSSSSquio\_Rangel](https://www.ruby-forum.com/u/EustSSSSquio_Rangel)\
**Replies:** 4\
**Last updated:** [September 5, 2009, 2:12am UTC](https://www.ruby-forum.com/t/where-is-why-not-the-code/174804 "2009-09-05T02:12:55Z")

</div>

Hey, I’m noticing that people are recovering the \_why code etc but where and more important - how - is \_why, the guy? Does somebody knows his phone and can make a call to check if everything is ok? Code can bem recov…

---

## [Three Days of Ruby Training](https://www.ruby-forum.com/t/three-days-of-ruby-training/174974)

<div class="topic-metadata">

**Author:** [@James\_Edward\_GSII](https://www.ruby-forum.com/u/James_Edward_GSII)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 12:40am UTC](https://www.ruby-forum.com/t/three-days-of-ruby-training/174974 "2009-09-05T00:40:25Z")

</div>

If you or someone you know would enjoy a three day Ruby language workshop, I’m going to run one in Oklahoma in November: http://www.wavebreak.org/ All are welcome. Please come join us for some Ruby learning fun! Jam…

---

## [Declare a shell alias in a ruby file](https://www.ruby-forum.com/t/declare-a-shell-alias-in-a-ruby-file/174898)

<div class="topic-metadata">

**Author:** [@jney](https://www.ruby-forum.com/u/jney)\
**Replies:** 5\
**Last updated:** [September 5, 2009, 12:02am UTC](https://www.ruby-forum.com/t/declare-a-shell-alias-in-a-ruby-file/174898 "2009-09-05T00:02:58Z")

</div>

Hello, I’m trying to declare a shell alias from a ruby file. here is the file test.rb : begin test.rb alias world='echo hello' end test.rb I’m launching it : ruby test.rb Then launching the alias : world -bash…

---

## [Can't update rubygems](https://www.ruby-forum.com/t/cant-update-rubygems/174912)

<div class="topic-metadata">

**Author:** [@lofye](https://www.ruby-forum.com/u/lofye)\
**Replies:** 6\
**Last updated:** [September 4, 2009, 9:42pm UTC](https://www.ruby-forum.com/t/cant-update-rubygems/174912 "2009-09-04T21:42:05Z")

</div>

on Mac OS X Tiger 10.4 and unable to update rubygems from 1.0.1 to 1.3.5 Here’s the command line story… computer-says-no:/ d$ gem env RubyGems Environment: RUBYGEMS VERSION: 1.0.1 (1.0.1) RUBY VERSION: 1.8.6 (2007-…

---

## [NET SCP in ASCII](https://www.ruby-forum.com/t/net-scp-in-ascii/174959)

<div class="topic-metadata">

**Author:** [@adad](https://www.ruby-forum.com/u/adad)\
**Replies:** 1\
**Last updated:** [September 4, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/net-scp-in-ascii/174959 "2009-09-04T21:10:51Z")

</div>

Hi, I am on a windows box trying to scp a file from a linux box. Is there a way to convert the newlines from linux to dos while downloading the file? I dont want to create a new file on the linux box as the file is r…

---

## [How to examine dependencies of previous gems](https://www.ruby-forum.com/t/how-to-examine-dependencies-of-previous-gems/174960)

<div class="topic-metadata">

**Author:** [@sherwin](https://www.ruby-forum.com/u/sherwin)\
**Replies:** 5\
**Last updated:** [September 4, 2009, 7:55pm UTC](https://www.ruby-forum.com/t/how-to-examine-dependencies-of-previous-gems/174960 "2009-09-04T19:55:54Z")

</div>

Hi, I am trying to see if there are any differences in the dependencies for a specific gem between different releases. For example: sherwin-mac{198}% gem -v 1.3.4 sherwin-mac{199}% gem dep -r mongrel -v 1.1.5 Gem …

---

## [Is Passing a Binding with Parameters Possible?](https://www.ruby-forum.com/t/is-passing-a-binding-with-parameters-possible/174910)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 7\
**Last updated:** [September 4, 2009, 7:23pm UTC](https://www.ruby-forum.com/t/is-passing-a-binding-with-parameters-possible/174910 "2009-09-04T19:23:58Z")

</div>

Does anyone know how to pass a binding using parameters instead of a code block? Is it even possible? For various reasons (primarily syntactic sugar implementation), I need to eval a string in one method in the scope …

---

## [XTEA Cryptography Algorithm](https://www.ruby-forum.com/t/xtea-cryptography-algorithm/174949)

<div class="topic-metadata">

**Author:** [@di3go](https://www.ruby-forum.com/u/di3go)\
**Replies:** 2\
**Last updated:** [September 4, 2009, 7:05pm UTC](https://www.ruby-forum.com/t/xtea-cryptography-algorithm/174949 "2009-09-04T19:05:33Z")

</div>

Some one know if ruby has any implementation of XTEA algorithm? I have a hardware connect on a serial port that uses this cryptography.

---

## [Bytecode in Ruby 1.9](https://www.ruby-forum.com/t/bytecode-in-ruby-1-9/174954)

<div class="topic-metadata">

**Author:** [@wvdschel](https://www.ruby-forum.com/u/wvdschel)\
**Replies:** 1\
**Last updated:** [September 4, 2009, 5:50pm UTC](https://www.ruby-forum.com/t/bytecode-in-ruby-1-9/174954 "2009-09-04T17:50:45Z")

</div>

Hi, I’ve looked all over and I can’t seem to find any complete documentation about the YARV bytecode. Is there a reference or spec somewhere? On instruction I find nothing about is the trace instruction. Does anyone …

---

## [Regular expressions - string substitution](https://www.ruby-forum.com/t/regular-expressions-string-substitution/174955)

<div class="topic-metadata">

**Author:** [@nescripter](https://www.ruby-forum.com/u/nescripter)\
**Replies:** 8\
**Last updated:** [September 4, 2009, 4:53pm UTC](https://www.ruby-forum.com/t/regular-expressions-string-substitution/174955 "2009-09-04T16:53:14Z")

</div>

Hello all, A quick question if I have a string like so 000000100 and I want to remove the leading 0’s to leave me with a string like so 100 What is the best way to do this? initially I was using string.delete(“0”) …

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

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