# Ruby

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

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

---

## [LDAP authentication](https://www.ruby-forum.com/t/ldap-authentication/162237)

<div class="topic-metadata">

**Author:** [@palani](https://www.ruby-forum.com/u/palani)\
**Replies:** 2\
**Last updated:** [March 7, 2009, 2:53pm UTC](https://www.ruby-forum.com/t/ldap-authentication/162237 "2009-03-07T14:53:59Z")

</div>

Hi Can anyone please help how can i implement the LDAP authentication in Ruby on Rails .i am unaware of this .I need to implement the login by using LDAP authentication. please anyone tell me the complete step by ste…

---

## [Gtk::MozEmbed crashes](https://www.ruby-forum.com/t/gtk-mozembed-crashes/161757)

<div class="topic-metadata">

**Author:** [@sawa](https://www.ruby-forum.com/u/sawa)\
**Replies:** 1\
**Last updated:** [March 7, 2009, 1:47pm UTC](https://www.ruby-forum.com/t/gtk-mozembed-crashes/161757 "2009-03-07T13:47:19Z")

</div>

Hello Whenever I have a secondary thread running when gtkmozembed is working, the gtkmozembed emits a segmentation fault and crashes whenever I click a link on the screen. Is there a way to resolve this? PS. Now I us…

---

## [Localmemcache-0.0.1, efficiently sharing a Hashtable on a local Unix machine](https://www.ruby-forum.com/t/localmemcache-0-0-1-efficiently-sharing-a-hashtable-on-a-local-unix-machine/162247)

<div class="topic-metadata">

**Author:** [@Sven\_CSKoehler](https://www.ruby-forum.com/u/Sven_CSKoehler)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 1:25pm UTC](https://www.ruby-forum.com/t/localmemcache-0-0-1-efficiently-sharing-a-hashtable-on-a-local-unix-machine/162247 "2009-03-07T13:25:37Z")

</div>

Hi, today I am releasing the very first version of localmemcache (version 0.0.1). Localmemcache is a library written in C that offers efficient sharing of a hashtable between processes on a local Unix machine by tak…

---

## [Love Relations](https://www.ruby-forum.com/t/love-relations/162245)

<div class="topic-metadata">

**Author:** [@rubymarc](https://www.ruby-forum.com/u/rubymarc)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 12:59pm UTC](https://www.ruby-forum.com/t/love-relations/162245 "2009-03-07T12:59:53Z")

</div>

NOTE: We have launched Beta version of thepickupartistexposed dot com & need your precious feedbacks & comments to improve our functionality and maturity of our unique Relation creator site. On inauguration we are ple…

---

## [QT Integrace using Ruby](https://www.ruby-forum.com/t/qt-integrace-using-ruby/162242)

<div class="topic-metadata">

**Author:** [@rajibalan](https://www.ruby-forum.com/u/rajibalan)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 12:00pm UTC](https://www.ruby-forum.com/t/qt-integrace-using-ruby/162242 "2009-03-07T12:00:43Z")

</div>

Hi all, I am working on QuickTime Automation. I did not see any documentation on win32ole methods to set proxy in the QTPlayer. Is there any option available to set the proxy in the Quick Time player done using ruby. …

---

## [What's wrong with lambda and class](https://www.ruby-forum.com/t/whats-wrong-with-lambda-and-class/162143)

<div class="topic-metadata">

**Author:** [@ivanstorck](https://www.ruby-forum.com/u/ivanstorck)\
**Replies:** 6\
**Last updated:** [March 7, 2009, 9:44am UTC](https://www.ruby-forum.com/t/whats-wrong-with-lambda-and-class/162143 "2009-03-07T09:44:33Z")

</div>

Code: def call\_block(&c) c.call end def yield\_block(&c) yield end def lambda\_and\_call c = lambda { return 1 } call\_block(&c) + 1 end def lambda\_and\_yield c = lambda { return 1 } yield\_block(&c) + 1 end def…

---

## [2000-1992.2 - is this a known bug?](https://www.ruby-forum.com/t/2000-1992-2-is-this-a-known-bug/162224)

<div class="topic-metadata">

**Author:** [@S2S2S2](https://www.ruby-forum.com/u/S2S2S2)\
**Replies:** 6\
**Last updated:** [March 7, 2009, 5:28am UTC](https://www.ruby-forum.com/t/2000-1992-2-is-this-a-known-bug/162224 "2009-03-07T05:28:14Z")

</div>

ruby 1.8.7 (2008-08-11 patchlevel 72) \[i486-linux\] 2000-1992.2 =\> 7.79999999999995

---

## [Extending has for default value, can't get it to work](https://www.ruby-forum.com/t/extending-has-for-default-value-cant-get-it-to-work/162232)

<div class="topic-metadata">

**Author:** [@nousplacidus](https://www.ruby-forum.com/u/nousplacidus)\
**Replies:** 5\
**Last updated:** [March 7, 2009, 5:27am UTC](https://www.ruby-forum.com/t/extending-has-for-default-value-cant-get-it-to-work/162232 "2009-03-07T05:27:43Z")

</div>

http://pastie.org/409974 When I instantiate MyHash.new I get an empty hash. Just not sure how to proceed. thanks

---

## [Create App Store and iPhone icon lookalikes with RMagick](https://www.ruby-forum.com/t/create-app-store-and-iphone-icon-lookalikes-with-rmagick/162230)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 2\
**Last updated:** [March 7, 2009, 4:07am UTC](https://www.ruby-forum.com/t/create-app-store-and-iphone-icon-lookalikes-with-rmagick/162230 "2009-03-07T04:07:37Z")

</div>

I’ve written a Ruby script that takes a 512x512 image and produces icons that look very similar to the icons used on the App Store and the iPhone. The script demonstrates how to use RMagick to add the “shine”, the rou…

---

## [Git push](https://www.ruby-forum.com/t/git-push/162231)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 3:01am UTC](https://www.ruby-forum.com/t/git-push/162231 "2009-03-07T03:01:27Z")

</div>

Sorry about missing yesterday. I was out sick. JD

---

## [ANN: Dao, the official 1.0 version is released](https://www.ruby-forum.com/t/ann-dao-the-official-1-0-version-is-released/162204)

<div class="topic-metadata">

**Author:** [@Limin\_Fu](https://www.ruby-forum.com/u/Limin_Fu)\
**Replies:** 7\
**Last updated:** [March 7, 2009, 1:49am UTC](https://www.ruby-forum.com/t/ann-dao-the-official-1-0-version-is-released/162204 "2009-03-07T01:49:58Z")

</div>

Hi, This is to announce the first official release of Dao. Dao is a simple yet powerful object-oriented programming language with many advanced features including, soft (or optional) typing, BNF-like macro system, re…

---

## [Compiling ruby on Windows 7 x64](https://www.ruby-forum.com/t/compiling-ruby-on-windows-7-x64/161987)

<div class="topic-metadata">

**Author:** [@swozniak](https://www.ruby-forum.com/u/swozniak)\
**Replies:** 2\
**Last updated:** [March 7, 2009, 1:15am UTC](https://www.ruby-forum.com/t/compiling-ruby-on-windows-7-x64/161987 "2009-03-07T01:15:44Z")

</div>

I’ve been trying to compile newest 1.9.1-p0 ruby on windows 7 x64 but no success. Steps I have followed so far. I have installed Visual Studio 2005 I have installed Microsoft Platform SDK I have launched Visual Studi…

---

## [Pure ruby iconv?](https://www.ruby-forum.com/t/pure-ruby-iconv/162193)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 4\
**Last updated:** [March 7, 2009, 1:12am UTC](https://www.ruby-forum.com/t/pure-ruby-iconv/162193 "2009-03-07T01:12:24Z")

</div>

Hi, It looks like Rails 2.x requires the iconv library. Unfortunately, libiconv requires mingw or cygwin to build properly. Since I have neither, I’m in a bit of a bind. I thought there was a pure Ruby library (or th…

---

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

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 12:32am UTC](https://www.ruby-forum.com/t/code-review-interop3/162225 "2009-03-07T00:32:41Z")

</div>

tfpt review “/shelveset:interop3;REDMOND\\jdeville” Comment : Rearrange .NET tests according to the new test structure Add the csc method to inline C# fixtures into the Ruby code +++++++++++++++++++++++++++++++++++ I…

---

## [Ruby/Tk version?](https://www.ruby-forum.com/t/ruby-tk-version/161592)

<div class="topic-metadata">

**Author:** [@diego\_v](https://www.ruby-forum.com/u/diego_v)\
**Replies:** 3\
**Last updated:** [March 7, 2009, 12:26am UTC](https://www.ruby-forum.com/t/ruby-tk-version/161592 "2009-03-07T00:26:14Z")

</div>

Hello, what version of Tk does Ruby 1.9.1 uses? And if they are not uptodate, any plan to bring it to the latest version? Thank you Diego

---

## [\[ANN\] JRuby 1.2.0RC2 Released](https://www.ruby-forum.com/t/ann-jruby-1-2-0rc2-released/162219)

<div class="topic-metadata">

**Author:** [@Thomas\_E\_Enebo](https://www.ruby-forum.com/u/Thomas_E_Enebo)\
**Replies:** 0\
**Last updated:** [March 6, 2009, 11:35pm UTC](https://www.ruby-forum.com/t/ann-jruby-1-2-0rc2-released/162219 "2009-03-06T23:35:49Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.2.0RC2 Homepage: http://www.jruby.org/ Download: http://dist.codehaus.org/jruby/ JRuby 1.2.0RC2 has fixed many many compatibility issues and continued …

---

## [Please test ironrubymvc](https://www.ruby-forum.com/t/please-test-ironrubymvc/162160)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 5\
**Last updated:** [March 6, 2009, 11:01pm UTC](https://www.ruby-forum.com/t/please-test-ironrubymvc/162160 "2009-03-06T23:01:15Z")

</div>

Hi I’m going to take this weekend to add some more error checking to IronRuby MVC and to create a readme with a quick sample. But as things stand I think you should have a usable version of IronRuby MVC currently i…

---

## [RubyForge gems RSS feed](https://www.ruby-forum.com/t/rubyforge-gems-rss-feed/162216)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [March 6, 2009, 10:11pm UTC](https://www.ruby-forum.com/t/rubyforge-gems-rss-feed/162216 "2009-03-06T22:11:56Z")

</div>

Thanks to the assistance of Tom C., RubyForge now has an RSS feed of recent gems: RubyGems.org | your community gem host The feed is updated daily and contains the last two days of releases. If you forget, you can al…

---

## [Unable to install gem](https://www.ruby-forum.com/t/unable-to-install-gem/162213)

<div class="topic-metadata">

**Author:** [@familiarcat](https://www.ruby-forum.com/u/familiarcat)\
**Replies:** 0\
**Last updated:** [March 6, 2009, 9:29pm UTC](https://www.ruby-forum.com/t/unable-to-install-gem/162213 "2009-03-06T21:29:21Z")

</div>

I’m currently attempting to install the wxruby gem into jruby. When I call jruby -S jgem list -r, wxruby appears as a remote gem to download. But when I attempt to install it (jruby -S jgem install wxruby) I get a gem…

---

## [Comparing CLR strings and Ruby strings - a slightly surprising behaviour](https://www.ruby-forum.com/t/comparing-clr-strings-and-ruby-strings-a-slightly-surprising-behaviour/161923)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 28\
**Last updated:** [March 6, 2009, 9:09pm UTC](https://www.ruby-forum.com/t/comparing-clr-strings-and-ruby-strings-a-slightly-surprising-behaviour/161923 "2009-03-06T21:09:35Z")

</div>

Hi, while writing specs for Magic, I noticed that: instance\_from(MenuItem, “Hello”).text.to\_s.should == “Hello” to\_s is required to get the assertion to pass. The following will return false: button = Button.new bu…

---

## [Proper way to include module methods with dynamic code?](https://www.ruby-forum.com/t/proper-way-to-include-module-methods-with-dynamic-code/162194)

<div class="topic-metadata">

**Author:** [@jdw](https://www.ruby-forum.com/u/jdw)\
**Replies:** 2\
**Last updated:** [March 6, 2009, 7:39pm UTC](https://www.ruby-forum.com/t/proper-way-to-include-module-methods-with-dynamic-code/162194 "2009-03-06T19:39:55Z")

</div>

Hi, (This is in a Rails context, but I believe is much more of a Ruby question so is posted here.) I’ve got an index method with some dynamic bits I’d like to place into a module and include in several controllers: m…

---

## [Any solutions to Ruby's inconsistencies?](https://www.ruby-forum.com/t/any-solutions-to-rubys-inconsistencies/161995)

<div class="topic-metadata">

**Author:** [@cruby](https://www.ruby-forum.com/u/cruby)\
**Replies:** 27\
**Last updated:** [March 6, 2009, 7:06pm UTC](https://www.ruby-forum.com/t/any-solutions-to-rubys-inconsistencies/161995 "2009-03-06T19:06:40Z")

</div>

Ruby has definite positives over Java and even other scripting languages, but many negatives too. One negative is the inconsistency of how rules seem to be applied in the language and accompanying toolsets. Here are …

---

## [Adding parameters to a soap header/wsdl2ruby](https://www.ruby-forum.com/t/adding-parameters-to-a-soap-header-wsdl2ruby/162203)

<div class="topic-metadata">

**Author:** [@andrewneal](https://www.ruby-forum.com/u/andrewneal)\
**Replies:** 0\
**Last updated:** [March 6, 2009, 7:01pm UTC](https://www.ruby-forum.com/t/adding-parameters-to-a-soap-header-wsdl2ruby/162203 "2009-03-06T19:01:42Z")

</div>

Hi, Does anyone know how to add header name.values pairs to the a soap headers generated by a client created with the wsdl2ruby script? I can’t find any documentation or examples on how to do this.

---

## [Regexp problem /\[Ã©Ãª\]/ || /Ã©|Ãª/](https://www.ruby-forum.com/t/regexp-problem-a-a-a-a/162172)

<div class="topic-metadata">

**Author:** [@jonatas](https://www.ruby-forum.com/u/jonatas)\
**Replies:** 3\
**Last updated:** [March 6, 2009, 6:29pm UTC](https://www.ruby-forum.com/t/regexp-problem-a-a-a-a/162172 "2009-03-06T18:29:29Z")

</div>

Hi, I got a problem try to replace accentuated characters like: irb irb(main):001:0\> irb(main):002:0\* name = “FÃªnix” =\> “F\\303\\252nix” irb(main):003:0\> name.gsub(/\[Ã©Ãª\]/,‘e’) =\> “Feenix” irb(main):004:0\> name.g…

---

## [Calling same page using two url with the help of routes.rb](https://www.ruby-forum.com/t/calling-same-page-using-two-url-with-the-help-of-routes-rb/162173)

<div class="topic-metadata">

**Author:** [@salil](https://www.ruby-forum.com/u/salil)\
**Replies:** 2\
**Last updated:** [March 6, 2009, 3:38pm UTC](https://www.ruby-forum.com/t/calling-same-page-using-two-url-with-the-help-of-routes-rb/162173 "2009-03-06T15:38:06Z")

</div>

I want to access same page using two different url’s for that i had done following in routes.rb 1\] map.connect ‘projects/:project\_id/issues/:action’, :controller =\> ‘issues’ so when my url is http://localhost:3000…

---

## [Rubyscript2exe on osx error](https://www.ruby-forum.com/t/rubyscript2exe-on-osx-error/162187)

<div class="topic-metadata">

**Author:** [@XYXYXY](https://www.ruby-forum.com/u/XYXYXY)\
**Replies:** 0\
**Last updated:** [March 6, 2009, 3:16pm UTC](https://www.ruby-forum.com/t/rubyscript2exe-on-osx-error/162187 "2009-03-06T15:16:06Z")

</div>

Hi, I tried to do an executable of a simple script using rubyscript2exe on OSX, ruby 1.8 and that what I got when I run the created application: unknown-00-17-f2-ed-65-fe:~ kwicher$ /Users/kwicher/Documents/Ruby/ rub…

---

## [New Version of IBM\_DB Rails Adapter/Driver for IBM DataServers now available](https://www.ruby-forum.com/t/new-version-of-ibm-db-rails-adapter-driver-for-ibm-dataservers-now-available/196910)

<div class="topic-metadata">

**Author:** [@praveen](https://www.ruby-forum.com/u/praveen)\
**Replies:** 0\
**Last updated:** [March 6, 2009, 3:10pm UTC](https://www.ruby-forum.com/t/new-version-of-ibm-db-rails-adapter-driver-for-ibm-dataservers-now-available/196910 "2009-03-06T15:10:45Z")

</div>

Hi All, New version of IBM\_DB gem 1.0.2 is now available. This release provides support for specifying the connection timeout value in the adapter and hence in turn now you can specify the timeout value in the databa…

---

## [Pre-newbie question](https://www.ruby-forum.com/t/pre-newbie-question/162109)

<div class="topic-metadata">

**Author:** [@martinr](https://www.ruby-forum.com/u/martinr)\
**Replies:** 7\
**Last updated:** [March 6, 2009, 2:11pm UTC](https://www.ruby-forum.com/t/pre-newbie-question/162109 "2009-03-06T14:11:12Z")

</div>

I want to add Sketchup features, a product that has an API only for Ruby, so I’ve decided that Ruby is the right choice. I’ve Googled up lists of tutorials, tried a few. Any recommendations? (I’m an experienced OO pro…

---

## [Debug ruby extension via gdb](https://www.ruby-forum.com/t/debug-ruby-extension-via-gdb/162164)

<div class="topic-metadata">

**Author:** [@zhangaigh](https://www.ruby-forum.com/u/zhangaigh)\
**Replies:** 3\
**Last updated:** [March 6, 2009, 1:45pm UTC](https://www.ruby-forum.com/t/debug-ruby-extension-via-gdb/162164 "2009-03-06T13:45:21Z")

</div>

Hi, I have a question during debugging ruby c++ extension. For example, I created a c++ class who is wrapped through swig. Now I’d like to invoke the class via ruby. Meanwhile I’d like to debug it via gdb. How to step…

---

## [Add a string on the end of values before splitting new line](https://www.ruby-forum.com/t/add-a-string-on-the-end-of-values-before-splitting-new-line/162095)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 3\
**Last updated:** [March 6, 2009, 1:43pm UTC](https://www.ruby-forum.com/t/add-a-string-on-the-end-of-values-before-splitting-new-line/162095 "2009-03-06T13:43:33Z")

</div>

Hi again. I am starting a new topic since this question is not the same as my original topic started this morning. “It builds on to that question.” Originally I was reading a textfile that had values that were comma …

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

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