# Ruby

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

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

---

## [Bootstrap test failed](https://www.ruby-forum.com/t/bootstrap-test-failed/150209)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 0\
**Last updated:** [October 6, 2008, 3:15am UTC](https://www.ruby-forum.com/t/bootstrap-test-failed/150209 "2008-10-06T03:15:38Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B e$B:G6a!"e(Bbootstrapteste$B$,\<:GT$9$k$h$&$K$J$j$^$7$?!#e(B e$B$I$&$d$ie(B\[ruby-dev:32581\]e$B$He(B\[ruby-dev:32404\]e$B$NLdBj$,I|3h$7$F$$e(B e$B$k$h$&$G$9!#$?$@!"C1BN$G\<B9T$9$k$H%(%i!\<$…

---

## [Re\[jruby-user\] quire tk](https://www.ruby-forum.com/t/re-jruby-user-quire-tk/150200)

<div class="topic-metadata">

**Author:** [@ggumas](https://www.ruby-forum.com/u/ggumas)\
**Replies:** 1\
**Last updated:** [October 6, 2008, 3:13am UTC](https://www.ruby-forum.com/t/re-jruby-user-quire-tk/150200 "2008-10-06T03:13:18Z")

</div>

when using require ‘rubygems’ require ‘tk’ in a jruby script I get the error message require’: no such file to load – tk (LoadError) How can I resolve this error? George – View this message in context: http://…

---

## [Places that are hiring in my area](https://www.ruby-forum.com/t/places-that-are-hiring-in-my-area/150207)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [October 6, 2008, 2:00am UTC](https://www.ruby-forum.com/t/places-that-are-hiring-in-my-area/150207 "2008-10-06T02:00:44Z")

</div>

. . . Enough to seek places that are hiring! You’ve already found the best site! Visit link below! http://med247.us/?p=job+hiring . . . . . . . . . . . . . . . . . . . . . . . . . . . …

---

## [Great Lakes Ruby Bash -- Great Line-Up of Speakers -- Registration Open (Hurry for Lunch!)](https://www.ruby-forum.com/t/great-lakes-ruby-bash-great-line-up-of-speakers-registration-open-hurry-for-lunch/150197)

<div class="topic-metadata">

**Author:** [@Eric\_I](https://www.ruby-forum.com/u/Eric_I)\
**Replies:** 0\
**Last updated:** [October 5, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/great-lakes-ruby-bash-great-line-up-of-speakers-registration-open-hurry-for-lunch/150197 "2008-10-05T20:38:16Z")

</div>

Registration is open for the Great Lakes Ruby Bash, but given that we have to give our caterer the lunch order in advance, sign up by Monday evening to guarantee your lunch. We have people traveling here to attend fr…

---

## ["ensure" hiding actual error](https://www.ruby-forum.com/t/ensure-hiding-actual-error/149929)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 18\
**Last updated:** [October 5, 2008, 7:56pm UTC](https://www.ruby-forum.com/t/ensure-hiding-actual-error/149929 "2008-10-05T19:56:02Z")

</div>

In my main program I have a “begin ensure end”. The “ensure” releases some resources. If there is a syntax error somewhere deep, the program comes to ‘ensure’ and shows me an error in the ‘ensure’, not the original er…

---

## [Problem installing rubygems in Vista/cygwin](https://www.ruby-forum.com/t/problem-installing-rubygems-in-vista-cygwin/150190)

<div class="topic-metadata">

**Author:** [@pazu](https://www.ruby-forum.com/u/pazu)\
**Replies:** 1\
**Last updated:** [October 5, 2008, 7:40pm UTC](https://www.ruby-forum.com/t/problem-installing-rubygems-in-vista-cygwin/150190 "2008-10-05T19:40:36Z")

</div>

Hello, folks. I’m experiencing some trouble trying to install rubygems-1.3.0 on Windows Vista (under cygwin). The same problem occurs when I try to instal 1.2.0. Here’s what happens: $ ruby setup.rb mkdir -p /usr/li…

---

## [The difference sports gambling online sport book](https://www.ruby-forum.com/t/the-difference-sports-gambling-online-sport-book/150192)

<div class="topic-metadata">

**Author:** [@shiva](https://www.ruby-forum.com/u/shiva)\
**Replies:** 0\
**Last updated:** [October 5, 2008, 6:46pm UTC](https://www.ruby-forum.com/t/the-difference-sports-gambling-online-sport-book/150192 "2008-10-05T18:46:14Z")

</div>

webpage - http;//elemotor.blogspot.com/ The difference sports gambling online sport book The difference sports gambling online sport book no doubt partly sports gambling online sport book to the fact sports gambling…

---

## [Iterate through array and delete if match](https://www.ruby-forum.com/t/iterate-through-array-and-delete-if-match/150124)

<div class="topic-metadata">

**Author:** [@jackster](https://www.ruby-forum.com/u/jackster)\
**Replies:** 7\
**Last updated:** [October 5, 2008, 6:26pm UTC](https://www.ruby-forum.com/t/iterate-through-array-and-delete-if-match/150124 "2008-10-05T18:26:35Z")

</div>

I’m trying to delete elements of an array if they match a string but my code always leaves some matches and I think it’s because it’s having trouble iterating through the same array it is trying to delete from, is tha…

---

## [Rake spec:rcov =\> Segmentation fault ruby 1.8.6 (2007-09-24) \[i386-mswin32\]](https://www.ruby-forum.com/t/rake-spec-rcov-segmentation-fault-ruby-1-8-6-2007-09-24-i386-mswin32/148516)

<div class="topic-metadata">

**Author:** [@scottnj](https://www.ruby-forum.com/u/scottnj)\
**Replies:** 6\
**Last updated:** [October 5, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/rake-spec-rcov-segmentation-fault-ruby-1-8-6-2007-09-24-i386-mswin32/148516 "2008-10-05T17:20:54Z")

</div>

i have a rails app that tests fine with “rake spec” but gets a segmentation fault when “rake spec:rcov” is run. i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5 my app is at http://github.com/scottnj/test\_blog/tr…

---

## [IA-64$B$N%a%s%F%J$K;22C$7$^$9(B](https://www.ruby-forum.com/t/ia-64-b-n-a-s-f-j-k-22c-7-9-b/149503)

<div class="topic-metadata">

**Author:** [@TAKANO\_Mitsuhiro](https://www.ruby-forum.com/u/TAKANO_Mitsuhiro)\
**Replies:** 2\
**Last updated:** [October 5, 2008, 3:39pm UTC](https://www.ruby-forum.com/t/ia-64-b-n-a-s-f-j-k-22c-7-9-b/149503 "2008-10-05T15:39:13Z")

</div>

e$B$3$s$K$A$O!\*$3$s$K$A$O!\*e(B e$B9bLn$G$9!#e(B IA-64e$B$N4D6-$,$G$-$?$N$G%a%s%F%J$KN)8uJd$7$^$9!#e(B e$B$$$^$^$Ge(BRubye$B$K$O$\*@$OC$K$J$j$C$Q$J$7$G2\<$N$G!“2?$+$7$i$N7A$Ge(B e$B%U%#!\<%I%P%C%0$G$-$l$P!”$H;W$$$^$9!#e(…

---

## [Syntax to include custom Java classes](https://www.ruby-forum.com/t/syntax-to-include-custom-java-classes/150145)

<div class="topic-metadata">

**Author:** [@thiagobrandam](https://www.ruby-forum.com/u/thiagobrandam)\
**Replies:** 6\
**Last updated:** [October 5, 2008, 3:04pm UTC](https://www.ruby-forum.com/t/syntax-to-include-custom-java-classes/150145 "2008-10-05T15:04:03Z")

</div>

Hi guys. This is a newbie’s question: how do I do to include custom Java classes in a .rb file? Do I have to make a .jar file and then call a require? If so, what’s the next thing I have to do to use a Java class in t…

---

## [Question regarding sub!()](https://www.ruby-forum.com/t/question-regarding-sub/150177)

<div class="topic-metadata">

**Author:** [@mjcharl](https://www.ruby-forum.com/u/mjcharl)\
**Replies:** 3\
**Last updated:** [October 5, 2008, 1:34pm UTC](https://www.ruby-forum.com/t/question-regarding-sub/150177 "2008-10-05T13:34:21Z")

</div>

Hi, Please excuse the newbie question, but I am confused by something I see with sub!() (this seems to be true with other “!” operations as well): irb(main):001:0\> string1 = “hello” =\> “hello” irb(main):002:0\> stri…

---

## [Code Review: bigdecimal-3](https://www.ruby-forum.com/t/code-review-bigdecimal-3/150170)

<div class="topic-metadata">

**Author:** [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Replies:** 1\
**Last updated:** [October 5, 2008, 7:50am UTC](https://www.ruby-forum.com/t/code-review-bigdecimal-3/150170 "2008-10-05T07:50:48Z")

</div>

tfpt review “/shelveset:bigdecimal-3;REDMOND\\jflam” Comment : Removed static \_config field from Peter Bacon D.'s BigDecimal contribution.

---

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

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [October 5, 2008, 7:20am UTC](https://www.ruby-forum.com/t/code-review-arity/150131 "2008-10-05T07:20:58Z")

</div>

tfpt review “/shelveset:arity;REDMOND\\tomat” Comment : Fixes bugs in block parameters: Anonymous unsplat parameters were not handled correctly (the parser ignored them): def y a = \[1,2,3,4,5\] yield a,\[6\] end y…

---

## [Rcov fails with errors related to rexml](https://www.ruby-forum.com/t/rcov-fails-with-errors-related-to-rexml/150120)

<div class="topic-metadata">

**Author:** [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Replies:** 1\
**Last updated:** [October 5, 2008, 3:31am UTC](https://www.ruby-forum.com/t/rcov-fails-with-errors-related-to-rexml/150120 "2008-10-05T03:31:40Z")

</div>

Running rcov fails during post processing. Anyone has found a fix for this incompatibility problem between rcov 0.8.1.2 and rexml in ruby 1.8.7 ? Thanks for any help. Gaspard versions: rcov 0.8.1.2 2007-11-22 rub…

---

## [Is Assignment in a Conditional an Idiom?](https://www.ruby-forum.com/t/is-assignment-in-a-conditional-an-idiom/150042)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 18\
**Last updated:** [October 5, 2008, 12:10am UTC](https://www.ruby-forum.com/t/is-assignment-in-a-conditional-an-idiom/150042 "2008-10-05T00:10:51Z")

</div>

Hi I was just reading the following blog post Elctech.com is for sale | HugeDomains, and like the author, it is the first time I have seen code as he describes. From the comments it would seem that some think it is …

---

## [Memory usage of jruby on rails](https://www.ruby-forum.com/t/memory-usage-of-jruby-on-rails/149575)

<div class="topic-metadata">

**Author:** [@raphael\_b](https://www.ruby-forum.com/u/raphael_b)\
**Replies:** 7\
**Last updated:** [October 4, 2008, 7:40pm UTC](https://www.ruby-forum.com/t/memory-usage-of-jruby-on-rails/149575 "2008-10-04T19:40:03Z")

</div>

Hi, I’m evaluating Jruby for running a rails pp, and to install the gem, I had to pass the mx flag to java, to make it use 1024M of memory. With 512M, it always raised out of memory exceptions. I’m getting afraid tha…

---

## [Error: ...uninitialized constant Wxruby2](https://www.ruby-forum.com/t/error-uninitialized-constant-wxruby2/150148)

<div class="topic-metadata">

**Author:** [@learner](https://www.ruby-forum.com/u/learner)\
**Replies:** 1\
**Last updated:** [October 4, 2008, 6:55pm UTC](https://www.ruby-forum.com/t/error-uninitialized-constant-wxruby2/150148 "2008-10-04T18:55:28Z")

</div>

I have already installed the wx package with ruby gem: gem install wxruby and now I am trying to run a gui sample program. As follow: require ‘wx’ include Wx class MyFrame \< Frame def initialize() super(nil, -1, ‘…

---

## [Trunk mkmf.rb](https://www.ruby-forum.com/t/trunk-mkmf-rb/150147)

<div class="topic-metadata">

**Author:** [@WATANABE\_Tetsuya](https://www.ruby-forum.com/u/WATANABE_Tetsuya)\
**Replies:** 0\
**Last updated:** [October 4, 2008, 6:46pm UTC](https://www.ruby-forum.com/t/trunk-mkmf-rb/150147 "2008-10-04T18:46:05Z")

</div>

e$BEOJUE/Li$G$9!#e(B trunk e$B$Ge(B extconf.rb e$B$r\<B9T$7$F$G$-$?e(B Makefile e$B$O%(%i!\<$K$J$j$^$9!#e(B config.h e$B$N3JG\<@h$,0c$&$?$a$H;W$$$^$9!#e(B e$B:n$i$l$?e(B Makefile e$B$Ne(B diff e$B$G$9$,!"=$@5$9$k$3$H$G…

---

## [Handling tcl files in ruby](https://www.ruby-forum.com/t/handling-tcl-files-in-ruby/150137)

<div class="topic-metadata">

**Author:** [@salamond](https://www.ruby-forum.com/u/salamond)\
**Replies:** 1\
**Last updated:** [October 4, 2008, 5:54pm UTC](https://www.ruby-forum.com/t/handling-tcl-files-in-ruby/150137 "2008-10-04T17:54:30Z")

</div>

Hi, all. Here’s the problem occurred to me. I’m having several tcl files like this: data { name {jarod} id {1131321} } data { name {hhhh} id {2929292} } I defined a couple of proc like proc data, to auto gener…

---

## [No warning for redefine](https://www.ruby-forum.com/t/no-warning-for-redefine/150082)

<div class="topic-metadata">

**Author:** [@hanholl](https://www.ruby-forum.com/u/hanholl)\
**Replies:** 6\
**Last updated:** [October 4, 2008, 4:45pm UTC](https://www.ruby-forum.com/t/no-warning-for-redefine/150082 "2008-10-04T16:45:51Z")

</div>

Hi, Shouldn’t the following: #!/usr/bin/ruby -w module Mixin def function puts ‘Mixin’ end end include Mixin def function puts ‘Main’ end function end of demo.rb produce something like: demo.rb:9: warning: …

---

## [Module scope not clear to me](https://www.ruby-forum.com/t/module-scope-not-clear-to-me/150132)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 5\
**Last updated:** [October 4, 2008, 2:30pm UTC](https://www.ruby-forum.com/t/module-scope-not-clear-to-me/150132 "2008-10-04T14:30:03Z")

</div>

I had a program which inherits from a superclass. It also has common/convenience methods in a module. require 'common' include 'Common' class Prog \< Application f = Obj.new g = Foo.new #... etc ... Som…

---

## [\[Bug #603\] NKF$B$N7k2L$HJ8;zNs$,O"7k$G$-$J$$(B](https://www.ruby-forum.com/t/bug-603-nkf-b-n7k2l-hj8-zns-o-7k-g-j-b/149514)

<div class="topic-metadata">

**Author:** [@Takeyuki\_F](https://www.ruby-forum.com/u/Takeyuki_F)\
**Replies:** 1\
**Last updated:** [October 4, 2008, 12:07pm UTC](https://www.ruby-forum.com/t/bug-603-nkf-b-n7k2l-hj8-zns-o-7k-g-j-b/149514 "2008-10-04T12:07:27Z")

</div>

Bug #603: NKFe$B$N7k2L$HJ8;zNs$,O"7k$G$-$J$$e(B http://redmine.ruby-lang.org/issues/show/603 e$B5/I\<\<Te(B: Takeyuki F. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Yui NARUSE, e$B%+%F%4%je(B: ext irb(m…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/150134)

<div class="topic-metadata">

**Author:** [@Johanna\_F](https://www.ruby-forum.com/u/Johanna_F)\
**Replies:** 0\
**Last updated:** [October 4, 2008, 8:18am UTC](https://www.ruby-forum.com/t/no-subject/150134 "2008-10-04T08:18:07Z")

</div>

unsuscribe

---

## [Parsing non-delimited text file](https://www.ruby-forum.com/t/parsing-non-delimited-text-file/150014)

<div class="topic-metadata">

**Author:** [@thepanu](https://www.ruby-forum.com/u/thepanu)\
**Replies:** 6\
**Last updated:** [October 4, 2008, 7:35am UTC](https://www.ruby-forum.com/t/parsing-non-delimited-text-file/150014 "2008-10-04T07:35:52Z")

</div>

Following post is a bit lengthy and I am not expecting to get fully working code to solve this problem, rather some pointers on how to approach parsing in this example. I have large text files(s) that I need to parse …

---

## [Content of an array gets cleared](https://www.ruby-forum.com/t/content-of-an-array-gets-cleared/150130)

<div class="topic-metadata">

**Author:** [@parvg](https://www.ruby-forum.com/u/parvg)\
**Replies:** 2\
**Last updated:** [October 4, 2008, 6:16am UTC](https://www.ruby-forum.com/t/content-of-an-array-gets-cleared/150130 "2008-10-04T06:16:38Z")

</div>

Hello, Looking for you suggestions. array = %w(a b c d e) tempArray = array array.clear puts tempArray.length line 4 outputs: 0 Why does my tempArray get cleared also? Any suggestions on how to keep the tempArray c…

---

## [Wsdl2ruby request invalid while soapui's is correct](https://www.ruby-forum.com/t/wsdl2ruby-request-invalid-while-soapuis-is-correct/149731)

<div class="topic-metadata">

**Author:** [@leegodden](https://www.ruby-forum.com/u/leegodden)\
**Replies:** 4\
**Last updated:** [October 4, 2008, 3:58am UTC](https://www.ruby-forum.com/t/wsdl2ruby-request-invalid-while-soapuis-is-correct/149731 "2008-10-04T03:58:32Z")

</div>

\[Apologies if this ends up being a duplicate post. I’ve been waiting for over three hours for my post to appear, so I’m wondering if there is a problem between Nabble and this list.\] I’m trying to use wsdl2ruby with…

---

## [Not sure how to unpack soap4r gem into standard library](https://www.ruby-forum.com/t/not-sure-how-to-unpack-soap4r-gem-into-standard-library/150127)

<div class="topic-metadata">

**Author:** [@nabblee](https://www.ruby-forum.com/u/nabblee)\
**Replies:** 0\
**Last updated:** [October 4, 2008, 3:15am UTC](https://www.ruby-forum.com/t/not-sure-how-to-unpack-soap4r-gem-into-standard-library/150127 "2008-10-04T03:15:46Z")

</div>

I’m running JRuby 1.1.4, which seems to have soap4r 1.5.5 in its library (under the directory soap). I’ve installed the soap4r 1.5.8 gem, but it doesn’t seem to be used (the User Agent shows 1.5.5). I was told to unp…

---

## [Code Review: NoSymbolId1](https://www.ruby-forum.com/t/code-review-nosymbolid1/150121)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 2\
**Last updated:** [October 4, 2008, 2:48am UTC](https://www.ruby-forum.com/t/code-review-nosymbolid1/150121 "2008-10-04T02:48:16Z")

</div>

tfpt review “/shelveset:NoSymbolId1;REDMOND\\tomat” Removes SymbolIds from IronRuby compiler and runtime. Still keeps SymbolId as a representation of Symbol Ruby class. The plan is to replace SymbolId completely by Sys…

---

## [Code Review: bigdecimal-2](https://www.ruby-forum.com/t/code-review-bigdecimal-2/150123)

<div class="topic-metadata">

**Author:** [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Replies:** 4\
**Last updated:** [October 4, 2008, 1:33am UTC](https://www.ruby-forum.com/t/code-review-bigdecimal-2/150123 "2008-10-04T01:33:53Z")

</div>

tfpt review “/shelveset:bigdecimal-2;REDMOND\\jflam” Comment : BigDecimal contribution from Peter Bacon D.

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

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