# Ruby

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

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

---

## [Seg fault on Thread.new with ruby 1.8.6](https://www.ruby-forum.com/t/seg-fault-on-thread-new-with-ruby-1-8-6/167382)

<div class="topic-metadata">

**Author:** [@fiddler](https://www.ruby-forum.com/u/fiddler)\
**Replies:** 2\
**Last updated:** [May 11, 2009, 9:43am UTC](https://www.ruby-forum.com/t/seg-fault-on-thread-new-with-ruby-1-8-6/167382 "2009-05-11T09:43:43Z")

</div>

Hi all, Since my rails app crashed, I cannot restart it and get the following error at startup: /local2/ruby/gems/gems/rails-2.1.1/lib/commands/servers/base.rb:4: \[BUG\] Segmentation fault ruby 1.8.6 (2008-08-11) \[i3…

---

## [IntelÂ® Coreâ„¢2 Duo Processor](https://www.ruby-forum.com/t/intela-corea-2-duo-processor/167663)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [May 11, 2009, 9:26am UTC](https://www.ruby-forum.com/t/intela-corea-2-duo-processor/167663 "2009-05-11T09:26:06Z")

</div>

With Intel Core 2 Duo processors powering your desktop PC you’ll get the latest arsenal of performance-rich for morwe info www.infoaboutintelprocessor.blogspot.com

---

## [Interface methods of internal class not defined in IR](https://www.ruby-forum.com/t/interface-methods-of-internal-class-not-defined-in-ir/167654)

<div class="topic-metadata">

**Author:** [@xerxesb](https://www.ruby-forum.com/u/xerxesb)\
**Replies:** 1\
**Last updated:** [May 11, 2009, 8:53am UTC](https://www.ruby-forum.com/t/interface-methods-of-internal-class-not-defined-in-ir/167654 "2009-05-11T08:53:09Z")

</div>

Hi there, We are using a .NET library which comprises of several classes marked internal where each class exposes functionality through an interface. When attempting to call on these objects in IR, we get an “undefine…

---

## [Environment.SpecialFolder](https://www.ruby-forum.com/t/environment-specialfolder/167651)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 1\
**Last updated:** [May 11, 2009, 8:51am UTC](https://www.ruby-forum.com/t/environment-specialfolder/167651 "2009-05-11T08:51:58Z")

</div>

This looks like it should be really simple, but it’s broken… What am I doing wrong?’ require ‘mscorlib’ =\> true System::Environment::SpecialFolder :0:in \`const\_missing’: uninitialized constant System::Enviro…

---

## [Re: Is it possible to run rake on the latest binary	release of IronRuby?](https://www.ruby-forum.com/t/re-is-it-possible-to-run-rake-on-the-latest-binary-release-of-ironruby/167610)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 6\
**Last updated:** [May 11, 2009, 8:09am UTC](https://www.ruby-forum.com/t/re-is-it-possible-to-run-rake-on-the-latest-binary-release-of-ironruby/167610 "2009-05-11T08:09:44Z")

</div>

The next time I push, that should be fixed. Tomas just implemented Method#to\_proc last week. JD …there is no try Sent from my phone. Please excuse typos and txtspk.

---

## [\[Bug #1456\] invalid $LOAD\_PATH when configure with --program-suffix](https://www.ruby-forum.com/t/bug-1456-invalid-load-path-when-configure-with-program-suffix/167645)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 1\
**Last updated:** [May 11, 2009, 6:17am UTC](https://www.ruby-forum.com/t/bug-1456-invalid-load-path-when-configure-with-program-suffix/167645 "2009-05-11T06:17:56Z")

</div>

Bug #1456: invalid $LOAD\_PATH when configure with --program-suffix http://redmine.ruby-lang.org/issues/show/1456 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.9.2dev (2…

---

## [Ruby memory usage](https://www.ruby-forum.com/t/ruby-memory-usage/167440)

<div class="topic-metadata">

**Author:** [@moredip](https://www.ruby-forum.com/u/moredip)\
**Replies:** 22\
**Last updated:** [May 11, 2009, 5:28am UTC](https://www.ruby-forum.com/t/ruby-memory-usage/167440 "2009-05-11T05:28:27Z")

</div>

Hi Folks, I’m trying to figure out a memory usage issue with some long running ruby processes and was wondering if anyone can help me out. The background is that I have a set of long running ruby processes which are …

---

## [Win32console problem](https://www.ruby-forum.com/t/win32console-problem/167649)

<div class="topic-metadata">

**Author:** [@janovetz](https://www.ruby-forum.com/u/janovetz)\
**Replies:** 0\
**Last updated:** [May 11, 2009, 2:14am UTC](https://www.ruby-forum.com/t/win32console-problem/167649 "2009-05-11T02:14:18Z")

</div>

I looked around and couldn’t find a topic on this, but if I missed it, please refer me to the topic location. I am very new to ruby, so this is probably a simple question. Here is my code: begin require 'rubygems'…

---

## [Adding data to text file variables](https://www.ruby-forum.com/t/adding-data-to-text-file-variables/167414)

<div class="topic-metadata">

**Author:** [@sclarke](https://www.ruby-forum.com/u/sclarke)\
**Replies:** 5\
**Last updated:** [May 11, 2009, 1:55am UTC](https://www.ruby-forum.com/t/adding-data-to-text-file-variables/167414 "2009-05-11T01:55:36Z")

</div>

I have a quick question and I apologise for my ignorance if it is easy to perform. I have a GUI class which takes 3 peices of information from the user in text fields which are loaded into 3 variables. I then want to…

---

## [(mandriva) can I obtain kdevelop with ruby, already compiled?](https://www.ruby-forum.com/t/mandriva-can-i-obtain-kdevelop-with-ruby-already-compiled/167631)

<div class="topic-metadata">

**Author:** [@jolivierld](https://www.ruby-forum.com/u/jolivierld)\
**Replies:** 1\
**Last updated:** [May 10, 2009, 7:29pm UTC](https://www.ruby-forum.com/t/mandriva-can-i-obtain-kdevelop-with-ruby-already-compiled/167631 "2009-05-10T19:29:17Z")

</div>

hello, I would like if it is possible to obtain kdevelop without compile it from the sources. I would like ruby support also, and form mandriva (rpms). thx, olivier Yahoo! Mail réinvente le mail ! Découvrez le nou…

---

## [Ruby string slice/\[\] w/ range, weird end behavior](https://www.ruby-forum.com/t/ruby-string-slice-w-range-weird-end-behavior/167532)

<div class="topic-metadata">

**Author:** [@gyngve](https://www.ruby-forum.com/u/gyngve)\
**Replies:** 16\
**Last updated:** [May 10, 2009, 7:09pm UTC](https://www.ruby-forum.com/t/ruby-string-slice-w-range-weird-end-behavior/167532 "2009-05-10T19:09:58Z")

</div>

First the docs: …If passed two Fixnum objects, returns a substring starting at the offset given by the first, and a length given by the second. If given a range, a substring containing characters at offsets given by t…

---

## [Re: Questions regarding the plans for V1](https://www.ruby-forum.com/t/re-questions-regarding-the-plans-for-v1/167614)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 1\
**Last updated:** [May 10, 2009, 6:49pm UTC](https://www.ruby-forum.com/t/re-questions-regarding-the-plans-for-v1/167614 "2009-05-10T18:49:25Z")

</div>

We use 1.8.6 patchlevel 287 as our reference implementation. The 1.0 release will look just like our current binaries. So all of the compiled libraries + the redist-libs folder. JD …there is no try Sent from my phon…

---

## [Re: IronRuby projects newsletter](https://www.ruby-forum.com/t/re-ironruby-projects-newsletter/167633)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 1\
**Last updated:** [May 10, 2009, 5:29pm UTC](https://www.ruby-forum.com/t/re-ironruby-projects-newsletter/167633 "2009-05-10T17:29:38Z")

</div>

I don’t know where Curt is in events, but if he is done, that support will show up in the next push (perhaps later today). I’ll have to take a look at both of your frameworks today. I’m liking the idea of stubs by def…

---

## [Rake variables](https://www.ruby-forum.com/t/rake-variables/166431)

<div class="topic-metadata">

**Author:** [@sprsquish](https://www.ruby-forum.com/u/sprsquish)\
**Replies:** 3\
**Last updated:** [May 10, 2009, 4:22pm UTC](https://www.ruby-forum.com/t/rake-variables/166431 "2009-05-10T16:22:43Z")

</div>

I’m a rake beginner with a couple of questions: (1) Is there any way to set rake options from the within the Rakefile, as though they had been specified on the command-line? I always want to run a particular Rakefile…

---

## [Problem install rmagick](https://www.ruby-forum.com/t/problem-install-rmagick/167615)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 1\
**Last updated:** [May 10, 2009, 2:55pm UTC](https://www.ruby-forum.com/t/problem-install-rmagick/167615 "2009-05-10T14:55:21Z")

</div>

gem1.8 install rmagick works fine, but: gem1.9 install rmagick Building native extensions. This could take a while… ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9 extc…

---

## [Thread and Mutex in Ruby 1.8.7](https://www.ruby-forum.com/t/thread-and-mutex-in-ruby-1-8-7/167206)

<div class="topic-metadata">

**Author:** [@gdo](https://www.ruby-forum.com/u/gdo)\
**Replies:** 2\
**Last updated:** [May 10, 2009, 2:10pm UTC](https://www.ruby-forum.com/t/thread-and-mutex-in-ruby-1-8-7/167206 "2009-05-10T14:10:51Z")

</div>

Hello, in ruby 1.8.7 I want to do something like this: require ‘thread’ class Bar def initialize(f) @f=f end def m\_a #This method isn’t call only by FOO::m\_b @f.m\_a end end class Foo Â def initialize Â Â @m…

---

## [Re: IronRuby projects newsletter](https://www.ruby-forum.com/t/re-ironruby-projects-newsletter/167616)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 2\
**Last updated:** [May 10, 2009, 11:12am UTC](https://www.ruby-forum.com/t/re-ironruby-projects-newsletter/167616 "2009-05-10T11:12:00Z")

</div>

Other features: I don’t use most of the fancy features, but I do find stubs useful. Do you expect people to use when\_told\_to without was\_told\_to? in order to stub something out? I also find the ‘null object’ pattern u…

---

## [Computer language so easy](https://www.ruby-forum.com/t/computer-language-so-easy/167617)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [May 10, 2009, 10:25am UTC](https://www.ruby-forum.com/t/computer-language-so-easy/167617 "2009-05-10T10:25:45Z")

</div>

easy way to learn about computer visit www.glu007.blogspot.com

---

## [IronRuby projects newsletter](https://www.ruby-forum.com/t/ironruby-projects-newsletter/167451)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 2\
**Last updated:** [May 10, 2009, 10:09am UTC](https://www.ruby-forum.com/t/ironruby-projects-newsletter/167451 "2009-05-10T10:09:56Z")

</div>

This “newsletter” is just part of the contents of http://wiki.github.com/ironruby/ironruby/contributing for your reading convenience, filtered down to projects with an updated status since last time. A number of the p…

---

## [Is it possible to run rake on the latest binary release of IronRuby?](https://www.ruby-forum.com/t/is-it-possible-to-run-rake-on-the-latest-binary-release-of-ironruby/167529)

<div class="topic-metadata">

**Author:** [@Patrick\_van\_der\_Vel](https://www.ruby-forum.com/u/Patrick_van_der_Vel)\
**Replies:** 4\
**Last updated:** [May 10, 2009, 8:55am UTC](https://www.ruby-forum.com/t/is-it-possible-to-run-rake-on-the-latest-binary-release-of-ironruby/167529 "2009-05-10T08:55:03Z")

</div>

Hi All I was wondering if it was possible to run rake (or irake) on the latest binary release of IronRuby. I’ve searched the mailing list but all posts relating to rake are several months old and are not related to t…

---

## [Questions regarding the plans for V1](https://www.ruby-forum.com/t/questions-regarding-the-plans-for-v1/167609)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 0\
**Last updated:** [May 10, 2009, 6:40am UTC](https://www.ruby-forum.com/t/questions-regarding-the-plans-for-v1/167609 "2009-05-10T06:40:40Z")

</div>

Hi, I was wondering about 2 issues regarding IronRuby 1.0: Is IronRuby based on Ruby 1.9 or 1.8? Will all of the libraries mentioned on the “Standard libraries” page in the IronRuby.net site be released with V1? Man…

---

## [\[Bug #1453\] dl in ruby-1.9 must check whether block is given to TempFunction](https://www.ruby-forum.com/t/bug-1453-dl-in-ruby-1-9-must-check-whether-block-is-given-to-tempfunction/167605)

<div class="topic-metadata">

**Author:** [@Takashi\_T](https://www.ruby-forum.com/u/Takashi_T)\
**Replies:** 1\
**Last updated:** [May 10, 2009, 4:37am UTC](https://www.ruby-forum.com/t/bug-1453-dl-in-ruby-1-9-must-check-whether-block-is-given-to-tempfunction/167605 "2009-05-10T04:37:56Z")

</div>

Bug #1453: dl in ruby-1.9 must check whether block is given to TempFunction http://redmine.ruby-lang.org/issues/show/1453 e$B5/I\<\<Te(B: Takashi T. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: ext, Ta…

---

## [\[Bug #1452\] DL::CPtr.new doesn't check the type of the 3rd arg](https://www.ruby-forum.com/t/bug-1452-dl-cptr-new-doesnt-check-the-type-of-the-3rd-arg/167602)

<div class="topic-metadata">

**Author:** [@Takashi\_T](https://www.ruby-forum.com/u/Takashi_T)\
**Replies:** 1\
**Last updated:** [May 10, 2009, 4:18am UTC](https://www.ruby-forum.com/t/bug-1452-dl-cptr-new-doesnt-check-the-type-of-the-3rd-arg/167602 "2009-05-10T04:18:03Z")

</div>

Bug #1452: DL::CPtr.new doesn’t check the type of the 3rd arg. http://redmine.ruby-lang.org/issues/show/1452 e$B5/I\<\<Te(B: Takashi T. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: ext, Target version: …

---

## [\[Bug #1451\] dl in ruby-1.9 can't parse signatures correctly](https://www.ruby-forum.com/t/bug-1451-dl-in-ruby-1-9-cant-parse-signatures-correctly/167571)

<div class="topic-metadata">

**Author:** [@Takashi\_T](https://www.ruby-forum.com/u/Takashi_T)\
**Replies:** 1\
**Last updated:** [May 10, 2009, 3:51am UTC](https://www.ruby-forum.com/t/bug-1451-dl-in-ruby-1-9-cant-parse-signatures-correctly/167571 "2009-05-10T03:51:09Z")

</div>

Bug #1451: dl in ruby-1.9 can’t parse signatures correctly. http://redmine.ruby-lang.org/issues/show/1451 e$B5/I\<\<Te(B: Takashi T. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: ext, Target version: 1.9…

---

## [Ruby-ffi problem](https://www.ruby-forum.com/t/ruby-ffi-problem/167559)

<div class="topic-metadata">

**Author:** [@Aston](https://www.ruby-forum.com/u/Aston)\
**Replies:** 2\
**Last updated:** [May 10, 2009, 1:56am UTC](https://www.ruby-forum.com/t/ruby-ffi-problem/167559 "2009-05-10T01:56:55Z")

</div>

Hello, I am trying to learn ruby-ffi now (after sadly leaving dl library), I have some trouble here too I will present a simple example where I want to pass a struct between ruby and C I am facing problems while set…

---

## [Ruby 1.9.1 and Mingw (on Windows)](https://www.ruby-forum.com/t/ruby-1-9-1-and-mingw-on-windows/165853)

<div class="topic-metadata">

**Author:** [@snaury](https://www.ruby-forum.com/u/snaury)\
**Replies:** 8\
**Last updated:** [May 9, 2009, 11:39pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-and-mingw-on-windows/165853 "2009-05-09T23:39:33Z")

</div>

Hi, Recently I wanted to see if I could safely move to Ruby 1.9.1, and wanted to test my rails application for that, when I discovered that Thin (which uses EventMachine) just hangs up after the first request. This h…

---

## [One Click Installer-Mingw-Swiftiply Problem](https://www.ruby-forum.com/t/one-click-installer-mingw-swiftiply-problem/162887)

<div class="topic-metadata">

**Author:** [@paulf](https://www.ruby-forum.com/u/paulf)\
**Replies:** 1\
**Last updated:** [May 9, 2009, 11:37pm UTC](https://www.ruby-forum.com/t/one-click-installer-mingw-swiftiply-problem/162887 "2009-05-09T23:37:12Z")

</div>

The windows extension compile situation seems to be a mess! Luis L. & Fabio Akita have downloads available using mingw compiles to address the problem. I have tried Fabios complete mingw dev kit and had this problem …

---

## [Wait until a Singleton instantiated?](https://www.ruby-forum.com/t/wait-until-a-singleton-instantiated/167592)

<div class="topic-metadata">

**Author:** [@Kfir\_L](https://www.ruby-forum.com/u/Kfir_L)\
**Replies:** 1\
**Last updated:** [May 9, 2009, 11:03pm UTC](https://www.ruby-forum.com/t/wait-until-a-singleton-instantiated/167592 "2009-05-09T23:03:48Z")

</div>

Hi, I have singleton class I want to observe with another class. The problem is that the singleton class will create the instance of the class that wants to observe it. Here is an example: require ‘singleton’ requi…

---

## [Ruby's Windows One Click Installer is 16 months old](https://www.ruby-forum.com/t/rubys-windows-one-click-installer-is-16-months-old/167550)

<div class="topic-metadata">

**Author:** [@jianlin](https://www.ruby-forum.com/u/jianlin)\
**Replies:** 3\
**Last updated:** [May 9, 2009, 10:21pm UTC](https://www.ruby-forum.com/t/rubys-windows-one-click-installer-is-16-months-old/167550 "2009-05-09T22:21:04Z")

</div>

Ruby’s Windows One Click Installer is 16 months old… seems like, which is 1.8.6 dated back to about 2007 December… Does anyone know why no one made a 1-Click installer for Ruby 1.8.7 or 1.9? Is it that Ruby is used m…

---

## [Access a dll file from a RubyOnRails](https://www.ruby-forum.com/t/access-a-dll-file-from-a-rubyonrails/196957)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 1\
**Last updated:** [May 9, 2009, 9:47pm UTC](https://www.ruby-forum.com/t/access-a-dll-file-from-a-rubyonrails/196957 "2009-05-09T21:47:59Z")

</div>

Hi Could anybody please suggest ways to access dll files from a rails application? Thanks in advance Sijo

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

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