# Ruby

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

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

---

## [Hartford Ruby Brigade's first meeting: a Tour of Facets](https://www.ruby-forum.com/t/hartford-ruby-brigades-first-meeting-a-tour-of-facets/196606)

<div class="topic-metadata">

**Author:** [@Dan\_Bernier](https://www.ruby-forum.com/u/Dan_Bernier)\
**Replies:** 0\
**Last updated:** [March 11, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/hartford-ruby-brigades-first-meeting-a-tour-of-facets/196606 "2008-03-11T20:40:43Z")

</div>

The Hartford Ruby Brigade is having its first meeting, and we would love for you to attend! The first meeting will have a 45 minute to an hour presentation about the goodness that comes in the Ruby F.s gem. After that…

---

## [Rubygems search path?](https://www.ruby-forum.com/t/rubygems-search-path/131599)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvS\_ue](https://www.ruby-forum.com/u/Une_BSSSSvS_ue)\
**Replies:** 0\
**Last updated:** [March 11, 2008, 8:08pm UTC](https://www.ruby-forum.com/t/rubygems-search-path/131599 "2008-03-11T20:08:21Z")

</div>

the story : i had installed “by hand” xml/smart when using ruby 1.8.6 worked great. today i’ve upgraded ruby 1.8.6 to patch level 111\_1 : ~%\> ruby --version ruby 1.8.6 (2007-09-24 patchlevel 111) \[powerpc-darwin8.11…

---

## [Http://www.ruby-lang.org/ down?](https://www.ruby-forum.com/t/http-www-ruby-lang-org-down/131598)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 0\
**Last updated:** [March 11, 2008, 8:03pm UTC](https://www.ruby-forum.com/t/http-www-ruby-lang-org-down/131598 "2008-03-11T20:03:39Z")

</div>

It appears to be dead. Has this happened before? Is it a radiant problem? t. – Tom C., MS MA, LMHC Private practice Psychotherapist Bellingham, Washington, U.S.A: (360) 920-1226 \<\< removed\_email\_address@domain.invali…

---

## [Please help](https://www.ruby-forum.com/t/please-help/131558)

<div class="topic-metadata">

**Author:** [@lokesh\_name](https://www.ruby-forum.com/u/lokesh_name)\
**Replies:** 1\
**Last updated:** [March 11, 2008, 6:16pm UTC](https://www.ruby-forum.com/t/please-help/131558 "2008-03-11T18:16:12Z")

</div>

Hi All, I have written a scipt. require ‘rubygems’ require ‘net/ldap’ require “env\_variable.rb” ldap = Net::LDAP.new :host =\> ‘10.44.169.24’, :port =\> 389, :auth =\> { :method =\> :simple, :username =\> “cn=Manager…

---

## [Return codes](https://www.ruby-forum.com/t/return-codes/131533)

<div class="topic-metadata">

**Author:** [@tekhne](https://www.ruby-forum.com/u/tekhne)\
**Replies:** 3\
**Last updated:** [March 11, 2008, 6:13pm UTC](https://www.ruby-forum.com/t/return-codes/131533 "2008-03-11T18:13:14Z")

</div>

I’d like to be able to launch a little ruby application from within a shell script or a windows command file. How can my Ruby application return error or success codes such that the callee can verify the result easily…

---

## [Prototype SQLite3 support for IronRuby](https://www.ruby-forum.com/t/prototype-sqlite3-support-for-ironruby/131529)

<div class="topic-metadata">

**Author:** [@Brian\_Blackwell](https://www.ruby-forum.com/u/Brian_Blackwell)\
**Replies:** 3\
**Last updated:** [March 11, 2008, 5:58pm UTC](https://www.ruby-forum.com/t/prototype-sqlite3-support-for-ironruby/131529 "2008-03-11T17:58:26Z")

</div>

A quick introduction: I was previously a member of Wayne K.'s Ruby.NET team, and I am now looking forward to making a contribution to the IronRuby community. I have recently been looking into what is involved with dat…

---

## [Surprising Result](https://www.ruby-forum.com/t/surprising-result/131517)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 6\
**Last updated:** [March 11, 2008, 4:39pm UTC](https://www.ruby-forum.com/t/surprising-result/131517 "2008-03-11T16:39:20Z")

</div>

I’d just gotten done implementing DEFLATE in pure ruby, and figuring there’d be a performance hit I was interested to see what it would be. On IronRuby (compiled in Release) it takes a full 16 seconds to decompress a …

---

## [Can't extend Java class from JRuby](https://www.ruby-forum.com/t/cant-extend-java-class-from-jruby/127134)

<div class="topic-metadata">

**Author:** [@shanna](https://www.ruby-forum.com/u/shanna)\
**Replies:** 2\
**Last updated:** [March 11, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/cant-extend-java-class-from-jruby/127134 "2008-03-11T16:15:20Z")

</div>

Hi - This is stupid, but it’s baffling the hell out of me. I have a Java class: package javatest; public class Test { public void sayHi() { System.out.println(“Hello.”); } } And I have a JRuby file: require ‘java…

---

## [Cruisecontrol and Rspec](https://www.ruby-forum.com/t/cruisecontrol-and-rspec/131580)

<div class="topic-metadata">

**Author:** [@sdsykes](https://www.ruby-forum.com/u/sdsykes)\
**Replies:** 0\
**Last updated:** [March 11, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/cruisecontrol-and-rspec/131580 "2008-03-11T16:06:43Z")

</div>

Hi All, I have cruisecontrol machine monitoring four projects. 3 of the 4 projects are running custom rake tasks. I’d love for the fourth project to simply run ‘spec’. I’ve edited cruise\_config.rb to include the…

---

## [Gem update on Vista](https://www.ruby-forum.com/t/gem-update-on-vista/131561)

<div class="topic-metadata">

**Author:** [@Gareth\_A](https://www.ruby-forum.com/u/Gareth_A)\
**Replies:** 0\
**Last updated:** [March 11, 2008, 11:59am UTC](https://www.ruby-forum.com/t/gem-update-on-vista/131561 "2008-03-11T11:59:52Z")

</div>

Hi guys, I’m having problems getting things up to date on my machine: http://pastie.caboo.se/164326 If I run gem update --system --backtrace I get an identical result, no extra information :frowning: What are my op…

---

## [Singleton class extended by a module with module\_function](https://www.ruby-forum.com/t/singleton-class-extended-by-a-module-with-module-function/131559)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [March 11, 2008, 11:42am UTC](https://www.ruby-forum.com/t/singleton-class-extended-by-a-module-with-module-function/131559 "2008-03-11T11:42:04Z")

</div>

e$B0J2\<$N%W%m%0%i%\`$N5sF0$,e(B 1.8 e$B$He(B 1.9 e$B$G0\[$J$j$^$9$,!"0U?^E\*$Je(B e$B$b$N$G$7$g$&$+e(B? % cat z.rb module M module\_function def m p :m end end class C end class \<\< C include M end C.m % ruby …

---

## [Getting files out of a .tar.gz archive](https://www.ruby-forum.com/t/getting-files-out-of-a-tar-gz-archive/131479)

<div class="topic-metadata">

**Author:** [@celldee](https://www.ruby-forum.com/u/celldee)\
**Replies:** 10\
**Last updated:** [March 11, 2008, 11:05am UTC](https://www.ruby-forum.com/t/getting-files-out-of-a-tar-gz-archive/131479 "2008-03-11T11:05:31Z")

</div>

Hi, I have a .tar.gz file containing some xml files. I need to locate particular files in the archive and process them. I’m looking for a pure Ruby way to do this without resorting to external system commands. I fou…

---

## [Is this a feature or a bug?](https://www.ruby-forum.com/t/is-this-a-feature-or-a-bug/131542)

<div class="topic-metadata">

**Author:** [@Rie](https://www.ruby-forum.com/u/Rie)\
**Replies:** 5\
**Last updated:** [March 11, 2008, 10:56am UTC](https://www.ruby-forum.com/t/is-this-a-feature-or-a-bug/131542 "2008-03-11T10:56:02Z")

</div>

sorry if it’s been discussed as i don’t know what the search keyword for this scenario. it actually came up from mistype (notice the comma). m:~ arie$ irb h = {} =\> {} h\[:a\] = 1, ?\> h\[:b\] = 2 =\> \[1, 2\] h …

---

## [Sftp.put\_file problems on Linux](https://www.ruby-forum.com/t/sftp-put-file-problems-on-linux/131497)

<div class="topic-metadata">

**Author:** [@milo](https://www.ruby-forum.com/u/milo)\
**Replies:** 2\
**Last updated:** [March 11, 2008, 10:36am UTC](https://www.ruby-forum.com/t/sftp-put-file-problems-on-linux/131497 "2008-03-11T10:36:59Z")

</div>

I have written a simple script to locate particular files on a server and copy them elsewhere with sftp. There is one particular part of the script that gives me some trouble: begin sftp.put\_file("#{ramdisk}/#{file…

---

## [Require 'pop\_ssl'](https://www.ruby-forum.com/t/require-pop-ssl/131491)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 1\
**Last updated:** [March 11, 2008, 8:53am UTC](https://www.ruby-forum.com/t/require-pop-ssl/131491 "2008-03-11T08:53:04Z")

</div>

Hi, Can anyone tell me where I can get this gem. I cannot find it an rubyforge. Trying everything to connect to a gmail account. Cheers Aidy

---

## [Merb as a Milestone, rather than Rails for IronRuby 1.0](https://www.ruby-forum.com/t/merb-as-a-milestone-rather-than-rails-for-ironruby-1-0/131444)

<div class="topic-metadata">

**Author:** [@rahil](https://www.ruby-forum.com/u/rahil)\
**Replies:** 5\
**Last updated:** [March 11, 2008, 8:24am UTC](https://www.ruby-forum.com/t/merb-as-a-milestone-rather-than-rails-for-ironruby-1-0/131444 "2008-03-11T08:24:54Z")

</div>

Hi, Its no secret that IronRuby shall Run Rails to prove a total implementation for declaring IronRuby 1.0 Its a great going by IronRuby team, and i can see work progressing in this direction. But things have change…

---

## [Sort hashes using values](https://www.ruby-forum.com/t/sort-hashes-using-values/131494)

<div class="topic-metadata">

**Author:** [@subbu](https://www.ruby-forum.com/u/subbu)\
**Replies:** 4\
**Last updated:** [March 11, 2008, 7:13am UTC](https://www.ruby-forum.com/t/sort-hashes-using-values/131494 "2008-03-11T07:13:25Z")

</div>

Ruby automatically sorts hashes by keys, which means: h = {“first”=\>2,“second”=\>1,“third”=\>3} =\> {“third”=\>3, “second”=\>1, “first”=\>2} How do I sort this by the values? So that I have: {“second”=\>1, “first”=\>2, “…

---

## [Irb practice. Autoloading files](https://www.ruby-forum.com/t/irb-practice-autoloading-files/128869)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 11, 2008, 6:45am UTC](https://www.ruby-forum.com/t/irb-practice-autoloading-files/128869 "2008-03-11T06:45:50Z")

</div>

I often found my self retyping a lot of lines when experimenting or testing in irb after making some changes. I suppose I should be able to avoid it with a better planning, but… Anyhow, I wrote a function in my .irbrc…

---

## [And statement](https://www.ruby-forum.com/t/and-statement/130890)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 10\
**Last updated:** [March 11, 2008, 6:30am UTC](https://www.ruby-forum.com/t/and-statement/130890 "2008-03-11T06:30:34Z")

</div>

Hi, I found the following statement in routing.rb of rails framework. I haven’t seen this kind of usage anywhere. Can somebody tell me what does this statement do? I am particularly interested in knowing how ‘and’ be…

---

## [DelegateClass$B$N%P%C%/%H%l!\<%9(B](https://www.ruby-forum.com/t/delegateclass-b-n-p-c-h-l-9-b/131538)

<div class="topic-metadata">

**Author:** [@GO\_Noguchi](https://www.ruby-forum.com/u/GO_Noguchi)\
**Replies:** 0\
**Last updated:** [March 11, 2008, 5:15am UTC](https://www.ruby-forum.com/t/delegateclass-b-n-p-c-h-l-9-b/131538 "2008-03-11T05:15:34Z")

</div>

e$BLn8}$H?=$7$^$9!#e(B DelegateClasse$B$G0Q\>y$7$?%\*%V%8%’%/%H$N%a%=%C%I$GH/@8$7$?e(B e$BNc30$N2U=j$,%P%C%/%H%l!\<%9$K8=$l$J$$$h$&$G$9!#e(B % cat foo.rb require ‘delegate’ class Foo def foo foo1 end def foo1 rais…

---

## [Dynamic silverlight](https://www.ruby-forum.com/t/dynamic-silverlight/131337)

<div class="topic-metadata">

**Author:** [@xjivan](https://www.ruby-forum.com/u/xjivan)\
**Replies:** 7\
**Last updated:** [March 11, 2008, 3:45am UTC](https://www.ruby-forum.com/t/dynamic-silverlight/131337 "2008-03-11T03:45:15Z")

</div>

Where do I have to go to get the dynamic silverlight bits? I’ve got chiron going but am still looking for the dsl command. Do I have to monitor the silverlight site for that? Cheers Ivan

---

## [Passing procs around in variables](https://www.ruby-forum.com/t/passing-procs-around-in-variables/131428)

<div class="topic-metadata">

**Author:** [@nathan](https://www.ruby-forum.com/u/nathan)\
**Replies:** 4\
**Last updated:** [March 11, 2008, 3:27am UTC](https://www.ruby-forum.com/t/passing-procs-around-in-variables/131428 "2008-03-11T03:27:01Z")

</div>

Hi, This might be something really simple, but I’m trying to write a console-based menu for my program. I’ve done this before in a procedural language, but I decided to try and port what I’ve done to ruby, because it…

---

## [Rake TestTask screwing with global variables?](https://www.ruby-forum.com/t/rake-testtask-screwing-with-global-variables/131521)

<div class="topic-metadata">

**Author:** [@dfg59](https://www.ruby-forum.com/u/dfg59)\
**Replies:** 3\
**Last updated:** [March 11, 2008, 3:15am UTC](https://www.ruby-forum.com/t/rake-testtask-screwing-with-global-variables/131521 "2008-03-11T03:15:51Z")

</div>

I’ve got a rake TestTask that I have set a global variable in specific cases (I know, I know, tsk tsk). However, this value doesn’t seem to be available to my tests. This seems very strange to me. The variable should …

---

## [Reading pick from option menu](https://www.ruby-forum.com/t/reading-pick-from-option-menu/131208)

<div class="topic-metadata">

**Author:** [@toothyxdip](https://www.ruby-forum.com/u/toothyxdip)\
**Replies:** 9\
**Last updated:** [March 11, 2008, 2:54am UTC](https://www.ruby-forum.com/t/reading-pick-from-option-menu/131208 "2008-03-11T02:54:10Z")

</div>

words = \[’-’, ‘cm’, ‘mm’, ‘ml’\] @var = TkVariable.new() minuteOptionMenu = TkOptionMenubutton.new( detailViewFrm, @var, \*words) { width 1 }.grid(‘column’=\>1, ‘row’=\>0, ‘sticky’=\>‘w’, ‘padx’=\>5) I was wondering som…

---

## [Slide Show (S9) v0.3 - A Free Web Alternative to PowerPoint and KeyNote in Ruby](https://www.ruby-forum.com/t/slide-show-s9-v0-3-a-free-web-alternative-to-powerpoint-and-keynote-in-ruby/131531)

<div class="topic-metadata">

**Author:** [@gerald\_b](https://www.ruby-forum.com/u/gerald_b)\
**Replies:** 0\
**Last updated:** [March 11, 2008, 1:07am UTC](https://www.ruby-forum.com/t/slide-show-s9-v0-3-a-free-web-alternative-to-powerpoint-and-keynote-in-ruby/131531 "2008-03-11T01:07:28Z")

</div>

Hello, I’ve published an update to Slide Show (S9) - a Ruby gem that lets you create slide shows and author slides in plain text using a wiki-style markup language that’s easy-to-write and easy-to-read. What’s new? Y…

---

## [Prototype SQLite3 support for IronRuby](https://www.ruby-forum.com/t/prototype-sqlite3-support-for-ironruby/131530)

<div class="topic-metadata">

**Author:** [@Brian\_Blackwell](https://www.ruby-forum.com/u/Brian_Blackwell)\
**Replies:** 0\
**Last updated:** [March 11, 2008, 12:50am UTC](https://www.ruby-forum.com/t/prototype-sqlite3-support-for-ironruby/131530 "2008-03-11T00:50:58Z")

</div>

A quick introduction: I was previously a member of Wayne K.'s Ruby.NET team, and I am now looking forward to making a contribution to the IronRuby community. I have recently been looking into what is involved with dat…

---

## [C / C++ extensions: need all the tips/tricks you can give me](https://www.ruby-forum.com/t/c-c-extensions-need-all-the-tips-tricks-you-can-give-me/131480)

<div class="topic-metadata">

**Author:** [@emmanueloga](https://www.ruby-forum.com/u/emmanueloga)\
**Replies:** 2\
**Last updated:** [March 11, 2008, 12:22am UTC](https://www.ruby-forum.com/t/c-c-extensions-need-all-the-tips-tricks-you-can-give-me/131480 "2008-03-11T00:22:51Z")

</div>

Hi! I’m looking for all available sources of information on developing ruby extensions. I’m not a C language expert, but I’ve worked some years ago as a junior C/C++ developer. For that reason, I think I could get in …

---

## [Keyword arguments for WIN32OLE?](https://www.ruby-forum.com/t/keyword-arguments-for-win32ole/131426)

<div class="topic-metadata">

**Author:** [@djlewis](https://www.ruby-forum.com/u/djlewis)\
**Replies:** 4\
**Last updated:** [March 10, 2008, 10:44pm UTC](https://www.ruby-forum.com/t/keyword-arguments-for-win32ole/131426 "2008-03-10T22:44:18Z")

</div>

Is there a way to pass ~keyword~ arguments to a WIN32OLE method in Ruby? For example, I’ve tried… @selection.Find.Execute( :FindText=\>"look for", :ReplaceWith=\>“something else”) … and the same with the arguments as …

---

## [Ruby Debugging - step-thru?](https://www.ruby-forum.com/t/ruby-debugging-step-thru/131484)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 3\
**Last updated:** [March 10, 2008, 5:12pm UTC](https://www.ruby-forum.com/t/ruby-debugging-step-thru/131484 "2008-03-10T17:12:55Z")

</div>

is there a way of being able to step thru your code like in VS.NET to see when it fails? i know you can set breakpoints in the console but just wondering if there’s a more feature-rich way?

---

## [GUI and Ruby For Symbian](https://www.ruby-forum.com/t/gui-and-ruby-for-symbian/131485)

<div class="topic-metadata">

**Author:** [@shenoudab](https://www.ruby-forum.com/u/shenoudab)\
**Replies:** 0\
**Last updated:** [March 10, 2008, 4:16pm UTC](https://www.ruby-forum.com/t/gui-and-ruby-for-symbian/131485 "2008-03-10T16:16:09Z")

</div>

Dears, I’m going to start my Mobile Application On Ruby and asking about how can i add a GUI for the Application Combobox, List, Text Filed, … and how can i access the SDK using Ruby as my Application will work with …

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

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