# Ruby

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

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

---

## [Making/Compiling Gems on Windows with MinGW](https://www.ruby-forum.com/t/making-compiling-gems-on-windows-with-mingw/150114)

<div class="topic-metadata">

**Author:** [@yardboy](https://www.ruby-forum.com/u/yardboy)\
**Replies:** 10\
**Last updated:** [October 8, 2008, 3:25pm UTC](https://www.ruby-forum.com/t/making-compiling-gems-on-windows-with-mingw/150114 "2008-10-08T15:25:20Z")

</div>

Whenever I try to install a gem that doesn’t have a precompiled binary available I get an error like this: Provided configuration options: –with-opt-dir –without-opt-dir –with-opt-include –without-opt-include=${opt…

---

## [SOAP '-' problem](https://www.ruby-forum.com/t/soap-problem/150419)

<div class="topic-metadata">

**Author:** [@Krzysztof\_Kaczmarek](https://www.ruby-forum.com/u/Krzysztof_Kaczmarek)\
**Replies:** 1\
**Last updated:** [October 8, 2008, 3:20pm UTC](https://www.ruby-forum.com/t/soap-problem/150419 "2008-10-08T15:20:44Z")

</div>

Hello, I try to use this wsdl: Allegro Developer Portal - baza wiedzy o Allegro REST API . The problem is: variables are like “country-id”. When I use ‘soap/ wsdlDriver’ or soap4r I become message like this: \`@countr…

---

## [Test/mini/test\_mini\_test.rb](https://www.ruby-forum.com/t/test-mini-test-mini-test-rb/150421)

<div class="topic-metadata">

**Author:** [@TAKANO\_Mitsuhiro](https://www.ruby-forum.com/u/TAKANO_Mitsuhiro)\
**Replies:** 0\
**Last updated:** [October 8, 2008, 12:38pm UTC](https://www.ruby-forum.com/t/test-mini-test-mini-test-rb/150421 "2008-10-08T12:38:05Z")

</div>

é«˜é‡Žã§ã™ã€‚ Failure: test\_class\_asserts\_match\_refutes(TestMiniTestTestCase) \[/home/takano/ruby/test/m ini/test\_mini\_test.rb:333\]: Expected \[“refute\_directory”, “refute\_equal\_time”, “refute\_equal\_timestamp”, “…

---

## [Where is hoe.gem](https://www.ruby-forum.com/t/where-is-hoe-gem/150338)

<div class="topic-metadata">

**Author:** [@gpygood](https://www.ruby-forum.com/u/gpygood)\
**Replies:** 4\
**Last updated:** [October 8, 2008, 12:10pm UTC](https://www.ruby-forum.com/t/where-is-hoe-gem/150338 "2008-10-08T12:10:29Z")

</div>

I search “hoe” in rubyforge,but has notiong about it,why? http://rubyforge.org/search/?type\_of\_search=soft&words=hoe

---

## [How to achieve syncshell service in Net::SSH v2?](https://www.ruby-forum.com/t/how-to-achieve-syncshell-service-in-net-ssh-v2/150416)

<div class="topic-metadata">

**Author:** [@cooldudevamsee](https://www.ruby-forum.com/u/cooldudevamsee)\
**Replies:** 0\
**Last updated:** [October 8, 2008, 11:06am UTC](https://www.ruby-forum.com/t/how-to-achieve-syncshell-service-in-net-ssh-v2/150416 "2008-10-08T11:06:42Z")

</div>

Hi, I have been using Net::SSH package for quite a long time and been using syncshell service that was introduced in the initial version of net-ssh gem. http://net-ssh.rubyforge.org/ssh/v1/chapter-5.html#s4 After up…

---

## [Rubylexer 0.7.1 Released](https://www.ruby-forum.com/t/rubylexer-0-7-1-released/147465)

<div class="topic-metadata">

**Author:** [@pandemic](https://www.ruby-forum.com/u/pandemic)\
**Replies:** 3\
**Last updated:** [October 8, 2008, 7:20am UTC](https://www.ruby-forum.com/t/rubylexer-0-7-1-released/147465 "2008-10-08T07:20:16Z")

</div>

rubylexer version 0.7.1 has been released! http://rubyforge.org/projects/rubylexer/ http://rubylexer.rubyforge.org/ RubyLexer is a lexer library for Ruby, written in Ruby. Rubylexer is meant as a lexer for Ruby that…

---

## [Looking for more Ruby-like way to create an array](https://www.ruby-forum.com/t/looking-for-more-ruby-like-way-to-create-an-array/150385)

<div class="topic-metadata">

**Author:** [@snlsn](https://www.ruby-forum.com/u/snlsn)\
**Replies:** 10\
**Last updated:** [October 8, 2008, 6:45am UTC](https://www.ruby-forum.com/t/looking-for-more-ruby-like-way-to-create-an-array/150385 "2008-10-08T06:45:50Z")

</div>

I’m creating an array that is the result of the members of another array each multiplied by 100. Here’s what I have: converted\_array = \[\] original\_array.each {|line| converted\_array \<\< line.to\_f \* 100} This works, bu…

---

## [Problem while using scrubyt](https://www.ruby-forum.com/t/problem-while-using-scrubyt/150405)

<div class="topic-metadata">

**Author:** [@prabhas](https://www.ruby-forum.com/u/prabhas)\
**Replies:** 0\
**Last updated:** [October 8, 2008, 6:25am UTC](https://www.ruby-forum.com/t/problem-while-using-scrubyt/150405 "2008-10-08T06:25:41Z")

</div>

Hi, I am trying to use scrubyt for web scraping. But I get error right in the beginning when I ‘require’ the ‘scrubyt’ gem. I am using Ruby version 1.8.6 on Windows. My sample code is like this: require ‘rubygems’ r…

---

## [Managing gems](https://www.ruby-forum.com/t/managing-gems/150376)

<div class="topic-metadata">

**Author:** [@tjones](https://www.ruby-forum.com/u/tjones)\
**Replies:** 2\
**Last updated:** [October 8, 2008, 5:54am UTC](https://www.ruby-forum.com/t/managing-gems/150376 "2008-10-08T05:54:41Z")

</div>

Hello, I fairly new to ruby and I am building a script I will need to run on a lot of my systems. If I require a gem like rubyzip and it’s not installed what is the best way to install it when running my script? Tha…

---

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

<div class="topic-metadata">

**Author:** [@will](https://www.ruby-forum.com/u/will)\
**Replies:** 3\
**Last updated:** [October 8, 2008, 3:10am UTC](https://www.ruby-forum.com/t/newbie-question/150391 "2008-10-08T03:10:43Z")

</div>

Greetings all, I think this is generally more a programming question than a ruby explicit one, however, I am wondering why this code yields 23, 0.999999999999979 instead of 23, 1. Any help would be great! i = 0 whi…

---

## [Load vs require](https://www.ruby-forum.com/t/load-vs-require/150373)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 2\
**Last updated:** [October 8, 2008, 2:47am UTC](https://www.ruby-forum.com/t/load-vs-require/150373 "2008-10-08T02:47:16Z")

</div>

I started looking through the source code for rake and noticed something curious. I see that when I execute the “rake” command at the command prompt, I run a fairly trivial ruby script: require ‘rubygems’ version =…

---

## [Help tracking memory leaks](https://www.ruby-forum.com/t/help-tracking-memory-leaks/149619)

<div class="topic-metadata">

**Author:** [@ittayd](https://www.ruby-forum.com/u/ittayd)\
**Replies:** 1\
**Last updated:** [October 8, 2008, 2:29am UTC](https://www.ruby-forum.com/t/help-tracking-memory-leaks/149619 "2008-10-08T02:29:17Z")

</div>

Hi, I have a ruby script that uses a lot of memory, dumping ObjectSpace shows that indeed a lot of object exist that shouldn’t. However, I can’t tell why. I don’t know the root object that causes the chain of referen…

---

## [\[RIP\] Guy Decoux](https://www.ruby-forum.com/t/rip-guy-decoux/149456)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Tr](https://www.ruby-forum.com/u/Jean-FranSSSSois_Tr)\
**Replies:** 37\
**Last updated:** [October 8, 2008, 2:25am UTC](https://www.ruby-forum.com/t/rip-guy-decoux/149456 "2008-10-08T02:25:11Z")

</div>

Hello, I’m sad to announce you Guy Decoux’s death in the beginning of the month of July 20008. He was 53 years old. He died accidentally, intoxicated by the smokes of the fire that took place during the night in his f…

---

## [Using ruby-serialport to connect to a printer](https://www.ruby-forum.com/t/using-ruby-serialport-to-connect-to-a-printer/150395)

<div class="topic-metadata">

**Author:** [@ffighter](https://www.ruby-forum.com/u/ffighter)\
**Replies:** 0\
**Last updated:** [October 8, 2008, 2:20am UTC](https://www.ruby-forum.com/t/using-ruby-serialport-to-connect-to-a-printer/150395 "2008-10-08T02:20:54Z")

</div>

Hello all! Does anyone know if there any API documentation for the ruby- serialport lib? I’m trying to use it to connect to a Zebra ZPT500 printer on Linux (and Windows) in order to send raw ZPL instructions to it, b…

---

## [Concurent (using threads) slower than sequential -doubt](https://www.ruby-forum.com/t/concurent-using-threads-slower-than-sequential-doubt/150216)

<div class="topic-metadata">

**Author:** [@caof2005](https://www.ruby-forum.com/u/caof2005)\
**Replies:** 9\
**Last updated:** [October 8, 2008, 2:12am UTC](https://www.ruby-forum.com/t/concurent-using-threads-slower-than-sequential-doubt/150216 "2008-10-08T02:12:08Z")

</div>

Hi Folks. While starting to study the benefits of using threads in Ruby, I tried to solve the following problem: I have 3 text files ( numbers0.txt, numbers1.txt, c:\\numbers2.txt ), each file contains a very large li…

---

## [Ruby on Solaris 10?](https://www.ruby-forum.com/t/ruby-on-solaris-10/150392)

<div class="topic-metadata">

**Author:** [@jackster](https://www.ruby-forum.com/u/jackster)\
**Replies:** 3\
**Last updated:** [October 8, 2008, 2:03am UTC](https://www.ruby-forum.com/t/ruby-on-solaris-10/150392 "2008-10-08T02:03:21Z")

</div>

I have a server running Solaris 10 that I need to install Ruby on in order to manipulate and move some security logs. I looked on the the Ruby download page and don’t see anything specifically for Solaris. Does anyon…

---

## [Object Persistence for a MUD](https://www.ruby-forum.com/t/object-persistence-for-a-mud/150164)

<div class="topic-metadata">

**Author:** [@Brent\_D](https://www.ruby-forum.com/u/Brent_D)\
**Replies:** 5\
**Last updated:** [October 8, 2008, 12:00am UTC](https://www.ruby-forum.com/t/object-persistence-for-a-mud/150164 "2008-10-08T00:00:56Z")

</div>

Hi all, For fun, I’m writing a MUD with Ruby. I thought I’d query the hive mind here and ask some opinions on what library I might use for object persistence – that is, storing objects like players and rooms somewher…

---

## [JRuby/Tomcat thread hanging issue](https://www.ruby-forum.com/t/jruby-tomcat-thread-hanging-issue/150382)

<div class="topic-metadata">

**Author:** [@lodestone](https://www.ruby-forum.com/u/lodestone)\
**Replies:** 0\
**Last updated:** [October 7, 2008, 11:30pm UTC](https://www.ruby-forum.com/t/jruby-tomcat-thread-hanging-issue/150382 "2008-10-07T23:30:44Z")

</div>

Hi - I saw a tomcat thread issue on the forum, but it did not have an answer to my question. JRuby on Rails (2.1.1), Tomcat (6.0.18) I have successfully deployed a JRuby app to Tomcat that starts a new thread, here …

---

## [Rutema 1.0.0 released](https://www.ruby-forum.com/t/rutema-1-0-0-released/150383)

<div class="topic-metadata">

**Author:** [@Vassilis\_R](https://www.ruby-forum.com/u/Vassilis_R)\
**Replies:** 0\
**Last updated:** [October 7, 2008, 11:22pm UTC](https://www.ruby-forum.com/t/rutema-1-0-0-released/150383 "2008-10-07T23:22:14Z")

</div>

rutema version 1.0.0 has been released! Check http://patir.rubyforge.org/rutema100.html for more info. DESCRIPTION: rutema is a test execution tool with a twist. It allows you to combine test tools while it takes car…

---

## [Class \<\< self](https://www.ruby-forum.com/t/class-self/150113)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 13\
**Last updated:** [October 7, 2008, 9:41pm UTC](https://www.ruby-forum.com/t/class-self/150113 "2008-10-07T21:41:12Z")

</div>

Sorry if this is a FAQ, but I was just looking at some Ruby code and came across the following construct: class \<\< self def blahblahblah … end end I wondered what that did, went looking, and came across this email …

---

## [Best way to inject new functionality into a class](https://www.ruby-forum.com/t/best-way-to-inject-new-functionality-into-a-class/150372)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 1\
**Last updated:** [October 7, 2008, 9:31pm UTC](https://www.ruby-forum.com/t/best-way-to-inject-new-functionality-into-a-class/150372 "2008-10-07T21:31:49Z")

</div>

I’ve pretty much made up my mind how to modify my classes, but I thought I would throw this issue out to the community at large to see if I’m missing something glaringly obvious. When I write code for classes & module…

---

## [Rinq?](https://www.ruby-forum.com/t/rinq/150280)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 8\
**Last updated:** [October 7, 2008, 9:21pm UTC](https://www.ruby-forum.com/t/rinq/150280 "2008-10-07T21:21:50Z")

</div>

Anyone else interested in creating a RINQ? See: http://graffie.wordpress.com/2008/03/12/rinq-concept-of-a-ruby-integr… http://rubyforge.org/frs/download.php/26198/BRUG-10-03-2007.pdf I need something a long these lin…

---

## [Hitimes 0.2.1 Released](https://www.ruby-forum.com/t/hitimes-0-2-1-released/149739)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 2\
**Last updated:** [October 7, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/hitimes-0-2-1-released/149739 "2008-10-07T20:40:07Z")

</div>

hitimes version 0.2.1 has been released. gem install hitimes http://copiousfreetime.rubyforge.org/hitimes/ Hitimes is a fast, high resolution timer library for recording performance metrics. It uses the appropriate…

---

## [Mechanize select list help...?](https://www.ruby-forum.com/t/mechanize-select-list-help/150288)

<div class="topic-metadata">

**Author:** [@prot](https://www.ruby-forum.com/u/prot)\
**Replies:** 2\
**Last updated:** [October 7, 2008, 8:18pm UTC](https://www.ruby-forum.com/t/mechanize-select-list-help/150288 "2008-10-07T20:18:11Z")

</div>

Hi. I’m using the excellent WWW::Mechanize to screen scrape a site for UK frost dates (don’t ask :wink: there’s a lot of issues with the HTML not being grand, so I thought that’s where I am going wrong in my code, bu…

---

## [Code Review: symbolconversions](https://www.ruby-forum.com/t/code-review-symbolconversions/150364)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [October 7, 2008, 8:03pm UTC](https://www.ruby-forum.com/t/code-review-symbolconversions/150364 "2008-10-07T20:03:05Z")

</div>

tfpt review “/shelveset:symbolconversions;REDMOND\\tomat” (Reviewed by John) Implements default protocol conversion for symbol and bool. Tomas

---

## [JRuby Rack question....is the java request + session available globally?](https://www.ruby-forum.com/t/jruby-rack-question-is-the-java-request-session-available-globally/150278)

<div class="topic-metadata">

**Author:** [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Replies:** 7\
**Last updated:** [October 7, 2008, 7:50pm UTC](https://www.ruby-forum.com/t/jruby-rack-question-is-the-java-request-session-available-globally/150278 "2008-10-07T19:50:42Z")

</div>

Hi All- I’ve got a rails app I’m converting to jruby/warbler that uses Memcache to cache some web service calls. I’d like to remove that dependency to Memcache. To that end, I’m trying to change the cache location …

---

## [Difference between Foo = Class.new and class Foo](https://www.ruby-forum.com/t/difference-between-foo-class-new-and-class-foo/150350)

<div class="topic-metadata">

**Author:** [@bdimcheff](https://www.ruby-forum.com/u/bdimcheff)\
**Replies:** 5\
**Last updated:** [October 7, 2008, 6:04pm UTC](https://www.ruby-forum.com/t/difference-between-foo-class-new-and-class-foo/150350 "2008-10-07T18:04:23Z")

</div>

I’m playing around with classes and discovered that class Foo … end and Foo = Class.new do … end seem to behave slightly differently. I assumed that “class Foo” was just a shortcut that got translated into “Foo…

---

## [\`require': no such file to load -- win32/sound](https://www.ruby-forum.com/t/require-no-such-file-to-load-win32-sound/150342)

<div class="topic-metadata">

**Author:** [@wildwill](https://www.ruby-forum.com/u/wildwill)\
**Replies:** 1\
**Last updated:** [October 7, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/require-no-such-file-to-load-win32-sound/150342 "2008-10-07T17:20:40Z")

</div>

I am trying out the following X10 intergratuion with Bamboo (http:// urlant.com//yvwjlo) and when i installed the one click windows install of Ruby and run the ruby script, i get the following error: C:\\ruby\\bin\>ruby…

---

## [\[ANN\] Free Ruby In Steel IDE includes free Visual Studio](https://www.ruby-forum.com/t/ann-free-ruby-in-steel-ide-includes-free-visual-studio/150236)

<div class="topic-metadata">

**Author:** [@huw](https://www.ruby-forum.com/u/huw)\
**Replies:** 1\
**Last updated:** [October 7, 2008, 4:37pm UTC](https://www.ruby-forum.com/t/ann-free-ruby-in-steel-ide-includes-free-visual-studio/150236 "2008-10-07T16:37:05Z")

</div>

Windows users may find this of interest… SapphireSteel Software today released a free edition of Ruby In Steel, the Ruby and Rails IDE for Microsoft Visual Studio 2008. Ruby In Steel Personal Edition (PE) 2008 provide…

---

## [How a rails project in netbean reference a ruby source code?](https://www.ruby-forum.com/t/how-a-rails-project-in-netbean-reference-a-ruby-source-code/150314)

<div class="topic-metadata">

**Author:** [@zhixin](https://www.ruby-forum.com/u/zhixin)\
**Replies:** 1\
**Last updated:** [October 7, 2008, 4:10pm UTC](https://www.ruby-forum.com/t/how-a-rails-project-in-netbean-reference-a-ruby-source-code/150314 "2008-10-07T16:10:01Z")

</div>

Ex. sometimes, I want to know the trace of a special method, then I track the code by the calling stack. but netbean stoped in the top of my code, I want to know what the rails source code do for my application. How c…

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

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