Re: [Ironruby-core] Back with more questions: mono 2.4.x & IR 0.9.x

2009-11-26 Thread Ivan Porto Carrero
http://dlrci.colliertech.org/ironruby/ Those builds are done on a mono machine The console is a bit wonky at this point on mono. I don't know if it's a mono thing or an IronRuby thing but you can't use arrow keys in the console or tab etc. It takes the characters just doesn't interpret them. To

Re: [Ironruby-core] Back with more questions: mono 2.4.x & IR 0.9.x

2009-11-26 Thread Andrew S. Townley
Hi Ivan, On Thu, 2009-11-26 at 09:04 +0100, Ivan Porto Carrero wrote: > http://dlrci.colliertech.org/ironruby/ > > > Those builds are done on a mono machine Thanks for the pointer to the other builds. I'll give that a go later today. I did notice the thing about the console (with the colors),

Re: [Ironruby-core] ListViewItem DataTemplate

2009-11-26 Thread Ivan Porto Carrero
There is no link between the DLR objects and CLR objects so if you derive from a control in ruby code there is no way for XAML to figure out what has been configured etc. There is also no class it can link to as the classes don't exist in the same way in a DLR based language as in a CLR language.

Re: [Ironruby-core] Back with more questions: mono 2.4.x & IR 0.9.x

2009-11-26 Thread Ivan Porto Carrero
You can also look in my github account the samples for my book are published there. I don't have Webforms or Winforms samples there (except for the one provided by thibaut for his Magic DSL), because I declared those techs dead a few years ago. A GUI toolkit I want to give a try sometime in the f

Re: [Ironruby-core] Back with more questions: mono 2.4.x & IR 0.9.x

2009-11-26 Thread Andrew S. Townley
On Thu, 2009-11-26 at 09:58 +0100, Ivan Porto Carrero wrote: > You can also look in my github account the samples for my book are > published there. Thanks Ivan, I will. > I don't have Webforms or Winforms samples there (except for the one > provided by thibaut for his Magic DSL), because I decla

[Ironruby-core] IronRuby + Mono + WinForms issue

2009-11-26 Thread Andrew S. Townley
I sent this to Thibaut, but I probably should've sent it to the whole list since it probably isn't directly related to his work (sorry Thibaut!). Thanks to Ivan's pointer to mono builds, I was able to get IronRuby to work as I would've expected. However, it doesn't seem able to find the WinForms

Re: [Ironruby-core] IronRuby + Mono + WinForms issue

2009-11-26 Thread Ivan Porto Carrero
what's the output of your pkgconfig path? i...@debian-stage:~ » pkg-config --variable=libdir mono /usr/local/mono/lib/pkgconfig/../../lib i...@debian-stage:~ » echo $PKG_CONFIG_PATH /usr/local/mono/lib/pkgconfig I added these lines to my .bashrc file export PKG_CONFIG_PATH=/usr/local/mono/lib/

Re: [Ironruby-core] IronRuby + Mono + WinForms issue

2009-11-26 Thread Andrew S. Townley
On Thu, 2009-11-26 at 12:22 +0100, Ivan Porto Carrero wrote: > what's the output of your pkgconfig path? > > > i...@debian-stage:~ > » pkg-config --variable=libdir mono > /usr/local/mono/lib/pkgconfig/../../lib $ pkg-config --variable=libdir mono /usr/local/mono-2.4/lib/pkgconfig/../../lib > i.

Re: [Ironruby-core] IronRuby + Mono + WinForms issue

2009-11-26 Thread Andrew S. Townley
As an interesting side-note (and maybe a crucial point), I remembered I had a sample I used the last time I looked at IronRuby back in April. This one actually runs fine with no errors. Do you really have to specify the whole assembly information with each require? $ cat formtest.rb require 'msco

Re: [Ironruby-core] IronRuby + Mono + WinForms issue

2009-11-26 Thread Ivan Porto Carrero
k I used to set those env. variables but the only one you really need is the PKG_CONFIG_PATH one if that is the only mono version on your system and it's installed in a non standard location (outside /usr or /usr/local) On ubuntu there is a package on launchpad called monoxide which has the 2.4.2

Re: [Ironruby-core] IronRuby + Mono + WinForms issue

2009-11-26 Thread Ivan Porto Carrero
Only on debian apparently and only with version 0.9.3, because it works on my mac. When I try it with 0.9.0 - 0.9.2 it works :S Casing has changed for the lib/ironruby folder apparently it's now lib/IronRuby in the config file. That is fixed already in git on my branch but not in the build yet.

Re: [Ironruby-core] IronRuby + Mono + WinForms issue

2009-11-26 Thread Ivan Porto Carrero
and as to why you're seeing that there is because require 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is the only line of content in the file lib/ironruby/System.Windows.Forms.rb because paths are case sensitive it was looking in lib/IronRuby for th

Re: [Ironruby-core] IronRuby + Mono + WinForms issue

2009-11-26 Thread Andrew S. Townley
Wow. Yeah, I can see why that too awhile! :) Thanks for the explanation. I understand the issue here, and I see the difference between the two versions. Thanks also for the build script. That will help a lot going forward. I'm just about to set up (build) Mono 2.4 on another Ubuntu 8.04 machin

Re: [Ironruby-core] IronRuby + Mono + WinForms issue

2009-11-26 Thread Ivan Porto Carrero
http://ebsteblog.wordpress.com/2009/01/15/building-monodevelop-from-svn/ no worries. have fun with it! --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Google Wave: portocarrero.i...@googlewave.com Twitter: http://twitter.com/casualjim Author