Re: [Ironruby-core] requiring .NET assemblies

2008-02-18 Thread Ivan Porto Carrero
or assembly 'SubSonic, Version=2.0.3.0, Culture=neutral, PublicKeyToken=eadb47849839a332' or one of its dependencies The problem went away when I copied the SubSonic DLLs into the same directory as the executable. On Feb 18, 2008 6:19 PM, Ivan Porto Carrero [EMAIL PROTECTED] wrote: Yep

Re: [Ironruby-core] requiring .NET assemblies

2008-02-18 Thread Ivan Porto Carrero
or assembly 'SubSonic, Version=2.0.3.0, Culture=neutral, PublicKeyToken=eadb47849839a332' or one of its dependencies The problem went away when I copied the SubSonic DLLs into the same directory as the executable. On Feb 18, 2008 6:19 PM, Ivan Porto Carrero [EMAIL PROTECTED] wrote: Yep

Re: [Ironruby-core] Linq to SQL with IronRuby... Is it Possible...?

2008-02-18 Thread Ivan Porto Carrero
Hi I'll put an article up on the manning site this week that shows you how to use various .NET ORM's with IronRuby At this stage I can't show you an example of IronRuby with ASP.NET MVC but it should be possible in the future I think. For ASP.NET MVC we need support for custom attributes. hth

Re: [Ironruby-core] can i use asp.net just like C# and Vb.net

2008-03-09 Thread Ivan Porto Carrero
Allow me to correct you on certain points here (1) Code behind/Code besides support with asp.net -- ROR does not have it. RoR is MVC with passive views so you're not coupling your event handling from your view to your controller (on which an action can be viewed as the complete code

Re: [Ironruby-core] dynamic silverlight

2008-03-10 Thread Ivan Porto Carrero
] *On Behalf Of *Ivan Porto Carrero *Sent:* Saturday, March 08, 2008 1:41 AM *To:* ironruby-core@rubyforge.org *Subject:* [Ironruby-core] dynamic silverlight Where do I have to go to get the dynamic silverlight bits? I've got chiron going but am still looking for the dsl command. Do I have

[Ironruby-core] console ShowASTs not working ?

2008-03-12 Thread Ivan Porto Carrero
Hi I tried to view what AST's was being generated when I executed a very simple class with the following command line rbx -X:ShowASTs test.rb class HelloWorld def initialize @msg = hello world end def print puts @msg end end h = HelloWorld.new h.print I tried doing that on

Re: [Ironruby-core] console ShowASTs not working ?

2008-03-12 Thread Ivan Porto Carrero
Cool it's working for me too, it was just me being stupid. On Wed, Mar 12, 2008 at 11:33 PM, Sanghyeon Seo [EMAIL PROTECTED] wrote: -X:ShowASTs works for me. Linux, Mono 1.2.6, IronRuby r76. -- Seo Sanghyeon ___ Ironruby-core mailing list

Re: [Ironruby-core] Console arguments broken?

2008-03-13 Thread Ivan Porto Carrero
and exception dialog (attached) rbx -X:ShowASTs 1 It shows ok 1+1 It shows ok rbx -X:AutoIndent don't sure how to use this funcionality, but console load and seems to work. XP SP2 VS2008 On Thu, Mar 13, 2008 at 8:30 PM, Ivan Porto Carrero [EMAIL PROTECTED] wrote: Do

[Ironruby-core] On Console options

2008-03-13 Thread Ivan Porto Carrero
Ooops.. I hit tab-enter.. sorry for that. -- Forwarded message -- From: Ivan Porto Carrero [EMAIL PROTECTED] Date: Fri, Mar 14, 2008 at 10:50 AM Subject: On Console options To: ironruby-core@rubyforge.org Hi, I'm sure this is another case of PEBKAC but I've been looking

Re: [Ironruby-core] Active Record Or LINQ with IronRuby...?

2008-03-14 Thread Ivan Porto Carrero
All of them have their advantages and disadvantages. Linq2Sql only works for MS Sql Server, but gives you a graphical designer for your objects. It implements a unit of work which reduces the number of database calls. It doesn't however support many-to-many relations, and it depends how much

Re: [Ironruby-core] Active Record Or LINQ with IronRuby...?

2008-03-14 Thread Ivan Porto Carrero
In my book I will use the ActiveRecord from Rails for most of the examples because it will be the most well-known and I suspect the one where most developers are curious about. I will show how to leverage some of the other ORM's to show that there are other options available. I think SubSonic is

Re: [Ironruby-core] Active Record Or LINQ with IronRuby...?

2008-03-14 Thread Ivan Porto Carrero
is irrelevant when I'm using ActiveRecord as long as I don't set indexes it should run on sqlite as well for example. hth Ivan On Fri, Mar 14, 2008 at 10:13 PM, Softmind Technology [EMAIL PROTECTED] wrote: Ivan Porto Carrero wrote: In my book I will use the ActiveRecord from Rails for most

Re: [Ironruby-core] hosting ironruby: globals confusion

2008-03-17 Thread Ivan Porto carrero
? Is this hosting API still too much of a moving target to really get into it? Ivan Porto Carrero wrote: Hi, I updated the hosting wiki page to work with the current revision. But this raises a couple of questions. I'm just working my way through the dlr-hosting-spec. And if I read

Re: [Ironruby-core] Manipulating Silverlight controls dynamically from IronRuby - is it currently possible ?

2008-04-08 Thread Ivan Porto Carrero
Hi Yes the button control is available. The code that goes with that blog post uses a button. I want to improve that code still because you can do more with IronRuby than that. I just need some time to do it. http://flanders.co.nz/2008/04/06/an-ironruby-digg-client/ Basically you need to add the

Re: [Ironruby-core] Problems compiling IronRuby on Mac Leopard

2008-05-06 Thread Ivan Porto Carrero
oh I have a script that should do all that. i can email it to you if you want. I also have that blogpost up that explains everything http://flanders.co.nz/2008/02/05/compiling-mono-and-ironruby-on-osx-leopard/ On 6/05/2008, at 10:41 PM, Ben Aurel wrote: that's my line in ~/.bash_profile: ...

Re: [Ironruby-core] IronRuby r100 on Mono

2008-05-08 Thread Ivan Porto Carrero
/rake:19 Does this make more sense?? Thanks, Rob On Thu, May 8, 2008 at 11:06 PM, Ivan Porto Carrero [EMAIL PROTECTED] wrote: This happens to me sometimes but isn't related to ironruby in my case. if you do ls Rake* does something show up? Rake is complaining about the fact

[Ironruby-core] ironruby in action is available in EAP

2008-05-15 Thread Ivan Porto Carrero
Hi My book for manning went into EAP. http://manning.com/carrero Cheers Ivan ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] Signal.trap

2008-05-18 Thread Ivan Porto Carrero
AFAICT they use INT, TERM, HUP, USR1, USR2 (most of them in the fastcgi handler, but mongrel and thin use them as well) thin also uses QUIT That's what i got from quickly running grep over my rails gems I've asked koz if I left some out and if I did I'll let you know which ones are missing.

Re: [Ironruby-core] Dynamic Lanugages in Silverlight 2 Beta 2

2008-06-10 Thread Ivan Porto Carrero
Sweet. That means I can compile my dynamic script control for the all the DLR based languages. On Wed, Jun 11, 2008 at 9:29 AM, Ben Hall [EMAIL PROTECTED] wrote: Excellent!! A new set of IronPython, IronRuby and DLR assemblies. I can actually get my app working tonight! Thanks Ben

Re: [Ironruby-core] Dynamic Lanugages in Silverlight 2 Beta 2

2008-06-10 Thread Ivan Porto Carrero
PS. I'm gonna get it updated for SL2Beta2 shortly … ~js *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Ivan Porto Carrero *Sent:* Tuesday, June 10, 2008 2:32 PM *To:* ironruby-core@rubyforge.org *Subject:* Re: [Ironruby-core] Dynamic Lanugages in Silverlight 2

Re: [Ironruby-core] Dynamic Lanugages in Silverlight 2 Beta 2

2008-06-10 Thread Ivan Porto Carrero
] wrote: Hi Ivan, That would be great! Sent you a direct mail from my other account. Cheers Ben On Wed, Jun 11, 2008 at 12:01 AM, Ivan Porto Carrero [EMAIL PROTECTED] wrote: I'm happy to send you the binaries if you want them. On Wed, Jun 11, 2008 at 10:51 AM, Ben Hall [EMAIL

Re: [Ironruby-core] can't require any of the libs

2008-06-11 Thread Ivan Porto Carrero
layout. *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Ivan Porto Carrero *Sent:* Wednesday, June 11, 2008 5:00 PM *To:* ironruby-core@rubyforge.org *Subject:* [Ironruby-core] can't require any of the libs Hi I tried requiring any of the libs that are included

Re: [Ironruby-core] Having difficulties using custom C# dlls with namespaces within IronRuby code

2008-06-12 Thread Ivan Porto Carrero
For me that just works with a namespace what I do is I have my assemblies in a folder bin in my application but that could be what ever I call require 'bin/AssemblyName.dll' In that assembly I have a namespace MyNamespace.Model then I can do include MyNamespace::Model if that namespace

Re: [Ironruby-core] SVN r114 is out

2008-06-12 Thread Ivan Porto Carrero
What could be wrong here? def using(o) begin yield if block_given? ensure o.dispose end end This code worked until rev.113 but now it tells me : $sr = StringReader.new('Hello, world') = #System::IO::StringReader:0x060 $sr.dispose :0:in `Initialize': wrong

[Ironruby-core] passing a script context around

2008-06-13 Thread Ivan Porto Carrero
Hi For the dynamic script control I wrote I want to be able to share the runtime environment that IronRuby has got. Is that possible with the ir command ? My WPF application has got a bunch of assembly references and code files already loaded. It also has some constants defined. Now when I use

Re: [Ironruby-core] How to get to the CLR type

2008-06-14 Thread Ivan Porto Carrero
Oh I see.. When I call .to_clr_type on a type that has only been defined in Ruby it returns nil class Testing; end; = nil Testing.to_clr_type = nil Testing.new.get_type = #System::RuntimeType:0x05c On Sat, Jun 14, 2008 at 7:42 PM, Ivan Porto Carrero [EMAIL PROTECTED] wrote: I'm sure

Re: [Ironruby-core] How to get to the CLR type

2008-06-14 Thread Ivan Porto Carrero
to get to the CLR type System::Type.get_type_from_handle System::Type.get_type_handle(Test) = #System::RuntimeType:0x05c On Sat, Jun 14, 2008 at 4:11 AM, Ivan Porto Carrero [EMAIL PROTECTED] wrote: Oh I see.. When I call .to_clr_type on a type that has only been defined in Ruby

Re: [Ironruby-core] IIS Deployment

2008-06-19 Thread Ivan Porto Carrero
I think august is cutting it a little close. I have no idea how much time you've already spent on it, so dunno if a rewrite in a diff technology is the way to go. And you can deploy RoR to IIS. If you want I can send you a white paper. THe idea is that you forward all the requests to a mongrel. I

[Ironruby-core] YAML

2008-06-19 Thread Ivan Porto Carrero
Hi Is yaml supposed to be working atm because when I try it, it definitely does some weird things. When I run the tests there is one test that fails the yamlorg_refcard.yml. And this is my test. require 'yaml' = true $t = {:one = one val, :two = { :nested_first = nested val } } = {:one=one

Re: [Ironruby-core] YAML

2008-06-19 Thread Ivan Porto Carrero
. Beyond that, all bets are off J. Let the flow of bug reports commence! *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Ivan Porto Carrero *Sent:* Thursday, June 19, 2008 3:33 PM *To:* ironruby-core@rubyforge.org *Subject:* [Ironruby-core] YAML Hi Is yaml

[Ironruby-core] WPF philosophy

2008-07-09 Thread Ivan Porto Carrero
Hi I don't really know if this is an appropriate discussion but here it goes. Ruby and Xaml at first sight a DSL is very appropriate to get rid of the xml syntax. I'm all for that :) However the price you pay is that at that moment only developers can change the design of the application. Blend

Re: [Ironruby-core] Announcing IronEditor - An Editor for IronRuby, IronPython and other DLR languages

2008-07-21 Thread Ivan Porto Carrero
But that isn't at this time is it? AFAIK mono currently only supports Silverlight 1.0 or am I wrong in my assumption? On Mon, Jul 21, 2008 at 7:17 AM, Stefan Dobrev [EMAIL PROTECTED] wrote: If it is Silverlight API based it should run on Mono as well. 2008/7/21 Oleg Tkachenko [EMAIL

[Ironruby-core] inspect in console

2008-07-24 Thread Ivan Porto Carrero
Hi, Did the -i switch break on the ir command ? I create a file test.rb with the following content: myvar = hello world puts myvar and then type in ir -i test.rb That yields: (loosely translated I can't find the file .\-i ) mscorlib:0:in `WinIOError': Kan bestand

Re: [Ironruby-core] Sails, WPF/Silverlight the rails way

2008-08-03 Thread Ivan Porto Carrero
://rubyforge.org/mailman/listinfo/ironruby-core -- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim ___ Ironruby-core mailing list Ironruby-core

Re: [Ironruby-core] check out the following link on IronNails!

2008-08-07 Thread Ivan Porto Carrero
list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core -- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim

Re: [Ironruby-core] IronRuby binary disribution

2008-08-14 Thread Ivan Porto Carrero
cool thanks Is there a way to inspect interactively after running a script ? I used to use ir -i but -i is used for something differently I've been told last time. And the last question I had is: How do I detach an event handler the equivalent of -= in C#? 2008/8/14 John Lam (IRONRUBY) [EMAIL

Re: [Ironruby-core] IronRuby binary disribution

2008-08-14 Thread Ivan Porto Carrero
command line to achieve the same effect? Events still need some work. Detaching is not supported yet. Tomas *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Ivan Porto Carrero *Sent:* Thursday, August 14, 2008 9:37 AM *To:* ironruby-core@rubyforge.org *Subject:* Re

Re: [Ironruby-core] IronRuby binary disribution

2008-08-14 Thread Ivan Porto Carrero
that would be great :D. Thanks 2008/8/14, Tomas Matousek [EMAIL PROTECTED]: Ruby (irb) has –rfile command line option that requires a file before starting repl. Would that work for you? Tomas From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Porto Carrero Sent

Re: [Ironruby-core] Events?

2008-08-15 Thread Ivan Porto Carrero
Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

[Ironruby-core] Interacting with a WPF/Winforms application

2008-08-15 Thread Ivan Porto Carrero
Hi Is there a simple way to interact with the GUI of a WPF/Winforms application? I'll clarify a little what I would like to achieve: when you start a console session with an environment loaded you could potentially type the following lines in there require 'config/boot' start_wpf_application

Re: [Ironruby-core] Data Binding?

2008-08-15 Thread Ivan Porto Carrero
://rubyforge.org/mailman/listinfo/ironruby-core -- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim ___ Ironruby-core mailing list Ironruby

Re: [Ironruby-core] Latest r134 commit should solve Mono file pathname case sensitivity problem

2008-08-19 Thread Ivan Porto Carrero
/listinfo/ironruby-core -- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http

[Ironruby-core] sorting of strings is different in IronRuby than in Ruby

2008-08-20 Thread Ivan Porto Carrero
Hi I was playing around with a very simple code example and got different results in IronRuby and in Ruby. IronRuby In Action.split(//).sort.uniq.join returns in MRI: AIRbcinortuy returns in IronRuby: AbciInorRtuy I'm sure you guys are aware of this, but just in case :) I guess in the end

Re: [Ironruby-core] IronRuby on Netbeans

2008-08-22 Thread Ivan Porto Carrero
/listinfo/ironruby-core -- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http

Re: [Ironruby-core] IronRuby on Netbeans

2008-08-22 Thread Ivan Porto Carrero
/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core -- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http

[Ironruby-core] Green paper on IronRuby

2008-08-22 Thread Ivan Porto Carrero
Manning just published my green paper on ironruby. http://manning.com/free/green_carrero.html ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] Green paper on IronRuby

2008-08-22 Thread Ivan Porto Carrero
without any commitment to action; the first step in changing the law. Green papers may result in the production of a white paperhttp://en.wikipedia.org/wiki/White_paper . 2008/8/22 Ivan Porto Carrero [EMAIL PROTECTED] Manning just published my green paper on ironruby. http://manning.com/free

Re: [Ironruby-core] Looking for Examples

2008-08-27 Thread Ivan Porto Carrero
In that case I would be very interested to know how to use rspec or any of the other gems. I tried copying them to the gems folder in the IronRuby install folder but that wasn't it :) I suppose you just took the library and then required the spec file in the lib folder. How are you guys doing on

Re: [Ironruby-core] Cucumber / RSpec Story Runner

2008-10-22 Thread Ivan Porto Carrero
that layer. Either as a part of ruby-dbd or as adapters to ActiveRecord.. dbd gives the advantage that you can use it everywhere then. any thoughts? --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com

Re: [Ironruby-core] IronRuby Compiles Broken?

2008-10-23 Thread Ivan Porto Carrero
I got the same errors yesterday. I could build it using visual studio though. Mine was on vista 32-bit in both powershell and command On Thu, Oct 23, 2008 at 6:31 PM, Ted Milker [EMAIL PROTECTED] wrote: Is the IronRuby tree currently broken for compiles? I have tried everything I can think

Re: [Ironruby-core] IronRuby Compiles Broken?

2008-10-23 Thread Ivan Porto Carrero
PROTECTED] wrote: On Thu, Oct 23, 2008 at 11:49 AM, Ivan Porto Carrero [EMAIL PROTECTED] wrote: I got the same errors yesterday. I could build it using visual studio though. Mine was on vista 32-bit in both powershell and command Wow, I sure was overlooking the obvious. I have been fighting

Re: [Ironruby-core] SVN r169 is out

2008-11-05 Thread Ivan Porto Carrero
Hi Ben I had trouble but you can try to write your code like this require 'rubygems' gem 'spec' that should work.. that's how i have to require rails --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http

Re: [Ironruby-core] Silverlight (sdlsdk) on mac

2008-12-05 Thread Ivan Porto Carrero
On Fri, Dec 5, 2008 at 6:54 PM, Jimmy Schementi [EMAIL PROTECTED] wrote: Seo Sanghyeon wrote: 2008/12/6 Ivan Porto Carrero [EMAIL PROTECTED]: Hi When I want to look at some samples on the mac side of my laptop from the sdlsdk I get an error from mono [snip] 17:10:27 500 673

Re: [Ironruby-core] Silverlight (sdlsdk) on mac

2008-12-05 Thread Ivan Porto Carrero
I had a mono installed with ports too that was the culprit. On Fri, Dec 5, 2008 at 7:26 PM, Ivan Porto Carrero [EMAIL PROTECTED]wrote: I have both .. the one i installed from the installer exactly the link you gave me Jimmy :) But I also built it from svn in an attempt to make it work

Re: [Ironruby-core] New revisions

2008-12-06 Thread Ivan Porto Carrero
For me it works when I set the merlin root environment variable and fixed the rake file.Were you able to build ironruby from svn before ? It might be that csc.exe (%WINDIR%\Microsoft.NET\v3.5.\) is not in your path. I've had that before On Sat, Dec 6, 2008 at 12:35 PM, Jim Deville [EMAIL

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-08 Thread Ivan Porto Carrero
I get the same behavior. I can load types from the CLR but not from my own assembly. I copied my assembly into the folder that contains ir.exe require 'mscorlib' = true require 'IronNails.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' = true IronNails::View::XamlProxy =

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-08 Thread Ivan Porto Carrero
('IronNails.View.XamlProxy') Tomas *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Ivan Porto Carrero *Sent:* Monday, December 08, 2008 9:46 AM *To:* ironruby-core@rubyforge.org *Subject:* Re: [Ironruby-core] Handling C# lower case namespaces I get the same behavior. I

[Ironruby-core] dbd implementation for ado.net

2008-12-28 Thread Ivan Porto Carrero
Hi I've created an ADO.NET implementation for DBI but I may have overlooked some stuff. At the moment it's living on google code http://code.google.com/p/ironruby-dbi There is an extra colon in the connection string required to make it select the correct data provider.

Re: [Ironruby-core] Need help building IronRuby on Mono 2 + OS X

2008-12-30 Thread Ivan Porto Carrero
I've tried to build from source on OSX too.. with the latest trunk from mono but it won't compile I get the same error. to make the Rakefile work I had to make 2 minor changes. In Rakefile I had to change the paths to the other rake files from \ to / In rake/misc.rake I had to change line 107 to:

Re: [Ironruby-core] Need help building IronRuby on Mono 2 + OS X

2008-12-30 Thread Ivan Porto Carrero
git checkout -b mono git pull origin mono cd merlin/main/Languages/Ruby rake compile mono=1 I tried using Michael's branch but it didn't want to work for me. Thanks Seo, Michael :) On Tue, Dec 30, 2008 at 1:04 PM, Seo Sanghyeon sanx...@gmail.com wrote: 2008/12/30 Ivan Porto Carrero i

[Ironruby-core] problems with gems

2008-12-31 Thread Ivan Porto Carrero
Hi I tried to install the rails gem using igem. Is that supposed to work? » igem install rails ERROR: Error installing rails: attempt to install file into test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb~ under

Re: [Ironruby-core] Xml Processing in IronRuby - Help me improve the wrapper

2009-01-01 Thread Ivan Porto Carrero
I wrote something similar a while ago http://github.com/casualjim/ironnails/tree/master/IronNails/vendor/iron_nails/lib/iron_xml.rb statuses = [] IronXml.parse('friends_timeline.xml', :document) do |doc| doc.elements('statuses') do |status| st = Status.new st.id =

[Ironruby-core] ASP.NET integration ?

2009-01-05 Thread Ivan Porto Carrero
As my chapter on Rails is coming to an end I'd like to find out how things are going for ASP.NET webforms or asp.net MVC integration. Do you guys have an idea as to when we could expect something like this? --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM

[Ironruby-core] more gem trouble but different now

2009-01-07 Thread Ivan Porto Carrero
Hi I got the latest svn revision for ironruby (r. 182). I tried upgrading rubygems to version 1.3.1 (rails 2.2.2 needs it) And it has a similar problem with the path name. it fails with a directory not found exception because it created a folder structure like this for generating the bin folder

Re: [Ironruby-core] Enumerate CLR methods

2009-01-07 Thread Ivan Porto Carrero
instance.class.to_clr_type.get_methods.collect { |m| m.name.to_s }.uniq.sort.each { |m| p m } or Form.to_clr_type.get_methods.collect { |m| m.name.to_s }.uniq.sort.each { |m| p m } On Thu, Jan 8, 2009 at 1:36 AM, Alex 2k8 li...@ruby-forum.com wrote: Hello, How to enumerate the CLR object

Re: [Ironruby-core] require my assembly

2009-01-08 Thread Ivan Porto Carrero
For me it works with a path too http://code.google.com/p/ironruby-dbi/source/browse/trunk/src/ironruby-dbi/dbd-adonet/ADONET.rb But I do use forward slashes It does have some weirdness though, because sometimes I have to actually copy the assembly to the directory where ir.exe lives. I'm not

[Ironruby-core] Zlib::Inflate error when installing gems

2009-01-22 Thread Ivan Porto Carrero
Carrero » gem install bacon Successfully installed bacon-1.1.0 1 gem installed Installing ri documentation for bacon-1.1.0... Installing RDoc documentation for bacon-1.1.0... + C:\Users\Ivan Porto Carrero » igem install bacon Successfully installed bacon-1.1.0 1 gem installed Installing ri

Re: [Ironruby-core] IronRuby with Asp.Net MVC is possible or not...?

2009-01-28 Thread Ivan Porto Carrero
I definitely want to help with the integration of mvc and IronRuby. But I was also waiting for it to go to 1.0 before actually spending a serious amount of time on it. On Wed, Jan 28, 2009 at 8:31 AM, Jimmy Schementi jimmy.scheme...@microsoft.com wrote: == Short Answer

[Ironruby-core] question on some code from ironrubymvc

2009-01-29 Thread Ivan Porto Carrero
Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

[Ironruby-core] progress on ironrubymvc :)

2009-01-30 Thread Ivan Porto Carrero
Hi I think I can have a very basic version of ironruby mvc going over the weekend.. that will probably be without support for things like filters etc. yet.. but you should be able to define a controller and actions in ironruby. I haven't looked at the view engine yet and I'm unclear as to which

[Ironruby-core] DLR hosting

2009-01-30 Thread Ivan Porto Carrero
it will show that so far I've been working with instead of on IronRuby :) And then I've been focussed on using the Ruby language and .NET from Ruby instead of using C# to host Ironruby. I'm using a debug build from IronRuby and the weird thing is that I have to add ClassHierarchyLocker.

[Ironruby-core] building on mono

2009-01-30 Thread Ivan Porto Carrero
figured that most people would be primarily interested in running ironruby and not finding out which specs fail. --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim

Re: [Ironruby-core] progress on ironrubymvc :)

2009-01-30 Thread Ivan Porto Carrero
to handle urls with other characters than just alphanumeric. I'm also thinking to replace the custom attributes with class methods like I rails uses for filters etc. --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter

Re: [Ironruby-core] igem.bat

2009-01-31 Thread Ivan Porto Carrero
You have to edit ir.exe.config and change the paths to reflect your installation. --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim On Sat, Jan 31, 2009 at 8:30 AM, jirapong.na

[Ironruby-core] Using the generated initializer

2009-02-01 Thread Ivan Porto Carrero
Hi I thought I created a ruby module and ruby class but I must be doing something wrong. using RubyMethodAttributes=IronRuby.Runtime.RubyMethodAttributes; using RubyModuleDefinition = IronRuby.Runtime.RubyModuleAttribute; using RubyClassDefinition = IronRuby.Runtime.RubyClassAttribute; using

Re: [Ironruby-core] Using the generated initializer

2009-02-01 Thread Ivan Porto Carrero
view_data.add(Platform, IronRuby Mvc 1.0) end end Tomas *From:* ironruby-core-boun...@rubyforge.org [mailto: ironruby-core-boun...@rubyforge.org] *On Behalf Of *Ivan Porto Carrero *Sent:* Sunday, February 01, 2009 11:03 AM *To:* ironruby-core@rubyforge.org *Subject

Re: [Ironruby-core] progress on ironrubymvc :)

2009-02-01 Thread Ivan Porto Carrero
by using underscored notation or pascal casing. On Fri, Jan 30, 2009 at 7:30 PM, Ivan Porto Carrero i...@flanders.co.nzwrote: Yep I forked your project. I don't have it running yet.. and i did get the source code of the asp.net mvc RC1. Indeed my first goal was to take it to the state

[Ironruby-core] Silverlight + Silverline

2009-02-03 Thread Ivan Porto Carrero
Hi With the latest version of ironruby and rails; silverline doesn't want to work. I haven't really spent much time on it but a few months ago I did commit to doing a presentation on Rails + Silverline + IronRuby this weekend. I have no intention of messing about in that code, it's my new

[Ironruby-core] videos over IronRuby

2009-02-04 Thread Ivan Porto Carrero
Hi, I did a couple presentations the last few months on IronRuby or Silverlight + Rails. One was at Devoxx 2008, which I gravely underestimated, where I actually use a lot of content from Jimmy's presentation and I fail horribly. I didn't watch that video because I just know it is really really

Re: [Ironruby-core] Silverlight + Silverline

2009-02-04 Thread Ivan Porto Carrero
...@rubyforge.org] *On Behalf Of *Ivan Porto Carrero *Sent:* Tuesday, February 03, 2009 11:18 PM *To:* ironruby-core@rubyforge.org *Subject:* Re: [Ironruby-core] Silverlight + Silverline Thanks.. I already stole all your content ;) The demo project silverline-demos does work even with rails 2.2.2 I

Re: [Ironruby-core] Silverlight + Silverline

2009-02-05 Thread Ivan Porto Carrero
. ~js *From:* ironruby-core-boun...@rubyforge.org [mailto: ironruby-core-boun...@rubyforge.org] *On Behalf Of *Ivan Porto Carrero *Sent:* Wednesday, February 04, 2009 10:35 PM *To:* ironruby-core *Subject:* Re: [Ironruby-core] Silverlight + Silverline Sweet thanks a lot. :) 2009/2/4

[Ironruby-core] automating VS

2009-02-05 Thread Ivan Porto Carrero
Hi A while ago I remeber seeing a screencast where John Lam shows how to use ironruby to automate visual studio. I can't find the screencast anymore but I would be interested to know which API was used. Was that just using EnvDTE ? I'm asking because at work we are using GAT to automate visual

Re: [Ironruby-core] cannot initialize Form with IronRuby

2009-02-08 Thread Ivan Porto Carrero
I just compiled the ironruby version from github with rake and for me the following code works. require System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Form = System::Windows::Forms::Form f = Form.new f.show On Sun, Feb 8, 2009 at 7:54 PM, Meinrad

Re: [Ironruby-core] test .net code with ruby BDD libraries

2009-02-10 Thread Ivan Porto Carrero
in ironruby I get an error + C:\Users\Ivan Porto Carrero » igem install bacon -V --backtrace --debug HEAD 200 OK: http://gems.rubyforge.org/latest_specs.4.8 GET 200 OK: http://gems.rubyforge.org/quick/Marshal.4.8/bacon-1.1.0.gemspec.rz ERROR: While executing gem ... (TypeError) allocator

Re: [Ironruby-core] sharing some stuff + one question on mono

2009-02-11 Thread Ivan Porto Carrero
When I build mono from svn then the compression stuff seems to be improperly linked. I have no idea what I should be doing to make that link properly that way I can just keep up with the trunk version on my laptop. On Wed, Feb 11, 2009 at 2:10 PM, Jb Evain j...@nurv.fr wrote: Hey, On 2/11/09,

Re: [Ironruby-core] IIS 7 HttpModule for Rails/Rack with IronRuby

2009-02-11 Thread Ivan Porto Carrero
Hi Will, I'd be keen to help you with that.. If you've created a project on github please post the url so we can clone, fork and contribute :) cheers Ivan 2009/2/9 Will Green w...@hotgazpacho.org Woops, looks like it was on the GitHub wiki, and I may have ascribed more meaning to what is

Re: [Ironruby-core] boolean and to_clr_type

2009-02-12 Thread Ivan Porto Carrero
self.dcPlaying.DataType = System::Boolean On Thu, Feb 12, 2009 at 8:42 PM, Brandon Jones li...@ruby-forum.com wrote: I'm working with a windows form application using IronRuby. I'm hitting a snag when using DataSets. I have a DataColumn that I want to be a boolean. But I can't figure out

Re: [Ironruby-core] Incorrect library paths in App.Config

2009-02-13 Thread Ivan Porto Carrero
I think so.. I actually have an app.config.mine that I use to keep the paths correct. On Fri, Feb 13, 2009 at 3:13 PM, Pete Bacon Darwin bacondar...@googlemail.com wrote: Hi, I just noticed that the App.Config that is generated in an in Unsigned build of IronRuby (i.e. rake compile)

[Ironruby-core] revised package.rake

2009-02-13 Thread Ivan Porto Carrero
Hi, In my mono branch I use the following package task. It allows me to package up IronRuby and control the search paths. The problem with the previous task was that it shelled out to windows with windows specific commands. This made it fail on my mac of course. The code comes with no other

[Ironruby-core] Scratch that task.. some file paths have changed

2009-02-13 Thread Ivan Porto Carrero
That package task was what worked earlier this week. It looks like some of the paths have changed.. I'll fix it and update my repo. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] Incorrect library paths in App.Config

2009-02-13 Thread Ivan Porto Carrero
This is from my app.config.mono set language=Ruby option=LibraryPaths value=../lib;../lib/ruby/site_ruby/1.8/;../lib/ruby/site_ruby/;../lib/ruby/1.8/ / On Fri, Feb 13, 2009 at 5:56 PM, Tomas Matousek tomas.matou...@microsoft.com wrote: Yep, you're right. Will fix App.config by the next

Re: [Ironruby-core] Incorrect library paths in App.Config

2009-02-15 Thread Ivan Porto Carrero
Yes I also found that out.. I added a new one there in my branch. MonoDist On Sun, Feb 15, 2009 at 3:03 PM, Pete Bacon Darwin bacondar...@googlemail.com wrote: Actually the offending bit is actually hard coded into context.rb!! def transform_config_file(configuration, source_path,

Re: [Ironruby-core] RubyCLR anyone?

2009-02-16 Thread Ivan Porto Carrero
Subversion already has MRI ruby bindings.You may want to look into those instead of interop with .NET http://www.oneofthewolves.com/2007/03/06/ruby-subversion-bindings-finally-some-documentation/ http://www.oneofthewolves.com/2007/12/22/ruby-subversion-bindings-better-documentation/

[Ironruby-core] Implementing ASP.NET MVC

2009-02-16 Thread Ivan Porto Carrero
Hi, I'm currently implementing ActionFilters and ActionResults in ironruby mvc. I do have some questions about that.. Why so many filters? Is there an example somewhere so I can see their intended use? At the moment I'm doing it this way: class HomeController Controller before_filter

[Ironruby-core] community chapter

2009-02-17 Thread Ivan Porto Carrero
Hi I would like to put a real-world IronRuby chapter in my book that is created by people from the community. People that are interested in writing a short piece (2-5 pages in word) on how IronRuby made their live easier because of ... Michael has a thing about ActiveDirectory Daniele also has a

Re: [Ironruby-core] community chapter

2009-02-18 Thread Ivan Porto Carrero
;) Ben On Wed, Feb 18, 2009 at 6:49 AM, Ivan Porto Carrero i...@flanders.co.nz wrote: Hi I would like to put a real-world IronRuby chapter in my book that is created by people from the community. People that are interested in writing a short piece (2-5 pages in word) on how IronRuby

Re: [Ironruby-core] community chapter

2009-02-19 Thread Ivan Porto Carrero
...@rubyforge.org [mailto: ironruby-core-boun...@rubyforge.org] *On Behalf Of *Ivan Porto Carrero *Sent:* Wednesday, February 18, 2009 2:14 PM *To:* ironruby-core@rubyforge.org *Subject:* Re: [Ironruby-core] community chapter Great! Other people I thought about were Thibaut Barrère Robert Brotherus

[Ironruby-core] possible problem on mono

2009-02-20 Thread Ivan Porto Carrero
Hi When I try to run the igem script on mono it always comes back with a NullReferenceException. igem list --debug --backtrace ERROR: While executing gem ... (System::NullReferenceException) Object reference not set to an instance of an object IronRuby.Libraries:0:in `TryFlattenArray'

Re: [Ironruby-core] possible problem on mono

2009-02-21 Thread Ivan Porto Carrero
I'll try but i'm just moving into a new flat so it may take a few days before I get some actual pc time --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim On Fri, Feb 20, 2009 at 5

Re: [Ironruby-core] Regression ? Invalid IL code in (wrapper dynamic-method)

2009-02-26 Thread Ivan Porto Carrero
I can confirm this but from git. --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim On Thu, Feb 26, 2009 at 11:41 PM, Thibaut Barrère thibaut.barr...@gmail.com wrote: Hi again

  1   2   3   4   5   >