# Ruby

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

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

---

## [Split question](https://www.ruby-forum.com/t/split-question/176907)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 5\
**Last updated:** [October 8, 2009, 12:03am UTC](https://www.ruby-forum.com/t/split-question/176907 "2009-10-08T00:03:04Z")

</div>

Hi all, I try to split a line that is separated by ‘tab’ and expect return an array with all the elements containing empty space. But my code doesn’t work. Any idea? Thanks, Li C:\\Documents and Settings\\chen41\\Desk…

---

## [Does Ruby have a 'which' like method](https://www.ruby-forum.com/t/does-ruby-have-a-which-like-method/176853)

<div class="topic-metadata">

**Author:** [@Scott\_G\_Smith](https://www.ruby-forum.com/u/Scott_G_Smith)\
**Replies:** 4\
**Last updated:** [October 7, 2009, 11:02pm UTC](https://www.ruby-forum.com/t/does-ruby-have-a-which-like-method/176853 "2009-10-07T23:02:50Z")

</div>

Most UNIX shells have a which command. It tells me the file which corresponds to a shell command. Demo: which date /bin/date In ruby, Suppose I’m dealing with a String. This String has had some methods mixed-in. F…

---

## [Disabling tainting](https://www.ruby-forum.com/t/disabling-tainting/176744)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 16\
**Last updated:** [October 7, 2009, 10:38pm UTC](https://www.ruby-forum.com/t/disabling-tainting/176744 "2009-10-07T22:38:43Z")

</div>

Would it make sense to have a flag passed to the interpreter on startup that would allow you to disable tainting? The goal would be to eliminate the performance losses caused by this esoteric and not particularly use…

---

## [Errors with monitor](https://www.ruby-forum.com/t/errors-with-monitor/176857)

<div class="topic-metadata">

**Author:** [@russellf](https://www.ruby-forum.com/u/russellf)\
**Replies:** 1\
**Last updated:** [October 7, 2009, 10:25pm UTC](https://www.ruby-forum.com/t/errors-with-monitor/176857 "2009-10-07T22:25:50Z")

</div>

getting this error in a synchronize call: /usr/lib/ruby/1.8/monitor.rb:212:in mon\_enter': undefined method+’ for nil:NilClass (NoMethodError) from /usr/lib/ruby/1.8/monitor.rb:236:in \`synchronize’ class definition is…

---

## [Ruby Marshal unexpected results](https://www.ruby-forum.com/t/ruby-marshal-unexpected-results/176888)

<div class="topic-metadata">

**Author:** [@aaronvb](https://www.ruby-forum.com/u/aaronvb)\
**Replies:** 5\
**Last updated:** [October 7, 2009, 8:29pm UTC](https://www.ruby-forum.com/t/ruby-marshal-unexpected-results/176888 "2009-10-07T20:29:20Z")

</div>

Hi there, For a Rails project, I’m trying to serialize some data in a hash, using Marshal. However, this data is getting serialized in unexpected ways. I’m not sure if there’s a problem with Marshal, my data, or me. I…

---

## [Fwd: JRuby 1.4.0RC1 - changes to embedding?](https://www.ruby-forum.com/t/fwd-jruby-1-4-0rc1-changes-to-embedding/176850)

<div class="topic-metadata">

**Author:** [@trejkaz](https://www.ruby-forum.com/u/trejkaz)\
**Replies:** 1\
**Last updated:** [October 7, 2009, 6:39pm UTC](https://www.ruby-forum.com/t/fwd-jruby-1-4-0rc1-changes-to-embedding/176850 "2009-10-07T18:39:51Z")

</div>

In the RC1 release thread, Thomas E Enebo removed\_email\_address@domain.invalid wrote: Bug reports welcome and requested! Please try your apps against 1.4.0RC1 ASAP and report problems Not sure if these count, but th…

---

## [RubyGems woes](https://www.ruby-forum.com/t/rubygems-woes/176302)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 7\
**Last updated:** [October 7, 2009, 6:19pm UTC](https://www.ruby-forum.com/t/rubygems-woes/176302 "2009-10-07T18:19:56Z")

</div>

We’re trying to support both MRI and JRuby for a project, and have a number of “internal” gems our software is packaged into. What would be great is a means to have variadic gem dependencies, selected based on the c…

---

## [Wx::Choice Items generated from lookup table, later need id's of choices](https://www.ruby-forum.com/t/wx-choice-items-generated-from-lookup-table-later-need-ids-of-choices/176890)

<div class="topic-metadata">

**Author:** [@inertia](https://www.ruby-forum.com/u/inertia)\
**Replies:** 2\
**Last updated:** [October 7, 2009, 5:58pm UTC](https://www.ruby-forum.com/t/wx-choice-items-generated-from-lookup-table-later-need-ids-of-choices/176890 "2009-10-07T17:58:51Z")

</div>

Hi, I'm using ActiveRecord for db access..... If I have a table, fruits, with fields ID, name; and values: ID,Name 1,Apple 2,Orange 3,Banana And another, people, with ID,name, fruit\_id And I populate a Wx::Choice wi…

---

## [Soap4r Version in jruby-complete and recent Netbeans Versions](https://www.ruby-forum.com/t/soap4r-version-in-jruby-complete-and-recent-netbeans-versions/176878)

<div class="topic-metadata">

**Author:** [@Paul\_F\_Fraser](https://www.ruby-forum.com/u/Paul_F_Fraser)\
**Replies:** 1\
**Last updated:** [October 7, 2009, 5:47pm UTC](https://www.ruby-forum.com/t/soap4r-version-in-jruby-complete-and-recent-netbeans-versions/176878 "2009-10-07T17:47:07Z")

</div>

Hi, Is there a reason for the latest JRuby downloads containing v1.5.5 of soap4r instead of the latest 1.5.8 Thanks Paul F Fraser To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage\_ema…

---

## [New to ruby, have a question](https://www.ruby-forum.com/t/new-to-ruby-have-a-question/176814)

<div class="topic-metadata">

**Author:** [@martinmike2](https://www.ruby-forum.com/u/martinmike2)\
**Replies:** 3\
**Last updated:** [October 7, 2009, 5:16pm UTC](https://www.ruby-forum.com/t/new-to-ruby-have-a-question/176814 "2009-10-07T17:16:45Z")

</div>

Hello, I am trying to put together a RoR app using the REVE gem for the online game EVE. My problem is that I am getting the Stringify Keys error. CODE char\_sheet.erb.html \<% require ‘reve’ %\> \<%= session\[:char\_…

---

## [New rubier and sql](https://www.ruby-forum.com/t/new-rubier-and-sql/176862)

<div class="topic-metadata">

**Author:** [@gmichelson](https://www.ruby-forum.com/u/gmichelson)\
**Replies:** 2\
**Last updated:** [October 7, 2009, 4:36pm UTC](https://www.ruby-forum.com/t/new-rubier-and-sql/176862 "2009-10-07T16:36:14Z")

</div>

Hi everyone, Iv inherited some ruby code that talks to a sql db and iv never used ruby before. Ive tried to poke around to understand where the error below is coming from but to no result. C:/ruby/lib/ruby/site\_ruby…

---

## [THE COMPLEAT RUBYIST: training with Black/Brown/McAnally, FL, Jan 2010](https://www.ruby-forum.com/t/the-compleat-rubyist-training-with-black-brown-mcanally-fl-jan-2010/176884)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 1\
**Last updated:** [October 7, 2009, 4:00pm UTC](https://www.ruby-forum.com/t/the-compleat-rubyist-training-with-black-brown-mcanally-fl-jan-2010/176884 "2009-10-07T16:00:34Z")

</div>

Imagine spending two days exploring Ruby with the authors of: The Well-Grounded Rubyist Ruby Best Practices Ruby in Practice Now imagine it in a warm city in January… THE COMPLEAT RUBYIST THE COMPLEAT RUB…

---

## [C# running ruby scripts give error: no such file to load](https://www.ruby-forum.com/t/c-running-ruby-scripts-give-error-no-such-file-to-load/176840)

<div class="topic-metadata">

**Author:** [@skyrebel](https://www.ruby-forum.com/u/skyrebel)\
**Replies:** 3\
**Last updated:** [October 7, 2009, 3:46pm UTC](https://www.ruby-forum.com/t/c-running-ruby-scripts-give-error-no-such-file-to-load/176840 "2009-10-07T15:46:09Z")

</div>

Hello ironruby user, Here I am with another question. This is a problem I ran in a few weeks ago, found a workaround, but this workaround is far from perfect. As some might already know, I am building an C# applicatio…

---

## [Re: Re: JRuby IP Bind](https://www.ruby-forum.com/t/re-re-jruby-ip-bind/176877)

<div class="topic-metadata">

**Author:** [@bluetrust](https://www.ruby-forum.com/u/bluetrust)\
**Replies:** 0\
**Last updated:** [October 7, 2009, 1:15pm UTC](https://www.ruby-forum.com/t/re-re-jruby-ip-bind/176877 "2009-10-07T13:15:28Z")

</div>

On Mi 07/10/09 12:37 , Homer S. removed\_email\_address@domain.invalid wrote: To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage\_email ---- Msg sent via @Mail - http://atmail.com/ To uns…

---

## [JRuby IP Bind](https://www.ruby-forum.com/t/jruby-ip-bind/176830)

<div class="topic-metadata">

**Author:** [@homerlex](https://www.ruby-forum.com/u/homerlex)\
**Replies:** 4\
**Last updated:** [October 7, 2009, 12:37pm UTC](https://www.ruby-forum.com/t/jruby-ip-bind/176830 "2009-10-07T12:37:15Z")

</div>

Trying to run a rails app with JRuby and have it bind to 0.0.0.0. After I run the command: jruby script\\server -p 3305 I see that it binds to 127: TCP 127.0.0.1:3305 0.0.0.0:0 LISTENING When…

---

## [ActionWebService - need response in XML](https://www.ruby-forum.com/t/actionwebservice-need-response-in-xml/176860)

<div class="topic-metadata">

**Author:** [@srikanth\_j](https://www.ruby-forum.com/u/srikanth_j)\
**Replies:** 1\
**Last updated:** [October 7, 2009, 10:27am UTC](https://www.ruby-forum.com/t/actionwebservice-need-response-in-xml/176860 "2009-10-07T10:27:47Z")

</div>

Hi i have used actionwebservice gem. I have processed a SOAP request & in the service api i expect an api\_key & url. class ServicesApi \< ActionWebService::API::Base api\_method :verify\_url, :expects =\> \[{:api\_key=\>:…

---

## [Call Ruby file from HTML](https://www.ruby-forum.com/t/call-ruby-file-from-html/176827)

<div class="topic-metadata">

**Author:** [@yousef\_1987](https://www.ruby-forum.com/u/yousef_1987)\
**Replies:** 3\
**Last updated:** [October 7, 2009, 9:24am UTC](https://www.ruby-forum.com/t/call-ruby-file-from-html/176827 "2009-10-07T09:24:45Z")

</div>

hi everybody is there a possible to call Ruby file from HTML file , and how I can do that. thanks in Advance

---

## [How to not display output of a system call](https://www.ruby-forum.com/t/how-to-not-display-output-of-a-system-call/176838)

<div class="topic-metadata">

**Author:** [@jhero](https://www.ruby-forum.com/u/jhero)\
**Replies:** 10\
**Last updated:** [October 7, 2009, 8:10am UTC](https://www.ruby-forum.com/t/how-to-not-display-output-of-a-system-call/176838 "2009-10-07T08:10:28Z")

</div>

Lets say I have a Windows command line program that runs the following: system(“del \*.txt”) How do I NOT display the output from the del command? Thank you.

---

## [Creating a pacifier in command line program](https://www.ruby-forum.com/t/creating-a-pacifier-in-command-line-program/176837)

<div class="topic-metadata">

**Author:** [@jhero](https://www.ruby-forum.com/u/jhero)\
**Replies:** 6\
**Last updated:** [October 7, 2009, 8:06am UTC](https://www.ruby-forum.com/t/creating-a-pacifier-in-command-line-program/176837 "2009-10-07T08:06:57Z")

</div>

I am trying to create a program that, at one part, replaces already displayed on the line with another. For example: Lets say the program is recursing directories. It should display: checking c:\\Program Files\\ then…

---

## [Pik 0.1.0 Released](https://www.ruby-forum.com/t/pik-0-1-0-released/176123)

<div class="topic-metadata">

**Author:** [@gordon321](https://www.ruby-forum.com/u/gordon321)\
**Replies:** 2\
**Last updated:** [October 7, 2009, 7:17am UTC](https://www.ruby-forum.com/t/pik-0-1-0-released/176123 "2009-10-07T07:17:47Z")

</div>

pik version 0.1.0 has been released! http://github.com/vertiginous/pik Pik is a tool to switch between multiple versions of ruby on Windows. Or to put it another way doskey rvm=pik $\* # (sort of) You have to te…

---

## [Hudson appears to be stuck, again](https://www.ruby-forum.com/t/hudson-appears-to-be-stuck-again/176804)

<div class="topic-metadata">

**Author:** [@JSSSSrg\_W\_Mittag](https://www.ruby-forum.com/u/JSSSSrg_W_Mittag)\
**Replies:** 3\
**Last updated:** [October 7, 2009, 6:15am UTC](https://www.ruby-forum.com/t/hudson-appears-to-be-stuck-again/176804 "2009-10-07T06:15:44Z")

</div>

Hi all, I just wanted to get my fresh JRuby fix from http://jruby.headius.com:8080/hudson/job/jruby-dist/ (I closely follow the latest development, but my computer is too slow to continuously rebuild JRuby myself) an…

---

## [Loofah 0.3.0 Released](https://www.ruby-forum.com/t/loofah-0-3-0-released/176859)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 0\
**Last updated:** [October 7, 2009, 6:11am UTC](https://www.ruby-forum.com/t/loofah-0-3-0-released/176859 "2009-10-07T06:11:38Z")

</div>

loofah version 0.3.0 has been released! http://loofah.rubyforge.org http://rubyforge.org/projects/loofah http://github.com/flavorjones/loofah Loofah is an HTML sanitizer. It will always fix broken markup, but can als…

---

## [Rails on Ruby 1.9](https://www.ruby-forum.com/t/rails-on-ruby-1-9/176851)

<div class="topic-metadata">

**Author:** [@Rajinder\_Y](https://www.ruby-forum.com/u/Rajinder_Y)\
**Replies:** 2\
**Last updated:** [October 7, 2009, 5:20am UTC](https://www.ruby-forum.com/t/rails-on-ruby-1-9/176851 "2009-10-07T05:20:42Z")

</div>

I am wondering if Rails has been ported successfully to run on Ruby 1.9, and what web-servers run Ruby 1.9 without issues, at least for playing around with. On the Rails website I don’t see any mention of Ruby 1.9 su…

---

## [\[Bug #2179\] 1.9.2$B$K$\*$$$F(B block $B$N%9%3!\<%W$,$\*$+$7$$$H$-$,$"$k(B](https://www.ruby-forum.com/t/bug-2179-1-9-2-b-k-f-b-block-b-n-9-3-w-7-h-k-b/176810)

<div class="topic-metadata">

**Author:** [@SSSSSSSSSSSSSSS\_S\_S](https://www.ruby-forum.com/u/SSSSSSSSSSSSSSS_S_S)\
**Replies:** 3\
**Last updated:** [October 7, 2009, 2:19am UTC](https://www.ruby-forum.com/t/bug-2179-1-9-2-b-k-f-b-block-b-n-9-3-w-7-h-k-b/176810 "2009-10-07T02:19:49Z")

</div>

Bug #2179: 1.9.2e$B$K$$$$Fe(B block e$B$N%9%3!\<%W$,$$+$7$$$H$-$,$"$ke(B http://redmine.ruby-lang.org/issues/show/2179 e$B5/I\<\<Te(B: e$B1WN4e(B e$B;0B\<e(B e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.…

---

## [Building from source](https://www.ruby-forum.com/t/building-from-source/176834)

<div class="topic-metadata">

**Author:** [@Rajinder\_Y](https://www.ruby-forum.com/u/Rajinder_Y)\
**Replies:** 2\
**Last updated:** [October 7, 2009, 2:13am UTC](https://www.ruby-forum.com/t/building-from-source/176834 "2009-10-07T02:13:22Z")

</div>

Do I need to consider anything if I were to build the latest 1.9 Ruby stable from source. I currently have Ruby 1.8 installed using the package manager on my Kubuntu. I know I can install 1.9 from my package manager. …

---

## [Rails scaffold and Oracle: TemplateError](https://www.ruby-forum.com/t/rails-scaffold-and-oracle-templateerror/176769)

<div class="topic-metadata">

**Author:** [@arung](https://www.ruby-forum.com/u/arung)\
**Replies:** 1\
**Last updated:** [October 7, 2009, 12:05am UTC](https://www.ruby-forum.com/t/rails-scaffold-and-oracle-templateerror/176769 "2009-10-07T00:05:11Z")

</div>

A simple Rails scaffold running using Oracle database gives the following error: ActionView::TemplateError (book\_url failed to generate from {:controller=\>“books”, :action=\>“show”, :id=\>#\<Book id: #BigDecimal:3feef1e…

---

## [Clogger 0.1.0 for relaxed Rack compatibility](https://www.ruby-forum.com/t/clogger-0-1-0-for-relaxed-rack-compatibility/176841)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [October 6, 2009, 10:56pm UTC](https://www.ruby-forum.com/t/clogger-0-1-0-for-relaxed-rack-compatibility/176841 "2009-10-06T22:56:05Z")

</div>

Clogger is Rack middleware for logging HTTP requests. The log format is customizable so you can specify exactly which fields to log. http://clogger.rubyforge.org/ removed\_email\_address@domain.invalid git://git.bogomi…

---

## [\[ANN\] ffi 0.5.0](https://www.ruby-forum.com/t/ann-ffi-0-5-0/176843)

<div class="topic-metadata">

**Author:** [@gendag](https://www.ruby-forum.com/u/gendag)\
**Replies:** 0\
**Last updated:** [October 6, 2009, 10:48pm UTC](https://www.ruby-forum.com/t/ann-ffi-0-5-0/176843 "2009-10-06T22:48:01Z")

</div>

ffi version 0.5.0 by Wayne M. http://wiki.github.com/ffi/ffi == DESCRIPTION Ruby-FFI is a ruby extension for programmatically loading dynamic libraries, binding functions within them, and calling those functions fr…

---

## [Confused and Dazed](https://www.ruby-forum.com/t/confused-and-dazed/176741)

<div class="topic-metadata">

**Author:** [@virgin](https://www.ruby-forum.com/u/virgin)\
**Replies:** 9\
**Last updated:** [October 6, 2009, 10:12pm UTC](https://www.ruby-forum.com/t/confused-and-dazed/176741 "2009-10-06T22:12:11Z")

</div>

Hello everyone, I guess I am looking for an overview of IronRuby. My impression was that one could use it to compile ruby apps using VS.NET. using the VS IDE with debugging and Intellisense. Is this correct or is Ir…

---

## [Build server](https://www.ruby-forum.com/t/build-server/176729)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 1\
**Last updated:** [October 6, 2009, 9:11pm UTC](https://www.ruby-forum.com/t/build-server/176729 "2009-10-06T21:11:53Z")

</div>

Hi The automated builds for mono were offline for a while, but I’ve just finished setting up a hudson instance and making that build again. I’ve also added builds for caricature there. If you have a project that you …

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

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