# IronRuby

**URL:** https://www.ruby-forum.com/c/ruby/ironruby/27.md?page=2

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

---

## [Deadlock in IronRuby](https://www.ruby-forum.com/t/deadlock-in-ironruby/211356)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [September 2, 2011, 6:37am UTC](https://www.ruby-forum.com/t/deadlock-in-ironruby/211356 "2011-09-02T06:37:30Z")

</div>

I’m encountering what looks like a fairly textbook deadlock in the core IronRuby code when creating Classes: Thread 0: -\> calls RubyContext.GetOrCreateClass(Type) - acquires RubyContext.ModuleCacheLock -\> function b…

---

## [Re: ObjectSpace module](https://www.ruby-forum.com/t/re-objectspace-module/211317)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 9:08am UTC](https://www.ruby-forum.com/t/re-objectspace-module/211317 "2011-09-01T09:08:40Z")

</div>

Hello, Sorry for the late reply. Implementing directly in the libraries will involve adding some logic somewhere in something like RubyInstanceData (where ObjectID is implemented, I didn’t investigate in detail yet). …

---

## [Rvm install](https://www.ruby-forum.com/t/rvm-install/210986)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 22, 2011, 10:03pm UTC](https://www.ruby-forum.com/t/rvm-install/210986 "2011-08-22T22:03:42Z")

</div>

i am fixing ‘rvm install ironruby-head’ , not much left to do. If someone can upload to rubyforge files ( http://rubyforge.org/frs/?group\_id=4359 ) ironruby-1.1.3.zip i can also fix ‘rvm install ironruby-1.1.3’

---

## [Pull request #41 - fix workitem 4047, added load options from RUBYOPT environment variable](https://www.ruby-forum.com/t/pull-request-41-fix-workitem-4047-added-load-options-from-rubyopt-environment-variable/210938)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [August 21, 2011, 3:37pm UTC](https://www.ruby-forum.com/t/pull-request-41-fix-workitem-4047-added-load-options-from-rubyopt-environment-variable/210938 "2011-08-21T15:37:41Z")

</div>

updated rubyspec ‘command\_line’ to latest version added load options from RUBYOPT environment variable i want to add an unit test (NUnit?) for class RubyOptEnvParser, where i can add it?

---

## [Re: ObjectSpace module](https://www.ruby-forum.com/t/re-objectspace-module/210736)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 16, 2011, 8:44am UTC](https://www.ruby-forum.com/t/re-objectspace-module/210736 "2011-08-16T08:44:03Z")

</div>

Hello, Thank you for your response. My implementation was a trick to make something working. I think I can do this more correctly and complete in the IronRuby core. I’ll try to implement this in IronRuby core, if no…

---

## [Sync rubyspec](https://www.ruby-forum.com/t/sync-rubyspec/210507)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [August 15, 2011, 1:02pm UTC](https://www.ruby-forum.com/t/sync-rubyspec/210507 "2011-08-15T13:02:33Z")

</div>

---

## [Pull request #39 - Range :cover?, :max, :min and updated rubyspec 'core/range'](https://www.ruby-forum.com/t/pull-request-39-range-cover-max-min-and-updated-rubyspec-core-range/210695)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [August 15, 2011, 1:57am UTC](https://www.ruby-forum.com/t/pull-request-39-range-cover-max-min-and-updated-rubyspec-core-range/210695 "2011-08-15T01:57:28Z")

</div>

Updated rubyspec ‘core/range’ to latest version Implemented: Range#cover? Range#min Range#max refactored Range#each and Range#step for share same code for iterate range values. Code style should be ok now. Anyway …

---

## [Pull request #31 - fix workitem 6345, implemented IO#binread](https://www.ruby-forum.com/t/pull-request-31-fix-workitem-6345-implemented-io-binread/210416)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 14, 2011, 10:16pm UTC](https://www.ruby-forum.com/t/pull-request-31-fix-workitem-6345-implemented-io-binread/210416 "2011-08-14T22:16:42Z")

</div>

The pull request #31 ( wi #6345 added IO#binread by enricosada · Pull Request #31 · IronLanguages/main · GitHub ) is for resolve workitem 6345 ( http://ironruby.codeplex.com/workitem/6345 ). Implemented IO#binread wit…

---

## [ObjectSpace module](https://www.ruby-forum.com/t/objectspace-module/210525)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 10, 2011, 8:30pm UTC](https://www.ruby-forum.com/t/objectspace-module/210525 "2011-08-10T20:30:52Z")

</div>

Hello, I’ve wrote on http://ironruby.codeplex.com/workitem/6028 that the ObjectSpace module is not complete Comments from the issues above: " wrote Thu at 11:57 PM File.realpath is a Ruby 1.9 method we haven’t gotte…

---

## [IronRuby IDE with MRI?](https://www.ruby-forum.com/t/ironruby-ide-with-mri/210516)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 10, 2011, 3:19am UTC](https://www.ruby-forum.com/t/ironruby-ide-with-mri/210516 "2011-08-10T03:19:59Z")

</div>

Hi. I’ve been trying to learn to program Ruby and I’ve been wondering if it’s possible to use the Visual Studio IDE with MRI. It seems to have some nice features, but I don’t find much documentation about it anywhe…

---

## [Pull request #33 - fix wi 6195, implemented Enumerable#group\_by](https://www.ruby-forum.com/t/pull-request-33-fix-wi-6195-implemented-enumerable-group-by/210443)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [August 8, 2011, 7:57pm UTC](https://www.ruby-forum.com/t/pull-request-33-fix-wi-6195-implemented-enumerable-group-by/210443 "2011-08-08T19:57:26Z")

</div>

i pulled request #33 ( wi 6195 added Enumerable#group\_by by enricosada · Pull Request #33 · IronLanguages/main · GitHub ) for fix wi 6195. I added implementation of Enumerable#group\_by

---

## [Pull request #32 - fix workitem 4266, YAML.load with % inside given string](https://www.ruby-forum.com/t/pull-request-32-fix-workitem-4266-yaml-load-with-inside-given-string/210418)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [August 8, 2011, 2:24am UTC](https://www.ruby-forum.com/t/pull-request-32-fix-workitem-4266-yaml-load-with-inside-given-string/210418 "2011-08-08T02:24:34Z")

</div>

The pull request #32 ( fix workitem #4266, YAML.load with '%' symbol inside given string by enricosada · Pull Request #32 · IronLanguages/main · GitHub ) fix the workitem #4266 ( http://ironruby.codeplex.com/workitem/42…

---

## [Pull Request #29 - Sync with rubyspec/mspec](https://www.ruby-forum.com/t/pull-request-29-sync-with-rubyspec-mspec/210364)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 6:45pm UTC](https://www.ruby-forum.com/t/pull-request-29-sync-with-rubyspec-mspec/210364 "2011-08-05T18:45:33Z")

</div>

I am implementing IO#binread for workitem 6345 (http://ironruby.codeplex.com/workitem/6345). The rubyspec for IO#binread is missing, so i added it with pull request to rubyspec/rubyspec ( these are my first contributi…

---

## [Access Top Level methods](https://www.ruby-forum.com/t/access-top-level-methods/208944)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 2, 2011, 9:19pm UTC](https://www.ruby-forum.com/t/access-top-level-methods/208944 "2011-08-02T21:19:30Z")

</div>

Hi, I am trying to access top level method from the class definition in IronRuby scripts. Example: def global\_hi end class A def hi global\_hi end end A.new.hi The script executed in ScriptEngine throws a NoSuc…

---

## [Code Review - Time#strftime ignore invalid directives on format string](https://www.ruby-forum.com/t/code-review-time-strftime-ignore-invalid-directives-on-format-string/210225)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [August 2, 2011, 8:59pm UTC](https://www.ruby-forum.com/t/code-review-time-strftime-ignore-invalid-directives-on-format-string/210225 "2011-08-02T20:59:02Z")

</div>

i asked a pull request ( Time#strftime - any text not listed as a directive in the given format st by enricosada · Pull Request #28 · IronLanguages/main · GitHub ) for fix Time#strftime behaviour on invalid directives o…

---

## [Workitem #6244 - request for code review](https://www.ruby-forum.com/t/workitem-6244-request-for-code-review/210157)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 1, 2011, 5:36pm UTC](https://www.ruby-forum.com/t/workitem-6244-request-for-code-review/210157 "2011-08-01T17:36:24Z")

</div>

Hi, i fixed workitem #6244 ( workitem #6244, added format '%N' to time.strftime · enricosada/IronLanguages@c9d8339 · GitHub), i added ‘%N’ option to time.strftime. I added also the test to strftime mspec. I dont think…

---

## [Lost messages](https://www.ruby-forum.com/t/lost-messages/210018)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 28, 2011, 11:49pm UTC](https://www.ruby-forum.com/t/lost-messages/210018 "2011-07-28T23:49:16Z")

</div>

Hi I sent a couple emails from my work account (my name at gallagher.co) enquiring about 2 patches I had submitted that seem to be in limbo. The first email was 2 months ago the second approx a week. Both these messa…

---

## [Can't convert Fixnum into String (TypeError)](https://www.ruby-forum.com/t/cant-convert-fixnum-into-string-typeerror/209226)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 8, 2011, 6:16pm UTC](https://www.ruby-forum.com/t/cant-convert-fixnum-into-string-typeerror/209226 "2011-07-08T18:16:27Z")

</div>

This program works with ruby and jruby but it does not work with iron ruby. I get the following error: multi-client-tcp-server.rb:29: can’t convert Fixnum into String (TypeError) I’m new to ruby. Can someone help me …

---

## [Benchmark threading+IO : ir seem the best!](https://www.ruby-forum.com/t/benchmark-threading-io-ir-seem-the-best/208726)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [June 25, 2011, 4:35pm UTC](https://www.ruby-forum.com/t/benchmark-threading-io-ir-seem-the-best/208726 "2011-06-25T16:35:28Z")

</div>

See : http://snippets.dzone.com/posts/show/13263

---

## [Creating RubySymbols in C#](https://www.ruby-forum.com/t/creating-rubysymbols-in-c/208661)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [June 23, 2011, 8:47pm UTC](https://www.ruby-forum.com/t/creating-rubysymbols-in-c/208661 "2011-06-23T20:47:10Z")

</div>

Hello, I’m attempting to write a method in C# that is called by IronRuby to speed up an existing script, and I call it like this: foo :limit =\> 5, :offset =\> 10 How would I go about accessing these objects from C#? I…

---

## [Require\_relative](https://www.ruby-forum.com/t/require-relative/208340)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [June 15, 2011, 6:17pm UTC](https://www.ruby-forum.com/t/require-relative/208340 "2011-06-15T18:17:36Z")

</div>

Ironruby-core mailing list removed\_email\_address@domain.invalid http://rubyforge.org/mailman/listinfo/ironruby-core

---

## [Fibers and IronRuby](https://www.ruby-forum.com/t/fibers-and-ironruby/208227)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [June 15, 2011, 3:25pm UTC](https://www.ruby-forum.com/t/fibers-and-ironruby/208227 "2011-06-15T15:25:51Z")

</div>

Hi all, I was trying to test fibers under IronRuby but gives me this error: a = Fiber.new{sleep 3;puts “finished”} (ir):1:in \`const\_missing’: uninitialized constant Object::Fiber (NameError) from (ir):1 I am …

---

## [WPF Databinding with RubyObjects, continuation, dynamically create wrappers with strong typed proper](https://www.ruby-forum.com/t/wpf-databinding-with-rubyobjects-continuation-dynamically-create-wrappers-with-strong-typed-proper/208301)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [June 14, 2011, 8:00pm UTC](https://www.ruby-forum.com/t/wpf-databinding-with-rubyobjects-continuation-dynamically-create-wrappers-with-strong-typed-proper/208301 "2011-06-14T20:00:33Z")

</div>

Hello, I recently stumbled upon this awesome code: http://rubyforge.org/pipermail/ironruby-core/2008-December/003377.html It does exactly what I need; dynamically wrapping my RubyObject into a CLR class with CLR prop…

---

## [Hash#flatten not implemented](https://www.ruby-forum.com/t/hash-flatten-not-implemented/208285)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 5:31am UTC](https://www.ruby-forum.com/t/hash-flatten-not-implemented/208285 "2011-06-14T05:31:10Z")

</div>

Hi All, I just found out that Hash#flatten is not implemented in IronRuby, for whoever that needs it here is the implementation (I tested it comparing the results with Ruby 1.9.2) giving the same results: class Hash …

---

## [Require 'rubygems' gives llformed requirement \["\>= 0"\] (ArgumentError)](https://www.ruby-forum.com/t/require-rubygems-gives-llformed-requirement-0-argumenterror/207895)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [June 13, 2011, 9:44pm UTC](https://www.ruby-forum.com/t/require-rubygems-gives-llformed-requirement-0-argumenterror/207895 "2011-06-13T21:44:41Z")

</div>

Hello, When I try to require ‘rubygems’ in IronRuby on mono (OSX) I get the following error mono ir.exe -e “require ‘rubygems’” /Library/Frameworks/Mono.framework/Versions/2.10.1/lib/ironruby/bin/…/Lib/ruby/1.9.1/rub…

---

## [Modifying Global String](https://www.ruby-forum.com/t/modifying-global-string/207868)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [June 4, 2011, 5:47pm UTC](https://www.ruby-forum.com/t/modifying-global-string/207868 "2011-06-04T17:47:06Z")

</div>

If i set a global in the engine and modify it like this in c# scriptEngine.Runtime.Globals.SetVariable(“Name”, ‘none’); And then in ruby do: Name = ‘A new Name’ And then try to get the global back, it is ‘none’ and n…

---

## [Fwd: Ruby FFI port](https://www.ruby-forum.com/t/fwd-ruby-ffi-port/205030)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [June 4, 2011, 11:31am UTC](https://www.ruby-forum.com/t/fwd-ruby-ffi-port/205030 "2011-06-04T11:31:42Z")

</div>

Well, I think I’ve made a little progress - hoping to attach a simple function soon. I am concerned about one thing though - we need to be able to call function pointers, but I think that Marshal.GetDelegateForFuncti…

---

## [Wiki on GitHub](https://www.ruby-forum.com/t/wiki-on-github/207756)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [June 3, 2011, 10:27am UTC](https://www.ruby-forum.com/t/wiki-on-github/207756 "2011-06-03T10:27:52Z")

</div>

Hello, who is responsible for the wiki on GitHub? Some of the information os terribly misleading and out of date. How would one go about fixing it? //M phone: +46 (0)709 78 40 03 e-mail: removed\_email\_address@domai…

---

## [Mysql + sequel](https://www.ruby-forum.com/t/mysql-sequel/206827)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [June 1, 2011, 9:30pm UTC](https://www.ruby-forum.com/t/mysql-sequel/206827 "2011-06-01T21:30:16Z")

</div>

Installed sequel gem okay but mysql throws up this error when i try to install. C:\\Documents and Settings\\Owner\\My Documents\\ruby\_test\\rub y\_test\>igem install mysql Building native extensions. This could take a whil…

---

## [High Level Help with IronRuby - VS C# 2010](https://www.ruby-forum.com/t/high-level-help-with-ironruby-vs-c-2010/207652)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 30, 2011, 11:59pm UTC](https://www.ruby-forum.com/t/high-level-help-with-ironruby-vs-c-2010/207652 "2011-05-30T23:59:33Z")

</div>

I need some clarification about how to create a valid Iron Ruby build Environment. I want to ensure I have the correct configuration to work with Iron Ruby. My Goal is to use the VS C# IDE to enter Ruby Code and buil…

[Previous page](https://www.ruby-forum.com/c/ruby/ironruby/27.md?page=1)

[Next page](https://www.ruby-forum.com/c/ruby/ironruby/27.md?page=3)
