# Ruby

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

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

---

## [Connecting to Exchange](https://www.ruby-forum.com/t/connecting-to-exchange/174967)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 3\
**Last updated:** [October 22, 2009, 5:26pm UTC](https://www.ruby-forum.com/t/connecting-to-exchange/174967 "2009-10-22T17:26:03Z")

</div>

Imap fails for me, Pop fails for me. I’m guessing it’s because of enabled security protocols. Is there a good way out there in Rubyland to make IMAP/POP work with enabled security? Or should I try win32ole and MAPI ?…

---

## [Jruby and actionwebservice](https://www.ruby-forum.com/t/jruby-and-actionwebservice/170582)

<div class="topic-metadata">

**Author:** [@dalton](https://www.ruby-forum.com/u/dalton)\
**Replies:** 7\
**Last updated:** [October 22, 2009, 4:05pm UTC](https://www.ruby-forum.com/t/jruby-and-actionwebservice/170582 "2009-10-22T16:05:43Z")

</div>

Hi everybody, I am new on the list. In my current project I try to get jruby working with actionwebservice. I installed jruby 1.1 under Ubuntu. Later I added gems like rails and others. One of them was actionwebservic…

---

## [Using swt with jruby](https://www.ruby-forum.com/t/using-swt-with-jruby/175791)

<div class="topic-metadata">

**Author:** [@Aaron\_McLeod](https://www.ruby-forum.com/u/Aaron_McLeod)\
**Replies:** 7\
**Last updated:** [October 22, 2009, 3:52pm UTC](https://www.ruby-forum.com/t/using-swt-with-jruby/175791 "2009-10-22T15:52:25Z")

</div>

Hey jruby coders, Im trying to test out swt with Jruby, however im having trouble grabbing the org.eclipse.swt. Im on Ubuntu Linux, and installed these packages through synaptic: libswt-gtk-3.4-java libswt-gtk-3.4-j…

---

## [Jruby -e?](https://www.ruby-forum.com/t/jruby-e/177691)

<div class="topic-metadata">

**Author:** [@kwikgoal](https://www.ruby-forum.com/u/kwikgoal)\
**Replies:** 6\
**Last updated:** [October 22, 2009, 3:27pm UTC](https://www.ruby-forum.com/t/jruby-e/177691 "2009-10-22T15:27:14Z")

</div>

I am new to JRuby, and when trying my first executions, I ran into an issue trying the simple program from the command line. It was my understanding that running jruby -e ‘puts “hello”’ on the command line (using Wi…

---

## [Creating and raising custom exception in Ruby C extension](https://www.ruby-forum.com/t/creating-and-raising-custom-exception-in-ruby-c-extension/177712)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 7\
**Last updated:** [October 22, 2009, 3:14pm UTC](https://www.ruby-forum.com/t/creating-and-raising-custom-exception-in-ruby-c-extension/177712 "2009-10-22T15:14:22Z")

</div>

Hi, I’m trying to create a CustomError exception in a Ruby C extension and raise it: VALUE class\_standard\_error = rb\_const\_get(rb\_cObject, rb\_intern(“StandardError”)); VALUE class\_custom\_error = rb\_define\_class\_under…

---

## [Webmail develop](https://www.ruby-forum.com/t/webmail-develop/177709)

<div class="topic-metadata">

**Author:** [@msan](https://www.ruby-forum.com/u/msan)\
**Replies:** 0\
**Last updated:** [October 22, 2009, 11:58am UTC](https://www.ruby-forum.com/t/webmail-develop/177709 "2009-10-22T11:58:50Z")

</div>

Hello. I want try to develop a webmail with rails and whatever UI plugin you want for learning purposes. Is there someone interested? To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage\_…

---

## [No route matches '](https://www.ruby-forum.com/t/no-route-matches/177658)

<div class="topic-metadata">

**Author:** [@mcieong](https://www.ruby-forum.com/u/mcieong)\
**Replies:** 5\
**Last updated:** [October 22, 2009, 11:58am UTC](https://www.ruby-forum.com/t/no-route-matches/177658 "2009-10-22T11:58:18Z")

</div>

HI, I AM A NEWBIE IN RUBY, I WANT TO USE THE JAVASCRIPT, SO I ADD THIS LINE IN THE edit.html.erb: … Editing order \<%= javascript\_include\_tag 'datagrid' %\> ... ... WHEN THIS VIEW IS RUN, IT GIVE THE FOLLOWING ERROR: A…

---

## [\[ANN\] IronRuby CTP for .NET 4.0 Beta 2](https://www.ruby-forum.com/t/ann-ironruby-ctp-for-net-4-0-beta-2/177681)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 1\
**Last updated:** [October 22, 2009, 11:38am UTC](https://www.ruby-forum.com/t/ann-ironruby-ctp-for-net-4-0-beta-2/177681 "2009-10-22T11:38:21Z")

</div>

http://ironruby.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=33305 We’re pleased to announce the release of the “IronRuby CTP for .NET 4.0 Beta 2”. This is our third preview of IronRuby running under the Dynami…

---

## [Certificate hashes using Base64, DER, ASN.1, PkiPath](https://www.ruby-forum.com/t/certificate-hashes-using-base64-der-asn-1-pkipath/177535)

<div class="topic-metadata">

**Author:** [@Daniel\_Danopia](https://www.ruby-forum.com/u/Daniel_Danopia)\
**Replies:** 7\
**Last updated:** [October 22, 2009, 10:22am UTC](https://www.ruby-forum.com/t/certificate-hashes-using-base64-der-asn-1-pkipath/177535 "2009-10-22T10:22:33Z")

</div>

I’m trying to write a server for a communications system (coughgoogle wavecough) but I’m having some problems with signing the data payloads. After a while I managed to find this code to sign the data: require ‘base…

---

## [DataMapper ports](https://www.ruby-forum.com/t/datamapper-ports/177699)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 1\
**Last updated:** [October 22, 2009, 8:53am UTC](https://www.ruby-forum.com/t/datamapper-ports/177699 "2009-10-22T08:53:50Z")

</div>

Is anyone aware of any active efforts underway to port DataMapper do adapters to .NET/IronRuby? I have been scouring Google and see lots of chatter about DataMapper, IronRuby, and how one might theoretically get there…

---

## [Test (please ignore)](https://www.ruby-forum.com/t/test-please-ignore/177696)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 0\
**Last updated:** [October 22, 2009, 4:13am UTC](https://www.ruby-forum.com/t/test-please-ignore/177696 "2009-10-22T04:13:28Z")

</div>

Can’t seem to post via Google G. (again). This is a testing to see if I can post directly to the list. Sorry for the noise.

---

## [Mutex confusion](https://www.ruby-forum.com/t/mutex-confusion/177583)

<div class="topic-metadata">

**Author:** [@regularfry](https://www.ruby-forum.com/u/regularfry)\
**Replies:** 5\
**Last updated:** [October 22, 2009, 2:23am UTC](https://www.ruby-forum.com/t/mutex-confusion/177583 "2009-10-22T02:23:20Z")

</div>

I’m a little confused by Mutex’s behaviour. It doesn’t seem right that a single thread should be able to block itself: alex@twentyone:/tmp$ cat thread-block.rb require ‘thread’ m = Mutex.new m.synchronize do m.sync…

---

## [JRuby 1.4.0RC2 Released](https://www.ruby-forum.com/t/jruby-1-4-0rc2-released/177687)

<div class="topic-metadata">

**Author:** [@Thomas\_E\_Enebo](https://www.ruby-forum.com/u/Thomas_E_Enebo)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 11:48pm UTC](https://www.ruby-forum.com/t/jruby-1-4-0rc2-released/177687 "2009-10-21T23:48:46Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.4.0RC2 Homepage: http://www.jruby.org/ Download: Downloads — JRuby.org The JRuby 1.4.0 release ends a long release cycle in which we resolved a huge n…

---

## [Code Review: Thread.exclusive](https://www.ruby-forum.com/t/code-review-thread-exclusive/177674)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 1\
**Last updated:** [October 21, 2009, 10:18pm UTC](https://www.ruby-forum.com/t/code-review-thread-exclusive/177674 "2009-10-21T22:18:02Z")

</div>

tfpt review /shelveset:exc;sborde Implements Thread.exclusive. Enables a minimal test for Shell which was blocked on Thread.exclusive

---

## [Net\\ftp.rb failing in Ruby 1.9.1](https://www.ruby-forum.com/t/net-ftp-rb-failing-in-ruby-1-9-1/177669)

<div class="topic-metadata">

**Author:** [@sai\_fujinaro](https://www.ruby-forum.com/u/sai_fujinaro)\
**Replies:** 1\
**Last updated:** [October 21, 2009, 9:55pm UTC](https://www.ruby-forum.com/t/net-ftp-rb-failing-in-ruby-1-9-1/177669 "2009-10-21T21:55:47Z")

</div>

Hi, I’m running on windows, Ruby 1.9.1-p129-i386-mswin32.zip. Trying to run gem install p4ruby gives an error: can’t convert Pathname into String Running trace on rake shows that this is coming (among other places) f…

---

## [Gserver performance question over on stackoverflow](https://www.ruby-forum.com/t/gserver-performance-question-over-on-stackoverflow/177673)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/gserver-performance-question-over-on-stackoverflow/177673 "2009-10-21T21:10:43Z")

</div>

Anyone have an answer for him? martin

---

## [Something portable for development purposes](https://www.ruby-forum.com/t/something-portable-for-development-purposes/177249)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 7\
**Last updated:** [October 21, 2009, 8:58pm UTC](https://www.ruby-forum.com/t/something-portable-for-development-purposes/177249 "2009-10-21T20:58:25Z")

</div>

Alright… I’m going to buy something to develop with, and use as a general thought-dump. I use Ruby and Ruby on Rails… And I own a Rubymine license, so recommending a Mac for the sake of Textmate is a bit silly. I will …

---

## [File.flock](https://www.ruby-forum.com/t/file-flock/177672)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 8:40pm UTC](https://www.ruby-forum.com/t/file-flock/177672 "2009-10-21T20:40:51Z")

</div>

Hello, I’m trying to use some ruby gems for persistent queues (reliable-msg, uuid) but it isn’t working, due to File.flock not being implemented yet in IronRuby. Does anyone know if this is on the list for v1, or is i…

---

## [Ruby 1.8.6, threadpooling and blocking sockets - advice/help](https://www.ruby-forum.com/t/ruby-1-8-6-threadpooling-and-blocking-sockets-advice-help/177511)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 8\
**Last updated:** [October 21, 2009, 7:44pm UTC](https://www.ruby-forum.com/t/ruby-1-8-6-threadpooling-and-blocking-sockets-advice-help/177511 "2009-10-21T19:44:04Z")

</div>

Hi, I think I’m running up against ruby 1.8.6’s not so stellar threading system. Was hoping someone could confirm or otherwise point out some flaws. Note: I get reasonable performance when running on ruby 1.9 it’s …

---

## [Please Review My First Ruby Program](https://www.ruby-forum.com/t/please-review-my-first-ruby-program/226053)

<div class="topic-metadata">

**Author:** [@dmbfansim](https://www.ruby-forum.com/u/dmbfansim)\
**Replies:** 4\
**Last updated:** [October 21, 2009, 7:29pm UTC](https://www.ruby-forum.com/t/please-review-my-first-ruby-program/226053 "2009-10-21T19:29:25Z")

</div>

I’ve written a simple program to simulate a Soccer game. Its the first full program I’ve written in Ruby, so please forgive any obvious mistakes. :slight\_smile: In advance, thanks for your comments. It requires Rub…

---

## [Directory\_watcher 1.3.0](https://www.ruby-forum.com/t/directory-watcher-1-3-0/177668)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 7:13pm UTC](https://www.ruby-forum.com/t/directory-watcher-1-3-0/177668 "2009-10-21T19:13:36Z")

</div>

directory\_watcher version 1.3.0 by Tim P. http://codeforpeople.rubyforge.org/directory\_watcher == DESCRIPTION DirectoryWatcher is a class for watching files within a directory and generating events when those files …

---

## [Config.datadir in 1.9.1](https://www.ruby-forum.com/t/config-datadir-in-1-9-1/177653)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [October 21, 2009, 6:55pm UTC](https://www.ruby-forum.com/t/config-datadir-in-1-9-1/177653 "2009-10-21T18:55:27Z")

</div>

(Cross-posting this from ruby-core, as this might be a better forum for it, depending on what the problem actually is.) In 1.8.6., Config.datadir(‘package’) would give you the gem-relative data directory for a gem. I…

---

## [Re: Prior art of manipulating OpenXML with IronRuby?](https://www.ruby-forum.com/t/re-prior-art-of-manipulating-openxml-with-ironruby/177384)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 5\
**Last updated:** [October 21, 2009, 6:16pm UTC](https://www.ruby-forum.com/t/re-prior-art-of-manipulating-openxml-with-ironruby/177384 "2009-10-21T18:16:13Z")

</div>

Thibaut, Fun! I don’t know of any, but sounds like some light wrappers around IronRuby’s COM interop would be good enough. Of course, you could also write an addin for Office to provide some UI for managing scripts an…

---

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

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 1\
**Last updated:** [October 21, 2009, 6:11pm UTC](https://www.ruby-forum.com/t/code-review-perffix/177544 "2009-10-21T18:11:32Z")

</div>

tfpt review “/shelveset:perffix;REDMOND\\jdeville” Comment : The killing of erroneous processes now happens in the bench.rake file. We kill all ir, java, and ruby processes that aren’t the rake runner before each new…

---

## [\`make check' hangs, when the source directory is read-only](https://www.ruby-forum.com/t/make-check-hangs-when-the-source-directory-is-read-only/177607)

<div class="topic-metadata">

**Author:** [@kot](https://www.ruby-forum.com/u/kot)\
**Replies:** 2\
**Last updated:** [October 21, 2009, 5:31pm UTC](https://www.ruby-forum.com/t/make-check-hangs-when-the-source-directory-is-read-only/177607 "2009-10-21T17:31:21Z")

</div>

Hello! I’m building platform-specific Ruby-binaries (1.8.7-p174) for each of our several platforms based on a single source-code directory, that’s available read-only. The build is fine (except in the win32ole direct…

---

## [Open-uri only ascii when opening utf-8 encoded site](https://www.ruby-forum.com/t/open-uri-only-ascii-when-opening-utf-8-encoded-site/177650)

<div class="topic-metadata">

**Author:** [@broken\_lambda](https://www.ruby-forum.com/u/broken_lambda)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 4:18pm UTC](https://www.ruby-forum.com/t/open-uri-only-ascii-when-opening-utf-8-encoded-site/177650 "2009-10-21T16:18:53Z")

</div>

When trying to open a page that is utf-8 encoded with open-uri it gives me a result encoded in ascii. This of course means that alot of characters are wrong (for example “Ã©”)… I tried to to change the encoding but t…

---

## [Rio and ruby 1.9](https://www.ruby-forum.com/t/rio-and-ruby-1-9/177649)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 3:51pm UTC](https://www.ruby-forum.com/t/rio-and-ruby-1-9/177649 "2009-10-21T15:51:02Z")

</div>

This week I am trying to move my development from ruby 1.8 to ruby 1.9 (ruby 1.9.1p243 (2009-07-16 revision 24175) \[i686-linux\]). I have pass through most of the hurdles, but one I can not fix is ‘rio’ library. I am u…

---

## [Rdebug usage](https://www.ruby-forum.com/t/rdebug-usage/177616)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 1\
**Last updated:** [October 21, 2009, 3:43pm UTC](https://www.ruby-forum.com/t/rdebug-usage/177616 "2009-10-21T15:43:25Z")

</div>

Hi, I have a couple of questions about using rdebug When you are passing parameters to a ruby script how do you do that when you call your ruby script with rdebug? When control passes from one ruby script to another …

---

## [Mysql update with ruby + dbi](https://www.ruby-forum.com/t/mysql-update-with-ruby-dbi/177634)

<div class="topic-metadata">

**Author:** [@thegoatboy](https://www.ruby-forum.com/u/thegoatboy)\
**Replies:** 1\
**Last updated:** [October 21, 2009, 3:03pm UTC](https://www.ruby-forum.com/t/mysql-update-with-ruby-dbi/177634 "2009-10-21T15:03:36Z")

</div>

Hello. Hopefully someone can help me and stop me form smashing my skull to bits on the desk… I am trying to modify a mysql database using a file for information. I can read the database fine, and parse it, but it jus…

---

## [Parseexcel, how to select a worksheet using the name](https://www.ruby-forum.com/t/parseexcel-how-to-select-a-worksheet-using-the-name/177363)

<div class="topic-metadata">

**Author:** [@tcblues](https://www.ruby-forum.com/u/tcblues)\
**Replies:** 7\
**Last updated:** [October 21, 2009, 12:06pm UTC](https://www.ruby-forum.com/t/parseexcel-how-to-select-a-worksheet-using-the-name/177363 "2009-10-21T12:06:54Z")

</div>

Hi, I know it’s possible to select a worksheet using its number but I don’t know how to select it using the worksheet name. is it possible? workbook = Spreadsheet::ParseExcel.parse(file) worksheet = workbook.workshe…

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

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