Questions tagged [ironruby]

IronRuby is an open-source implementation of the Ruby programming language which is tightly integrated with the .NET Framework.

268 questions
0
votes
1 answer

Error while executing IronRuby with bewildr

I am trying to automate a WPF using Bewildr, cucumber and IronRuby. As of now, as a baby step I have done the following Installed IronRuby1.1 in C:\IronRuby Installed Bewildr and cucumber gem Created a Ruby file in IronRuby bin sample.rb require…
user1395264
  • 143
  • 3
  • 18
0
votes
1 answer

IronRuby takes awhile to load. Is this normal?

Came across IronRuby and thought it was pretty interesting. Decided to give it a try. I have some ruby scripts that I would like to distribute. However, my audience may or may not have ruby installed on their systems, but they would have .net, so I…
MxLDevs
  • 19,048
  • 36
  • 123
  • 194
0
votes
2 answers

rspec w/IronRuby missing be_* methods

My IronRuby install of the rspec gem seems to be lacking the automated be_* method helpers. For instance, the following code generates an undefined method error: require 'rubygems' require 'rspec' x = 7 x.should == 7 # works x.nonzero?.should == 7…
Scott Miller
  • 447
  • 7
  • 18
0
votes
1 answer

rspec 'no such file to load'

I have an annoying problem whereby the rspec gem is installed on my machine but when I require it, I get a 'no such file to load' error. The trace is listed shown below. The problem also seems to go away on rare occasions and come back soon after.…
Mark Micallef
  • 1,051
  • 2
  • 12
  • 25
0
votes
2 answers

How to web enable .NET libraries

I am looking to expose my existing .NET libraries to an intranet. With many moving to RESTful services, OpenRasta looks tempting. In a similar vein, I am playing around with Sinatra in IronRuby. I am primarily looking for 3 points: 1) What are you…
Kevin Radcliffe
  • 991
  • 1
  • 11
  • 21
0
votes
1 answer

Use JRuby (or IronRuby) to boots performance of Rails on Windows?

I am currently developing Rails on a Windows laptop, but it runs very slowly. Would it be worthwhile to try running rails on JRuby or IronRuby to speed up performance?
Ari
  • 1,974
  • 19
  • 30
0
votes
1 answer

Retrieving from resource dictionary via IronRuby

I have a Silverlight 4 app that contains a Canvas, which in turn contains a Storyboard resource (named sb1). In C#, I can get to the storyboard resource by executing Storyboard sb = (Storyboard)canvas.Resources["sb1"]; When I try to do the…
Optimax
  • 1,534
  • 2
  • 16
  • 23
0
votes
1 answer

How to get a runtime context, when exection a script on the DLR scripting host?

Currently I'm working in a case study to integrate IronRuby into one of our core products. The exection of scripts in only possible in a synchronous manner, so I plan to execute the scripts in threads each. But additionally I need a bit more control…
Nico
  • 1,554
  • 1
  • 23
  • 35
0
votes
1 answer

How to create timer in silverlight application using ironruby?

I want to call some function repeatly in client's browser. System::Timers::Timer work only on serverside how i know...
ostapische
  • 1,572
  • 2
  • 12
  • 26
0
votes
1 answer

How to connect to MySQL database in silverlight using ruby?

when i use require 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or require 'rubygems' require 'active_record' in app.rb silverlight plugin crashing... include System::Data says MemberAccessException:…
ostapische
  • 1,572
  • 2
  • 12
  • 26
0
votes
1 answer

Is it possible to restrict editing of certain file types [like css] in visual studio or specifically TFS?

My question is in big environment preferably would like to lockdown people from editing the generated CSS files instead of in our case .scss files. Highly recommend anyone who is using Visual Studio for front end development to check out Web…
PDA
  • 766
  • 6
  • 10
0
votes
3 answers

What is the difference in speed between the DLR languages and C# in Silverlight 2?

For Silverlight 2, it looks like programming choices are: C# VB DLR scripting languages IronRuby IronPython A sadly neglected (if not cancelled) Managed jScript Is this a case where the native languages (C# and VB) are faster than the DLR…
Nosredna
  • 83,000
  • 15
  • 95
  • 122
-1
votes
1 answer

IronRuby scripting in C#: invoking class method/function

I am trying to use IronRuby for some simple scripting in a C# application. I am trying to invoke a class method "execute" on class "Script" via the scripting engine, but it is simply not working. I have tried several methods and none seem to invoke…
Nick Thissen
  • 1,802
  • 4
  • 27
  • 38
1 2 3
17
18