Re: [Ironruby-core] ironruby-rack gem

2011-04-23 Thread Kevin Radcliffe
good place for them, here? https://github.com/IronLanguages/main/tree/master/Hosts/IronRuby.Rack/ironruby-rack/test (Or pehaps a subdirectory off of that) If it isn't a good approach, what would be a better way to move toward 1.2.0 compatibility? Thanks! Best Regards, Kevin Radc

Re: [Ironruby-core] [ANN] IronRuby 1.1.1 Released!

2010-10-25 Thread Kevin Radcliffe
re we're getting caught? Thanks Best Regards, Kevin Radcliffe On Mon, Oct 25, 2010 at 1:05 PM, Ryan Riley wrote: > I don't have GEM_PATH/GEM_HOME defined anymore. The only other ruby in my > path is C:\Users\ryan\.gem\ironruby\1.8\bin, which isn't a Ruby. Actually, I > do

Re: [Ironruby-core] Preview of ironruby-rack gem

2010-07-07 Thread Kevin Radcliffe
ppear to do the same thing. Best Regards, Kevin Radcliffe ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] Preview of ironruby-rack gem

2010-07-07 Thread Kevin Radcliffe
ter that, the simple sample app worked properly. Best Regards, Kevin Radcliffe On Tue, Jul 6, 2010 at 9:14 PM, Ryan Riley wrote: > This is great, Jimmy! Thanks! I tried the simple example you explain > below, and everything worked except for deploying to IIS. Probably something > I did or d

Re: [Ironruby-core] Preview of ironruby-rack gem

2010-07-06 Thread Kevin Radcliffe
Is it possible to detect if app.rb already exists, and use it by default if so (from the config.ru)? Will continue working with this, thanks again! Best Regards, Kevin Radcliffe ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyfo

Re: [Ironruby-core] RubyGems 1.3.6, Bundler, etc.

2010-04-26 Thread Kevin Radcliffe
You could, and yes I did sign an agreement, but Tomas' suggestion probably works better. I just threw it out there to show that it would work. Thanks! Best Regards, Kevin Radcliffe On Mon, Apr 26, 2010 at 2:54 PM, Jim Deville wrote: > Can we take this as a patch? Have you signed an a

Re: [Ironruby-core] RubyGems 1.3.6, Bundler, etc.

2010-04-26 Thread Kevin Radcliffe
My own ironruby.rb: http://gist.github.com/379763 <http://gist.github.com/379763>Thanks - Kevin On Mon, Apr 26, 2010 at 1:23 PM, Kevin Radcliffe wrote: > Confirming, that it seems to work properly for me: > > C:\IronRuby1.0_V4>ir > IronRuby 1.0.0.0 on .NET 4.0.30319.1 Co

Re: [Ironruby-core] RubyGems 1.3.6, Bundler, etc.

2010-04-26 Thread Kevin Radcliffe
the bundler gem. Was there a version of ironruby.rb attached somewhere earlier with all of the appropriate overrides? - I just guessed. Thanks Best Regards, Kevin Radcliffe On Mon, Apr 26, 2010 at 11:41 AM, Jim Deville wrote: > This is the comment we got from Eric (RubyGems maintainer). > &

Re: [Ironruby-core] Ocra

2010-04-23 Thread Kevin Radcliffe
applications as ordinary .Net executables without having to ship a collection of plain-text Ruby source files. No-one need ever know" Best Regards, Kevin Radcliffe On Thu, Apr 22, 2010 at 3:03 PM, Ilias bankai wrote: > Hi All, > > Is it possible to package the sourcecode in t

Re: [Ironruby-core] DataMapper (was Re: Thread Priority)

2010-04-22 Thread Kevin Radcliffe
most optimal solution, but I think it may give us something for MSSQL servers right away. Thanks! Best Regards, Kevin Radcliffe On Thu, Apr 22, 2010 at 11:25 PM, Jimmy Schementi < jimmy.scheme...@microsoft.com> wrote: > That's a very good question actually; I know at least one

Re: [Ironruby-core] DataMapper (was Re: Thread Priority)

2010-04-22 Thread Kevin Radcliffe
Too late for email I guess. My email was re: Sequel and not Datamapper. May still apply, but probably not. My apologies. Best Regards, Kevin Radcliffe On Thu, Apr 22, 2010 at 11:46 PM, Kevin Radcliffe wrote: > I was also very interested in this. > > Jimmy, shouldn't plain old ADO

Re: [Ironruby-core] How do I pass an ExpandoObject from C# into IronRuby?

2010-03-03 Thread Kevin Radcliffe
d from source now, your code will work. Thanks Best Regards, Kevin Radcliffe On Wed, Mar 3, 2010 at 12:14 AM, Goode, Troy wrote: > I tried to send this question earlier, but it did not appear to go > through. Shortly after I tried to send it the first time, the "Consuming > Dynami

Re: [Ironruby-core] IronRuby .Net 4 CTP and dynamic

2010-03-03 Thread Kevin Radcliffe
ct) should work as you expect. Thanks Best Regards, Kevin Radcliffe On Fri, Nov 13, 2009 at 10:36 AM, Patrick Brown wrote: > Hi > >Should I be able to call out to a C# method with this release that > returns a dynamic and access it's return value? > > public class Modi

Re: [Ironruby-core] IO#read for socket (SocketStream.cs)

2009-11-16 Thread Kevin Radcliffe
Hashimoto-san, Thanks I've attached your tests scripts and script explanation to the codeplex issue here: http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3122 Best Regards, Kevin Radcliffe 2009/11/16 はしもとけんいち > Thank you for filing my report. > > I forgot to attach m

Re: [Ironruby-core] ironruby hosting as scripting engine

2009-11-11 Thread Kevin Radcliffe
byforge.org > [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Kevin Radcliffe > Sent: Wednesday, November 11, 2009 11:35 AM > To: ironruby-core@rubyforge.org > Subject: Re: [Ironruby-core] ironruby hosting as scripting engine > > Tomas, is this new, or changed? I c

Re: [Ironruby-core] mailing list issues?

2009-11-11 Thread Kevin Radcliffe
Orion, yes, I think that's exactly what's happening. It took me awhile before I realized that's what was happening to me. I label the ironruby mailing list items, and I never saw my own "show up" ;) Best Regards, Kevin On Wed, Nov 11, 2009 at 1:41 PM, Orion Edwards wrote: > Hrm, they obviously go

Re: [Ironruby-core] ironruby hosting as scripting engine

2009-11-11 Thread Kevin Radcliffe
Tomas, is this new, or changed? I couldn't seem to call a method using what you showed. Because "do_stuff" is a function that returns a list (in my case) I couldn't do: var execute = scope.GetVariable>(“do_stuff”); But instead, had to do something like this: return engine.Execute("do_stuff", sco

Re: [Ironruby-core] mailing list issues?

2009-11-11 Thread Kevin Radcliffe
Did see a couple of recent ones like: "IronRuby 0.9.2 bug - super(.S, 1*&):433 @1 not supported on foreign meta-object" Were there more after those? Or where are you looking right now? Best Regards, Kevin On Wed, Nov 11, 2009 at 12:38 PM, Orion Edwards wrote: > I sent a couple of emails about po

Re: [Ironruby-core] How do you convince .Net developers to use IronRuby?

2009-11-02 Thread Kevin Radcliffe
I haven't been in the position to present on this, so please take my observations with a grain of salt. Personally, I'm a big fan of listening, and not so much on convincing. You say the biggest group of people that leave is: - No Visual Studio integration: 50% of the audience are willing to leav

Re: [Ironruby-core] Socket errors when using igem

2009-10-30 Thread Kevin Radcliffe
Nathan, I've never gotten that, though I have gotten timeouts of some sort in the past. I'm sure you've tried this already, but grab the same gem using just "gem" vs. "igem" Are you getting the result more from 1 particular gem source? What are the exact errors you're getting? Thanks Best Regards,

Re: [Ironruby-core] IronRuby related gem: iron_maiden

2009-10-14 Thread Kevin Radcliffe
'll get it smoothed out quickly. > > > -James > > > -Original Message- > From: Kevin Radcliffe [mailto:kevin.radcli...@gmail.com] > Sent: Wed 10/14/2009 2:43 PM > To: ironruby-core@rubyforge.org > Subject: Re: [Ironruby-core] IronRuby related gem: iron_maiden &

Re: [Ironruby-core] IronRuby related gem: iron_maiden

2009-10-14 Thread Kevin Radcliffe
es > > > -Original Message- > From: Kevin Radcliffe [mailto:kevin.radcli...@gmail.com] > Sent: Wed 10/14/2009 1:47 PM > To: ironruby-core@rubyforge.org > Subject: Re: [Ironruby-core] IronRuby related gem: iron_maiden > > Looking further, it looks like an issue in ru

Re: [Ironruby-core] IronRuby related gem: iron_maiden

2009-10-14 Thread Kevin Radcliffe
possible you have an updated version of rubygems_plugin.rb ? Best Regards, Kevin On Wed, Oct 14, 2009 at 12:01 PM, Kevin Radcliffe wrote: > James, >  I've installed using gem and igem without issue, but when I attempt > to run torture, it doesn't seem to be properly recognized >

Re: [Ironruby-core] IronRuby related gem: iron_maiden

2009-10-14 Thread Kevin Radcliffe
James, I've installed using gem and igem without issue, but when I attempt to run torture, it doesn't seem to be properly recognized if I specify a public path. Is there anything special I need to do with the path?: >gem torture --public TestIMApp1 ERROR: While executing gem ... (NoMethodError)

Re: [Ironruby-core] Prior art of manipulating OpenXML with IronRuby ?

2009-10-14 Thread Kevin Radcliffe
Ah, I see. I've posted it here: http://gist.github.com/210204 Let me know what you find as you go, as I'll likely have to to more like this in the future as well. Best Regards, Kevin On Wed, Oct 14, 2009 at 10:29 AM, Thibaut Barrère wrote: > Hey Kevin, > > looks like your first message didn't mak

Re: [Ironruby-core] Prior art of manipulating OpenXML with IronRuby ?

2009-10-14 Thread Kevin Radcliffe
in line with what you're trying to accomplish, but again, maybe just as a starting point. Best Regards, Kevin Radcliffe On Wed, Oct 14, 2009 at 9:45 AM, Thibaut Barrère wrote: >> whoops. i thought you meant Excel/Word *automation*, my bad. > > Well, it could have been the case, b

Re: [Ironruby-core] Prior art of manipulating OpenXML with IronRuby ?

2009-10-14 Thread Kevin Radcliffe
Sorry, I also should have noted that this code also relies on win32ole.rb. The one from Merlin\Main\Languages\Ruby\Libs for the interop Best Regards, Kevin On Wed, Oct 14, 2009 at 10:12 AM, Kevin Radcliffe wrote: > I'm attaching a couple of files because I had to do something very > s

Re: [Ironruby-core] Possible ScriptEngine and parsing bug when converting block to a parameter

2009-10-02 Thread Kevin Radcliffe
Great! Tomas, thanks also for the speedy follow-up email. Best Regards, Kevin On Fri, Oct 2, 2009 at 12:41 PM, Tomas Matousek wrote: > Looks like a bug in win32ole.rb: > > D:\M5\Merlin\Main\Languages\Ruby>ruby -w libs\win32ole.rb > libs/win32ole.rb:63: warning: `&' interpreted as argument prefix

[Ironruby-core] Possible ScriptEngine and parsing bug when converting block to a parameter

2009-10-02 Thread Kevin Radcliffe
I was getting an error trying to use ScriptEngine to require 'win32ole' (Actually, I need this from C#, below example given because its easier to show in IronRuby): >>> IronRuby.create_engine.execute_file('Libs\win32ole.rb') :0: `&' interpreted as argument prefix (Microsoft::Scripting::SyntaxError

Re: [Ironruby-core] Error Executing C# Example Using IronRuby and Cucumber

2009-09-22 Thread Kevin Radcliffe
Looks like the compile isn't even working. This is a bit strange...Could you try getting cucumber from the git repo and try to compile from the examples dir there first? http://github.com/aslakhellesoy/cucumber <http://github.com/aslakhellesoy/cucumber>Best Regards, Kevin Radcliffe

Re: [Ironruby-core] Code Review: SSLContext shell and basic specs

2009-08-25 Thread Kevin Radcliffe
> > > > *From:* ironruby-core-boun...@rubyforge.org [mailto: > ironruby-core-boun...@rubyforge.org] *On Behalf Of *Kevin Radcliffe > *Sent:* Thursday, August 20, 2009 3:16 PM > *To:* ironruby-core@rubyforge.org > *Subject:* [Ironruby-core] Code Review: SSL

[Ironruby-core] Code Review: SSLContext shell and basic specs

2009-08-20 Thread Kevin Radcliffe
http://github.com/kradcliffe/ironruby/commit/39c45cd08877af633437b62dd1fb7e8787863985 Provides a shell as a placeholder for the eventual implementation of OpenSSL::SSL::SSLContext. This gives better compatibilit

Re: [Ironruby-core] How to run a XAML file?

2009-07-24 Thread Kevin Radcliffe
Shay Friedman wrote: > Hi, > > I have a WPF xaml file and I'd like to execute it using IronRuby. I know > I can use the System::Windows::Markup::XamlReader.parse method, but is > there another way? > > Using the XamlReader class makes registering events, for example, kind > of an irritating task.

[Ironruby-core] If you're seeing this through ruby-forum.com, please read

2009-07-23 Thread Kevin Radcliffe
This may be a non-issue by the time you read this, but currently (as of 07/23/2009), mailing-list items (questions and responses) do NOT (appear to) show up in the forum. You may be better served looking through the mailing list archive: http://rubyforge.org/pipermail/ironruby-core/ AND/OR subsc

[Ironruby-core] Why some mailing list items aren't showing up in forum?

2009-07-18 Thread Kevin Radcliffe
I usually use the IronRuby forum interface (I find it easier to browse through): http://www.ruby-forum.com/forum/34 But I just noticed today that there are a number of items that are ONLY showing up in the normal mailing list/archive: http://rubyforge.org/pipermail/ironruby-core/2009-July/thread

Re: [Ironruby-core] C# Overloads and IronRuby Classes

2009-07-14 Thread Kevin Radcliffe
Shay Friedman wrote: > Hi there, > ...code snipped... > This worked on older versions and resulted with "12 - foo". > Bug or by design? > Besides compiling the C# file, and requiring the resulting library, I was able to run your code without modification. Are you passing any special arguments

Re: [Ironruby-core] IsRubyMethod

2009-07-14 Thread Kevin Radcliffe
Shay Friedman wrote: > I remember Tomas has posted a code review about IsRubyMethod some time > ago. > I was looking for it in the code but i couldn't find it. Is it still > there? Shay, I couldn't find it in the source either (unless it is called something else) In the meantime, perhaps we could

[Ironruby-core] .NET RIA Services, IronRuby alternatives?

2009-07-12 Thread Kevin Radcliffe
I have just been checking out the docs from the .NET RIA Services July 2009 preview: http://www.microsoft.com/downloads/details.aspx?FamilyID=76bb3a07-3846-4564-b0c3-27972bcaabce&displaylang=en It seems pretty complicated, and there is a lot of magic (shared files, attributes, generated code - wi

Re: [Ironruby-core] .Net Events in IR

2009-07-11 Thread Kevin Radcliffe
I couldn't attach the specified file, as the forum would give me an Application Error, will try to send to Shay directly.. Please feel free to direct message me if anyone else comes across this and wants a copy of the file. Otherwise, I'd suggest a better resource for writing windows apps with

Re: [Ironruby-core] .Net Events in IR

2009-07-11 Thread Kevin Radcliffe
Shay Friedman wrote: > Hi there, > > I know that I can register and handle .Net events in IronRuby in the > following way: > klass.some_event { |sender, args| puts "Hello!" } > > Is this the only way of doing so or are there more ways? > > Thanks! > Shay. > > Shay Fr

[Ironruby-core] Sinatra, and web enabling existing .NET codebases

2009-07-10 Thread Kevin Radcliffe
Aaron Quint gave a very interesting talk at GoGaRuCo: http://pivotallabs.com/gogaruco/talks/51-sinatra-the-framework-within About using sinatra to quickly and easily REST-enable libraries. I think this might be a very good fit where we'd like to web/REST enable our existing .NET codebase assets.

[Ironruby-core] IronRuby "Fusion" (VB6 , VBScript, Javascript)

2009-07-10 Thread Kevin Radcliffe
In the same vein as VB "Fusion": http://msdn.microsoft.com/en-us/vbrun/ms788241.aspx I've found that creating a COM-callable wrapper that hosts IronRuby is pretty easy to put together. I actually was initially trying to be able to execute IronRuby from VB6 (using vbScript) and I got that working.

Re: [Ironruby-core] Spec and calling other examples

2009-07-08 Thread Kevin Radcliffe
Mohammad Azam wrote: > > The context of "19 years old" fails since it requires to put the > "voting" context as a shared example which I don't want to do. If we can > just call other contexts within the parent context then it would be > great. I think it would be great if the above example just wo

Re: [Ironruby-core] RSpec Test Format

2009-07-07 Thread Kevin Radcliffe
Mohammad Azam wrote: > I have done BDD in C# and my question is that how Spec in IronRuby makes > it easier. Here is what my test looks like: > > Is this the normal way of writing unit test BDD style using Spec and > IronRuby or am I missing something? I'm definitely no BDD expert, but I'll try

Re: [Ironruby-core] Formatting the test result in Spec

2009-07-06 Thread Kevin Radcliffe
Mohammad Azam wrote: > I had to configure the path for spec.bat using environment variables. > > Now, I can run the specifications using the following: > > spec test_prime.rb > > but I still need to format is nicely. --format nested does not work it > complains that invalid --format parameter!

Re: [Ironruby-core] IronRuby 0.6 and Downloading RSpec Through Gem

2009-07-06 Thread Kevin Radcliffe
Mohammad Azam wrote: > Thanks! I got it working! Currently downloading rspec! Great! By the way, if rspec ends up being too heavyweight for what you are doing, you could also try bacon: (Installs through igem the same way rspec did) http://github.com/chneukirchen/bacon/tree/master I found it th

Re: [Ironruby-core] IronRuby 0.6 and Downloading RSpec Through Gem

2009-07-06 Thread Kevin Radcliffe
Mohammad Azam wrote: > I am trying to download RSpec but I keep getting the following error: > > gem install rspec > unknown: parenthesize argument(s) for future version > (Microsoft::Scripting::Synt > axErrorException) > igem install rspec > unknown: parenthesize argument(s) for futur

Re: [Ironruby-core] Spec and Cucumber

2009-07-06 Thread Kevin Radcliffe
Mohammad Azam wrote: > Hi, > > How can I download and use spec and cucumber? Not sure if this is up to date, but probably something like this: http://wiki.github.com/aslakhellesoy/cucumber/ironruby-and-net It suggests using gem install cucumber rspec But that might be old info, maybe igem inst

Re: [Ironruby-core] No tests were specified

2009-07-06 Thread Kevin Radcliffe
Mohammad Azam wrote: > not sure why I am getting the following error when running the tests: ..error.. > No tests were specified. > > 1 tests, 1 assertions, 1 failures, 0 errors > > > Here is my test file: > > require 'test/unit' > > class Test_Customer < Test::Unit::TestCase > > def foo > >

Re: [Ironruby-core] How to Refer to the Classes in my Custom DLL

2009-07-06 Thread Kevin Radcliffe
Mohammad Azam wrote: > Hi, > > I have a class library in C# called "BusinessObjects" and I want to > refer to that DLL using IronRuby. > > I typed: > > require 'BusinessObjects' > true > > include BusinessObjects > > include BusinessObjects > C:\ironruby\ironruby\Merlin\Main\Languages\Ru

Re: [Ironruby-core] WinForms in IronRuby

2009-06-26 Thread Kevin Radcliffe
Shay Friedman wrote: > Hi there, > > I've just published a blog post about an IR class I wrote to convert > WinForms designer code to IronRuby. > > It is available at: > http://blogs.microsoft.co.il/blogs/shayf/archive/2009/06/26/winforms-in-ironruby.aspx > > I'm willing to upload the source cod

Re: [Ironruby-core] Dynamic Binding fails if abstract event not implemented

2009-06-23 Thread Kevin Radcliffe
Ivan Porto carrero wrote: > I've been meaning to ask this for a while now. > Can I implement an event that is defined on an interface because > whichever > way I try it just won't work. > > public interface IHaveAnEvent { event EventHandler SomeEvent; } > > class EventImplementor > include IHa

Re: [Ironruby-core] How to fire IronRuby Method from C#

2009-06-11 Thread Kevin Radcliffe
Are you sure you have the appropriate version of IronRuby? There is a special build just for .NET 4.0. I was getting an error like the one you are until I used the .NET 4.0 build here: http://ironruby.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=27606 Mohammad Azam wrote: > This is very st

Re: [Ironruby-core] Requiring standard libraries within hosted DLR Runtime

2009-04-22 Thread Kevin Radcliffe
set. I didn't realize they needed to be set. Looking at it now, it makes sense. Thanks, Kevin Radcliffe -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

[Ironruby-core] Requiring standard libraries within hosted DLR Runtime

2009-04-22 Thread Kevin Radcliffe
y.Libraries? require 'socket' does work just fine when running from the ir.exe console... I've attached the program.cs and the details of the stack trace to this forum post as a zip. Thanks, Kevin Radcliffe Attachments: http://www.ruby-forum.com/attachment/3607/DLRHosted.zip -- Pos