# Ruby

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

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

---

## [Ruby and ksh](https://www.ruby-forum.com/t/ruby-and-ksh/68083)

<div class="topic-metadata">

**Author:** [@ClassRubyExceptionH](https://www.ruby-forum.com/u/ClassRubyExceptionH)\
**Replies:** 4\
**Last updated:** [September 9, 2006, 3:34pm UTC](https://www.ruby-forum.com/t/ruby-and-ksh/68083 "2006-09-09T15:34:23Z")

</div>

Hi All… I have just downloaded the ruby-1.8.5-i386-mswin32.zip file with the hope that I can use ruby under the Interix 2.2 ksh shell implementation. So I created a directory at the C: root C//ksh\_ruby and unzipped t…

---

## [Re: Crashing RubyConf](https://www.ruby-forum.com/t/re-crashing-rubyconf/67923)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 6\
**Last updated:** [September 9, 2006, 2:34pm UTC](https://www.ruby-forum.com/t/re-crashing-rubyconf/67923 "2006-09-09T14:34:21Z")

</div>

From: James B. \[mailto:removed\_email\_address@domain.invalid\] I think the lobby is a public space until you misbehave enough to get tossed out. Same for the bar. So you can catch the hallway track. Is there really a…

---

## [How to determine if a IP addresssis "local"?](https://www.ruby-forum.com/t/how-to-determine-if-a-ip-addresssis-local/67930)

<div class="topic-metadata">

**Author:** [@vtphysguy](https://www.ruby-forum.com/u/vtphysguy)\
**Replies:** 1\
**Last updated:** [September 9, 2006, 2:06pm UTC](https://www.ruby-forum.com/t/how-to-determine-if-a-ip-addresssis-local/67930 "2006-09-09T14:06:19Z")

</div>

Does the ruby standard library or core include a way to determine if a network address is “local”? Specifically, my workplace uses a proxy server for all web traffic. I have several scripts that use open-uri. When the…

---

## [Optional static typing possible for Ruby?](https://www.ruby-forum.com/t/optional-static-typing-possible-for-ruby/67952)

<div class="topic-metadata">

**Author:** [@magpie](https://www.ruby-forum.com/u/magpie)\
**Replies:** 2\
**Last updated:** [September 9, 2006, 2:02pm UTC](https://www.ruby-forum.com/t/optional-static-typing-possible-for-ruby/67952 "2006-09-09T14:02:18Z")

</div>

From http://weblog.infoworld.com/udell/2006/09/06.html: “We saw a hint of this in episode 2 of The Screening Room, on Adobe Flex, when Christophe Coenraets talked about the value of ActionScript 3’s optional static ty…

---

## [(SNMP Library) Get\_Bulk timeout](https://www.ruby-forum.com/t/snmp-library-get-bulk-timeout/68126)

<div class="topic-metadata">

**Author:** [@tobyr](https://www.ruby-forum.com/u/tobyr)\
**Replies:** 0\
**Last updated:** [September 9, 2006, 1:42pm UTC](https://www.ruby-forum.com/t/snmp-library-get-bulk-timeout/68126 "2006-09-09T13:42:46Z")

</div>

Hi all, I appreciate this is a bit of a specialized request, but is anyone using the Get\_Bulk method of the manager class in Ruby SNMP 1.0.0 library? If so , do you find that there is a rather low limit on the number…

---

## [Continuing the next iteration](https://www.ruby-forum.com/t/continuing-the-next-iteration/67964)

<div class="topic-metadata">

**Author:** [@YAD](https://www.ruby-forum.com/u/YAD)\
**Replies:** 8\
**Last updated:** [September 9, 2006, 1:34pm UTC](https://www.ruby-forum.com/t/continuing-the-next-iteration/67964 "2006-09-09T13:34:17Z")

</div>

What’s the Ruby equivalent of “next” in Perl or “continue” in C? Is it possible to continue an outer loop, as in Perl’s “next” with a label argument?

---

## [New Gimp-Ruby binding](https://www.ruby-forum.com/t/new-gimp-ruby-binding/68100)

<div class="topic-metadata">

**Author:** [@slembcke](https://www.ruby-forum.com/u/slembcke)\
**Replies:** 1\
**Last updated:** [September 9, 2006, 1:22pm UTC](https://www.ruby-forum.com/t/new-gimp-ruby-binding/68100 "2006-09-09T13:22:15Z")

</div>

Hi all. I recently finished my Google Summer of Code project, a new Gimp-Ruby binding. http://cda.morris.umn.edu/~lemb0029/gimp-ruby/gimp-ruby-guide.html Note that it was developed against the 2.3 development branch …

---

## [How to test gems installation](https://www.ruby-forum.com/t/how-to-test-gems-installation/68117)

<div class="topic-metadata">

**Author:** [@chell](https://www.ruby-forum.com/u/chell)\
**Replies:** 1\
**Last updated:** [September 9, 2006, 1:02pm UTC](https://www.ruby-forum.com/t/how-to-test-gems-installation/68117 "2006-09-09T13:02:13Z")

</div>

Hello, I’ve just installed Ruby Gems on my OS X machine. Now I’d like to test whether it works or not without downloading a gem (I wouldn’t need it anyways). Is there a way to verify that my installation works? Thank…

---

## [Sun Brings JRuby In-House](https://www.ruby-forum.com/t/sun-brings-jruby-in-house/68123)

<div class="topic-metadata">

**Author:** [@zoat](https://www.ruby-forum.com/u/zoat)\
**Replies:** 0\
**Last updated:** [September 9, 2006, 12:34pm UTC](https://www.ruby-forum.com/t/sun-brings-jruby-in-house/68123 "2006-09-09T12:34:11Z")

</div>

Sun hires the lead developers on the JRuby project to focus on delivering an implementation of Ruby on the Java Virtual Machine. http://www.eweek.com/article2/0,1759,2013651,00.asp?kc=EWRSS03119TX1K0000594 Tim B. (Sun…

---

## [Adobe releases the Ruby on Rails RIA SDK](https://www.ruby-forum.com/t/adobe-releases-the-ruby-on-rails-ria-sdk/68121)

<div class="topic-metadata">

**Author:** [@zoat](https://www.ruby-forum.com/u/zoat)\
**Replies:** 0\
**Last updated:** [September 9, 2006, 12:28pm UTC](https://www.ruby-forum.com/t/adobe-releases-the-ruby-on-rails-ria-sdk/68121 "2006-09-09T12:28:10Z")

</div>

Adobe is releasing the “Ruby on Rails RIA SDK”, and also establishing an open source project to help Ruby on Rails developers get started with Adobe Flex. If you’re interested, you can participate by joining the Ruby …

---

## [Gem instal error](https://www.ruby-forum.com/t/gem-instal-error/68109)

<div class="topic-metadata">

**Author:** [@Benjohn\_B](https://www.ruby-forum.com/u/Benjohn_B)\
**Replies:** 2\
**Last updated:** [September 9, 2006, 10:30am UTC](https://www.ruby-forum.com/t/gem-instal-error/68109 "2006-09-09T10:30:09Z")

</div>

I’m trying to instal a couple of gems this morning. Here’s a log… Tarragon:/Users/benjohn root# gem instal wirble ERROR: While executing gem … (SocketError) getaddrinfo: No address associated with nodename I’m gue…

---

## [Rb\_big\_pow() dumps core](https://www.ruby-forum.com/t/rb-big-pow-dumps-core/68114)

<div class="topic-metadata">

**Author:** [@URABE\_Shyouhei](https://www.ruby-forum.com/u/URABE_Shyouhei)\
**Replies:** 0\
**Last updated:** [September 9, 2006, 10:17am UTC](https://www.ruby-forum.com/t/rb-big-pow-dumps-core/68114 "2006-09-09T10:17:59Z")

</div>

1.8e$B$Ge(Bautobuild/chkbuilde$B$,e(B\[BUG\]e$B$rJs9p$7$F$$$^$9!#e(B e$B$;$a$Fe(Bmake teste$B$/$i$$$O3NG’$7$F$+$i%3%\_%C%H$7$F$\[$7$$$H;W$&$o$1$G$9$,!"e(B e$B2?$+$NM}M3$G:$Fq$J$N$G$9$+e(B? Program received signal EXC\_BAD…

---

## [Alias comma](https://www.ruby-forum.com/t/alias-comma/68090)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 4\
**Last updated:** [September 9, 2006, 6:53am UTC](https://www.ruby-forum.com/t/alias-comma/68090 "2006-09-09T06:53:50Z")

</div>

Too small I think to post an actual RCR. alias :this, :that =\> parse error, unexpected ‘,’ Can we get alias to handle a comma, please. T.

---

## [Capturing stderr from Kernel.exec](https://www.ruby-forum.com/t/capturing-stderr-from-kernel-exec/68097)

<div class="topic-metadata">

**Author:** [@phillyloco](https://www.ruby-forum.com/u/phillyloco)\
**Replies:** 2\
**Last updated:** [September 9, 2006, 6:09am UTC](https://www.ruby-forum.com/t/capturing-stderr-from-kernel-exec/68097 "2006-09-09T06:09:47Z")

</div>

Hello, I’m trying to run some simple commands using Kernel.exec but need to capture the stderr for them. Is there an (easy) way to do it with just ruby and the standard library or should I get open4? Thanks, -carl

---

## [OT: Windows equivalent of -ps](https://www.ruby-forum.com/t/ot-windows-equivalent-of-ps/67996)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 10\
**Last updated:** [September 9, 2006, 5:57am UTC](https://www.ruby-forum.com/t/ot-windows-equivalent-of-ps/67996 "2006-09-09T05:57:46Z")

</div>

Sorry, but googling doesn’t seem to be leading me anywhere. I have a number o Ruby examples from books that demonstrate things using the Unix ps command for system status. Can someone please tell me what is the equi…

---

## [Re: ruby and ksh](https://www.ruby-forum.com/t/re-ruby-and-ksh/68086)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 1\
**Last updated:** [September 9, 2006, 2:55am UTC](https://www.ruby-forum.com/t/re-ruby-and-ksh/68086 "2006-09-09T02:55:29Z")

</div>

From: ClassRubyExceptionHandline \[mailto:removed\_email\_address@domain.invalid\] Hi All… I have just downloaded the ruby-1.8.5-i386-mswin32.zip file with the hope that I can use ruby under the Interix 2.2 ksh shell imp…

---

## [Rush - Is it still active?](https://www.ruby-forum.com/t/rush-is-it-still-active/68089)

<div class="topic-metadata">

**Author:** [@redct](https://www.ruby-forum.com/u/redct)\
**Replies:** 4\
**Last updated:** [September 9, 2006, 2:38am UTC](https://www.ruby-forum.com/t/rush-is-it-still-active/68089 "2006-09-09T02:38:25Z")

</div>

Hello, I was wondering if anyone out there was still working on RUSH (the Ruby Shell). It looks like the CVS repo on rubyforge was abandoned for darcs running on magical-cat.org (which is down and has been for some …

---

## [Unit test an output with puts](https://www.ruby-forum.com/t/unit-test-an-output-with-puts/68069)

<div class="topic-metadata">

**Author:** [@blair](https://www.ruby-forum.com/u/blair)\
**Replies:** 6\
**Last updated:** [September 9, 2006, 1:59am UTC](https://www.ruby-forum.com/t/unit-test-an-output-with-puts/68069 "2006-09-09T01:59:24Z")

</div>

Hi, I want to be able to unit/test an output with the method ‘puts’. Here’s a small example of what I’m trying to achieve: #-------8\<-------- class Foo def output puts “bar” end end #-------8\<-------- …and in m…

---

## [Ruby on Windows](https://www.ruby-forum.com/t/ruby-on-windows/68059)

<div class="topic-metadata">

**Author:** [@henrys](https://www.ruby-forum.com/u/henrys)\
**Replies:** 6\
**Last updated:** [September 9, 2006, 1:31am UTC](https://www.ruby-forum.com/t/ruby-on-windows/68059 "2006-09-09T01:31:21Z")

</div>

I have two problems with my Ruby for Windows (1.8.4): When I double-click on a file with .rb extention a DOS-like window appears and dissapears immediately. I am not able to see results. The Windows command (which…

---

## [Compiling Ruby-1.8.5 on AIX-5.3](https://www.ruby-forum.com/t/compiling-ruby-1-8-5-on-aix-5-3/67626)

<div class="topic-metadata">

**Author:** [@mehdi](https://www.ruby-forum.com/u/mehdi)\
**Replies:** 2\
**Last updated:** [September 8, 2006, 11:11pm UTC](https://www.ruby-forum.com/t/compiling-ruby-1-8-5-on-aix-5-3/67626 "2006-09-08T23:11:09Z")

</div>

Hi, I tried compiling ruby-1.8.5 on AIX5.3 and everytime it fails saying “unable to compute size of rlim\_t” during the configure command. I was wondering if anybody was able to compile ruby on AIX5.3 and have its bin…

---

## [Re: Combine @item.foo.nil? || @item.foo.empty??](https://www.ruby-forum.com/t/re-combine-item-foo-nil-item-foo-empty/68076)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [September 8, 2006, 10:57pm UTC](https://www.ruby-forum.com/t/re-combine-item-foo-nil-item-foo-empty/68076 "2006-09-08T22:57:07Z")

</div>

unless (@item.foo.nil? || @item.foo.empty?) Is there a way to combine these two OR clauses into one? You could always modify nil so that empty? worked for it: irb(main):001:0\> a = nil =\> nil irb(main):002:0\> a.nil…

---

## [Re: Re : Wirble 0.1.1: Irb Enhancements for the Masses](https://www.ruby-forum.com/t/re-re-wirble-0-1-1-irb-enhancements-for-the-masses/68067)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 2\
**Last updated:** [September 8, 2006, 10:53pm UTC](https://www.ruby-forum.com/t/re-re-wirble-0-1-1-irb-enhancements-for-the-masses/68067 "2006-09-08T22:53:07Z")

</div>

From: Paul D. \[mailto:removed\_email\_address@domain.invalid\] http://www.windowsnetworking.com/kbase/WindowsTips/Windows2000 /UserTips/Miscellaneous/CommandInterpreterAnsiSupport.html I’ll add this to the documentation…

---

## [RMagick .psd to .jpg cannot load in browsers](https://www.ruby-forum.com/t/rmagick-psd-to-jpg-cannot-load-in-browsers/68052)

<div class="topic-metadata">

**Author:** [@icvu](https://www.ruby-forum.com/u/icvu)\
**Replies:** 1\
**Last updated:** [September 8, 2006, 9:18pm UTC](https://www.ruby-forum.com/t/rmagick-psd-to-jpg-cannot-load-in-browsers/68052 "2006-09-08T21:18:57Z")

</div>

Hello Everyone, I am new to the group and I hope someone can help me. I have been working on a project that requires me to convert images from one file format to the other. More specifically, from .psd to .jpg. I use …

---

## [Test and exceptions](https://www.ruby-forum.com/t/test-and-exceptions/68061)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [September 8, 2006, 9:16pm UTC](https://www.ruby-forum.com/t/test-and-exceptions/68061 "2006-09-08T21:16:56Z")

</div>

Hi In the file testcase.rb that is part of the Test module why are only the AssertionFailedError, StandardError and ScriptError exceptions caught? Shouldn’t snippet one (see below) be changed to snippet two (see below…

---

## [Mrelation does not exist](https://www.ruby-forum.com/t/mrelation-does-not-exist/68024)

<div class="topic-metadata">

**Author:** [@aladrin](https://www.ruby-forum.com/u/aladrin)\
**Replies:** 6\
**Last updated:** [September 8, 2006, 9:06pm UTC](https://www.ruby-forum.com/t/mrelation-does-not-exist/68024 "2006-09-08T21:06:16Z")

</div>

Okay I originally posted the following in the rails forum, which was the wrong place to post it as I’m not using Rails (that thread just happens to be what came up in Google). Perhaps one of you could help me C:\\Docu…

---

## [LDAP and DSML](https://www.ruby-forum.com/t/ldap-and-dsml/68066)

<div class="topic-metadata">

**Author:** [@blackhedd](https://www.ruby-forum.com/u/blackhedd)\
**Replies:** 0\
**Last updated:** [September 8, 2006, 8:47pm UTC](https://www.ruby-forum.com/t/ldap-and-dsml/68066 "2006-09-08T20:47:43Z")

</div>

All, does anyone use the Oasis DSML standard? It’s a mapping between standard LDAP/LDIF operations and data structures to XML. There are some Java tools that handle DSML. I just saw a requirement for accessing an LDAP …

---

## [St. Paul, MN next week](https://www.ruby-forum.com/t/st-paul-mn-next-week/67995)

<div class="topic-metadata">

**Author:** [@robkuz](https://www.ruby-forum.com/u/robkuz)\
**Replies:** 3\
**Last updated:** [September 8, 2006, 8:40pm UTC](https://www.ruby-forum.com/t/st-paul-mn-next-week/67995 "2006-09-08T20:40:53Z")

</div>

Hi, are there still some Ruby activists in Twin Cities? All info I found on the web seems a bit dated. In any case, I’m traveling to St. Paul next week and if there is interest in meeting we can certainly arrange s…

---

## [Getnameinfo: ai\_family not supported (SocketError)](https://www.ruby-forum.com/t/getnameinfo-ai-family-not-supported-socketerror/67216)

<div class="topic-metadata">

**Author:** [@ASSSBradbury](https://www.ruby-forum.com/u/ASSSBradbury)\
**Replies:** 5\
**Last updated:** [September 8, 2006, 8:26pm UTC](https://www.ruby-forum.com/t/getnameinfo-ai-family-not-supported-socketerror/67216 "2006-09-08T20:26:50Z")

</div>

When trying to run gem\_server on either of my gentoo systems, I get the following: \[2006-09-01 11:08:44\] INFO WEBrick 1.3.1 \[2006-09-01 11:08:44\] INFO ruby 1.8.4 (2005-12-24) \[i686-linux\] /usr/lib/ruby/1.8/webrick/…

---

## [Safe domain specific language implementation](https://www.ruby-forum.com/t/safe-domain-specific-language-implementation/68060)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 0\
**Last updated:** [September 8, 2006, 8:20pm UTC](https://www.ruby-forum.com/t/safe-domain-specific-language-implementation/68060 "2006-09-08T20:20:52Z")

</div>

Greeting All, I am trying to write code that will interpret user submitted scripts in a secure way. I have a limited set of functions that they should be able to call to change various states. I also need the usual …

---

## [Wxruby + scripts -\> single executable?](https://www.ruby-forum.com/t/wxruby-scripts-single-executable/68055)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [September 8, 2006, 8:10pm UTC](https://www.ruby-forum.com/t/wxruby-scripts-single-executable/68055 "2006-09-08T20:10:48Z")

</div>

Is there some way to bundle wxruby and associated application scripts into a single executable image ?? (like tclkit does for tcl/tk: Tclkit application runtime) Stuart

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

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