# Ruby

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

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

---

## [Soap4r problem](https://www.ruby-forum.com/t/soap4r-problem/108325)

<div class="topic-metadata">

**Author:** [@marcin\_r](https://www.ruby-forum.com/u/marcin_r)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 10:29am UTC](https://www.ruby-forum.com/t/soap4r-problem/108325 "2007-07-02T10:29:12Z")

</div>

I generated 3 files from wsdl using ruby4r now when i try to run it, i get correct response and Exception: ============================ ruby -d DetaExchangeClient.rb Set XSD::XMLParser::XMLParser as XML processor. …

---

## [How to import text file and split it up by lines](https://www.ruby-forum.com/t/how-to-import-text-file-and-split-it-up-by-lines/108308)

<div class="topic-metadata">

**Author:** [@desertfox](https://www.ruby-forum.com/u/desertfox)\
**Replies:** 3\
**Last updated:** [July 2, 2007, 9:20am UTC](https://www.ruby-forum.com/t/how-to-import-text-file-and-split-it-up-by-lines/108308 "2007-07-02T09:20:24Z")

</div>

Hello, Im attempting to analyze a text file, but having trouble splitting it up into lines (into an array that indexes each line). Then I would like to print every line. Here is what I got: f = File.open("/Users/jo…

---

## [DBF question](https://www.ruby-forum.com/t/dbf-question/108305)

<div class="topic-metadata">

**Author:** [@coolwong](https://www.ruby-forum.com/u/coolwong)\
**Replies:** 1\
**Last updated:** [July 2, 2007, 7:34am UTC](https://www.ruby-forum.com/t/dbf-question/108305 "2007-07-02T07:34:11Z")

</div>

I wan to built the DBF file format. How can i start to do??? Who can provide some sample code??? Thanks.

---

## [Problems With DirectSound & DL](https://www.ruby-forum.com/t/problems-with-directsound-dl/108315)

<div class="topic-metadata">

**Author:** [@pdubb](https://www.ruby-forum.com/u/pdubb)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 5:42am UTC](https://www.ruby-forum.com/t/problems-with-directsound-dl/108315 "2007-07-02T05:42:45Z")

</div>

Hello Everyone, I'm trying to make an MP3 player in Ruby. I would like to make it in pure Ruby, but I've come to the conclusion that Ruby is too high level to mess around with sound buffers and such. So I'm making …

---

## [Make error at bcc32](https://www.ruby-forum.com/t/make-error-at-bcc32/107827)

<div class="topic-metadata">

**Author:** [@Nebata](https://www.ruby-forum.com/u/Nebata)\
**Replies:** 6\
**Last updated:** [July 2, 2007, 5:23am UTC](https://www.ruby-forum.com/t/make-error-at-bcc32/107827 "2007-07-02T05:23:44Z")

</div>

e$B$M$P$?$G$9!#e(B 1.9 e$B$G!"5W$7$V$j$K!"e(Bbcc32 e$B$Ge(B make e$B$7$h$&$H$7$?$i!"0J2\<$Ne(B e$B%(%i!\<$,=P$^$7$?!#e(B MAKE Version 5.2 Copyright (c) 1987, 2000 Borland Error .//common.mk 615: Redefinition of targe…

---

## [V0,(\*,v1,) = 0 dumps core](https://www.ruby-forum.com/t/v0-v1-0-dumps-core/108289)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 1\
**Last updated:** [July 2, 2007, 5:14am UTC](https://www.ruby-forum.com/t/v0-v1-0-dumps-core/108289 "2007-07-02T05:14:43Z")

</div>

e$B0J2\<$N$h$&$K$9$k$He(B SEGV e$B$7$^$9!#e(B % ./ruby -e ‘v0,(\*,v1,) = 0’ – control frame ---------- c:0001 p:---- s:0001 b:-001 l:000000 d:000000 ------ – backtrace of native function call (Use addr2line) – 0x80f03b…

---

## [Tk TopLevel window](https://www.ruby-forum.com/t/tk-toplevel-window/108230)

<div class="topic-metadata">

**Author:** [@jason](https://www.ruby-forum.com/u/jason)\
**Replies:** 1\
**Last updated:** [July 2, 2007, 4:06am UTC](https://www.ruby-forum.com/t/tk-toplevel-window/108230 "2007-07-02T04:06:39Z")

</div>

I have been searching for awhile but cannot find the answer to my question. I have a TkRoot window that when a button is clicked, a new TkToplevel window is created. I don’t want the user to be able to get focus of t…

---

## [Variable argument number and behaviour \[Newbie\]](https://www.ruby-forum.com/t/variable-argument-number-and-behaviour-newbie/108300)

<div class="topic-metadata">

**Author:** [@creativelogic](https://www.ruby-forum.com/u/creativelogic)\
**Replies:** 4\
**Last updated:** [July 2, 2007, 12:19am UTC](https://www.ruby-forum.com/t/variable-argument-number-and-behaviour-newbie/108300 "2007-07-02T00:19:25Z")

</div>

Hello Everyone, I’m trying to make a function take arguments in a particular way. This is what I want to create: #Variable argument testing def function(\*sometimes) if sometimes.nil? print “Not given!” else print…

---

## [Newbie Question. eval.rb variable scope issue](https://www.ruby-forum.com/t/newbie-question-eval-rb-variable-scope-issue/108264)

<div class="topic-metadata">

**Author:** [@RishelSWes](https://www.ruby-forum.com/u/RishelSWes)\
**Replies:** 15\
**Last updated:** [July 1, 2007, 9:37pm UTC](https://www.ruby-forum.com/t/newbie-question-eval-rb-variable-scope-issue/108264 "2007-07-01T21:37:09Z")

</div>

I am a Python duffer who got interested in Rails an decided to check out Ruby. If there is a preferred way to seek help on this please, let me know. Downloaded & installed the Windows version. ruby -v answers ruby 1.…

---

## [Apt-get installs 1.8.5 on ubuntu 7.0.4](https://www.ruby-forum.com/t/apt-get-installs-1-8-5-on-ubuntu-7-0-4/108245)

<div class="topic-metadata">

**Author:** [@dxk3355](https://www.ruby-forum.com/u/dxk3355)\
**Replies:** 10\
**Last updated:** [July 1, 2007, 9:19pm UTC](https://www.ruby-forum.com/t/apt-get-installs-1-8-5-on-ubuntu-7-0-4/108245 "2007-07-01T21:19:08Z")

</div>

hi! How can I get 1.8.6 installed easily on ubuntu? apt-get installs 1.8.5 (why is that?) Thank you! david

---

## [Chi-square table](https://www.ruby-forum.com/t/chi-square-table/108279)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 5\
**Last updated:** [July 1, 2007, 9:12pm UTC](https://www.ruby-forum.com/t/chi-square-table/108279 "2007-07-01T21:12:07Z")

</div>

Hi all, I need to build a chi-square table with 100 degree of freedom at 0.05,0.01, 0.001 level using Ruby. Does anyone out there know what the formula is for this table ? Thanks, Li

---

## [MasterView 0.3.3 Rails-optimized (x)html template engine](https://www.ruby-forum.com/t/masterview-0-3-3-rails-optimized-x-html-template-engine/176168)

<div class="topic-metadata">

**Author:** [@jbell38](https://www.ruby-forum.com/u/jbell38)\
**Replies:** 0\
**Last updated:** [July 1, 2007, 7:58pm UTC](https://www.ruby-forum.com/t/masterview-0-3-3-rails-optimized-x-html-template-engine/176168 "2007-07-01T19:58:58Z")

</div>

= MasterView - Rails-optimized (x)html friendly template engine MasterView is a template engine plugin that provides another option to the existing rails view templates (rhtml and rxml). This template engine has all t…

---

## [Newby non/programmer trying to understand classes](https://www.ruby-forum.com/t/newby-non-programmer-trying-to-understand-classes/108095)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 14\
**Last updated:** [July 1, 2007, 7:36pm UTC](https://www.ruby-forum.com/t/newby-non-programmer-trying-to-understand-classes/108095 "2007-07-01T19:36:55Z")

</div>

Hello. Brief disclaimer. I’m coming from a bourne shell back ground and currently all of my ruby scripts look like shell scripts where I create methods like i would a shell function and now that I understand some of…

---

## [Ajax with Ruby problem](https://www.ruby-forum.com/t/ajax-with-ruby-problem/107980)

<div class="topic-metadata">

**Author:** [@galecho](https://www.ruby-forum.com/u/galecho)\
**Replies:** 12\
**Last updated:** [July 1, 2007, 7:13pm UTC](https://www.ruby-forum.com/t/ajax-with-ruby-problem/107980 "2007-07-01T19:13:53Z")

</div>

I’m a newbie to both Ruby and Ajax. I’m trying to use Ruby to handle the server side of an Ajax application, but the script doesnt run and instead of the output the source code shows up. I’m running these scripts on A…

---

## [Clearing the RAM](https://www.ruby-forum.com/t/clearing-the-ram/107758)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 7\
**Last updated:** [July 1, 2007, 6:44pm UTC](https://www.ruby-forum.com/t/clearing-the-ram/107758 "2007-07-01T18:44:49Z")

</div>

Hey, I was wondering, is there a way to clear the RAM Ruby uses in some code? For instance, if I read in an entire file into the memory, can I clear the RAM that was used? thanks, ~ Ari English is like a pseudo-ran…

---

## [Given a class, what is the 'require' line?](https://www.ruby-forum.com/t/given-a-class-what-is-the-require-line/108275)

<div class="topic-metadata">

**Author:** [@swaroop](https://www.ruby-forum.com/u/swaroop)\
**Replies:** 9\
**Last updated:** [July 1, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/given-a-class-what-is-the-require-line/108275 "2007-07-01T18:27:46Z")

</div>

Hi all, If there’s a class StringScanner, I run ‘ri StringScanner’ and read the documentation on how to use it, but nowhere it mentions the ‘require’ line needed, how do we usually find it out? I had to google to fin…

---

## [Segv when reentering into Fiber with callcc](https://www.ruby-forum.com/t/segv-when-reentering-into-fiber-with-callcc/105716)

<div class="topic-metadata">

**Author:** [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Replies:** 14\
**Last updated:** [July 1, 2007, 5:32pm UTC](https://www.ruby-forum.com/t/segv-when-reentering-into-fiber-with-callcc/105716 "2007-07-01T17:32:40Z")

</div>

e$B$3$s$P$s$O!"e(Bsheepman e$B$G$9!#e(B e$B=\*N;$7$?e(B Fiber e$B$Ke(B callcc e$B$G:FF~$9$k$He(B segv e$B$7$^$9!#e(B $ cat f.rb Fiber.new do if callcc{|c| $k = c } p 1 else p 3 end end.pass p 2 $k.call $ ruby…

---

## [New File Icon](https://www.ruby-forum.com/t/new-file-icon/108256)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 7\
**Last updated:** [July 1, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/new-file-icon/108256 "2007-07-01T17:31:39Z")

</div>

The default file icon for ruby is a bit ugly. Compare it to Python’s file icon to see what I mean. Are there any plans to change this for 1.9, and if not is there a way to submit an alternative?

---

## [Ruby-oci8 1.0.0-rc3](https://www.ruby-forum.com/t/ruby-oci8-1-0-0-rc3/108273)

<div class="topic-metadata">

**Author:** [@kubo](https://www.ruby-forum.com/u/kubo)\
**Replies:** 0\
**Last updated:** [July 1, 2007, 4:00pm UTC](https://www.ruby-forum.com/t/ruby-oci8-1-0-0-rc3/108273 "2007-07-01T16:00:27Z")

</div>

ruby-oci8 1.0.0-rc3 is released. This is a Oracle module using OCI8 API. http://rubyforge.org/projects/ruby-oci8/ What’s new. support external OS authentication. (suggested by Dan Fitch) conn = OCI8.new(‘/’) or …

---

## [Ruby vs Java (this,self/main)](https://www.ruby-forum.com/t/ruby-vs-java-this-self-main/108191)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 6\
**Last updated:** [July 1, 2007, 3:34pm UTC](https://www.ruby-forum.com/t/ruby-vs-java-this-self-main/108191 "2007-07-01T15:34:26Z")

</div>

First, thank you for any help you can provide. The issue: The jruby version of this java app will not output callbacks in the running thread…or to the running command line process. The java version works, but the r…

---

## [Time.to\_s](https://www.ruby-forum.com/t/time-to-s/108268)

<div class="topic-metadata">

**Author:** [@jonas](https://www.ruby-forum.com/u/jonas)\
**Replies:** 3\
**Last updated:** [July 1, 2007, 12:42pm UTC](https://www.ruby-forum.com/t/time-to-s/108268 "2007-07-01T12:42:09Z")

</div>

I’m overriding Time.to\_s to use a custom date format. The method get’s an argument, nothing in the documentation says that it should. How do I find out what the argument does? Where can I find the sourcecode for the o…

---

## [Newbie Question (gets.chomp)](https://www.ruby-forum.com/t/newbie-question-gets-chomp/108259)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 1\
**Last updated:** [July 1, 2007, 11:47am UTC](https://www.ruby-forum.com/t/newbie-question-gets-chomp/108259 "2007-07-01T11:47:03Z")

</div>

Hiya just hoping someone can shed some light on this. If i were to prompt the user to enter a search parameter to look across a bigger string of text using: print "please enter search term: " stdout.flush string1 …

---

## [Installing Substruct](https://www.ruby-forum.com/t/installing-substruct/108258)

<div class="topic-metadata">

**Author:** [@himtuna](https://www.ruby-forum.com/u/himtuna)\
**Replies:** 1\
**Last updated:** [July 1, 2007, 11:28am UTC](https://www.ruby-forum.com/t/installing-substruct/108258 "2007-07-01T11:28:01Z")

</div>

Dear friends, I am newbie to rails, and wish to get instant gratificatin y installing a shopping cart “substruct” but problem is SVN. Now, what is this SVN and how do I install it on windows platform , and how do I ge…

---

## [Test/spec 0.4, a BDD interface for Test::Unit](https://www.ruby-forum.com/t/test-spec-0-4-a-bdd-interface-for-test-unit/108167)

<div class="topic-metadata">

**Author:** [@cneuhaus](https://www.ruby-forum.com/u/cneuhaus)\
**Replies:** 1\
**Last updated:** [July 1, 2007, 9:50am UTC](https://www.ruby-forum.com/t/test-spec-0-4-a-bdd-interface-for-test-unit/108167 "2007-07-01T09:50:55Z")

</div>

Hello, today I’m releasing test/spec 0.4, a library to do BDD with Test::Unit. == News in 0.4: June 29th, 2007: Fourth public release 0.4. Support for Ruby 1.8.6. Support describe/it/before/after RSpec 1.0 syntax. A…

---

## [Where to start in parsing?](https://www.ruby-forum.com/t/where-to-start-in-parsing/108128)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 9\
**Last updated:** [July 1, 2007, 8:07am UTC](https://www.ruby-forum.com/t/where-to-start-in-parsing/108128 "2007-07-01T08:07:50Z")

</div>

I haven’t programmed in a while, but I want to get back with doing some parsing for a text adventure I want to make. I know it’s not Ruby’s specialty, but it’s nice to try and learn how to do something like this in a …

---

## [Installing mySql GEM on Ubuntu?](https://www.ruby-forum.com/t/installing-mysql-gem-on-ubuntu/108177)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 2\
**Last updated:** [July 1, 2007, 7:53am UTC](https://www.ruby-forum.com/t/installing-mysql-gem-on-ubuntu/108177 "2007-07-01T07:53:49Z")

</div>

I am running Linx Mint, a version of Ubuntu, and I installed Ruby and Rails. However, when I try to install the mySql package via. gem, “gem install mysql” I get an error message (See below) with no idea how to fix …

---

## [$00..0 dumps core](https://www.ruby-forum.com/t/00-0-dumps-core/108252)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 0\
**Last updated:** [July 1, 2007, 1:42am UTC](https://www.ruby-forum.com/t/00-0-dumps-core/108252 "2007-07-01T01:42:28Z")

</div>

e$B1sF#$H?=$7$^$9!#e(B 1.8.6 e$B!"e(B1.9 e$B6&$K0J2\<$N$h$&$K$9$k$HMn$A$^$9!#e(B $ ./ruby -e ‘$00…0’ -e:1: identifier $00 is not valid -e:1: \[BUG\] Segmentation fault ruby 1.8.6 (2007-06-30) \[i686-linux\] e$B%"%!\<%H$7…

---

## [Post\_form not posting to full url](https://www.ruby-forum.com/t/post-form-not-posting-to-full-url/108219)

<div class="topic-metadata">

**Author:** [@putterson](https://www.ruby-forum.com/u/putterson)\
**Replies:** 1\
**Last updated:** [July 1, 2007, 12:49am UTC](https://www.ruby-forum.com/t/post-form-not-posting-to-full-url/108219 "2007-07-01T00:49:24Z")

</div>

I am using Net::HTTP.post\_form to post this form information: { “form\_action” =\> “pet.do\_fight”, “mcid” =\> “9”, “level” =\> “30”, “type” =\> “fightmonster” } to this url: http://neo2.hotornot.com/facebook/pet/?fb\_sig\_i…

---

## [Embedded interpreter within an application exe?](https://www.ruby-forum.com/t/embedded-interpreter-within-an-application-exe/108248)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [July 1, 2007, 12:25am UTC](https://www.ruby-forum.com/t/embedded-interpreter-within-an-application-exe/108248 "2007-07-01T00:25:22Z")

</div>

Hi, Is it possible to deploy on Windows exe including Ruby application code and an embedded interpreter? Cheers aidy

---

## [ANN: Sequel 0.1.7 Released](https://www.ruby-forum.com/t/ann-sequel-0-1-7-released/108240)

<div class="topic-metadata">

**Author:** [@ciconia](https://www.ruby-forum.com/u/ciconia)\
**Replies:** 0\
**Last updated:** [June 30, 2007, 9:17pm UTC](https://www.ruby-forum.com/t/ann-sequel-0-1-7-released/108240 "2007-06-30T21:17:57Z")

</div>

Sequel version 0.1.7 has just been released. This is mainly a bug fix release, but there is also some new functionality, mainly convenience methods, and a new pagination feature. Following is a discussion of the main …

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

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