# Ruby

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

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

---

## [Problems building revision 82](https://www.ruby-forum.com/t/problems-building-revision-82/132558)

<div class="topic-metadata">

**Author:** [@Aaron\_Junod](https://www.ruby-forum.com/u/Aaron_Junod)\
**Replies:** 7\
**Last updated:** [March 21, 2008, 3:58pm UTC](https://www.ruby-forum.com/t/problems-building-revision-82/132558 "2008-03-21T15:58:08Z")

</div>

I just updated to r82 and had some issues. I removed my IronRuby folder and started over and the problems stayed the same. I am running on windows 2k3 with vs.net 2k5 and 2k8 loaded. The rake --trace details for gen …

---

## [Making an exe](https://www.ruby-forum.com/t/making-an-exe/132563)

<div class="topic-metadata">

**Author:** [@HadsS](https://www.ruby-forum.com/u/HadsS)\
**Replies:** 7\
**Last updated:** [March 21, 2008, 3:55pm UTC](https://www.ruby-forum.com/t/making-an-exe/132563 "2008-03-21T15:55:47Z")

</div>

heya… im new to this ruby language and wanted to know how can i make my program and exe file… please guide me if it is possible…!!!

---

## [Error on Freeze Rails Gems](https://www.ruby-forum.com/t/error-on-freeze-rails-gems/132556)

<div class="topic-metadata">

**Author:** [@manish](https://www.ruby-forum.com/u/manish)\
**Replies:** 1\
**Last updated:** [March 21, 2008, 3:03pm UTC](https://www.ruby-forum.com/t/error-on-freeze-rails-gems/132556 "2008-03-21T15:03:31Z")

</div>

Hi When i am using rake rails:freeze:edge it show errors rake aborted! No Rakefile found What is this error???

---

## [Get object from its object-specific class?](https://www.ruby-forum.com/t/get-object-from-its-object-specific-class/88434)

<div class="topic-metadata">

**Author:** [@samoht](https://www.ruby-forum.com/u/samoht)\
**Replies:** 15\
**Last updated:** [March 21, 2008, 1:35pm UTC](https://www.ruby-forum.com/t/get-object-from-its-object-specific-class/88434 "2008-03-21T13:35:44Z")

</div>

Hello, is there a way to get an object, if only its object-specific class is given? For instance, given c = class \<\< Hash\[:a, 5\] def mult(x) self\[:a\] \* x end self end can I retrieve the hash object via evaluatio…

---

## [Dealing properly with scope; came from:combine array(string) to string?](https://www.ruby-forum.com/t/dealing-properly-with-scope-came-from-combine-array-string-to-string/132518)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 3\
**Last updated:** [March 21, 2008, 9:56am UTC](https://www.ruby-forum.com/t/dealing-properly-with-scope-came-from-combine-array-string-to-string/132518 "2008-03-21T09:56:07Z")

</div>

In much of my code, I’ve built an Array object before a block for scope reasons. Is this common practice? b = %w|a b c d e| a = \[\] #instantiation b.each {|i| a \<\< i\*2} puts a Todd

---

## [Newbie question regarding memory leak](https://www.ruby-forum.com/t/newbie-question-regarding-memory-leak/131545)

<div class="topic-metadata">

**Author:** [@learningruby](https://www.ruby-forum.com/u/learningruby)\
**Replies:** 4\
**Last updated:** [March 21, 2008, 6:43am UTC](https://www.ruby-forum.com/t/newbie-question-regarding-memory-leak/131545 "2008-03-21T06:43:25Z")

</div>

Hi, Recently, I have written a ruby program for web-scraping. But its a bit slow and consumes enormous memory due to a possible memory leak. I am very new to these memory leak issues. Please find my code in the attach…

---

## [Is YARV thread-safe?](https://www.ruby-forum.com/t/is-yarv-thread-safe/132533)

<div class="topic-metadata">

**Author:** [@kewal](https://www.ruby-forum.com/u/kewal)\
**Replies:** 0\
**Last updated:** [March 21, 2008, 4:12am UTC](https://www.ruby-forum.com/t/is-yarv-thread-safe/132533 "2008-03-21T04:12:19Z")

</div>

Hi, We are trying to build prototype bytecode tool for YARV. I have some questions regarding YARV. Is it a thread-safe code ? Thanks in advance for the help. Kewal

---

## [C++ and other programming languages an complete encyclopedia](https://www.ruby-forum.com/t/c-and-other-programming-languages-an-complete-encyclopedia/132529)

<div class="topic-metadata">

**Author:** [@Gokul](https://www.ruby-forum.com/u/Gokul)\
**Replies:** 0\
**Last updated:** [March 21, 2008, 2:59am UTC](https://www.ruby-forum.com/t/c-and-other-programming-languages-an-complete-encyclopedia/132529 "2008-03-21T02:59:48Z")

</div>

Hai friends. Welcome to Comp.lang.ruby group. Today I found a website where it gives the entire details about C++ and other IT related tools such as SQL server 2008 updates, IBM tools and techniques and a lot more in …

---

## [Calling super with no arguments](https://www.ruby-forum.com/t/calling-super-with-no-arguments/132522)

<div class="topic-metadata">

**Author:** [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Replies:** 4\
**Last updated:** [March 21, 2008, 2:37am UTC](https://www.ruby-forum.com/t/calling-super-with-no-arguments/132522 "2008-03-21T02:37:31Z")

</div>

Hi all, Does anyone know how to invoke super so that it passes no arguments to the superclass’ method? For example: class A def initialize puts “making an A” end end class B \< A def initialize var puts “making…

---

## [Gem case sensitive](https://www.ruby-forum.com/t/gem-case-sensitive/132526)

<div class="topic-metadata">

**Author:** [@botp](https://www.ruby-forum.com/u/botp)\
**Replies:** 0\
**Last updated:** [March 21, 2008, 2:25am UTC](https://www.ruby-forum.com/t/gem-case-sensitive/132526 "2008-03-21T02:25:13Z")

</div>

why is it that a gem name has to be case sensitive? isn’t that dangerous; ie i can submit gems w similar names differing only in cases? eg, botp@jedi-hopeful:~$ sudo gem install rubyinline ERROR: could not find rub…

---

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

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 11\
**Last updated:** [March 21, 2008, 1:36am UTC](https://www.ruby-forum.com/t/ruby-usb/125691 "2008-03-21T01:36:00Z")

</div>

hey all. anyone able to build the ruby-usb libusb bindings? i’ve tried on os x, fedora 8, debian sarge, etch, and ubuntu 6.06… no luck. it doesn’t look like the library is actively maintained, but it’s a useful one…

---

## [RXML to HASH](https://www.ruby-forum.com/t/rxml-to-hash/132428)

<div class="topic-metadata">

**Author:** [@a\_marc\_aurele](https://www.ruby-forum.com/u/a_marc_aurele)\
**Replies:** 2\
**Last updated:** [March 21, 2008, 12:50am UTC](https://www.ruby-forum.com/t/rxml-to-hash/132428 "2008-03-21T00:50:52Z")

</div>

basicaly i receive a xml response from the internet and i would like to convert the xml structure into an HASH object . Theres probably a lot of ways to get this done but im curious to see if theres a gem or RUBY way…

---

## [Yet another Windows installer](https://www.ruby-forum.com/t/yet-another-windows-installer/131636)

<div class="topic-metadata">

**Author:** [@Phillip\_G](https://www.ruby-forum.com/u/Phillip_G)\
**Replies:** 31\
**Last updated:** [March 21, 2008, 12:44am UTC](https://www.ruby-forum.com/t/yet-another-windows-installer/131636 "2008-03-21T00:44:24Z")

</div>

Hello, list. I’ve taken the liberty to submit a new RubyForge project: The Ruby Widnows Distribution. Why? Because there is no easy installable “plain” Ruby package for Windows. While it is similar to the Ruby O. Cl…

---

## [Test-unit 1.2.3 Released](https://www.ruby-forum.com/t/test-unit-1-2-3-released/132514)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 3\
**Last updated:** [March 21, 2008, 12:41am UTC](https://www.ruby-forum.com/t/test-unit-1-2-3-released/132514 "2008-03-21T00:41:28Z")

</div>

test-unit version 1.2.3 has been released! http://rubyforge.org/projects/test-unit/ Test::Unit (Classic) - Nathaniel T.'s originial test-unit, externalized from the ruby project as a gem (for tool developers). == FE…

---

## [Delcaring a foo\[\] method](https://www.ruby-forum.com/t/delcaring-a-foo-method/132512)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 4\
**Last updated:** [March 20, 2008, 11:29pm UTC](https://www.ruby-forum.com/t/delcaring-a-foo-method/132512 "2008-03-20T23:29:41Z")

</div>

I am trying to define a method that you call like this: @obj.foo\[123\] I thought I knew how to do this. I tried to setup the method like so: def foo value \* 2 end But this gives me a syntax error right at that firs…

---

## [Require 'java' returns false](https://www.ruby-forum.com/t/require-java-returns-false/129503)

<div class="topic-metadata">

**Author:** [@venugopal](https://www.ruby-forum.com/u/venugopal)\
**Replies:** 1\
**Last updated:** [March 20, 2008, 10:24pm UTC](https://www.ruby-forum.com/t/require-java-returns-false/129503 "2008-03-20T22:24:42Z")

</div>

Hi I am new to jruby. I have extracted jruby 1.1RC and using jdk 1.6. In the .rb files the very first line require ‘java’ gives the following error, C:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in g…

---

## [Ruby "Speedup" hints?](https://www.ruby-forum.com/t/ruby-speedup-hints/132153)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 33\
**Last updated:** [March 20, 2008, 9:27pm UTC](https://www.ruby-forum.com/t/ruby-speedup-hints/132153 "2008-03-20T21:27:15Z")

</div>

Anyone of you has a few hints on how to speed up ruby code? (Note - not writing it, but running it :wink: ) I only have a few hints, like 5… would love to extend it. So without further ado: Using \<\< instead of += f…

---

## [SWIG Passing Ruby structure arrays into C DLL](https://www.ruby-forum.com/t/swig-passing-ruby-structure-arrays-into-c-dll/132503)

<div class="topic-metadata">

**Author:** [@jjrussell](https://www.ruby-forum.com/u/jjrussell)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 7:54pm UTC](https://www.ruby-forum.com/t/swig-passing-ruby-structure-arrays-into-c-dll/132503 "2008-03-20T19:54:52Z")

</div>

I have a structure defined in my DLL typedef struct \_ABC{ int a, b,c; }ABC; And a function void func(int count, ABC \* abc) { ABC \*tempabc = abc; for (int i=0; i\< count; i++) { cout \<\< tempabc-\>a \<\< temp…

---

## [Ruby board game, anyone?](https://www.ruby-forum.com/t/ruby-board-game-anyone/132494)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 1\
**Last updated:** [March 20, 2008, 7:14pm UTC](https://www.ruby-forum.com/t/ruby-board-game-anyone/132494 "2008-03-20T19:14:03Z")

</div>

Maybe off topic, but when I saw this, I thought, “Why isn’t there a Ruby version of this game?” (Or is there?) C-jump is a neat idea, mapping something fun (downhill skiing) with programming. I look at this game an…

---

## [How to get inherited class names?](https://www.ruby-forum.com/t/how-to-get-inherited-class-names/132466)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 3\
**Last updated:** [March 20, 2008, 6:35pm UTC](https://www.ruby-forum.com/t/how-to-get-inherited-class-names/132466 "2008-03-20T18:35:43Z")

</div>

how to get all inherited class names ?

---

## [DevLib: Sharing Library Development Expertise](https://www.ruby-forum.com/t/devlib-sharing-library-development-expertise/132422)

<div class="topic-metadata">

**Author:** [@maraby](https://www.ruby-forum.com/u/maraby)\
**Replies:** 4\
**Last updated:** [March 20, 2008, 6:13pm UTC](https://www.ruby-forum.com/t/devlib-sharing-library-development-expertise/132422 "2008-03-20T18:13:59Z")

</div>

= DevLib == Sharing Library Development Expertise It’s my pleasure to announce the beginning of a simple documentation project to help beginners and seasoned developers alike with common problems and introductory mat…

---

## [Google Summer of Code 2008?](https://www.ruby-forum.com/t/google-summer-of-code-2008/132326)

<div class="topic-metadata">

**Author:** [@Chiyuan\_Z](https://www.ruby-forum.com/u/Chiyuan_Z)\
**Replies:** 8\
**Last updated:** [March 20, 2008, 3:48pm UTC](https://www.ruby-forum.com/t/google-summer-of-code-2008/132326 "2008-03-20T15:48:01Z")

</div>

Hi, Ruby community is participating Google Summer of Code through Ruby Central. However, although project ideas of other organizations have been announced, I found that there’s still no under the Ruby Central page. …

---

## [Regexp conditional](https://www.ruby-forum.com/t/regexp-conditional/132340)

<div class="topic-metadata">

**Author:** [@ciapecki](https://www.ruby-forum.com/u/ciapecki)\
**Replies:** 9\
**Last updated:** [March 20, 2008, 1:31pm UTC](https://www.ruby-forum.com/t/regexp-conditional/132340 "2008-03-20T13:31:04Z")

</div>

Hi, How could I easily do the following?: input = ‘111|“aaaa” bbbbb|c’ I would like to get as output following: output = ‘111|""“aaa”" bbbbb"|c’ to correct wrongly prepared pipe separated file with enclosing the eq…

---

## [Avast 4.7 serial](https://www.ruby-forum.com/t/avast-4-7-serial/132458)

<div class="topic-metadata">

**Author:** [@Mervin](https://www.ruby-forum.com/u/Mervin)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 10:52am UTC](https://www.ruby-forum.com/t/avast-4-7-serial/132458 "2008-03-20T10:52:48Z")

</div>

Download Avast 4.7 serial http://serials.00bp.com/avast4.7serial.html

---

## [Kaspersky Anti-Virus 6.0.2.621 serial](https://www.ruby-forum.com/t/kaspersky-anti-virus-6-0-2-621-serial/132457)

<div class="topic-metadata">

**Author:** [@Mervin](https://www.ruby-forum.com/u/Mervin)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 10:50am UTC](https://www.ruby-forum.com/t/kaspersky-anti-virus-6-0-2-621-serial/132457 "2008-03-20T10:50:54Z")

</div>

Download Kaspersky Anti-Virus 6.0.2.621 serial http://serials.00bp.com/KasperskyAnti-Virus6.0.2.621serial.html

---

## [About for loop](https://www.ruby-forum.com/t/about-for-loop/132448)

<div class="topic-metadata">

**Author:** [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Replies:** 1\
**Last updated:** [March 20, 2008, 8:53am UTC](https://www.ruby-forum.com/t/about-for-loop/132448 "2008-03-20T08:53:27Z")

</div>

for i in 0…5 print i end it show me ‘012345’. and then I want to show ‘543210’ and I try. for i in 5…0 print i end it doesn’t work :’(. how can I do it??

---

## [RubyInline 3.6.7 Released](https://www.ruby-forum.com/t/rubyinline-3-6-7-released/132451)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 8:45am UTC](https://www.ruby-forum.com/t/rubyinline-3-6-7-released/132451 "2008-03-20T08:45:48Z")

</div>

RubyInline version 3.6.7 has been released! http://rubyforge.org/projects/rubyinline/ http://rubyinline.rubyforge.org/RubyInline/ http://www.zenspider.com/ZSS/Products/RubyInline/ removed\_email\_address@domain.invalid R…

---

## [ZenTest 3.9.2 Released](https://www.ruby-forum.com/t/zentest-3-9-2-released/132450)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 8:35am UTC](https://www.ruby-forum.com/t/zentest-3-9-2-released/132450 "2008-03-20T08:35:14Z")

</div>

ZenTest version 3.9.2 has been released! http://www.zenspider.com/ZSS/Products/ZenTest/ http://rubyforge.org/projects/zentest/ removed\_email\_address@domain.invalid ZenTest provides 4 different tools and 1 library: zen…

---

## [Invoking a windows application (e.g notepad) from ruby](https://www.ruby-forum.com/t/invoking-a-windows-application-e-g-notepad-from-ruby/132418)

<div class="topic-metadata">

**Author:** [@anukulsinghal](https://www.ruby-forum.com/u/anukulsinghal)\
**Replies:** 4\
**Last updated:** [March 20, 2008, 8:01am UTC](https://www.ruby-forum.com/t/invoking-a-windows-application-e-g-notepad-from-ruby/132418 "2008-03-20T08:01:14Z")

</div>

Hi, I wanted to know if there is any utility present in ruby through which we can invoke an external windows app (notepad.exe) or any exe. Can anyone please help me with the relevant code in ruby which can do so? Th…

---

## [Problem in using typedef with c++](https://www.ruby-forum.com/t/problem-in-using-typedef-with-c/132352)

<div class="topic-metadata">

**Author:** [@tonyaim83](https://www.ruby-forum.com/u/tonyaim83)\
**Replies:** 4\
**Last updated:** [March 20, 2008, 6:20am UTC](https://www.ruby-forum.com/t/problem-in-using-typedef-with-c/132352 "2008-03-20T06:20:25Z")

</div>

Hi My code is as follows :- example.h #include"iostream.h" using namespace std; typedef int MYINT; void sum(MYINT a, MYINT b); example.cpp #include"example.h" void sum(MYINT a, MYINT b) { MYINT c; c=a +b; co…

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

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