# Ruby

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

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

---

## [Editing a FAT/FAT32 Partition Table](https://www.ruby-forum.com/t/editing-a-fat-fat32-partition-table/191885)

<div class="topic-metadata">

**Author:** [@stedwick](https://www.ruby-forum.com/u/stedwick)\
**Replies:** 4\
**Last updated:** [July 24, 2010, 11:43pm UTC](https://www.ruby-forum.com/t/editing-a-fat-fat32-partition-table/191885 "2010-07-24T23:43:51Z")

</div>

Hi, I’m starting a little project for myself which basically involves reorganising the entries in a FAT/FAT32 table. My reason is simple. I have a car stereo that reads SD cards, but will only play the songs in the…

---

## [Client-side Ruby on iPad/iPhone?](https://www.ruby-forum.com/t/client-side-ruby-on-ipad-iphone/191736)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 11\
**Last updated:** [July 24, 2010, 11:22pm UTC](https://www.ruby-forum.com/t/client-side-ruby-on-ipad-iphone/191736 "2010-07-24T23:22:12Z")

</div>

I’ve seen jRuby and IronRuby, and really want to use them since i really really hate javascript and since so much of a modern web app winds up on the client sideâ€¦but none of the client-side ruby solutions I’ve found …

---

## [Error installing json with igem](https://www.ruby-forum.com/t/error-installing-json-with-igem/192131)

<div class="topic-metadata">

**Author:** [@acampos](https://www.ruby-forum.com/u/acampos)\
**Replies:** 4\
**Last updated:** [July 24, 2010, 6:14pm UTC](https://www.ruby-forum.com/t/error-installing-json-with-igem/192131 "2010-07-24T18:14:16Z")

</div>

When attempting: igem install json I get an error stating “ERROR: Failed to build gem native extension.” I have installed some other gems ok and using the plain old Ruby “gem install json” works. Is there something …

---

## [Comparison of ways to install Tk](https://www.ruby-forum.com/t/comparison-of-ways-to-install-tk/192113)

<div class="topic-metadata">

**Author:** [@ericrchr](https://www.ruby-forum.com/u/ericrchr)\
**Replies:** 2\
**Last updated:** [July 24, 2010, 4:58pm UTC](https://www.ruby-forum.com/t/comparison-of-ways-to-install-tk/192113 "2010-07-24T16:58:10Z")

</div>

In the recent discussion of installing Tk in a Windows Ruby installation, I learned of the existence of tk-win. I already knew about tk\_as\_gem and ffi-tk. What are the advantages and disadvantages of each one? Also, …

---

## [ReverseEng an Object's methods?](https://www.ruby-forum.com/t/reverseeng-an-objects-methods/192115)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [July 24, 2010, 4:37pm UTC](https://www.ruby-forum.com/t/reverseeng-an-objects-methods/192115 "2010-07-24T16:37:38Z")

</div>

Could there (ever) be a way to reverse engineer, (to code), an object’s methods? In the case where the object/module has been extended? Is this more possible with 1.9.n? MarkT

---

## [Tryruby error](https://www.ruby-forum.com/t/tryruby-error/192132)

<div class="topic-metadata">

**Author:** [@realdaniel](https://www.ruby-forum.com/u/realdaniel)\
**Replies:** 3\
**Last updated:** [July 24, 2010, 4:26pm UTC](https://www.ruby-forum.com/t/tryruby-error/192132 "2010-07-24T16:26:33Z")

</div>

How to insert the double quotes here? I cant pass this level

---

## [Mirah mailing list](https://www.ruby-forum.com/t/mirah-mailing-list/192051)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [July 24, 2010, 2:59pm UTC](https://www.ruby-forum.com/t/mirah-mailing-list/192051 "2010-07-24T14:59:00Z")

</div>

Is there a new mailing list for Mirah? I can’t figure out how to subscribe to the one on kenai, and it won’t allow me to post through the web interface. My question was if it supports blocks and/or procs or not. Than…

---

## [Send your IronRuby usage and quotes](https://www.ruby-forum.com/t/send-your-ironruby-usage-and-quotes/191791)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 6\
**Last updated:** [July 24, 2010, 2:31pm UTC](https://www.ruby-forum.com/t/send-your-ironruby-usage-and-quotes/191791 "2010-07-24T14:31:18Z")

</div>

All, It’s that time again, where I ask everyone to post what specifically you use IronRuby for, your opinions about IronRuby, or anything you want to say about the project. Just reply to this thread with what you wan…

---

## [How to convert the string?](https://www.ruby-forum.com/t/how-to-convert-the-string/192088)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 10\
**Last updated:** [July 24, 2010, 11:40am UTC](https://www.ruby-forum.com/t/how-to-convert-the-string/192088 "2010-07-24T11:40:57Z")

</div>

i want to convert a string “-34\\n \\302\\240” into “-34” irb(main):001:0\> “-34\\n \\302\\240”.gsub(’\\302\\240’,’’).strip.chomp =\> “-34\\n \\302\\240” how to convert it? thinks for your help.

---

## [Ruby sandbox secure enough for evaluating any code?](https://www.ruby-forum.com/t/ruby-sandbox-secure-enough-for-evaluating-any-code/192074)

<div class="topic-metadata">

**Author:** [@Ehsanul\_H](https://www.ruby-forum.com/u/Ehsanul_H)\
**Replies:** 2\
**Last updated:** [July 24, 2010, 10:50am UTC](https://www.ruby-forum.com/t/ruby-sandbox-secure-enough-for-evaluating-any-code/192074 "2010-07-24T10:50:01Z")

</div>

I’d like a sandbox that simply disallows system calls, like creating files etc, so that anybody can supply some code that can be eval-ed within the sandbox, with no known potential for harm. I know about safe levels, …

---

## [Memory leak when define & undefine ruby classes](https://www.ruby-forum.com/t/memory-leak-when-define-undefine-ruby-classes/191992)

<div class="topic-metadata">

**Author:** [@xli](https://www.ruby-forum.com/u/xli)\
**Replies:** 2\
**Last updated:** [July 24, 2010, 8:27am UTC](https://www.ruby-forum.com/t/memory-leak-when-define-undefine-ruby-classes/191992 "2010-07-24T08:27:47Z")

</div>

Hi I need create ruby class at runtime and undefine it after used it. I found JRuby never release the memory of created class, even there is nothing referencing it. I created a simple ruby script to reproduce the pro…

---

## [Text to Binary](https://www.ruby-forum.com/t/text-to-binary/191989)

<div class="topic-metadata">

**Author:** [@thegag96](https://www.ruby-forum.com/u/thegag96)\
**Replies:** 12\
**Last updated:** [July 24, 2010, 6:00am UTC](https://www.ruby-forum.com/t/text-to-binary/191989 "2010-07-24T06:00:54Z")

</div>

Hi! I’m new to the forums. I’m also a bit new to Ruby. I already know most of the basics. At the moment, I’m wondering how to convert text to binary in Ruby. As in, encoding text into binary as shown here: http://hom…

---

## [Why does attr\_accessor create a property, but method is just a 	method?](https://www.ruby-forum.com/t/why-does-attr-accessor-create-a-property-but-method-is-just-a-method/191979)

<div class="topic-metadata">

**Author:** [@bguan](https://www.ruby-forum.com/u/bguan)\
**Replies:** 18\
**Last updated:** [July 24, 2010, 4:00am UTC](https://www.ruby-forum.com/t/why-does-attr-accessor-create-a-property-but-method-is-just-a-method/191979 "2010-07-24T04:00:57Z")

</div>

This is a cross-post from Stack Overflow, but I haven’t heard a peep there, so I figured I’d try here: I am playing around with the interop between C# and IronRuby. I have noticed that if I define a property in Ruby…

---

## [Rmagick for Ruby 1.8.6 won't work for Ruby 1.8.7?](https://www.ruby-forum.com/t/rmagick-for-ruby-1-8-6-wont-work-for-ruby-1-8-7/192112)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 5\
**Last updated:** [July 24, 2010, 2:10am UTC](https://www.ruby-forum.com/t/rmagick-for-ruby-1-8-6-wont-work-for-ruby-1-8-7/192112 "2010-07-24T02:10:19Z")

</div>

if i install 2.12.0 binary gem for Ruby 1.8.6 2009-10-04 16:05 RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip which is from http://rubyforge.org/frs/?group\_id=12&release\_id=43232 then when i use ruby 1.8.7 to require …

---

## [Determining the Source File of a Class](https://www.ruby-forum.com/t/determining-the-source-file-of-a-class/192108)

<div class="topic-metadata">

**Author:** [@alangano](https://www.ruby-forum.com/u/alangano)\
**Replies:** 2\
**Last updated:** [July 23, 2010, 11:31pm UTC](https://www.ruby-forum.com/t/determining-the-source-file-of-a-class/192108 "2010-07-23T23:31:04Z")

</div>

I’m trying to debug a bug where I seem to have a class that has two defintions, the one I know of, and another one, somewhere, the one I’m getting when I attempt to use the class. Given a class, is there a way to get …

---

## [Rake-remote\_task 2.0.1 Released](https://www.ruby-forum.com/t/rake-remote-task-2-0-1-released/192109)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 11:02pm UTC](https://www.ruby-forum.com/t/rake-remote-task-2-0-1-released/192109 "2010-07-23T23:02:22Z")

</div>

rake-remote\_task version 2.0.1 has been released! http://rubyhitsquad.com/ http://rubyforge.org/projects/hitsquad/ Vlad the Deployer’s sexy brainchild is rake-remote\_task, extending Rake with remote task goodness. C…

---

## [Issue with paths starting with \\ to ruby programs run by jruby.exe and jruby.bat](https://www.ruby-forum.com/t/issue-with-paths-starting-with-to-ruby-programs-run-by-jruby-exe-and-jruby-bat/192103)

<div class="topic-metadata">

**Author:** [@colinbm](https://www.ruby-forum.com/u/colinbm)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 8:41pm UTC](https://www.ruby-forum.com/t/issue-with-paths-starting-with-to-ruby-programs-run-by-jruby-exe-and-jruby-bat/192103 "2010-07-23T20:41:18Z")

</div>

My apologies if this is known and/or not an “issue”. (I had a quick look through maybe possible issue categories in the codehaus Issues Navigator, including all the Windows issues, but I couldn’t see anything similar …

---

## [HTTP\_HOST variable not available in rack using jruby-rack](https://www.ruby-forum.com/t/http-host-variable-not-available-in-rack-using-jruby-rack/192033)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 3\
**Last updated:** [July 23, 2010, 8:21pm UTC](https://www.ruby-forum.com/t/http-host-variable-not-available-in-rack-using-jruby-rack/192033 "2010-07-23T20:21:59Z")

</div>

Hi, Jruby 1.4, Rails 2.3.8, Java 1.6, Solaris, Tomcat 5.5 Seeing an issue where we are tryign to force the cookie domain in Rack, however the env\[“HTTP\_HOST”\] is not being passed for some reason. env\[ “HTTP\_HOST”\] sh…

---

## [How to build and install Ruby](https://www.ruby-forum.com/t/how-to-build-and-install-ruby/192060)

<div class="topic-metadata">

**Author:** [@svrich](https://www.ruby-forum.com/u/svrich)\
**Replies:** 1\
**Last updated:** [July 23, 2010, 7:56pm UTC](https://www.ruby-forum.com/t/how-to-build-and-install-ruby/192060 "2010-07-23T19:56:13Z")

</div>

Roger P. wrote: Rich L. wrote: Roger P. wrote: I downloaded 1.9.1p429 from Downloads then downloaded “â—¦Ruby/Tk environment” from from Ruby/Tk-Kit for RubyInstaller 1.9.1p378rc2 - Ruby - Ruby-Forum Ok, I go…

---

## [Trace calls in a module](https://www.ruby-forum.com/t/trace-calls-in-a-module/192097)

<div class="topic-metadata">

**Author:** [@flamingsole](https://www.ruby-forum.com/u/flamingsole)\
**Replies:** 2\
**Last updated:** [July 23, 2010, 7:08pm UTC](https://www.ruby-forum.com/t/trace-calls-in-a-module/192097 "2010-07-23T19:08:02Z")

</div>

How do you do the equivalent of include in a module? I would like to trace all the calls in a module. There is an example for how to do this as a mixin for a class in the pick axe, but how do I do it for a module? Can…

---

## [wxRuby listcontrol](https://www.ruby-forum.com/t/wxruby-listcontrol/192099)

<div class="topic-metadata">

**Author:** [@bxling](https://www.ruby-forum.com/u/bxling)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 6:35pm UTC](https://www.ruby-forum.com/t/wxruby-listcontrol/192099 "2010-07-23T18:35:26Z")

</div>

new to ruby, have succesfully created a frame and populated a Listcrl. but the vertical scroll bar doesnt respond to mouse? I had assumed it was integral with the Wx::ListCCtrl? Do I need some event?

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/192086)

<div class="topic-metadata">

**Author:** [@seth666](https://www.ruby-forum.com/u/seth666)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 3:41pm UTC](https://www.ruby-forum.com/t/unsubscribe/192086 "2010-07-23T15:41:13Z")

</div>

unsubscribe

---

## [Using classes from jar depending on classes from different jar](https://www.ruby-forum.com/t/using-classes-from-jar-depending-on-classes-from-different-jar/192034)

<div class="topic-metadata">

**Author:** [@OndSSSSSej\_KuSSSSer](https://www.ruby-forum.com/u/OndSSSSSej_KuSSSSer)\
**Replies:** 1\
**Last updated:** [July 23, 2010, 3:13pm UTC](https://www.ruby-forum.com/t/using-classes-from-jar-depending-on-classes-from-different-jar/192034 "2010-07-23T15:13:24Z")

</div>

Hello, I have the following problem. Say I have two Java classes, Foo and Bar, where Bar depends on Foo (it contains private static Foo foo = new Foo();). Each of these classes (they are from the same package “p” but …

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/192084)

<div class="topic-metadata">

**Author:** [@edmoss](https://www.ruby-forum.com/u/edmoss)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 2:43pm UTC](https://www.ruby-forum.com/t/unsubscribe/192084 "2010-07-23T14:43:17Z")

</div>

unsubscribe

---

## [Documentation from inside irb](https://www.ruby-forum.com/t/documentation-from-inside-irb/192026)

<div class="topic-metadata">

**Author:** [@eugen](https://www.ruby-forum.com/u/eugen)\
**Replies:** 6\
**Last updated:** [July 23, 2010, 1:59pm UTC](https://www.ruby-forum.com/t/documentation-from-inside-irb/192026 "2010-07-23T13:59:38Z")

</div>

Hi, is there a way to call ri documentation from irb ? Something like: shell\>irb irb(main):001:0\> help inspect NameError: undefined method execute' for moduleIRB::ExtendCommand::Help’ from (eval):4:in instance\_meth…

---

## [Work from your home awesome earnings no investment](https://www.ruby-forum.com/t/work-from-your-home-awesome-earnings-no-investment/192076)

<div class="topic-metadata">

**Author:** [@mohanraj\_kasi](https://www.ruby-forum.com/u/mohanraj_kasi)\
**Replies:** 0\
**Last updated:** [July 23, 2010, 11:30am UTC](https://www.ruby-forum.com/t/work-from-your-home-awesome-earnings-no-investment/192076 "2010-07-23T11:30:57Z")

</div>

WORK FROM YOUR HOME AWESOME EARNINGS NO INVESTMENT Work with online free cpa network learn how to work from your home by using cpa offers Great payout methods( cheque,paypal,wire transfer) No investment Earn from $2-…

---

## [IronRuby, Silverlight and executing code dynamically in the browser](https://www.ruby-forum.com/t/ironruby-silverlight-and-executing-code-dynamically-in-the-browser/192030)

<div class="topic-metadata">

**Author:** [@Jonas\_FollesSSSS](https://www.ruby-forum.com/u/Jonas_FollesSSSS)\
**Replies:** 2\
**Last updated:** [July 23, 2010, 11:13am UTC](https://www.ruby-forum.com/t/ironruby-silverlight-and-executing-code-dynamically-in-the-browser/192030 "2010-07-23T11:13:23Z")

</div>

I’m toying around with the idea of a simple in-browser “coding environment” for IronRuby, think JSFiddle but for DLR languages. I’m fairly new to IronRuby, but have lots of Silverlight experience. I have gotten the b…

---

## [Snippet to append code to method](https://www.ruby-forum.com/t/snippet-to-append-code-to-method/192070)

<div class="topic-metadata">

**Author:** [@tick](https://www.ruby-forum.com/u/tick)\
**Replies:** 1\
**Last updated:** [July 23, 2010, 11:02am UTC](https://www.ruby-forum.com/t/snippet-to-append-code-to-method/192070 "2010-07-23T11:02:16Z")

</div>

Hello from Germany, I’m looking for a brief snippet that I’ve seen somewhere lately, but can’t remember where. It did override Object so one could add code to an existing method - without just overriding it. Anyone …

---

## [Hash Problem](https://www.ruby-forum.com/t/hash-problem/192071)

<div class="topic-metadata">

**Author:** [@amiref](https://www.ruby-forum.com/u/amiref)\
**Replies:** 2\
**Last updated:** [July 23, 2010, 10:44am UTC](https://www.ruby-forum.com/t/hash-problem/192071 "2010-07-23T10:44:21Z")

</div>

Hi How can I a hash with one key and some( for example 5 ) value?

---

## [Code Review: R19](https://www.ruby-forum.com/t/code-review-r19/192064)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [July 23, 2010, 8:53am UTC](https://www.ruby-forum.com/t/code-review-r19/192064 "2010-07-23T08:53:28Z")

</div>

tfpt review “/shelveset:R19;REDMOND\\tomat” Comment : Implements to\_path on File and Dir methods. Implements stack probing to avoid hard stack overflow. Fixes bunch of bugs. Tomas

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

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