[Ironruby-core] OpenSSL::X509::Certificate

2009-04-29 Thread jirapong.na...@gmail.com
Hi, I got following methods/attributes implement in OpenSSL::X509::Certificate new -> certb new(data) -> cert subject issuer serial to_s inspect Commits: http://github.com/Jirapong/ironruby/commit/a907d58168b772cdf6f266a012f53236b7d56895 http://github.com/Jirapong/ironruby/co

Re: [Ironruby-core] mspec error undefined method `filtered' for MSpecScript:Class

2009-04-29 Thread jirapong.na...@gmail.com
Thank you Jimmy. That's work! > gem uninstall mspec > del c:\ruby\bin\mspec* Bests, -Jirapong On Apr 30, 2009, at 2:29 AM, Jimmy Schementi wrote: It's because the "mspec" command you're running lives in your C:\ruby \bin directory, not C:\...\ironruby\Merlin\External.LCA_RESTRICTED \Language

Re: [Ironruby-core] mspec error undefined method `filtered' for MSpecScript:Class

2009-04-29 Thread Shri Borde
If you have RUBYOPTS set to "-rubygems" (as is done by default by the MRI one-click installer), RubyGems will get first shot at finding "mspec" and will look at installed gems before looking at $LOAD_PATH. That could also be the issue. Just using the different version of mspec.bat may not fix th

Re: [Ironruby-core] mspec error undefined method `filtered' for MSpecScript:Class

2009-04-29 Thread Jimmy Schementi
It's because the "mspec" command you're running lives in your C:\ruby\bin directory, not C:\...\ironruby\Merlin\External.LCA_RESTRICTED\Languages\IronRuby\mspec\mspec\bin. Running "where mspec" should show something like this: C:\dev\jschementi-ironruby\Merlin\Main\Languages\Ruby>where mspec C:

Re: [Ironruby-core] mspec error undefined method `filtered' for MSpecScript:Class

2009-04-29 Thread jirapong.na...@gmail.com
Thank you, I did run the dev.bat but still get same error. I'm investigating why it load from gems rather than what get in .mspecrc file. Bests, - Jirapong On Apr 30, 2009, at 1:58 AM, Jimmy Schementi wrote: Sounds like you're not running Dev.bat. Before doing anything with IronRuby (whe

Re: [Ironruby-core] mspec error undefined method `filtered' for MSpecScript:Class

2009-04-29 Thread Jimmy Schementi
Sounds like you're not running Dev.bat. Before doing anything with IronRuby (when you get it from the git repo), please run Merlin/Main/Languages/Ruby/Scripts/Dev.bat. That will make sure things are all set up properly. To make this easy, just create a ironruby.bat file somewhere which calls De

Re: [Ironruby-core] mspec error undefined method `filtered' for MSpecScript:Class

2009-04-29 Thread Jim Deville
The gem won't work for now. Make sure that the mspec that runs is the Mspec in Merlin/External.LCA_RESTRICTED. JD -Original Message- From: jirapong.na...@gmail.com Sent: April 29, 2009 11:12 AM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] mspec error undefined method `filte

[Ironruby-core] mspec error undefined method `filtered' for MSpecScript:Class

2009-04-29 Thread jirapong.na...@gmail.com
Have any one got this error? and to fix it :-) c:\ironruby\Merlin\External.LCA_RESTRICTED\Languages\IronRuby\mspec \default.mspec:12: undefined method `filtered' for MSpecScript:Class (NoMethodError) from C://Documents and Settings/Administrator/.mspecrc:15:in `load' from C:

Re: [Ironruby-core] Implementing get_Item in Ruby for access in .NET

2009-04-29 Thread Curt Hagenlocher
I don't think there's any attempt right now to identify an indexer when overriding virtual methods. This means that the normal Rubification rules kick in and you get def item key end def item= key, value end The second of these, of course, isn't usable from within Ruby -- though I think it sh

[Ironruby-core] Implementing get_Item in Ruby for access in .NET

2009-04-29 Thread Xerxes Battiwalla
Hi there. We're trying to access a ruby implementation of a Hash from .NET but having trouble getting the following snip to work require 'Dependencies.dll' class ParameterList        include Namespace::IParameterList       �...@parameter_hash        def initialize               �...@parameter_h