# Ruby

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

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

---

## [Ruby/Tk-Kit for RubyInstaller 1.9.1p378rc2](https://www.ruby-forum.com/t/ruby-tk-kit-for-rubyinstaller-1-9-1p378rc2/188950)

<div class="topic-metadata">

**Author:** [@Hidetoshi\_NAGAI](https://www.ruby-forum.com/u/Hidetoshi_NAGAI)\
**Replies:** 6\
**Last updated:** [May 23, 2010, 12:18am UTC](https://www.ruby-forum.com/t/ruby-tk-kit-for-rubyinstaller-1-9-1p378rc2/188950 "2010-05-23T00:18:28Z")

</div>

Hi. Now, you can download a trial version of Ruby/Tk-Kit for RubyInstaller 1.9.1p378rc2 (tested on Windows XP). Ruby/Tk-Kit version of tcltklib.so includes full environment of Tcl/Tk. So, you don’t need to install Tc…

---

## [JRuby Import Static](https://www.ruby-forum.com/t/jruby-import-static/189031)

<div class="topic-metadata">

**Author:** [@consiliens](https://www.ruby-forum.com/u/consiliens)\
**Replies:** 1\
**Last updated:** [May 22, 2010, 7:52pm UTC](https://www.ruby-forum.com/t/jruby-import-static/189031 "2010-05-22T19:52:11Z")

</div>

// Java import static java.nio.file.StandardWatchEventKind.\*; Ruby include\_class ‘java.nio.file.StandardWatchEventKind’ ENTRY\_DELETE = StandardWatchEventKind::ENTRY\_DELETE ENTRY\_CREATE = StandardWatchEventKind::ENTRY…

---

## [Re: About JRuby and OSGi](https://www.ruby-forum.com/t/re-about-jruby-and-osgi/189035)

<div class="topic-metadata">

**Author:** [@morten](https://www.ruby-forum.com/u/morten)\
**Replies:** 0\
**Last updated:** [May 22, 2010, 6:09pm UTC](https://www.ruby-forum.com/t/re-about-jruby-and-osgi/189035 "2010-05-22T18:09:10Z")

</div>

— Den lør 22/5/10 skrev Yoko H. removed\_email\_address@domain.invalid: Fra: Yoko H. removed\_email\_address@domain.invalid Emne: Re: \[jruby-user\] About JRuby and OSGi Til: removed\_email\_address@domain.invalid Dato: lørd…

---

## [Fgci -\> ruby-fcgi](https://www.ruby-forum.com/t/fgci-ruby-fcgi/189033)

<div class="topic-metadata">

**Author:** [@steux](https://www.ruby-forum.com/u/steux)\
**Replies:** 0\
**Last updated:** [May 22, 2010, 5:23pm UTC](https://www.ruby-forum.com/t/fgci-ruby-fcgi/189033 "2010-05-22T17:23:44Z")

</div>

hi, did fcgi gem changed its name to ruby-fcgi?

---

## [ruby/SVG dom mod and display](https://www.ruby-forum.com/t/ruby-svg-dom-mod-and-display/189004)

<div class="topic-metadata">

**Author:** [@yottameter](https://www.ruby-forum.com/u/yottameter)\
**Replies:** 1\
**Last updated:** [May 22, 2010, 12:51pm UTC](https://www.ruby-forum.com/t/ruby-svg-dom-mod-and-display/189004 "2010-05-22T12:51:20Z")

</div>

There seem to be a lot of SVG solutions for Ruby, SRVG, RVG, rcairo, etc. What I’m looking to do is to read in an SVG file, display it, modify it via the DOM, and re-render. With regards to modifying the DOM - am I b…

---

## [Can not install swiftiply](https://www.ruby-forum.com/t/can-not-install-swiftiply/189016)

<div class="topic-metadata">

**Author:** [@steux](https://www.ruby-forum.com/u/steux)\
**Replies:** 0\
**Last updated:** [May 22, 2010, 1:02am UTC](https://www.ruby-forum.com/t/can-not-install-swiftiply/189016 "2010-05-22T01:02:30Z")

</div>

Hi everyone! (Debian Squeeze) Just can’t install swiftiply: ruby1.8 -v ruby 1.8.7 (2010-01-10 patchlevel 249) \[x86\_64-linux\] gem install swiftiply Building native extensions. This could take a while… ERROR: Error …

---

## [Serving images using Rack + IIS + Rails?](https://www.ruby-forum.com/t/serving-images-using-rack-iis-rails/189005)

<div class="topic-metadata">

**Author:** [@Eddie\_Cianci](https://www.ruby-forum.com/u/Eddie_Cianci)\
**Replies:** 3\
**Last updated:** [May 21, 2010, 11:34pm UTC](https://www.ruby-forum.com/t/serving-images-using-rack-iis-rails/189005 "2010-05-21T23:34:07Z")

</div>

Hi all, I’ve got a Windows 2008 / IIS 7 server, and a default Rails app working with: Rails 2.3.5 Rack gem (1.0.1) IronRuby 1.0 RTM IronRuby.Rack.dll built from Git HEAD. It seems like images are being corrupted? …

---

## [SMPP from Perl to Ruby](https://www.ruby-forum.com/t/smpp-from-perl-to-ruby/189012)

<div class="topic-metadata">

**Author:** [@macanab](https://www.ruby-forum.com/u/macanab)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 11:13pm UTC](https://www.ruby-forum.com/t/smpp-from-perl-to-ruby/189012 "2010-05-21T23:13:17Z")

</div>

I have this code in perl to send SMS via SMPP Can somebody help me to translated to Ruby I try the ruby-SMPP but it doesnt work well and i need it deploy it on SUNOS 3 Please help #!/usr/bin/perl -w use IO::Socket; …

---

## [MySQL issues with JRuby on Rails](https://www.ruby-forum.com/t/mysql-issues-with-jruby-on-rails/189007)

<div class="topic-metadata">

**Author:** [@Rajiv\_N](https://www.ruby-forum.com/u/Rajiv_N)\
**Replies:** 3\
**Last updated:** [May 21, 2010, 9:54pm UTC](https://www.ruby-forum.com/t/mysql-issues-with-jruby-on-rails/189007 "2010-05-21T21:54:35Z")

</div>

Caution: New to Jruby and Rails !!! So I am trying this simple tutorial to get Jruby on Rails going against mySQL servever http://blog.emptyway.com/2008/04/08/120-seconds-guide-to-jruby-on-rails|/http://blog.emptyway.…

---

## [Java Generics to JRuby](https://www.ruby-forum.com/t/java-generics-to-jruby/188953)

<div class="topic-metadata">

**Author:** [@consiliens](https://www.ruby-forum.com/u/consiliens)\
**Replies:** 4\
**Last updated:** [May 21, 2010, 9:53pm UTC](https://www.ruby-forum.com/t/java-generics-to-jruby/188953 "2010-05-21T21:53:24Z")

</div>

Is it possible to convert this Java code to JRuby? Files.walkFileTree(path, new SimpleFileVisitor() { @Override public FileVisitResult preVisitDirectory(Path path) { return FileVisitResult.CONTINUE; } }); To unsu…

---

## [\[Bug #3295\] make test aborted](https://www.ruby-forum.com/t/bug-3295-make-test-aborted/188596)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 7\
**Last updated:** [May 21, 2010, 8:57pm UTC](https://www.ruby-forum.com/t/bug-3295-make-test-aborted/188596 "2010-05-21T20:57:46Z")

</div>

Bug #3295: make test aborted http://redmine.ruby-lang.org/issues/show/3295 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Target version: 1.9.2 ruby -v: ruby 1.9.3dev (2010-05-14 trunk…

---

## [Re: About JRuby and OSGi](https://www.ruby-forum.com/t/re-about-jruby-and-osgi/189003)

<div class="topic-metadata">

**Author:** [@morten](https://www.ruby-forum.com/u/morten)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 8:31pm UTC](https://www.ruby-forum.com/t/re-about-jruby-and-osgi/189003 "2010-05-21T20:31:25Z")

</div>

— Den fre 14/5/10 skrev Charles Oliver N. removed\_email\_address@domain.invalid: The JRuby jars we publish have been "bnd"ed so they can be used with OSGi, but that’s about as far as we have gone. You will need one …

---

## [\[Bug #3316\] Kernel#caller returns nil as well](https://www.ruby-forum.com/t/bug-3316-kernel-caller-returns-nil-as-well/188836)

<div class="topic-metadata">

**Author:** [@Nobuhiro\_IMAI](https://www.ruby-forum.com/u/Nobuhiro_IMAI)\
**Replies:** 6\
**Last updated:** [May 21, 2010, 5:59pm UTC](https://www.ruby-forum.com/t/bug-3316-kernel-caller-returns-nil-as-well/188836 "2010-05-21T17:59:49Z")

</div>

Bug #3316: Kernel#caller returns nil as well http://redmine.ruby-lang.org/issues/show/3316 e$B5/I\<\<Te(B: Nobuhiro IMAI e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: DOC ruby -v: - \[ruby-dev:41330\] e$…

---

## [Significance of Kernal.test method?](https://www.ruby-forum.com/t/significance-of-kernal-test-method/188995)

<div class="topic-metadata">

**Author:** [@v4\_forums](https://www.ruby-forum.com/u/v4_forums)\
**Replies:** 1\
**Last updated:** [May 21, 2010, 5:27pm UTC](https://www.ruby-forum.com/t/significance-of-kernal-test-method/188995 "2010-05-21T17:27:36Z")

</div>

Hi Team, I am new to ruby and the best way I found to learn ruby is to walk-through some of the existing code and try understanding them how it is done. Recently I came across this following line of code, test(?e, F…

---

## [OMG, why are there so many Strings in ObjectSpace!](https://www.ruby-forum.com/t/omg-why-are-there-so-many-strings-in-objectspace/188967)

<div class="topic-metadata">

**Author:** [@timr](https://www.ruby-forum.com/u/timr)\
**Replies:** 13\
**Last updated:** [May 21, 2010, 12:56pm UTC](https://www.ruby-forum.com/t/omg-why-are-there-so-many-strings-in-objectspace/188967 "2010-05-21T12:56:34Z")

</div>

I was playing around looking at ObjectSpace in irb and was astounded at how many string objects there are. Why are there 57,000+ String objects?!? hash = {} ObjectSpace.each\_object.collect{|t| t.class}.uniq.each{|cla…

---

## [Plugin errors](https://www.ruby-forum.com/t/plugin-errors/197232)

<div class="topic-metadata">

**Author:** [@mailtorajuit](https://www.ruby-forum.com/u/mailtorajuit)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 12:54pm UTC](https://www.ruby-forum.com/t/plugin-errors/197232 "2010-05-21T12:54:30Z")

</div>

HI, in my applicaition i want to use automatic sesssion cleaning. i followed the website http://agilewebdevelopment.com/plugins/limited\_sessions I have download this plugin, then configured session life time in envi…

---

## [Importing/exporting google contacts](https://www.ruby-forum.com/t/importing-exporting-google-contacts/188985)

<div class="topic-metadata">

**Author:** [@dagnan](https://www.ruby-forum.com/u/dagnan)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 12:40pm UTC](https://www.ruby-forum.com/t/importing-exporting-google-contacts/188985 "2010-05-21T12:40:45Z")

</div>

Hi, I’d like to know if there are other modules than gmail\_contacts and the gdata lib to manage Google Contacts. Moreover, gmail\_contacts doesn’t seem to handle settings attributes (to export contacts from Ruby to GG…

---

## [\[Feature:trunk\] mkmf (find|have)\_cxx\_header](https://www.ruby-forum.com/t/feature-trunk-mkmf-find-have-cxx-header/188984)

<div class="topic-metadata">

**Author:** [@KISHIMOTOS\_Makoto](https://www.ruby-forum.com/u/KISHIMOTOS_Makoto)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 12:39pm UTC](https://www.ruby-forum.com/t/feature-trunk-mkmf-find-have-cxx-header/188984 "2010-05-21T12:39:00Z")

</div>

e$B$&$C$+$je(Bruby-liste$B$KEj$2$F$7$^$C$?$-$7$b$H$G$9e(B \[ruby-list:47092\] e$B$G?6$C$F$\_$?OCBj$K4X78$7$F!"$J$N$G$9$,!J%D%j!\<$K$J$j$^$;$s$G$7$?$,!K!"e(B mkmf e$B$Ke(B C++ e$B$N%X%C%@$r%A%’%C%/$9$k5!G=$rDI2C$9$k%Q%C%A$…

---

## [Ruby gem for Growl](https://www.ruby-forum.com/t/ruby-gem-for-growl/188978)

<div class="topic-metadata">

**Author:** [@krypt](https://www.ruby-forum.com/u/krypt)\
**Replies:** 5\
**Last updated:** [May 21, 2010, 11:56am UTC](https://www.ruby-forum.com/t/ruby-gem-for-growl/188978 "2010-05-21T11:56:51Z")

</div>

I’m looking for a gem that’s able to send Growl notifications and receive a click-event on the notification. There are some gems available but the problem is none of them seem to be compatible with Ruby 1.9. Any sugge…

---

## [MAXIMIZE the Browser Automaticaly](https://www.ruby-forum.com/t/maximize-the-browser-automaticaly/188974)

<div class="topic-metadata">

**Author:** [@sweetzubair](https://www.ruby-forum.com/u/sweetzubair)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 10:35am UTC](https://www.ruby-forum.com/t/maximize-the-browser-automaticaly/188974 "2010-05-21T10:35:39Z")

</div>

I try Many thing but not find the best solution to maximize the window. i run the script every time window open in the normal size. … Help me … require ‘watir’ include Watir ie=Watir::IE.start(“http://www.google.co…

---

## [Rest-graph 1.1.1 - A super simple Facebook Open Graph API client](https://www.ruby-forum.com/t/rest-graph-1-1-1-a-super-simple-facebook-open-graph-api-client/188975)

<div class="topic-metadata">

**Author:** [@Lin\_Jen-Shin](https://www.ruby-forum.com/u/Lin_Jen-Shin)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 10:35am UTC](https://www.ruby-forum.com/t/rest-graph-1-1-1-a-super-simple-facebook-open-graph-api-client/188975 "2010-05-21T10:35:27Z")

</div>

= rest-graph 1.1.1 by Cardinal Blue ( http://cardinalblue.com ) == LINKS: GitHub - cardinalblue/rest-graph: A lightweight Facebook Graph API client rest-graph | RubyGems.org | your community gem host http://rdoc.info…

---

## [Merging two arrays -\> array of arrays](https://www.ruby-forum.com/t/merging-two-arrays-array-of-arrays/188965)

<div class="topic-metadata">

**Author:** [@hangingclowns](https://www.ruby-forum.com/u/hangingclowns)\
**Replies:** 6\
**Last updated:** [May 21, 2010, 10:32am UTC](https://www.ruby-forum.com/t/merging-two-arrays-array-of-arrays/188965 "2010-05-21T10:32:31Z")

</div>

Example: a = \[1,2,3\] b = \[4,5,6\] I want to merge them so the new array is: \[ \[1,4\], \[2,5\], \[3,6\] \] Can’t figure out the best way to do this. Thanks

---

## [JRuby alarm signal](https://www.ruby-forum.com/t/jruby-alarm-signal/188969)

<div class="topic-metadata">

**Author:** [@syepes](https://www.ruby-forum.com/u/syepes)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 9:05am UTC](https://www.ruby-forum.com/t/jruby-alarm-signal/188969 "2010-05-21T09:05:06Z")

</div>

Hello, I’m migrating an existing application to the JRuby and I have encountered that the current version 1.5 of JRuby does not fully support the ‘dl/import’ library which I use the load the UNIX signal alarm functio…

---

## [Jrubyscriptengine eval()](https://www.ruby-forum.com/t/jrubyscriptengine-eval/188784)

<div class="topic-metadata">

**Author:** [@dixit](https://www.ruby-forum.com/u/dixit)\
**Replies:** 2\
**Last updated:** [May 21, 2010, 6:46am UTC](https://www.ruby-forum.com/t/jrubyscriptengine-eval/188784 "2010-05-21T06:46:43Z")

</div>

hi, i am running jrubyscriptengine.eval() on a script which extends from another script. how do i set the path for the script to locate its parent with ‘require’. The location of both the script and its parent will …

---

## [Buildr support](https://www.ruby-forum.com/t/buildr-support/188959)

<div class="topic-metadata">

**Author:** [@toulmean](https://www.ruby-forum.com/u/toulmean)\
**Replies:** 4\
**Last updated:** [May 21, 2010, 6:20am UTC](https://www.ruby-forum.com/t/buildr-support/188959 "2010-05-21T06:20:48Z")

</div>

Hi guys, we are trying to figure a way to get Buildr out of the door. First, it looks like we have failures with JRuby 1.4.1 on Windows 7: https://issues.apache.org/jira/browse/BUILDR-443 =\> Could you take a look at …

---

## [\[Bug #3314\] ruby\_dbl2cstr$B$GIT6q9g(B](https://www.ruby-forum.com/t/bug-3314-ruby-dbl2cstr-b-git6q9g-b/188804)

<div class="topic-metadata">

**Author:** [@Masaya\_T](https://www.ruby-forum.com/u/Masaya_T)\
**Replies:** 1\
**Last updated:** [May 21, 2010, 5:27am UTC](https://www.ruby-forum.com/t/bug-3314-ruby-dbl2cstr-b-git6q9g-b/188804 "2010-05-21T05:27:32Z")

</div>

Bug #3314: ruby\_dbl2cstre$B$GIT6q9ge(B http://redmine.ruby-lang.org/issues/show/3314 e$B5/I\<\<Te(B: Masaya T. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: High e$B%+%F%4%je(B: core, Target version: 1.9.x ruby -v: ruby 1.9.3…

---

## [Net-http-persistent 1.2 Released](https://www.ruby-forum.com/t/net-http-persistent-1-2-released/188962)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 5:02am UTC](https://www.ruby-forum.com/t/net-http-persistent-1-2-released/188962 "2010-05-21T05:02:57Z")

</div>

net-http-persistent version 1.2 has been released! http://seattlerb.rubyforge.org/net-http-persistent Persistent connections using Net::HTTP plus a speed fix for 1.8. It’s thread-safe too! Changes: 1.2 / 2010-05-…

---

## [Executing Password Change over Ruby Net-SSH](https://www.ruby-forum.com/t/executing-password-change-over-ruby-net-ssh/188921)

<div class="topic-metadata">

**Author:** [@tesmar](https://www.ruby-forum.com/u/tesmar)\
**Replies:** 3\
**Last updated:** [May 21, 2010, 4:55am UTC](https://www.ruby-forum.com/t/executing-password-change-over-ruby-net-ssh/188921 "2010-05-21T04:55:56Z")

</div>

Hi all, I am looking to execute a password change over Net-ssh and this code seems to hang: Net::SSH.start(server\_ip, “user”, :verbose =\> :debug ) do |session| session.process.popen3(“ls”) do |input, output, error| \[…

---

## [How to stop org.jruby.Ruby.evalScriptlet() from Java Code](https://www.ruby-forum.com/t/how-to-stop-org-jruby-ruby-evalscriptlet-from-java-code/188957)

<div class="topic-metadata">

**Author:** [@nigelh](https://www.ruby-forum.com/u/nigelh)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 2:12am UTC](https://www.ruby-forum.com/t/how-to-stop-org-jruby-ruby-evalscriptlet-from-java-code/188957 "2010-05-21T02:12:05Z")

</div>

Hi there, I use evalScriptlet to call a long-running ruby script, How can I stop it from Java code? Thanks in advance. public static Ruby runtime; static { # initialize org.jruby.Ruby runtime RubyInstanceConfig conf…

---

## [JRuby can't load FileRef?](https://www.ruby-forum.com/t/jruby-cant-load-fileref/188915)

<div class="topic-metadata">

**Author:** [@consiliens](https://www.ruby-forum.com/u/consiliens)\
**Replies:** 2\
**Last updated:** [May 20, 2010, 11:26pm UTC](https://www.ruby-forum.com/t/jruby-cant-load-fileref/188915 "2010-05-20T23:26:54Z")

</div>

Why can’t JRuby load FileRef? $ java -version java version “1.7.0-ea” Java™ SE Runtime Environment (build 1.7.0-ea-b93) error.rb require ‘java’ include\_class ‘java.io.IOError’ include\_class ‘java.nio.file.FileRef’ …

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

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