This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\Will\dev\goldmember>SET MONO_PATH=C:\ironruby\lib\ironruby\gems\1.8\gems\gherkin-1.0.30-universal-dotnet\lib | |
C:\Users\Will\dev\goldmember>gherkin stats features | |
C:/IronRuby/lib/ironruby/gems/1.8/gems/gherkin-1.0.30-universal-dotnet/bin/../lib/gherkin/native/ikvm.rb:16:in `load_assembly': Assembly 'gherkin' not found\nTry this: SET MONO_PATH=C:/IronRuby/lib/ironruby/gems/1.8/gems/gherkin-1.0.30-universal-dotnet/lib (or export MONO_PATH=...) (LoadError) | |
from C:/IronRuby/lib/ironruby/gems/1.8/gems/gherkin-1.0.30-universal-dotnet/bin/../lib/gherkin/native/ikvm.rb:16:in `native_impl' | |
from C:/IronRuby/lib/ironruby/gems/1.8/gems/gherkin-1.0.30-universal-dotnet/bin/../lib/gherkin/i18n.rb:7 | |
from C:/IronRuby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in `require' | |
from C:/IronRuby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in `require' | |
from C:/IronRuby/lib/ironruby/gems/1.8/gems/gherkin-1.0.30-universal-dotnet/bin/../lib/gherkin/i18n_lexer.rb:1 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gem::Specification.new do |s| | |
s.name = %q{iron-term-ansicolor} | |
s.version = nil | |
s.platform = Gem::Platform.new(["universal", "dotnet", nil]) | |
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | |
s.authors = ["Will Green", "David Blackmon", "Ivan Porto Carrero", "Danny Coates"] | |
s.date = %q{2010-05-20} | |
s.description = %q{iron-term-ansicolor brings color output to IronRuby on Windows} | |
s.email = %q{[email protected]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Gestalt - IronRuby Console</title> | |
<script type="text/javascript"> | |
if (!window.DLR) | |
window.DLR = {}; | |
DLR.settings = { console: true }; | |
</script> | |
<script src="/dlr/dlr.js" type="text/javascript"></script> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\Will\AppData\Local\Temp\ironruby\Languages\Ruby>rake compile | |
(in C:/Users/Will/AppData/Local/Temp/ironruby/Languages/Ruby) | |
------------------------------------------------------------------------------- | |
dlr_extension | |
------------------------------------------------------------------------------- | |
rake aborted! | |
No such file or directory - C:/Users/Will/AppData/Local/ndp/fx/src/Core/Microsoft/Scripting | |
(See full trace by running task with --trace) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Microsoft.Scripting.Hosting; | |
namespace InteropConsole | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
ScriptEngine engine = IronRuby.Ruby.CreateEngine(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\Will\dev\FactoryGirlSpike\InteropConsole\bin\Debug>ir | |
IronRuby 1.0.0.0 on .NET 4.0.30319.1 | |
Copyright (c) Microsoft Corporation. All rights reserved. | |
>>> require 'factories.rb' | |
=> true | |
>>> u = Factory.build(:user) | |
=> CLR User: FirstName: John, LastName: Doe, Admin: False, Email [email protected] | |
>>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[RubyClass] | |
public class Foo { | |
[RubyAccessor("bar")] | |
public MutableString Bar { | |
get; | |
set; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[RubyClass] | |
public class Foo { | |
private MutableString _bar = MutableString.Create(""); | |
[RubyMethod("bar")] | |
public static MutableString GetBar(RubyContext context, Foo self) { | |
return self._bar; | |
} | |
[RubyMethod("bar=")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\Will\dev\ironruby>mspec tag --list fails rubyspec | |
C:\Users\Will\dev\ironruby/External.LCA_RESTRICTED/Languages/IronRuby/mspec/default.mspec:27: undefined method `filtered' for MSpecScript:Class (NoMethodError) | |
from C:/Users/Will/.mspecrc:15:in `load' | |
from C:/Users/Will/.mspecrc:15 | |
from C:/Users/Will/dev/ironruby/External.LCA_RESTRICTED/Languages/IronRuby/mspec/mspec/lib/mspec/utils/script.rb:72:in `load' | |
from C:/Users/Will/dev/ironruby/External.LCA_RESTRICTED/Languages/IronRuby/mspec/mspec/lib/mspec/utils/script.rb:72:in `load' | |
from C:/Users/Will/dev/ironruby/External.LCA_RESTRICTED/Languages/IronRuby/mspec/mspec/lib/mspec/utils/script.rb:71:in `each' | |
from C:/Users/Will/dev/ironruby/External.LCA_RESTRICTED/Languages/IronRuby/mspec/mspec/lib/mspec/utils/script.rb:71:in `load' | |
from C:/Users/Will/dev/ironruby/External.LCA_RESTRICTED/Languages/IronRuby/mspec/mspec/lib/mspec/utils/script.rb:213:in `main' | |
from C:/Users/Will/dev/ironruby/Extern |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'MyAssembly.dll' | |
my_class = MyNamespace::MyClass::new() |