# Ruby

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

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

---

## [Wondering how many will go with C#, after IronRuby arrives](https://www.ruby-forum.com/t/wondering-how-many-will-go-with-c-after-ironruby-arrives/140747)

<div class="topic-metadata">

**Author:** [@webreservoir](https://www.ruby-forum.com/u/webreservoir)\
**Replies:** 35\
**Last updated:** [June 18, 2008, 10:33pm UTC](https://www.ruby-forum.com/t/wondering-how-many-will-go-with-c-after-ironruby-arrives/140747 "2008-06-18T22:33:43Z")

</div>

Ruby and IronRuby are the best thing happened to us. We had no options in the past to work with asp.net except Vb.net and C#. And to my knowledge Vb.Net community was silently forced to switchover to C#, by making mor…

---

## [Regular expression](https://www.ruby-forum.com/t/regular-expression/140818)

<div class="topic-metadata">

**Author:** [@Petr\_D](https://www.ruby-forum.com/u/Petr_D)\
**Replies:** 5\
**Last updated:** [June 18, 2008, 10:27pm UTC](https://www.ruby-forum.com/t/regular-expression/140818 "2008-06-18T22:27:48Z")

</div>

Hello Suppose I have a string with some repeating patterns: string = “some miscellaneous text \[sdfsdf.wer\], some more miscellaneous text \[vbnfg.thy\], and yet more text \[jkhjkhjk.345\]” I want catch all instances of “…

---

## [Regex: splitting conditionally on |](https://www.ruby-forum.com/t/regex-splitting-conditionally-on/140728)

<div class="topic-metadata">

**Author:** [@computorist](https://www.ruby-forum.com/u/computorist)\
**Replies:** 3\
**Last updated:** [June 18, 2008, 7:25pm UTC](https://www.ruby-forum.com/t/regex-splitting-conditionally-on/140728 "2008-06-18T19:25:59Z")

</div>

I’m parsing mediawiki markup and I’d like to split a multi-line string on | (vertical-bar), but only if it isn’t contained w/in another pattern. | name1 = value1 | name2 = value2 | name3 = value3 | name4 = \[\[foo|bar…

---

## [\[Bug:trunk\] confusion about treating filesystem encoding](https://www.ruby-forum.com/t/bug-trunk-confusion-about-treating-filesystem-encoding/140744)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 2\
**Last updated:** [June 18, 2008, 6:39pm UTC](https://www.ruby-forum.com/t/bug-trunk-confusion-about-treating-filesystem-encoding/140744 "2008-06-18T18:39:15Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B e$B$V$i2\<$2$I$3$m$,7h$a@Z$l$J$+$C$?e(B e$B@hF|@.@%$5$s$,F~$l$F$/$@$5$C$?e(Bfilesystem encodinge$BBP1~$G$9$,!"e(B rb\_encodinge$B$He(Bencoding indexe$B$r:.F1$7$F$$$^$9!#e(…

---

## [Object not missing constant... what am I doing wrong?](https://www.ruby-forum.com/t/object-not-missing-constant-what-am-i-doing-wrong/140734)

<div class="topic-metadata">

**Author:** [@Teleolurian](https://www.ruby-forum.com/u/Teleolurian)\
**Replies:** 3\
**Last updated:** [June 18, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/object-not-missing-constant-what-am-i-doing-wrong/140734 "2008-06-18T18:30:59Z")

</div>

Background: I’m using ActiveRecord to handle some bulk uploads. I decided it would be a good idea to put all my models into subfolders, then load them with autoload \[essentially, so I can namespace everything into a m…

---

## [Evil Fun with IronRuby](https://www.ruby-forum.com/t/evil-fun-with-ironruby/140791)

<div class="topic-metadata">

**Author:** [@Joe\_F](https://www.ruby-forum.com/u/Joe_F)\
**Replies:** 2\
**Last updated:** [June 18, 2008, 6:09pm UTC](https://www.ruby-forum.com/t/evil-fun-with-ironruby/140791 "2008-06-18T18:09:41Z")

</div>

Hey all, I posted the results of some recent experimenting with IronRuby to my blog at: http://faithfulgeek.org/2008/6/17/evil-fun-with-ironruby. My question is, how do these things work under the covers? Do .NET …

---

## [DNS-SD Gem (0.6.0) on OSX Leopard 10.5.3](https://www.ruby-forum.com/t/dns-sd-gem-0-6-0-on-osx-leopard-10-5-3/140783)

<div class="topic-metadata">

**Author:** [@Don\_L](https://www.ruby-forum.com/u/Don_L)\
**Replies:** 1\
**Last updated:** [June 18, 2008, 5:24pm UTC](https://www.ruby-forum.com/t/dns-sd-gem-0-6-0-on-osx-leopard-10-5-3/140783 "2008-06-18T17:24:09Z")

</div>

Hi All, I am attempting to use the DNS-SD gem to return information about bonjour on Leopard. When I use the command line tool with the command “$ dns-sd -B \_sftp-ssh.\_tcp” I get the following response: Browsing for …

---

## [Etc::Passwd, Etc::Group $B$H$$$&%/%i%9$OB8:\_$7$J$$(B](https://www.ruby-forum.com/t/etc-passwd-etc-group-b-h-i-9-ob8-7-j-b/140651)

<div class="topic-metadata">

**Author:** [@okkez](https://www.ruby-forum.com/u/okkez)\
**Replies:** 3\
**Last updated:** [June 18, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/etc-passwd-etc-group-b-h-i-9-ob8-7-j-b/140651 "2008-06-18T17:14:37Z")

</div>

okkez e$B$G$9!#e(B etc e$B%i%$%V%i%j$N%3%a%s%H$K4V0c$$$,$"$C$?$N$G%Q%C%A$rAw$j$^$9!#e(B 1.8/1.9 e$BN\>J}6&F1$8\>u67$G$9!#e(B Index: ext/etc/etc.c — ext/etc/etc.c (revision 17374) +++ ext/etc/etc.c (working …

---

## [Please connect with me :)](https://www.ruby-forum.com/t/please-connect-with-me/140794)

<div class="topic-metadata">

**Author:** [@thucdat](https://www.ruby-forum.com/u/thucdat)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 4:47pm UTC](https://www.ruby-forum.com/t/please-connect-with-me/140794 "2008-06-18T16:47:10Z")

</div>

Hi, I looked for you on Reunion.com, but you weren’t there. Please connect with me so we can keep in touch. -Dat Do You Know Dat? YES - Connect with Dat, and see who’s searching for you http://www.reunion.com/showI…

---

## [IDE Environments](https://www.ruby-forum.com/t/ide-environments/140793)

<div class="topic-metadata">

**Author:** [@damaris](https://www.ruby-forum.com/u/damaris)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 4:45pm UTC](https://www.ruby-forum.com/t/ide-environments/140793 "2008-06-18T16:45:45Z")

</div>

Hi you all, which is the IDE environment recommended in here for Jruby and jruby on rails? I am trying with: Eclipse: It has been the preferred one for me for traditional Ruby on Rails and it work right on Jruby. Ho…

---

## [Accessing Parent class](https://www.ruby-forum.com/t/accessing-parent-class/140789)

<div class="topic-metadata">

**Author:** [@basic](https://www.ruby-forum.com/u/basic)\
**Replies:** 2\
**Last updated:** [June 18, 2008, 4:19pm UTC](https://www.ruby-forum.com/t/accessing-parent-class/140789 "2008-06-18T16:19:53Z")

</div>

Okay I am a rails guys coming over to ruby, perhaps the wrong way around but hey. I know this is a painfully simple question but I tried google but I dont really know what to search for. is there any way for a sub c…

---

## [Error: Ruby 1.8.7 object allocation during garbage collection phase](https://www.ruby-forum.com/t/error-ruby-1-8-7-object-allocation-during-garbage-collection-phase/140787)

<div class="topic-metadata">

**Author:** [@Daigo\_M](https://www.ruby-forum.com/u/Daigo_M)\
**Replies:** 1\
**Last updated:** [June 18, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/error-ruby-1-8-7-object-allocation-during-garbage-collection-phase/140787 "2008-06-18T15:45:14Z")

</div>

æ£®è„‡ã§ã™ã€‚ Debianã§rubyã‚’ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸åŒ–ã—ã¦ãŠã‚Šã¾ã™ã€‚ãƒ¦ãƒ¼ã‚¶ã‹ã‚‰ã‚¨ãƒ©ãƒ¼å ±å‘ŠãŒã‚ã‚Šã¾ã—ãŸã®ã§ã€ãŠ å°‹ã­ã—ã¾ã™ã€‚ LibXml\[1\]ã‚’æ¬¡ã®ã‚ˆã†ã«ä½¿ã†ã¨ã€ \[BUG\] object allocation d…

---

## [Load jars](https://www.ruby-forum.com/t/load-jars/140784)

<div class="topic-metadata">

**Author:** [@javix](https://www.ruby-forum.com/u/javix)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 2:48pm UTC](https://www.ruby-forum.com/t/load-jars/140784 "2008-06-18T14:48:27Z")

</div>

How could I add jars to my JRuby project (I use the last version 1.1.2 for JRuby, jdk 6 for Java)? I’ve already posted the same topic on www.nabble.com forum but it still does not work. I tried: include Java import…

---

## [Regular Expressions](https://www.ruby-forum.com/t/regular-expressions/140702)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 4\
**Last updated:** [June 18, 2008, 2:23pm UTC](https://www.ruby-forum.com/t/regular-expressions/140702 "2008-06-18T14:23:06Z")

</div>

Hello! I’m trying this problem that says I must match versions in a CSV file, could be anything like: v.6.0.3-3 aajd4-43\_3 ABCD 5.0 ABCDv.5.0 A 3.40 … With the other fields in mind, I thought “heck, looks like v…

---

## [Quick question about how array objects are handled](https://www.ruby-forum.com/t/quick-question-about-how-array-objects-are-handled/140733)

<div class="topic-metadata">

**Author:** [@chance](https://www.ruby-forum.com/u/chance)\
**Replies:** 10\
**Last updated:** [June 18, 2008, 1:49pm UTC](https://www.ruby-forum.com/t/quick-question-about-how-array-objects-are-handled/140733 "2008-06-18T13:49:16Z")

</div>

Btw, thanks in advance for any help - this community seems great! I’m using the following line to try to remove objects from an array that begin with . \_array.each{|item| item.gsub(/^\[.\]\[.\]\*/){|match| \_array.delete(m…

---

## [Gsub and regex](https://www.ruby-forum.com/t/gsub-and-regex/140777)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 2\
**Last updated:** [June 18, 2008, 1:45pm UTC](https://www.ruby-forum.com/t/gsub-and-regex/140777 "2008-06-18T13:45:44Z")

</div>

I’m trying to replace all /\\n / with /\\n/ in a string, but gsub won’t allow a regex as the replacement when a match occurs. I’m getting myself considerably confused about data types and regex, and just plain need some…

---

## [Unicode characters in ruby](https://www.ruby-forum.com/t/unicode-characters-in-ruby/140776)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 1:17pm UTC](https://www.ruby-forum.com/t/unicode-characters-in-ruby/140776 "2008-06-18T13:17:00Z")

</div>

Dear all, Iam in process of parsing xml. I has stored the xml in a stringio buffer and reading the xml character by character. I need to know how to deal with unicode characters here. If unicode characters were pre…

---

## [RE: Using JDBC from JRuby](https://www.ruby-forum.com/t/re-using-jdbc-from-jruby/140773)

<div class="topic-metadata">

**Author:** [@PartogiS\_Joshua](https://www.ruby-forum.com/u/PartogiS_Joshua)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 1:06pm UTC](https://www.ruby-forum.com/t/re-using-jdbc-from-jruby/140773 "2008-06-18T13:06:04Z")

</div>

Sweeet. Just as what I need. Thanks John. I’m going to try it out first.

---

## [Ruby & WMI (win32ole)](https://www.ruby-forum.com/t/ruby-wmi-win32ole/140683)

<div class="topic-metadata">

**Author:** [@rorschach](https://www.ruby-forum.com/u/rorschach)\
**Replies:** 1\
**Last updated:** [June 18, 2008, 12:50pm UTC](https://www.ruby-forum.com/t/ruby-wmi-win32ole/140683 "2008-06-18T12:50:40Z")

</div>

Hi guys, First off, hello :slight\_smile: New to the community, looks very helpful and active indeed… As i say, I am new to Ruby and am trying to port some WMI Powershell code over â€“ I am not having much luck… My go…

---

## [SOAP4R: running wsdl2ruby server/client as https](https://www.ruby-forum.com/t/soap4r-running-wsdl2ruby-server-client-as-https/140770)

<div class="topic-metadata">

**Author:** [@leveret](https://www.ruby-forum.com/u/leveret)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 12:14pm UTC](https://www.ruby-forum.com/t/soap4r-running-wsdl2ruby-server-client-as-https/140770 "2008-06-18T12:14:05Z")

</div>

Is it possible to run a StandaloneServer over HTTPS? I have generated a server and client from a wsdl using wsdl2ruby from the SOAP4R gem, and have got them working successfully over regular http. Is it possible to s…

---

## [Hash, key, problem](https://www.ruby-forum.com/t/hash-key-problem/140766)

<div class="topic-metadata">

**Author:** [@fw59](https://www.ruby-forum.com/u/fw59)\
**Replies:** 4\
**Last updated:** [June 18, 2008, 12:07pm UTC](https://www.ruby-forum.com/t/hash-key-problem/140766 "2008-06-18T12:07:35Z")

</div>

Hallo people, I cant get something done since a while. Its very basic stuff… :frowning: I have the following hash for example : hash = { $-a =\> “info”, $F =\> “another info”} and so on, you get the meaning… Now i use…

---

## [Amrita : how to define the field VALUE of the tag INPUT](https://www.ruby-forum.com/t/amrita-how-to-define-the-field-value-of-the-tag-input/140698)

<div class="topic-metadata">

**Author:** [@randy](https://www.ruby-forum.com/u/randy)\
**Replies:** 2\
**Last updated:** [June 18, 2008, 11:30am UTC](https://www.ruby-forum.com/t/amrita-how-to-define-the-field-value-of-the-tag-input/140698 "2008-06-18T11:30:57Z")

</div>

Hello, I’m using Amrita to build a FORM with some “\<INPUT …\>” fields, I don’t know how to define an identifier for the default value of this input, the field “value”. The following line don’t woks : \< INPUT type=“…

---

## [New episodes of the Ruby Object Model and Metaprogramming screencast are up](https://www.ruby-forum.com/t/new-episodes-of-the-ruby-object-model-and-metaprogramming-screencast-are-up/140746)

<div class="topic-metadata">

**Author:** [@dirtytree](https://www.ruby-forum.com/u/dirtytree)\
**Replies:** 2\
**Last updated:** [June 18, 2008, 11:26am UTC](https://www.ruby-forum.com/t/new-episodes-of-the-ruby-object-model-and-metaprogramming-screencast-are-up/140746 "2008-06-18T11:26:41Z")

</div>

Episode 4, on instance\_ and class\_eval, and episode 5, which shows 9 solutions to a simple problem using various metaprogramming techniques. Dave

---

## [Question about Ruby syntax](https://www.ruby-forum.com/t/question-about-ruby-syntax/140643)

<div class="topic-metadata">

**Author:** [@chance](https://www.ruby-forum.com/u/chance)\
**Replies:** 9\
**Last updated:** [June 18, 2008, 11:25am UTC](https://www.ruby-forum.com/t/question-about-ruby-syntax/140643 "2008-06-18T11:25:57Z")

</div>

Hey guys, I’m just getting my feet wet with Ruby (trying to learn the syntax before jumping off into RoR) but I’m having some difficulty with the parser understanding the order of operation… I have the following code: …

---

## [Hoe 1.6.0 Released](https://www.ruby-forum.com/t/hoe-1-6-0-released/140755)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 9:24am UTC](https://www.ruby-forum.com/t/hoe-1-6-0-released/140755 "2008-06-18T09:24:51Z")

</div>

hoe version 1.6.0 has been released! http://rubyforge.org/projects/seattlerb/ http://seattlerb.rubyforge.org/hoe/ removed\_email\_address@domain.invalid Hoe is a simple rake/rubygems helper for project Rakefiles. It ge…

---

## [Errors with hawler gem on os x 10.5](https://www.ruby-forum.com/t/errors-with-hawler-gem-on-os-x-10-5/140738)

<div class="topic-metadata">

**Author:** [@marfarma](https://www.ruby-forum.com/u/marfarma)\
**Replies:** 3\
**Last updated:** [June 18, 2008, 8:48am UTC](https://www.ruby-forum.com/t/errors-with-hawler-gem-on-os-x-10-5/140738 "2008-06-18T08:48:42Z")

</div>

I wrote this little website spidering script using hawler (sudo gem install --source http://spoofed.org/files/hawler/ hawler) and got it working on windows xp pro. I had to comment out some signal handling in the gem…

---

## [Send\_file confusion](https://www.ruby-forum.com/t/send-file-confusion/196717)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [June 18, 2008, 6:59am UTC](https://www.ruby-forum.com/t/send-file-confusion/196717 "2008-06-18T06:59:16Z")

</div>

Anyone see where I am going wrong here? Error = undefined method \`filename=’ Model class Upload \< ActiveRecord::Base def upload=(upload\_field) self.filename = upload\_field.original\_filename self.content\_type = uplo…

---

## [ANN: Sequel 2.1.0 Released](https://www.ruby-forum.com/t/ann-sequel-2-1-0-released/140705)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 3\
**Last updated:** [June 18, 2008, 5:38am UTC](https://www.ruby-forum.com/t/ann-sequel-2-1-0-released/140705 "2008-06-18T05:38:32Z")

</div>

Sequel is a lightweight database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas. Sequel also includes a lightweight but…

---

## [ZenTest 3.10.0 Released](https://www.ruby-forum.com/t/zentest-3-10-0-released/140739)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 4:34am UTC](https://www.ruby-forum.com/t/zentest-3-10-0-released/140739 "2008-06-18T04:34:04Z")

</div>

ZenTest version 3.10.0 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: ze…

---

## [Miniunit 1.2.1 Released](https://www.ruby-forum.com/t/miniunit-1-2-1-released/140737)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [June 18, 2008, 4:23am UTC](https://www.ruby-forum.com/t/miniunit-1-2-1-released/140737 "2008-06-18T04:23:33Z")

</div>

miniunit version 1.2.1 has been released! http://rubyforge.org/projects/bfts mini/test is a completely minimial drop-in replacement for ruby’s test/unit. This is meant to be clean and easy to use both as a regular t…

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

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