IronRuby is an open-source implementation of the Ruby programming language which is tightly integrated with the .NET Framework.
Questions tagged [ironruby]
268 questions
3
votes
0 answers
ASP.NET MVC 2 - Implementing custom Metadata and Validator Providers
With the preview 2 release of ASP.NET MVC 2, we now have base classes to implement our own custom providers for metadata and validation. Specifically, with ModelMetadataProvider and ModelValidatorProvider.
There isn't a lot of documentation on these…

Kevin Radcliffe
- 991
- 1
- 11
- 21
3
votes
2 answers
Ruby approach to data access available in IronRuby
Coming from the Ruby community and approching IronRuby for desktop application development, I have little interest in using a .NET based ORM such as Linq. I want to use the ruby-way of data access that I've come to love from products such as…

jrhicks
- 14,759
- 9
- 42
- 57
3
votes
2 answers
IronRuby - .NET 4.0 - Question Marks and Exclamations at the End of Method Names
Just curious how is the .NET 4.0 CLR world going to call methods ending in question marks and exclamations? What will the syntax look like calling from C# or VB.NET?

BuddyJoe
- 69,735
- 114
- 291
- 466
3
votes
2 answers
Differences between Ruby VMs
What are the advantages/disadvantages of the major Ruby VMs (things like features, compatibility, performance, and quirks?) I know there are also some bonus features like being able to use Java interfaces through JRuby, too. Those would also be…

Zach
- 24,496
- 9
- 43
- 50
3
votes
1 answer
How do I Implement an interface in IronRuby that includes CLR Events
I'm experimenting with IronRuby and WPF and I'd like to write my own commands. What I have below Is as far as I can figure out.
class MyCommand
include System::Windows::Input::ICommand
def can_execute()
true
end
def execute()
puts…

Ball
- 2,591
- 3
- 19
- 26
3
votes
5 answers
What are the options for dynamically-typed .NET web development at this time?
What are you options for dynamically-typed .NET web development at this time?
Ruby on Rails with IronRuby?
Django (with a few alterations) and IronPython?
Don't feel like going the Phalanger route. I'm done with PHP.
I assume there is some way to…

BuddyJoe
- 69,735
- 114
- 291
- 466
3
votes
2 answers
Can Sinatra be used with IronRuby?
I'm trying to install the following ruby gem on my mac:
http://www.sinatrarb.com/intro.html
I get the following message:
michael-rosarios-macbook:bin michaelrosario1$ mono ir.exe igem sinatra
ERROR: While executing gem ... (RuntimeError)
…

Michael Rosario
- 838
- 1
- 11
- 26
3
votes
1 answer
Is it possible to halt a running DLR/IronPython/IronRuby script
I have an application that executes user generated IronRuby scripts where each thread executes on its own thread. The issue I have is that certain events can occur that require the IronRuby script to be stopped at an arbitrary point in the script.…

sipsorcery
- 30,273
- 24
- 104
- 155
3
votes
2 answers
Retrieve modified variable value
I have an IronRuby script that modifies the value of a variable set via the ScriptScope.
I'd like to retrieve the value of the variable after it's been modified, but I get the old value.
This is the code I have:
var engine = Ruby.CreateEngine();
var…

Cristian Lupascu
- 39,078
- 16
- 100
- 137
2
votes
2 answers
How to use ErrorListener for IronRuby
I have a C# program to execute an IronRuby script. But before doing that, I'd like to compile the file first to see if there is any errors. But it seems the ErrorListener does not work well. Is there anything wrong with my code?
class Program
{
…

Tau
- 23
- 5
2
votes
3 answers
2
votes
2 answers
Iron Ruby in Windows Visual Studio
I have been attempting to create a Windows Application using Iron Ruby Version 1.1 and Ruby in Steel for Windows Visual Studio 2010. I have attempted many times to start a new Iron Ruby Windows Application project. I am able to create such a…
user1101037
2
votes
1 answer
Are there any pitfalls in writing WPF apps with IronRuby?
Using IronRuby/IronPython, you should technically be able to do anything you could do in C#/VB .Net. I'm curious if there is anything that would keep a serious rubyist from writing a WPF app for Windows/Silverlight if they were inclined. A post…

jonathanpeppers
- 26,115
- 21
- 99
- 182
2
votes
5 answers
Does anybody know a real life example of IronRuby usage
Although I'm not a .NET developer I always get excited about the work DLR team is doing at Microsoft. I watched a couple of videos from various Ruby conferences where John Lam showed the progress of IronRuby and Dynamic Language Runtime in general.…

Andrei Андрей Листочкин
- 8,442
- 6
- 43
- 53
2
votes
2 answers
How can I use the IronLanguages' Tools without buying VS?
IronRuby's "Tools" pack looks like a really attractive IDE to me, except for the fact that I need to buy Visual Studio to use it.
Is there a way around this?

Casey Chow
- 1,794
- 4
- 17
- 29