IronRuby is an open-source implementation of the Ruby programming language which is tightly integrated with the .NET Framework.
Questions tagged [ironruby]
268 questions
5
votes
3 answers
Integration of C#, F#, IronPython and IronRuby
I was told that the assembly files made from C# and F# source is interoperable as they are compiled into .NET assembly.
Q1 : Does that mean that C# can call F# functions just like they are C# functions?
Q2 : How about the IronPython and IronRuby? I…

prosseek
- 182,215
- 215
- 566
- 871
5
votes
1 answer
Getting Rails Application Running Under IronRuby Rack
Anyone else playing with ironruby?
I have successfully got the IronRuby.Rails.Example project running on my local machine under IIS 5.1. I am now attempting to get my own demo rails site running in the same way.
My web.config is slightly different…

NotMyself
- 29,209
- 17
- 56
- 74
5
votes
2 answers
IronRuby - how to require .NET assemblies without strong name?
This page on the IronRuby help website talks about being able to 'require' some well-known assemblies such as System.Windows.Forms without needing to crank out the entire 'ah-come-on-gimme-a-break-here-you-cannot-be-serious' strong name of the…

mackenir
- 10,801
- 16
- 68
- 100
5
votes
2 answers
can ironruby nuget package be installed then used in a vanilla VS2012
I am interested in using a ruby script (https://github.com/zmoazeni/csscss) withing an ASPNET MVC site. I have no previous experience with ruby so my question could be naive.
Is it possible to import the ironruby nuget package and execute the ruby…

Jon
- 15,110
- 28
- 92
- 132
5
votes
1 answer
How can I use Ruby code in .NET?
I'd like to use a RubyGem in my C# application.
I've downloaded IronRuby, but I'm not sure how to get up and running. Their download includes ir.exe, and it includes some DLLs such as IronRuby.dll.
Once IronRuby.dll is referenced in my .NET project,…

marclar
- 3,026
- 5
- 35
- 56
4
votes
2 answers
Is IronRuby being actively developed?
I am planning to use Ruby and RoR 3.x on .Net was wondering if IronRuby is being actively developed, last I heard over the grapevine about year ago was Microsoft withdrew support for it. Can anyone confirm the state ?

Daya Sharma
- 2,855
- 2
- 15
- 12
4
votes
1 answer
ASP.net MVC with IronRuby?
Does asp.net mvc development necessarily means c# should be in it? Is it painful to use IronRuby(is it possible?) and how ironruby differs from ruby?

Sergey
- 11,548
- 24
- 76
- 113
4
votes
4 answers
Going Ruby: Straight to IronRuby?
I just started to learn Ruby and as a .Net developer, I'm wondering if I should just go straight ahead and use IronRuby, without trying some pure Ruby first.
What do you think? Will I be missing anything?
-- rauchy

Omer Rauchwerger
- 183
- 7
4
votes
1 answer
How to call a C# IEnumerable from IronRuby
I have a C# method:
public static IEnumerator getPixels(Picture picture) {
for (int x=0; x < picture.width; x++) {
for (int y=0; y < picture.height; y++) {
yield return picture.getPixel(x, y);
}
}
}
I can call this fine…

Doug Blank
- 2,031
- 18
- 36
4
votes
2 answers
Returning a CLR type from IronRuby
I am trying to return a CLR object from Iron Ruby.
I have the following CLR type defined in C#
public class BuildMetaData
{
public string Description { get; set; }
}
I have the following IronRuby file:
$:.unshift(File.dirname(__FILE__) +…

dagda1
- 26,856
- 59
- 237
- 450
4
votes
1 answer
Is it possible to use IronPython and IronRuby side by side in the same Application?
I get a warning in Visual Studio when I reference the latest version of Microsoft.Scripting (the one included with IronPython).
Is it possible to deploy / use them side by side in the same application?
Is there a better / more dynamic way to…

ScArcher2
- 85,501
- 44
- 121
- 160
4
votes
3 answers
Can I compile IronRuby project in VS2010 into DLL/exe file?
After created IronRuby project in VS2010 by using IronRuby v1.1.x, I was able to use almost .NET library by importing them. But can't actually compile ironruby into exe/DLL.
I see the build option but can't build any exe or DLL from IronRuby…

Little Jack
- 558
- 4
- 14
4
votes
3 answers
How do I embed iron ruby into a c# program?
I want to embed iron ruby into a mud that I am creating and for some reason I'm having trouble finding the correct examples to get started.
All I want to do is create a game where 'you' the player will program bots in iron ruby and then I will…

Keith Simmons
- 41
- 2
4
votes
2 answers
Pass an array from IronRuby to C#
I'm sure this is an easy fix and I just can't find it, but here goes:
I have a C# class (let's call it Test) in an assembly (let's say SOTest.dll).
Here is something along the lines of what I'm doing:
private List items;
public List…

cgyDeveloper
- 1,901
- 3
- 21
- 34
4
votes
4 answers
Capturing Standard Output from an IronRuby Script using the DLR APIs
I have a very simple test.rb file:
puts "Hello World"
I want to execute this file within c#, eg:
var runtime = Ruby.CreateRuntime();
runtime.ExecuteFile("C:\test.rb");
How can I capture the "Hello World"?

Marc
- 41
- 1