From lists at ruby-forum.com Wed Dec 1 07:37:46 2010 From: lists at ruby-forum.com (Jascha Luelsdorf) Date: Wed, 01 Dec 2010 13:37:46 +0100 Subject: [Ironruby-core] IronRuby for Office AddIns Message-ID: Hi, I'd like to write an Outlook(2003 & 2010)-AddIn in Ruby (IronRuby), but I'm not pretty sure, whether this is possible. The AddIn should bring up a new icon in Outlooks' CommandBar and should read contact items. I just found some examples, where they put Ruby-Code into a C#-Wrapper what is not what I want. The main thing I want to avoid (to be honest) is that I don't want to have to buy Visual Studio for a couple of hundreds (thousands?) of dollars. I am new to the whole .NET-World and I'm not much into the concept by now. Can you give me a hint to point me in the right direction? Thanks, Josch -- Posted via http://www.ruby-forum.com/. From tthetoad at gmail.com Wed Dec 1 16:34:19 2010 From: tthetoad at gmail.com (Travis Herrick) Date: Wed, 1 Dec 2010 11:34:19 -1000 Subject: [Ironruby-core] Help configuring latest IronRuby Message-ID: Hello, I am not entirely sure the best way to go about doing what I'm attempting to do and hope that someone may be able to provide some guidance. My ultimate goal is to use the latest IronRuby code base, tools, etc. to attempt to develop a Ruby on Rails application in VS 2010. I am able to successfully build Ruby.sln from the IDE (VS 2010 Ultimate), but when I attempt to build the .msi (from the command line per instructions), I am met with errors that I am having difficulty overcoming. The reason I was doing this was to attempt to use the .msi to install the latest IronRuby. Is there a better ("recommended") way to accomplish running IronRuby with the latest changes? Any help will be greatly appreciated, -Travis -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tomas.Matousek at microsoft.com Wed Dec 1 17:07:38 2010 From: Tomas.Matousek at microsoft.com (Tomas Matousek) Date: Wed, 1 Dec 2010 22:07:38 +0000 Subject: [Ironruby-core] Help configuring latest IronRuby In-Reply-To: References: Message-ID: What errors do you get? Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Travis Herrick Sent: Wednesday, December 01, 2010 1:34 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Help configuring latest IronRuby Hello, I am not entirely sure the best way to go about doing what I'm attempting to do and hope that someone may be able to provide some guidance. My ultimate goal is to use the latest IronRuby code base, tools, etc. to attempt to develop a Ruby on Rails application in VS 2010. I am able to successfully build Ruby.sln from the IDE (VS 2010 Ultimate), but when I attempt to build the .msi (from the command line per instructions), I am met with errors that I am having difficulty overcoming. The reason I was doing this was to attempt to use the .msi to install the latest IronRuby. Is there a better ("recommended") way to accomplish running IronRuby with the latest changes? Any help will be greatly appreciated, -Travis -------------- next part -------------- An HTML attachment was scrubbed... URL: From mail at tinco.nl Wed Dec 1 20:56:57 2010 From: mail at tinco.nl (Tinco Andringa) Date: Thu, 2 Dec 2010 02:56:57 +0100 Subject: [Ironruby-core] IronRuby for Office AddIns In-Reply-To: References: Message-ID: You can download Visual C# Express for free. There is also the MonoDevelop IDE which is free. Beside that you can use any text editor together with the ironruby and c# compiler to work in any way you want :) I am not certain how the Office addin's work but usually that kind of thing works with a (.net) dll that exposes some interface implementation. I'd advice you to look into what kind of interface Office has, and wether you can do this by compiling a ruby file to a dll, or making a small c# wrapper which invokes the ruby code in a separate file or embedded resource. I hope I gave you some terms to google :) Cheers, Tinco On Wed, Dec 1, 2010 at 13:37, Jascha Luelsdorf wrote: > Hi, > > I'd like to write an Outlook(2003 & 2010)-AddIn in Ruby (IronRuby), but > I'm not pretty sure, whether this is possible. > The AddIn should bring up a new icon in Outlooks' CommandBar and should > read contact items. > > I just found some examples, where they put Ruby-Code into a C#-Wrapper > what is not what I want. > > The main thing I want to avoid (to be honest) is that I don't want to > have to buy Visual Studio for a couple of hundreds (thousands?) of > dollars. > > I am new to the whole .NET-World and I'm not much into the concept by > now. > > Can you give me a hint to point me in the right direction? > > > Thanks, > > Josch > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > From tthetoad at gmail.com Thu Dec 2 09:55:42 2010 From: tthetoad at gmail.com (Travis Herrick) Date: Thu, 2 Dec 2010 04:55:42 -1000 Subject: [Ironruby-core] Help configuring latest IronRuby In-Reply-To: References: Message-ID: The first time I run it (after getting the latest source), I get 138 warnings and 2 errors. When I run it a second time, I am left with the following 3 warnings and 2 errors: "E:\Src\IronLang\main\Msi\Installer.proj" (default target) (1) -> "E:\Src\IronLang\main\Solutions\Codeplex-DLR.sln" (default target) (2) -> (ValidateProjects target) -> E:\Src\IronLang\main\Solutions\Codeplex-DLR.sln.metaproj : warning MSB4121: The project configuration for project "IronPython.Wpf" was not specified in the solution file for the solution configuration "Silverlight4Release|Any CPU". [E:\Src\IronLang\main\Solutions\Codeplex-DLR.sln] "E:\Src\IronLang\main\Msi\Installer.proj" (default target) (1) -> "E:\Src\IronLang\main\Msi\Python\Msi\IronPython.Msi.wproj" (default target) (14) -> "E:\Src\IronLang\main\Msi\Python\Msm\IronPython.Msm.wproj" (default target) (22) -> (AddSolutionDefineConstants target) -> E:\Src\IronLang\main\Util\Wix35\wix2010.targets(1170,5): warning : Solution properties are only available during IDE builds or when building the solution file from the command line. To turn off this warning set false in your .wixproj file. [E:\Src\IronLang\main\Msi\Python\Msm\IronPython.Msm.wproj] "E:\Src\IronLang\main\Msi\Installer.proj" (default target) (1) -> "E:\Src\IronLang\main\Msi\Python\Msi\IronPython.Msi.wproj" (default target) (14) -> "E:\Src\IronLang\main\Msi\Runtime\DLR.Msm.wproj" (default target) (27) -> E:\Src\IronLang\main\Util\Wix35\wix2010.targets(1170,5): warning : Solution properties are only available during IDE builds or when building the solution file from the command line. To turn off this warning set false in your .wixproj file. [E:\Src\IronLang\main\Msi\Runtime\DLR.Msm.wproj] "E:\Src\IronLang\main\Msi\Installer.proj" (default target) (1) -> "E:\Src\IronLang\main\Msi\Python\Chm\IronPython.Chm.proj" (default target) (13) -> (Build target) -> E:\Src\IronLang\main\Msi\Python\Chm\IronPython.Chm.proj(14,9): error MSB3073: The command "E:\Src\IronLang\main\Solutions\..\External.LCA_RESTRICTED\Languages\IronPython\27\Doc\ipymake.bat E:\Src\IronLang\main\Solutions\\..\Bin\Release" exited with code 1. "E:\Src\IronLang\main\Msi\Installer.proj" (default target) (1) -> "E:\Src\IronLang\main\Msi\Python\Msi\IronPython.Msi.wproj" (default target) (14) -> "E:\Src\IronLang\main\Tools\IronStudio\IronPythonTools\IronPythonTools.csproj" (default target) (15) -> "E:\Src\IronLang\main\Tools\IronStudio\IronStudio\IronStudio.csproj" (default target) (19) -> (DeployVsixExtensionFiles target) -> C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\VSSDK\Microsoft.VsSDK.targets(420,5): error : Exception has been thrown by the target of an invocation. [E:\Src\IronLang\main\Tools\IronStudio\IronStudio\IronStudio.csproj] 3 Warning(s) 2 Error(s) On Wed, Dec 1, 2010 at 12:07 PM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote: > What errors do you get? > > > > Tomas > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Travis Herrick > *Sent:* Wednesday, December 01, 2010 1:34 PM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] Help configuring latest IronRuby > > > > Hello, > > > > I am not entirely sure the best way to go about doing what I'm attempting > to do and hope that someone may be able to provide some guidance. My > ultimate goal is to use the latest IronRuby code base, tools, etc. to > attempt to develop a Ruby on Rails application in VS 2010. > > > > I am able to successfully build Ruby.sln from the IDE (VS 2010 Ultimate), > but when I attempt to build the .msi (from the command line per > instructions), I am met with errors that I am having difficulty overcoming. > The reason I was doing this was to attempt to use the .msi to install the > latest IronRuby. Is there a better ("recommended") way to accomplish > running IronRuby with the latest changes? > > > > Any help will be greatly appreciated, > > > > -Travis > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at ruby-forum.com Thu Dec 2 20:32:44 2010 From: lists at ruby-forum.com (Eduardo Blumenfeld) Date: Fri, 03 Dec 2010 02:32:44 +0100 Subject: [Ironruby-core] How to install IronRuby-Hpricot Message-ID: <6f89862b227ce07afd5dc8b05dd95910@ruby-forum.com> Hi all, Does anyone has instructions on how to install the Hpricot port to .net called IronRuby-hpricot? https://github.com/nrk/ironruby-hpricot is the git, the download link is: http://github.com/nrk/ironruby-hpricot/downloads I get it, but I don't know how to install or copy the files in the specific directories in order to be used as a gem... Thank you in advance Eduardo -- Posted via http://www.ruby-forum.com/. From suppakilla at gmail.com Fri Dec 3 02:37:23 2010 From: suppakilla at gmail.com (Daniele Alessandri) Date: Fri, 3 Dec 2010 08:37:23 +0100 Subject: [Ironruby-core] How to install IronRuby-Hpricot In-Reply-To: <6f89862b227ce07afd5dc8b05dd95910@ruby-forum.com> References: <6f89862b227ce07afd5dc8b05dd95910@ruby-forum.com> Message-ID: On Fri, Dec 3, 2010 at 02:32, Eduardo Blumenfeld wrote: > Does anyone has instructions on how to install > the Hpricot port to .net called IronRuby-hpricot? You should just copy the contents of the directory from one of those compressed file (e.g. everything contained inside the ironruby-hpricot_v0.8.1_dotnet4.0-bin/ directory from ironruby-hpricot_v0.8.1_dotnet4.0-bin.zip) into a path where IronRuby looks for libraries. > I get it, but I don't know how to install or copy > the files in the specific directories in order to > be used as a gem... Unfortunately I haven't yet bundled the library into a gem file, and I still need to find the time to test if it still works with the latest release of IronRuby (1.1.1) or the current master branch on Git :-( -- Daniele Alessandri http://clorophilla.net/ http://twitter.com/JoL1hAHN From lists at ruby-forum.com Fri Dec 3 09:05:45 2010 From: lists at ruby-forum.com (Eduardo Blumenfeld) Date: Fri, 03 Dec 2010 15:05:45 +0100 Subject: [Ironruby-core] How to install IronRuby-Hpricot In-Reply-To: References: <6f89862b227ce07afd5dc8b05dd95910@ruby-forum.com>, Message-ID: Hi Daniele, Thank you for the quick response, Unfortunately it is not workin with the version 1.1 of IronRuby, It seems to me that the problem has to do with a hard-coded reference to the 1.0 libraries in IronRuby.Hpricot.csproj : False ..\deps\IronRuby.dll False ..\deps\IronRuby.Libraries.dll False ..\deps\Microsoft.Dynamic.dll False ..\deps\Microsoft.Scripting.dll False ..\deps\Microsoft.Scripting.Core.dll Unfortunately I don't know too much about git and how to branch, compile and contribute. Thank you anyways. Eduardo Daniele Alessandri wrote in post #965909: > On Fri, Dec 3, 2010 at 02:32, Eduardo Blumenfeld > wrote: > >> Does anyone has instructions on how to install >> the Hpricot port to .net called IronRuby-hpricot? > > You should just copy the contents of the directory from one of those > compressed file (e.g. everything contained inside the > ironruby-hpricot_v0.8.1_dotnet4.0-bin/ directory from > ironruby-hpricot_v0.8.1_dotnet4.0-bin.zip) into a path where IronRuby > looks for libraries. > >> I get it, but I don't know how to install or copy >> the files in the specific directories in order to >> be used as a gem... > > Unfortunately I haven't yet bundled the library into a gem file, and I > still need to find the time to test if it still works with the latest > release of IronRuby (1.1.1) or the current master branch on Git :-( > > -- > Daniele Alessandri > http://clorophilla.net/ > http://twitter.com/JoL1hAHN -- Posted via http://www.ruby-forum.com/. From jimmy at schementi.com Fri Dec 3 12:51:32 2010 From: jimmy at schementi.com (Jimmy Schementi) Date: Fri, 3 Dec 2010 12:51:32 -0500 Subject: [Ironruby-core] How to install IronRuby-Hpricot In-Reply-To: References: <6f89862b227ce07afd5dc8b05dd95910@ruby-forum.com> Message-ID: You can still update those version numbers to unblock yourself. If you don't know how to contribute, either ask the author or open a bug on the IronRuby.Hpricot site. On Fri, Dec 3, 2010 at 9:05 AM, Eduardo Blumenfeld wrote: > Hi Daniele, > > Thank you for the quick response, > > Unfortunately it is not workin with the version 1.1 of IronRuby, > It seems to me that the problem has to do with a hard-coded reference > to the 1.0 libraries in IronRuby.Hpricot.csproj : > > > False > ..\deps\IronRuby.dll > > > False > ..\deps\IronRuby.Libraries.dll > > > False > ..\deps\Microsoft.Dynamic.dll > > > False > ..\deps\Microsoft.Scripting.dll > > > False > ..\deps\Microsoft.Scripting.Core.dll > > > > > > > Unfortunately I don't know too much about git and how to branch, compile > and contribute. > > Thank you anyways. > > Eduardo > > Daniele Alessandri wrote in post #965909: > > On Fri, Dec 3, 2010 at 02:32, Eduardo Blumenfeld > > wrote: > > > >> Does anyone has instructions on how to install > >> the Hpricot port to .net called IronRuby-hpricot? > > > > You should just copy the contents of the directory from one of those > > compressed file (e.g. everything contained inside the > > ironruby-hpricot_v0.8.1_dotnet4.0-bin/ directory from > > ironruby-hpricot_v0.8.1_dotnet4.0-bin.zip) into a path where IronRuby > > looks for libraries. > > > >> I get it, but I don't know how to install or copy > >> the files in the specific directories in order to > >> be used as a gem... > > > > Unfortunately I haven't yet bundled the library into a gem file, and I > > still need to find the time to test if it still works with the latest > > release of IronRuby (1.1.1) or the current master branch on Git :-( > > > > -- > > Daniele Alessandri > > http://clorophilla.net/ > > http://twitter.com/JoL1hAHN > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimmy at schementi.com Fri Dec 3 13:05:19 2010 From: jimmy at schementi.com (Jimmy Schementi) Date: Fri, 3 Dec 2010 13:05:19 -0500 Subject: [Ironruby-core] IronRuby for Office AddIns In-Reply-To: References: Message-ID: Jascha, You're need to write a small host for IronRuby in a static .NET language, as the Office add-in API most likely requires an actual assembly with actual CLR types to be loaded. However, with a minimal shim to host IronRuby in an office add-in, you can then write the actual logic of your add-in in IronRuby. This is the only way IronRuby can run; ir.exe is the IronRuby runner for cmd.exe, irw.exe is the Windows runner, and Microsoft.Scripting.Silverlight.dll is the runner for Silverlight. If there is a shim that isn't part of IronRuby itself, you can use the very simple Microsoft.Scripting.Hosting APIs directly to run IronRuby in a custom way. However, you also want to develop add-ins without purchasing VSTO (VS Tools for Office). In that case, would you be able to get away with writing a program external to Office that controlled it? If so, you can either use the Office interop assemblies ( http://www.codeproject.com/KB/office/fasterexcelaccesstoc.aspx) or use the Win32OLE module in IronRuby to automate Office; this option also avoids the static-.NET shim. ~Jimmy On Wed, Dec 1, 2010 at 8:56 PM, Tinco Andringa wrote: > You can download Visual C# Express for free. There is also the > MonoDevelop IDE which is free. Beside that you can use any text editor > together with the ironruby and c# compiler to work in any way you want > :) > > I am not certain how the Office addin's work but usually that kind of > thing works with a (.net) dll that exposes some interface > implementation. I'd advice you to look into what kind of interface > Office has, and wether you can do this by compiling a ruby file to a > dll, or making a small c# wrapper which invokes the ruby code in a > separate file or embedded resource. > > I hope I gave you some terms to google :) > > Cheers, > Tinco > > On Wed, Dec 1, 2010 at 13:37, Jascha Luelsdorf > wrote: > > Hi, > > > > I'd like to write an Outlook(2003 & 2010)-AddIn in Ruby (IronRuby), but > > I'm not pretty sure, whether this is possible. > > The AddIn should bring up a new icon in Outlooks' CommandBar and should > > read contact items. > > > > I just found some examples, where they put Ruby-Code into a C#-Wrapper > > what is not what I want. > > > > The main thing I want to avoid (to be honest) is that I don't want to > > have to buy Visual Studio for a couple of hundreds (thousands?) of > > dollars. > > > > I am new to the whole .NET-World and I'm not much into the concept by > > now. > > > > Can you give me a hint to point me in the right direction? > > > > > > Thanks, > > > > Josch > > > > -- > > Posted via http://www.ruby-forum.com/. > > _______________________________________________ > > Ironruby-core mailing list > > Ironruby-core at rubyforge.org > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at ruby-forum.com Mon Dec 6 02:38:37 2010 From: lists at ruby-forum.com (Tina Lee) Date: Mon, 06 Dec 2010 08:38:37 +0100 Subject: [Ironruby-core] Preview of ironruby-rack gem In-Reply-To: References: Message-ID: <738caa9ef8145cd406d7228300baa81b@ruby-forum.com> belstaff jackets http://www.belstaffjacketsoutlet.com/Belstaff-Man/ men belstaff jackets http://www.belstaffjacketsoutlet.com/Belstaff-Man/ belstaff sale http://www.belstaffjacketsoutlet.com/Belstaff-Man/ belstaff bags http://www.belstaffjacketsoutlet.com/Belstaff-Bag/ belstaff bag http://www.belstaffjacketsoutlet.com/Belstaff-Bag/ belstaff 554 http://www.belstaffjacketsoutlet.com/Belstaff-Bag/ women belstaff jackets http://ww.belstaffjacketsoutlet.com/Belstaff-Women/ belstaff jackets http://www.belstaffjacketsoutlet.com/Belstaff-Icon-Jackets/ Belstaff Icon Jackets http://www.belstaffjacketsoutlet.com/Belstaff-Icon-Jackets/ belstaff boots http://www.belstaffjacketsoutlet.com/Belstaff-Shoes/ belstaff http://www.belstaffjacketsoutlet.com/Belstaff-Women/ -- Posted via http://www.ruby-forum.com/. From ryan.riley at panesofglass.org Mon Dec 13 01:13:14 2010 From: ryan.riley at panesofglass.org (Ryan Riley) Date: Sun, 12 Dec 2010 22:13:14 -0800 Subject: [Ironruby-core] What happened to the github repo? Message-ID: <4d05b97d.6320ec0a.3f24.2040@mx.google.com> Did I miss some (fairly large) announcement? I can no longer see the github repo. L Ryan Riley Email: ryan.riley at panesofglass.org LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryan.riley at panesofglass.org Mon Dec 13 01:23:00 2010 From: ryan.riley at panesofglass.org (Ryan Riley) Date: Sun, 12 Dec 2010 22:23:00 -0800 Subject: [Ironruby-core] IronRuby FFI In-Reply-To: References: <561370EA-761F-4C01-9028-71025E39BE05@panesofglass.org> <5EF9EFF7-FC17-4315-918C-75DD4A9ECE6A@panesofglass.org> <8A6C5371-6CDB-48AC-8065-AEB181FD00AD@panesofglass.org> Message-ID: <4d05bbc6.8d0fec0a.1643.21ac@mx.google.com> Charles, Have you made any progress with FFI? I have finally finished with all of my craziness. Of course, the holidays are approaching, but I would love to investigate this further in the new year. ~ Ryan From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Charles Strahan Sent: Sunday, October 03, 2010 11:47 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] IronRuby FFI Here's Dino Viehland's response regarding the CERs: ~~~~~~~~ Objects which inherit from CriticalFinalizerObject basically have their finalize method turned into a CER. The finalizer method is also JITed before any instances are created so the finalizer is guaranteed to be runnable. In generally CERs are all about ensuring that the VM won't cause any unexpected failure points in your code. These can be introduced because the VM does something lazily (including JITing methods) and doing the work might fail due to insufficient resources. Or it can also be due to thread abort. Because these objects are responsible for freeing up resources we don't want any unexpected failures to be injected otherwise the resources would leak. So for example MemoryHolder also has a CER in the constructor - this ensures that we don't take a ThreadAbort between the CallocCall, storing the value in _data, or assigning to _ownsData. This will all complete or not complete so that our state is consistent when the finalizer is run. It also makes sure that any work the CLR needs to perform to call NativeFunctions.Calloc is all performed before we enter the CER so that we don't get an out of memory exception while calling or returning from it. For most environments it's not super important that this is gotten right - but if you run in a process which needs long uptime, is resource constrained, and/or uses thread abort a lot (SQL server being an example of all 3) it's important that this is correct. I happened to work on this feature when I was on the CLR team so it came rather naturally to me to get it right J ~~~~~~~~~ -Charles On Mon, Oct 4, 2010 at 12:11 AM, Charles Strahan wrote: I've decided to not be lazy and do a little spelunking into CER's - it's rather interesting stuff. I found a pretty good article here: http://msdn.microsoft.com/en-us/magazine/cc163716.aspx In laymen's terms, it looks like CER's provide reliability where asynchronous exceptions may be thrown: OutOfMemoryException, StackOverflowException, and ThreadAbortException. In the case of MemoryHolder, this is important because such exceptions could preempt the storage of IntPtrs corresponding to allocated memory and/or the deallocation of memory within finalizers - both resulting in memory leaks. As I imagined, this will be something we'll want to incorporate in our FFI impl. -Charles On Sun, Oct 3, 2010 at 11:51 PM, Ryan Riley wrote: I've not heard of any of those. I started looking at ctypes but never got far. Sent from my iPhone On Oct 3, 2010, at 9:27 PM, Charles Strahan wrote: I'm also taking a look at IronPython's CTypes implementation, under Tomas' advice. I've noticed that their MemoryHolder class derives from CriticalFinalizerObject , which led me to the discovery of Constrained Execution Regions . I sent an inquiry to the IronPython mailing list regarding the use CFO, and about CER in general, as I haven't had any exposure to either, and the MSDN docs are a little daunting. If anyone here would like to give an explanation of either one, that would be awesome. Any experience with either of those, Ryan? -Charles On Sun, Oct 3, 2010 at 10:39 PM, Ryan Riley wrote: Sounds good to me! Sent from my iPhone On Oct 3, 2010, at 8:04 PM, Charles Strahan wrote: Ryan, Sorry for the long delay - I meant to give it some thought before I got back to you... and know it's been quite some time. I think it would be a good idea to replicate JFFI, using P/Invoke directly, if possible (as opposed to P/Invoking libffi ). That would give us a good separation of concerns and a reusable library, and possibly an easy way to port any Java/JRuby code that uses JFFI to C#/.NET too. I'm about to set up an NFFI repo at http://github.com/cstrahan/nffi. - I suppose you could fork it and send me pull requests (unless you have a better workflow in mind - I'm definitely not a git guru). I've been learning C/C++ the last couple months, so I should be able to write simple DLL to run our tests against. I think I'll take a TDD approach to driving out the C# lib. Once we have NFFI working, it should be relatively straightforward to expose that to the IronRuby runtime. I'll try to get something pushed out to my repo by the end of tomorrow - I'll keep you in the loop. That's what I have in mind, but I'm open to suggestions. -Charles On Sat, Aug 21, 2010 at 9:23 PM, Ryan Riley wrote: Charles, I'm happy to work with you to get this done. I'm getting close to finishing some projects and will have more time to work on it in a few weeks. I will send the info I got from the mono-devel list. Where/how do you want to start? Ryan Sent from my iPhone On Aug 20, 2010, at 1:49 PM, Charles Strahan wrote: Ryan, I'm right there with you, only I looked at JFFI for inspiration (didn't know mono had anything - could you share more about that?). In fact, In my infinite laziness, I posted a job for a couple hundred bucks on Rent-A-Coder, hoping someone could essentially port JFFI to C#, so I could focus on writing the actually IronRuby library... but nothing came of that. I'm tempted to suck it up and start coding this myself. Would you be interested in working together? I figured I'd take the approach of essentially writing "NFFI", and then write an IronRuby lib around that. -Charles On Fri, Aug 20, 2010 at 2:33 PM, Ryan Riley wrote: I know that we've discussed this in the past, but I'm interested in doing it for two reasons: 1. We use mono with a bridge to ObjectiveC and Cocoa, and we'd like to investigate libffi via mono as a potential replacement for our current bridge. 2. I'm interested just for the sake of learning more about FFI. Mono appears to have had a libffi implementation that was later removed, so I think I have a place to start. However, I'm not sure that's the right starting point. Does anyone have a suggestion for how to get started? I've been taking a look at libffi and DllImport, but I'm not sure if those are the right directions, something else, or what. Thanks, Ryan Riley Email: ryan.riley at panesofglass.org LinkedIn: http://www.linkedin.com/in/ryanriley Twitter: @panesofglass Blog: http://wizardsofsmart.net/ Website: http://panesofglass.org/ _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: From ali_bush at gentoo.org Mon Dec 13 01:48:35 2010 From: ali_bush at gentoo.org (Alistair Bush) Date: Mon, 13 Dec 2010 19:48:35 +1300 Subject: [Ironruby-core] What happened to the github repo? In-Reply-To: <4d05b97d.6320ec0a.3f24.2040@mx.google.com> References: <4d05b97d.6320ec0a.3f24.2040@mx.google.com> Message-ID: <201012131948.37219.ali_bush@gentoo.org> > Did I miss some (fairly large) announcement? I can no longer see the github > repo. L > It moved. https://github.com/IronLanguages/main > > > Ryan Riley > > > > Email: ryan.riley at panesofglass.org > > LinkedIn: http://www.linkedin.com/in/ryanriley > > Blog: http://wizardsofsmart.net/ > > Twitter: @panesofglass > > Website: http://panesofglass.org/ From dezso.zoltan at gmail.com Mon Dec 13 01:48:35 2010 From: dezso.zoltan at gmail.com (Dezso Zoltan) Date: Mon, 13 Dec 2010 15:48:35 +0900 Subject: [Ironruby-core] What happened to the github repo? In-Reply-To: <4d05b97d.6320ec0a.3f24.2040@mx.google.com> References: <4d05b97d.6320ec0a.3f24.2040@mx.google.com> Message-ID: Hi, It has moved to https://github.com/ironlanguages/main Zaki On Mon, Dec 13, 2010 at 3:13 PM, Ryan Riley wrote: > Did I miss some (fairly large) announcement? I can no longer see the github > repo. L > > > > Ryan Riley > > > > Email: ryan.riley at panesofglass.org > > LinkedIn: http://www.linkedin.com/in/ryanriley > > Blog: http://wizardsofsmart.net/ > > Twitter: @panesofglass > > Website: http://panesofglass.org/ > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tomas.Matousek at microsoft.com Mon Dec 13 01:55:59 2010 From: Tomas.Matousek at microsoft.com (Tomas Matousek) Date: Mon, 13 Dec 2010 06:55:59 +0000 Subject: [Ironruby-core] What happened to the github repo? In-Reply-To: <4d05b97d.6320ec0a.3f24.2040@mx.google.com> References: <4d05b97d.6320ec0a.3f24.2040@mx.google.com> Message-ID: The repo was renamed to https://github.com/IronLanguages/main It's the primary repo for IronRuby, IronPython and the DLR. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Ryan Riley [ryan.riley at panesofglass.org] Sent: Sunday, December 12, 2010 10:13 PM To: IronRuby Core Subject: [Ironruby-core] What happened to the github repo? Did I miss some (fairly large) announcement? I can no longer see the github repo. :( Ryan Riley Email: ryan.riley at panesofglass.org LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From charles.c.strahan at gmail.com Mon Dec 13 23:43:42 2010 From: charles.c.strahan at gmail.com (Charles Strahan) Date: Mon, 13 Dec 2010 22:43:42 -0600 Subject: [Ironruby-core] IronRuby FFI In-Reply-To: <4d05bbc6.8d0fec0a.1643.21ac@mx.google.com> References: <561370EA-761F-4C01-9028-71025E39BE05@panesofglass.org> <5EF9EFF7-FC17-4315-918C-75DD4A9ECE6A@panesofglass.org> <8A6C5371-6CDB-48AC-8065-AEB181FD00AD@panesofglass.org> <4d05bbc6.8d0fec0a.1643.21ac@mx.google.com> Message-ID: Ryan, Have you made any progress with FFI? I have finally finished with all of my > craziness. Of course, the holidays are approaching, but I would love to > investigate this further in the new year. I haven't written any code yet (I've been rather swamped lately). I took a look at the API (http://rdoc.info/github/ffi/ffi) that we'd have to provide for a full implementation, and it looks rather daunting. I'm still reading through JFFI, JRuby and RubyFFI trying to wrap my head around all of it. I'm not sure how I would get started right now. However, I'm going to spend some time the next couple days trying to figure out how I might attack this. I'll be sure to keep this thread up-to-date with my thoughts/feelings on this. Feel free to take the lead if you have a clearer vision of how this needs to get done; otherwise, I'll update you on Tuesday or Wednesday. Cheers, -Charles On Mon, Dec 13, 2010 at 12:23 AM, Ryan Riley wrote: > Charles, > > > > Have you made any progress with FFI? I have finally finished with all of my > craziness. Of course, the holidays are approaching, but I would love to > investigate this further in the new year. > > > > ~ Ryan > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Charles Strahan > *Sent:* Sunday, October 03, 2010 11:47 PM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] IronRuby FFI > > > > Here's Dino Viehland's response regarding the CERs: > > > > ~~~~~~~~ > > Objects which inherit from CriticalFinalizerObject basically have their > finalize method turned into a CER. The finalizer method is also JITed > before any instances are created so the finalizer is guaranteed to be > runnable. > > > > In generally CERs are all about ensuring that the VM won?t cause any > unexpected failure points in your code. These can be introduced because the > VM does something lazily (including JITing methods) and doing the work might > fail due to insufficient resources. Or it can also be due to thread abort. > Because these objects are responsible for freeing up resources we don?t want > any unexpected failures to be injected otherwise the resources would leak. > > > > So for example MemoryHolder also has a CER in the constructor ? this > ensures that we don?t take a ThreadAbort between the CallocCall, storing the > value in _data, or assigning to _ownsData. This will all complete or not > complete so that our state is consistent when the finalizer is run. It also > makes sure that any work the CLR needs to perform to call > NativeFunctions.Calloc is all performed before we enter the CER so that we > don?t get an out of memory exception while calling or returning from it. > > > > For most environments it?s not super important that this is gotten right ? > but if you run in a process which needs long uptime, is resource > constrained, and/or uses thread abort a lot (SQL server being an example of > all 3) it?s important that this is correct. I happened to work on this > feature when I was on the CLR team so it came rather naturally to me to get > it right J > > ~~~~~~~~~ > > > > -Charles > > > > > > On Mon, Oct 4, 2010 at 12:11 AM, Charles Strahan < > charles.c.strahan at gmail.com> wrote: > > I've decided to not be lazy and do a little spelunking into CER's - it's > rather interesting stuff. I found a pretty good article here: > > http://msdn.microsoft.com/en-us/magazine/cc163716.aspx > > > > In laymen's terms, it looks like CER's provide reliability where > asynchronous exceptions may be thrown: OutOfMemoryException, > StackOverflowException, and ThreadAbortException. In the case of > MemoryHolder, this is important because such exceptions could preempt the > storage of IntPtrs corresponding to allocated memory and/or the deallocation > of memory within finalizers - both resulting in memory leaks. As I imagined, > this will be something we'll want to incorporate in our FFI impl. > > > > -Charles > > > > On Sun, Oct 3, 2010 at 11:51 PM, Ryan Riley > wrote: > > I've not heard of any of those. I started looking at ctypes but never got > far. > > Sent from my iPhone > > > On Oct 3, 2010, at 9:27 PM, Charles Strahan > wrote: > > I'm also taking a look at IronPython's CTypes implementation, under Tomas' > advice. I've noticed that their MemoryHolderclass derives from > CriticalFinalizerObject, > which led me to the discovery of Constrained Execution Regions > . > > > > I sent an inquiry to the IronPython mailing listregarding the use CFO, and about CER in general, as I haven't had any > exposure to either, and the MSDN docs are a little daunting. If anyone here > would like to give an explanation of either one, that would be awesome. > > > > Any experience with either of those, Ryan? > > > > -Charles > > > > On Sun, Oct 3, 2010 at 10:39 PM, Ryan Riley > wrote: > > Sounds good to me! > > Sent from my iPhone > > > On Oct 3, 2010, at 8:04 PM, Charles Strahan > wrote: > > Ryan, > > > > Sorry for the long delay - I meant to give it some thought before I got > back to you... and know it's been quite some time. > > > > I think it would be a good idea to replicate JFFI, using P/Invoke directly, > if possible (as opposed to P/Invoking libffi). > That would give us a good separation of concerns and a reusable library, and > possibly an easy way to port any Java/JRuby code that uses JFFI to C#/.NET > too. > > > > I'm about to set up an NFFI repo at http://github.com/cstrahan/nffi. - I > suppose you could fork it and send me pull requests (unless you have a > better workflow in mind - I'm definitely not a git guru). I've been learning > C/C++ the last couple months, so I should be able to write simple DLL to run > our tests against. I think I'll take a TDD approach to driving out the C# > lib. Once we have NFFI working, it should be relatively straightforward to > expose that to the IronRuby runtime. I'll try to get something pushed out to > my repo by the end of tomorrow - I'll keep you in the loop. > > > > That's what I have in mind, but I'm open to suggestions. > > > > -Charles > > > > > > On Sat, Aug 21, 2010 at 9:23 PM, Ryan Riley > wrote: > > Charles, I'm happy to work with you to get this done. I'm getting close to > finishing some projects and will have more time to work on it in a few > weeks. I will send the info I got from the mono-devel list. Where/how do you > want to start? > > > > Ryan > > Sent from my iPhone > > > On Aug 20, 2010, at 1:49 PM, Charles Strahan > wrote: > > Ryan, > > I'm right there with you, only I looked at JFFI for inspiration (didn't > know mono had anything - could you share more about that?). In fact, In my > infinite laziness, I posted a job for a couple hundred bucks on > Rent-A-Coder, hoping someone could essentially port JFFI to C#, so I could > focus on writing the actually IronRuby library... but nothing came of that. > > I'm tempted to suck it up and start coding this myself. Would you be > interested in working together? I figured I'd take the approach of > essentially writing "NFFI", and then write an IronRuby lib around that. > > -Charles > > On Fri, Aug 20, 2010 at 2:33 PM, Ryan Riley > wrote: > > I know that we've discussed this in the past, but I'm interested in doing > it for two reasons: > > 1. We use mono with a bridge to ObjectiveC and Cocoa, and we'd like to > investigate libffi via mono as a potential replacement for our current > bridge. > > 2. I'm interested just for the sake of learning more about FFI. > > > > Mono appears to have had a libffi implementation that was later removed, so > I think I have a place to start. However, I'm not sure that's the right > starting point. Does anyone have a suggestion for how to get started? I've > been taking a look at libffi and DllImport, but I'm not sure if those are > the right directions, something else, or what. > > > > Thanks, > > > Ryan Riley > > Email: ryan.riley at panesofglass.org > LinkedIn: http://www.linkedin.com/in/ryanriley > Twitter: @panesofglass > Blog: http://wizardsofsmart.net/ > Website: http://panesofglass.org/ > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at ruby-forum.com Tue Dec 14 06:25:27 2010 From: lists at ruby-forum.com (James Jefferson) Date: Tue, 14 Dec 2010 12:25:27 +0100 Subject: [Ironruby-core] Increasing Memory Usage Message-ID: Hi, I'm currently running a very simple rails (2.3.8) app using ironruby 1.0. At the moment I'm only running the app in development mode using Webrick but I have some concerns about the amount of memory being used by ir.exe. Each web page refresh consumes an additional 5 Mb of memory which seems to be never released (the actually number seems to increase with the amount of info being retrieved/displayed). Eventually my PC (XP 32-bit) runs out of memeory and WeBrick needs to be restarted. I'd like to know whether this is normal and whether this will continue if I move to IIS rather than WeBrick. Or could this be a result of my incompotence in configuring and coding my app! Any other insights would be gratefully appreciated. Thanks. -- Posted via http://www.ruby-forum.com/. From thibaut.barrere at gmail.com Tue Dec 14 08:00:44 2010 From: thibaut.barrere at gmail.com (=?ISO-8859-1?Q?Thibaut_Barr=E8re?=) Date: Tue, 14 Dec 2010 14:00:44 +0100 Subject: [Ironruby-core] Increasing Memory Usage In-Reply-To: References: Message-ID: Hi James, can you try (not during development, just for a test) do the same test but run webrick with a production RAILS_ENV ? For Rails 2.3.8 this should be: script/server -e production Most of the time (most, not all :-) this is related to the development auto-reloading feature. hth, -- Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at ruby-forum.com Tue Dec 14 09:15:47 2010 From: lists at ruby-forum.com (James Jefferson) Date: Tue, 14 Dec 2010 15:15:47 +0100 Subject: [Ironruby-core] Increasing Memory Usage In-Reply-To: References: Message-ID: <29cb7e3d70e4aaa6295b633766905122@ruby-forum.com> Thibaut, Thanks for the reply. I was wondering whether that was the case. I've tried starting in production but get the following error.. C:/ruby_iron/lib/ironruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:154:in `require': no such file to load -- activesp (MissingSourceFile) from C:/ruby_iron/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in `require' from C:/ruby_iron/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in `require' from C:/ruby_iron/lib/ironruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:154:in `require' from C:/ruby_iron/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in `require' from C:/ruby_iron/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in `require' from C:/ruby_iron/lib/ironruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in `require' from C:/ruby_iron/lib/ironruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:490:in `new_constants_in' from C:/ruby_iron/lib/ironruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:154:in `require' Any ideas? Thanks -- Posted via http://www.ruby-forum.com/. From thibaut.barrere at gmail.com Tue Dec 14 10:11:02 2010 From: thibaut.barrere at gmail.com (=?ISO-8859-1?Q?Thibaut_Barr=E8re?=) Date: Tue, 14 Dec 2010 16:11:02 +0100 Subject: [Ironruby-core] Increasing Memory Usage In-Reply-To: <29cb7e3d70e4aaa6295b633766905122@ruby-forum.com> References: <29cb7e3d70e4aaa6295b633766905122@ruby-forum.com> Message-ID: > > > C:/ruby_iron/lib/ironruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:154:in > `require': no such file to load -- activesp (MissingSourceFile) > > Any ideas? > Well you I'd guess you're trying to use the activesp gem ( http://www.xaop.com/labs/activesp) ? If so it's apparently not available; not sure if it's related to ironruby or not at this point (it could, but maybe not). -- Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at ruby-forum.com Tue Dec 14 11:32:55 2010 From: lists at ruby-forum.com (James Jefferson) Date: Tue, 14 Dec 2010 17:32:55 +0100 Subject: [Ironruby-core] Increasing Memory Usage In-Reply-To: References: Message-ID: <7530ba107aad2688628420712f50658f@ruby-forum.com> Duh! Thanks Thibaut I was reading activesp as active_support. Having one of those days. I'd left a reference to activesp in from a previous attempt to integrate with Sharepoint (not very succesfully - hence the move to ironruby) I've now got ironruby running in production and my initial tests show that whilst the memory usage does increase with usage, it does seem to top out, and then stop increasing (and even descreases) and is no longer impacting the performance as it was when running in development mode. Thanks for your all your help. James -- Posted via http://www.ruby-forum.com/. From orion.edwards at gmail.com Wed Dec 15 03:42:18 2010 From: orion.edwards at gmail.com (Orion Edwards) Date: Wed, 15 Dec 2010 21:42:18 +1300 Subject: [Ironruby-core] Increasing Memory Usage In-Reply-To: <7530ba107aad2688628420712f50658f@ruby-forum.com> References: <7530ba107aad2688628420712f50658f@ruby-forum.com> Message-ID: <596949B5-5C1B-4A6E-9F94-205B51E0CC49@gmail.com> On 15/12/2010, at 5:32 AM, James Jefferson wrote: > > I've now got ironruby running in production and my initial tests show > that whilst the memory usage does increase with usage, it does seem to > top out, and then stop increasing (and even descreases) and is no longer > impacting the performance as it was when running in development mode. > > _________________________ The clr likes to use memory if it's free. I've seen several distinct Wpf and server apps climb steadily over periods as long as half an hour before eventually leveling out around 220 Meg... I think that's just normal :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: From thibaut.barrere at gmail.com Wed Dec 15 04:43:29 2010 From: thibaut.barrere at gmail.com (=?ISO-8859-1?Q?Thibaut_Barr=E8re?=) Date: Wed, 15 Dec 2010 10:43:29 +0100 Subject: [Ironruby-core] Increasing Memory Usage In-Reply-To: <7530ba107aad2688628420712f50658f@ruby-forum.com> References: <7530ba107aad2688628420712f50658f@ruby-forum.com> Message-ID: > > Thanks for your all your help. > Glad it worked out :) Keep us posted on your success! -- Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: From eng.meligy at gmail.com Thu Dec 16 19:29:53 2010 From: eng.meligy at gmail.com (Mohamed Meligy) Date: Fri, 17 Dec 2010 11:29:53 +1100 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Message-ID: Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I'm interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, *Mohamed Meligy *Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [image: Description: Description: Description: Description: rss_16] [image: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [image: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tomas.Matousek at microsoft.com Fri Dec 17 03:13:42 2010 From: Tomas.Matousek at microsoft.com (Tomas Matousek) Date: Fri, 17 Dec 2010 08:13:42 +0000 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? In-Reply-To: References: Message-ID: I believe I fixed this in main. So if you download the sources and build it should work. Let me know if it works for you. Maybe we should do a 1.1.2 release soon - it should be pretty easy - it might ease adoption of 1.1. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Thursday, December 16, 2010 4:29 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I'm interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] [http://gurustop.net/mail/signature/readify-50best.jpg][http://gurustop.net/mail/signature/readify-partner2010.png] -------------- next part -------------- An HTML attachment was scrubbed... URL: From shay.friedman at gmail.com Fri Dec 17 04:01:35 2010 From: shay.friedman at gmail.com (Shay Friedman) Date: Fri, 17 Dec 2010 11:01:35 +0200 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? In-Reply-To: References: Message-ID: It doesn't work for me Tomas. Same "can't convert" error. Debugging it I was able to find where the exception occurs - it fails for me at line 559 in the Runtime.Loader class with the error "no such file to load -- rubygems/defaults/operating_system". Shay. On Fri, Dec 17, 2010 at 10:13 AM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote: > I believe I fixed this in main. So if you download the sources and build > it should work. > > Let me know if it works for you. Maybe we should do a 1.1.2 release soon - > it should be pretty easy - it might ease adoption of 1.1. > > > > Tomas > > > ------------------------------ > *From:* ironruby-core-bounces at rubyforge.org [ > ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ > eng.meligy at gmail.com] > *Sent:* Thursday, December 16, 2010 4:29 PM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem this > year? > > Hello all, > I noticed IronRuby 1.1.1 has problems in igem where it fails to installs > gems due to some conversion issue from nil to string. IronRuby 1.0 is > compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. > > I'm interested in learning Rails 3.0 on IronRuby and see how I can > integrate .NET stuff with that. > > > So, is there any coming patch release or even git code push that solves > the igem issues? > > > Will be great if I get something to play with in Christmas holidays, but > this might be very unrealistic anyway. > > > Thanks a lot. > > Regards, > > > > *Mohamed Meligy > *Readify | Senior Developer > > M:+61 451 835006 | W: www.readify.net > [image: Description: Description: Description: Description: rss_16] [image: > Description: Description: Description: Description: > cid:image003.png at 01CAF81D.6A076510] [image: > Description: Description: Description: Description: > cid:image005.png at 01CAF81D.6A076510] > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From albertjan at curit.com Fri Dec 17 04:46:42 2010 From: albertjan at curit.com (Albert-Jan Pieter Nijburg) Date: Fri, 17 Dec 2010 10:46:42 +0100 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Message-ID: <96697BDC863ACA41B6F3A3743B8CB75C88B4D7@idefix.Curit.local> Hey, I looked into this also and read_nonblock will still return 0 bytes sometimes. I made a small hack in SocketStream.cs that forces the socket to return more than 0 bytes. if (bytesToRead > 0) { while(oldPos == _pos) { _pos += _socket.Receive(readBuffer, bytesToRead, SocketFlags.None); } } I know this is absolutely not the way to fix it but it does specify the source of the exception maybe a bit better. Regards, Albert-Jan Van: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] Namens Tomas Matousek Verzonden: vrijdag 17 december 2010 9:14 Aan: ironruby-core at rubyforge.org Onderwerp: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? I believe I fixed this in main. So if you download the sources and build it should work. Let me know if it works for you. Maybe we should do a 1.1.2 release soon - it should be pretty easy - it might ease adoption of 1.1. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Thursday, December 16, 2010 4:29 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I'm interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1292 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1326 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1319 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 6309 bytes Desc: image004.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 22003 bytes Desc: image005.png URL: From eng.meligy at gmail.com Fri Dec 17 09:05:28 2010 From: eng.meligy at gmail.com (Mohamed Meligy) Date: Sat, 18 Dec 2010 01:05:28 +1100 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? In-Reply-To: <96697BDC863ACA41B6F3A3743B8CB75C88B4D7@idefix.Curit.local> References: <96697BDC863ACA41B6F3A3743B8CB75C88B4D7@idefix.Curit.local> Message-ID: @Tomas, if it works on your local machine, maybe it's worth checking it out and having a 1.1.2 release. If your local repository is in sync already, then maybe there is some other issues that needs to be fixed. If this is easy as repositories sync issue of existing working fix or so, would really appreciate a 1.1.2 update. I'm new to Ruby and Rails and would love to try the IronRuby Rails integration even better with Visual Studio. I'm kind of lost in the source too. Not sure which VS solutions I should build and where the output Ruby\bin kind-of-directory would then be, neither how to get the MSI file for VS tools. Will be great if there is some explanation to this (forgive me if it's some readme already in the source), or else, then another release will be much easier to deal with. Thanks a lot. Regards, *Mohamed Meligy *Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [image: Description: Description: Description: Description: rss_16] [image: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [image: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg < albertjan at curit.com> wrote: > Hey, > > > > I looked into this also and read_nonblock will still return 0 bytes > sometimes. I made a small hack in SocketStream.cs that forces the socket to > return more than 0 bytes. > > > > *if* (bytesToRead > 0) { > > while(oldPos == _pos) { > > _pos += _socket.Receive(readBuffer, bytesToRead, > SocketFlags.None); > > } > > } > > > > I know this is absolutely not the way to fix it but it does specify the > source of the exception maybe a bit better. > > > > Regards, > > > > Albert-Jan > > > > *Van:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *Namens *Tomas Matousek > *Verzonden:* vrijdag 17 december 2010 9:14 > *Aan:* ironruby-core at rubyforge.org > *Onderwerp:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem > this year? > > > > I believe I fixed this in main. So if you download the sources and build it > should work. > > Let me know if it works for you. Maybe we should do a 1.1.2 release soon - > it should be pretty easy - it might ease adoption of 1.1. > > > > Tomas > > > ------------------------------ > > *From:* ironruby-core-bounces at rubyforge.org [ > ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ > eng.meligy at gmail.com] > *Sent:* Thursday, December 16, 2010 4:29 PM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem this > year? > > Hello all, > > I noticed IronRuby 1.1.1 has problems in igem where it fails to installs > gems due to some conversion issue from nil to string. IronRuby 1.0 is > compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. > > > > I'm interested in learning Rails 3.0 on IronRuby and see how I can > integrate .NET stuff with that. > > > > > > So, is there any coming patch release or even git code push that solves the > igem issues? > > > > > > Will be great if I get something to play with in Christmas holidays, but > this might be very unrealistic anyway. > > > > > > Thanks a lot. > > > > Regards, > > > > *Mohamed Meligy > *Readify | Senior Developer > > M:+61 451 835006 | W: www.readify.net > > [image: Beschrijving: Description: Description: Description: Description: > rss_16] [image: Beschrijving: Description: Description: Description: > Description: cid:image003.png at 01CAF81D.6A076510] > [image: Beschrijving: Description: Description: Description: > Description: cid:image005.png at 01CAF81D.6A076510] > [image: Beschrijving: > http://gurustop.net/mail/signature/readify-50best.jpg][image: > Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png] > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1319 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1292 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1326 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 6309 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 22003 bytes Desc: not available URL: From Tomas.Matousek at microsoft.com Fri Dec 17 12:32:51 2010 From: Tomas.Matousek at microsoft.com (Tomas Matousek) Date: Fri, 17 Dec 2010 17:32:51 +0000 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? In-Reply-To: References: <96697BDC863ACA41B6F3A3743B8CB75C88B4D7@idefix.Curit.local>, Message-ID: The fix is already checked into the main. So if there is still any problem it's another bug. Build instructions are here: http://github.com/IronLanguages/main/wiki/Building let me know if anything there is not clear or doesn't work. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Friday, December 17, 2010 6:05 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? @Tomas, if it works on your local machine, maybe it's worth checking it out and having a 1.1.2 release. If your local repository is in sync already, then maybe there is some other issues that needs to be fixed. If this is easy as repositories sync issue of existing working fix or so, would really appreciate a 1.1.2 update. I'm new to Ruby and Rails and would love to try the IronRuby Rails integration even better with Visual Studio. I'm kind of lost in the source too. Not sure which VS solutions I should build and where the output Ruby\bin kind-of-directory would then be, neither how to get the MSI file for VS tools. Will be great if there is some explanation to this (forgive me if it's some readme already in the source), or else, then another release will be much easier to deal with. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] [http://gurustop.net/mail/signature/readify-50best.jpg][http://gurustop.net/mail/signature/readify-partner2010.png] On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg > wrote: Hey, I looked into this also and read_nonblock will still return 0 bytes sometimes. I made a small hack in SocketStream.cs that forces the socket to return more than 0 bytes. if (bytesToRead > 0) { while(oldPos == _pos) { _pos += _socket.Receive(readBuffer, bytesToRead, SocketFlags.None); } } I know this is absolutely not the way to fix it but it does specify the source of the exception maybe a bit better. Regards, Albert-Jan Van: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] Namens Tomas Matousek Verzonden: vrijdag 17 december 2010 9:14 Aan: ironruby-core at rubyforge.org Onderwerp: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? I believe I fixed this in main. So if you download the sources and build it should work. Let me know if it works for you. Maybe we should do a 1.1.2 release soon - it should be pretty easy - it might ease adoption of 1.1. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Thursday, December 16, 2010 4:29 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I'm interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [Beschrijving: Description: Description: Description: Description: rss_16] [Beschrijving: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [Beschrijving: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] [Beschrijving: http://gurustop.net/mail/signature/readify-50best.jpg][Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png] _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 1319 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 1292 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 1326 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 6309 bytes Desc: image004.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 22003 bytes Desc: image005.png URL: From eng.meligy at gmail.com Sat Dec 18 05:09:30 2010 From: eng.meligy at gmail.com (Mohamed Meligy) Date: Sat, 18 Dec 2010 21:09:30 +1100 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? In-Reply-To: References: <96697BDC863ACA41B6F3A3743B8CB75C88B4D7@idefix.Curit.local> Message-ID: @Tomas, Thanks a lot. I'm checking that now. @Shay Can you please confirm your repo is in sync and see if the problem is still the same for you? I'll be checking too, but if I get issues, will not be sure it's code issue not me missing an instruction or so. Thanks a lot everyone. Regards, *Mohamed Meligy *Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [image: Description: Description: Description: Description: rss_16] [image: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [image: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote: > The fix is already checked into the main. So if there is still any > problem it's another bug. > > > > Build instructions are here: > > > > http://github.com/IronLanguages/main/wiki/Building > > > > let me know if anything there is not clear or doesn't work. > > > > Tomas > > > ------------------------------ > *From:* ironruby-core-bounces at rubyforge.org [ > ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ > eng.meligy at gmail.com] > *Sent:* Friday, December 17, 2010 6:05 AM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem > this year? > > @Tomas, if it works on your local machine, maybe it's worth checking it > out and having a 1.1.2 release. > If your local repository is in sync already, then maybe there is some other > issues that needs to be fixed. > > If this is easy as repositories sync issue of existing working fix or so, > would really appreciate a 1.1.2 update. I'm new to Ruby and Rails and would > love to try the IronRuby Rails integration even better with Visual Studio. > > I'm kind of lost in the source too. Not sure which VS solutions I should > build and where the output Ruby\bin kind-of-directory would then be, neither > how to get the MSI file for VS tools. > Will be great if there is some explanation to this (forgive me if it's some > readme already in the source), or else, then another release will be much > easier to deal with. > > > Thanks a lot. > > > Regards, > > > > *Mohamed Meligy > *Readify | Senior Developer > > M:+61 451 835006 | W: www.readify.net > [image: Description: Description: Description: Description: rss_16] [image: > Description: Description: Description: Description: > cid:image003.png at 01CAF81D.6A076510] [image: > Description: Description: Description: Description: > cid:image005.png at 01CAF81D.6A076510] > > > > > On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg < > albertjan at curit.com> wrote: > >> Hey, >> >> >> >> I looked into this also and read_nonblock will still return 0 bytes >> sometimes. I made a small hack in SocketStream.cs that forces the socket to >> return more than 0 bytes. >> >> >> >> *if* (bytesToRead > 0) { >> >> while(oldPos == _pos) { >> >> _pos += _socket.Receive(readBuffer, bytesToRead, >> SocketFlags.None); >> >> } >> >> } >> >> >> >> I know this is absolutely not the way to fix it but it does specify the >> source of the exception maybe a bit better. >> >> >> >> Regards, >> >> >> >> Albert-Jan >> >> >> >> *Van:* ironruby-core-bounces at rubyforge.org [mailto: >> ironruby-core-bounces at rubyforge.org] *Namens *Tomas Matousek >> *Verzonden:* vrijdag 17 december 2010 9:14 >> *Aan:* ironruby-core at rubyforge.org >> *Onderwerp:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem >> this year? >> >> >> >> I believe I fixed this in main. So if you download the sources and build >> it should work. >> >> Let me know if it works for you. Maybe we should do a 1.1.2 release soon - >> it should be pretty easy - it might ease adoption of 1.1. >> >> >> >> Tomas >> >> >> ------------------------------ >> >> *From:* ironruby-core-bounces at rubyforge.org [ >> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >> eng.meligy at gmail.com] >> *Sent:* Thursday, December 16, 2010 4:29 PM >> *To:* ironruby-core at rubyforge.org >> *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem this >> year? >> >> Hello all, >> >> I noticed IronRuby 1.1.1 has problems in igem where it fails to installs >> gems due to some conversion issue from nil to string. IronRuby 1.0 is >> compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. >> >> >> >> I'm interested in learning Rails 3.0 on IronRuby and see how I can >> integrate .NET stuff with that. >> >> >> >> >> >> So, is there any coming patch release or even git code push that solves >> the igem issues? >> >> >> >> >> >> Will be great if I get something to play with in Christmas holidays, but >> this might be very unrealistic anyway. >> >> >> >> >> >> Thanks a lot. >> >> >> >> Regards, >> >> >> >> *Mohamed Meligy >> *Readify | Senior Developer >> >> M:+61 451 835006 | W: www.readify.net >> >> [image: Beschrijving: Description: Description: Description: Description: >> rss_16] [image: Beschrijving: Description: Description: Description: >> Description: cid:image003.png at 01CAF81D.6A076510] >> [image: Beschrijving: Description: Description: Description: >> Description: cid:image005.png at 01CAF81D.6A076510] >> [image: Beschrijving: >> http://gurustop.net/mail/signature/readify-50best.jpg][image: >> Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png] >> >> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1326 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 22003 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 6309 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1292 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1319 bytes Desc: not available URL: From shay.friedman at gmail.com Sat Dec 18 09:18:02 2010 From: shay.friedman at gmail.com (Shay Friedman) Date: Sat, 18 Dec 2010 16:18:02 +0200 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? In-Reply-To: References: <96697BDC863ACA41B6F3A3743B8CB75C88B4D7@idefix.Curit.local> Message-ID: My repo is synced with the recent changes and I still get the same error (which originates from a different one as I stated above)... Shay. On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy wrote: > @Tomas, > Thanks a lot. I'm checking that now. > > @Shay > Can you please confirm your repo is in sync and see if the problem is still > the same for you? > I'll be checking too, but if I get issues, will not be sure it's code issue > not me missing an instruction or so. > > Thanks a lot everyone. > > Regards, > > > > *Mohamed Meligy > *Readify | Senior Developer > > M:+61 451 835006 | W: www.readify.net > [image: Description: Description: Description: Description: rss_16] [image: > Description: Description: Description: Description: > cid:image003.png at 01CAF81D.6A076510] [image: > Description: Description: Description: Description: > cid:image005.png at 01CAF81D.6A076510] > > > > > On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek < > Tomas.Matousek at microsoft.com> wrote: > >> The fix is already checked into the main. So if there is still any >> problem it's another bug. >> >> >> >> Build instructions are here: >> >> >> >> http://github.com/IronLanguages/main/wiki/Building >> >> >> >> let me know if anything there is not clear or doesn't work. >> >> >> >> Tomas >> >> >> ------------------------------ >> *From:* ironruby-core-bounces at rubyforge.org [ >> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >> eng.meligy at gmail.com] >> *Sent:* Friday, December 17, 2010 6:05 AM >> >> *To:* ironruby-core at rubyforge.org >> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem >> this year? >> >> @Tomas, if it works on your local machine, maybe it's worth checking it >> out and having a 1.1.2 release. >> If your local repository is in sync already, then maybe there is some >> other issues that needs to be fixed. >> >> If this is easy as repositories sync issue of existing working fix or >> so, would really appreciate a 1.1.2 update. I'm new to Ruby and Rails and >> would love to try the IronRuby Rails integration even better with Visual >> Studio. >> >> I'm kind of lost in the source too. Not sure which VS solutions I should >> build and where the output Ruby\bin kind-of-directory would then be, neither >> how to get the MSI file for VS tools. >> Will be great if there is some explanation to this (forgive me if it's >> some readme already in the source), or else, then another release will be >> much easier to deal with. >> >> >> Thanks a lot. >> >> >> Regards, >> >> >> >> *Mohamed Meligy >> *Readify | Senior Developer >> >> M:+61 451 835006 | W: www.readify.net >> [image: Description: Description: Description: Description: rss_16] [image: >> Description: Description: Description: Description: >> cid:image003.png at 01CAF81D.6A076510] [image: >> Description: Description: Description: Description: >> cid:image005.png at 01CAF81D.6A076510] >> >> >> >> >> On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg < >> albertjan at curit.com> wrote: >> >>> Hey, >>> >>> >>> >>> I looked into this also and read_nonblock will still return 0 bytes >>> sometimes. I made a small hack in SocketStream.cs that forces the socket to >>> return more than 0 bytes. >>> >>> >>> >>> *if* (bytesToRead > 0) { >>> >>> while(oldPos == _pos) { >>> >>> _pos += _socket.Receive(readBuffer, bytesToRead, >>> SocketFlags.None); >>> >>> } >>> >>> } >>> >>> >>> >>> I know this is absolutely not the way to fix it but it does specify the >>> source of the exception maybe a bit better. >>> >>> >>> >>> Regards, >>> >>> >>> >>> Albert-Jan >>> >>> >>> >>> *Van:* ironruby-core-bounces at rubyforge.org [mailto: >>> ironruby-core-bounces at rubyforge.org] *Namens *Tomas Matousek >>> *Verzonden:* vrijdag 17 december 2010 9:14 >>> *Aan:* ironruby-core at rubyforge.org >>> *Onderwerp:* Re: [Ironruby-core] Any coming IronRuby releases fixing >>> igem this year? >>> >>> >>> >>> I believe I fixed this in main. So if you download the sources and build >>> it should work. >>> >>> Let me know if it works for you. Maybe we should do a 1.1.2 release >>> soon - it should be pretty easy - it might ease adoption of 1.1. >>> >>> >>> >>> Tomas >>> >>> >>> ------------------------------ >>> >>> *From:* ironruby-core-bounces at rubyforge.org [ >>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>> eng.meligy at gmail.com] >>> *Sent:* Thursday, December 16, 2010 4:29 PM >>> *To:* ironruby-core at rubyforge.org >>> *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem this >>> year? >>> >>> Hello all, >>> >>> I noticed IronRuby 1.1.1 has problems in igem where it fails to installs >>> gems due to some conversion issue from nil to string. IronRuby 1.0 is >>> compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. >>> >>> >>> >>> I'm interested in learning Rails 3.0 on IronRuby and see how I can >>> integrate .NET stuff with that. >>> >>> >>> >>> >>> >>> So, is there any coming patch release or even git code push that solves >>> the igem issues? >>> >>> >>> >>> >>> >>> Will be great if I get something to play with in Christmas holidays, but >>> this might be very unrealistic anyway. >>> >>> >>> >>> >>> >>> Thanks a lot. >>> >>> >>> >>> Regards, >>> >>> >>> >>> *Mohamed Meligy >>> *Readify | Senior Developer >>> >>> M:+61 451 835006 | W: www.readify.net >>> >>> [image: Beschrijving: Description: Description: Description: Description: >>> rss_16] [image: Beschrijving: Description: Description: Description: >>> Description: cid:image003.png at 01CAF81D.6A076510] >>> [image: Beschrijving: Description: Description: Description: >>> Description: cid:image005.png at 01CAF81D.6A076510] >>> [image: Beschrijving: >>> http://gurustop.net/mail/signature/readify-50best.jpg][image: >>> Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png] >>> >>> >>> >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >>> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tomas.Matousek at microsoft.com Sat Dec 18 12:26:06 2010 From: Tomas.Matousek at microsoft.com (Tomas Matousek) Date: Sat, 18 Dec 2010 17:26:06 +0000 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? In-Reply-To: References: <96697BDC863ACA41B6F3A3743B8CB75C88B4D7@idefix.Curit.local> , Message-ID: Isn't "no such file to load -- rubygems/defaults/operating_system" exception caught somewhere? I think this exception is common. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [shay.friedman at gmail.com] Sent: Saturday, December 18, 2010 6:18 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? My repo is synced with the recent changes and I still get the same error (which originates from a different one as I stated above)... Shay. On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy > wrote: @Tomas, Thanks a lot. I'm checking that now. @Shay Can you please confirm your repo is in sync and see if the problem is still the same for you? I'll be checking too, but if I get issues, will not be sure it's code issue not me missing an instruction or so. Thanks a lot everyone. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] [X][X] On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek > wrote: The fix is already checked into the main. So if there is still any problem it's another bug. Build instructions are here: http://github.com/IronLanguages/main/wiki/Building let me know if anything there is not clear or doesn't work. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Friday, December 17, 2010 6:05 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? @Tomas, if it works on your local machine, maybe it's worth checking it out and having a 1.1.2 release. If your local repository is in sync already, then maybe there is some other issues that needs to be fixed. If this is easy as repositories sync issue of existing working fix or so, would really appreciate a 1.1.2 update. I'm new to Ruby and Rails and would love to try the IronRuby Rails integration even better with Visual Studio. I'm kind of lost in the source too. Not sure which VS solutions I should build and where the output Ruby\bin kind-of-directory would then be, neither how to get the MSI file for VS tools. Will be great if there is some explanation to this (forgive me if it's some readme already in the source), or else, then another release will be much easier to deal with. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] [X][X] On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg > wrote: Hey, I looked into this also and read_nonblock will still return 0 bytes sometimes. I made a small hack in SocketStream.cs that forces the socket to return more than 0 bytes. if (bytesToRead > 0) { while(oldPos == _pos) { _pos += _socket.Receive(readBuffer, bytesToRead, SocketFlags.None); } } I know this is absolutely not the way to fix it but it does specify the source of the exception maybe a bit better. Regards, Albert-Jan Van: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] Namens Tomas Matousek Verzonden: vrijdag 17 december 2010 9:14 Aan: ironruby-core at rubyforge.org Onderwerp: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? I believe I fixed this in main. So if you download the sources and build it should work. Let me know if it works for you. Maybe we should do a 1.1.2 release soon - it should be pretty easy - it might ease adoption of 1.1. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Thursday, December 16, 2010 4:29 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I'm interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [Beschrijving: Description: Description: Description: Description: rss_16] [Beschrijving: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [Beschrijving: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] [Beschrijving: http://gurustop.net/mail/signature/readify-50best.jpg][Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png] _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: From shay.friedman at gmail.com Sun Dec 19 04:19:39 2010 From: shay.friedman at gmail.com (Shay Friedman) Date: Sun, 19 Dec 2010 11:19:39 +0200 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? In-Reply-To: References: <96697BDC863ACA41B6F3A3743B8CB75C88B4D7@idefix.Curit.local> Message-ID: You're right, there're more exceptions afterwards. The exception I suspect that causes the problems is on SocketStream, line 90: "A non-blocking socket operation could not be completed immediately". What do you think? Shay. On Sat, Dec 18, 2010 at 7:26 PM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote: > Isn't "no such file to load -- rubygems/defaults/operating_system" > exception caught somewhere? > > I think this exception is common. > > > > Tomas > > > ------------------------------ > *From:* ironruby-core-bounces at rubyforge.org [ > ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [ > shay.friedman at gmail.com] > *Sent:* Saturday, December 18, 2010 6:18 AM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem > this year? > > My repo is synced with the recent changes and I still get the same error > (which originates from a different one as I stated above)... > > Shay. > > > > On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy wrote: > >> @Tomas, >> Thanks a lot. I'm checking that now. >> >> @Shay >> Can you please confirm your repo is in sync and see if the problem is >> still the same for you? >> I'll be checking too, but if I get issues, will not be sure it's code >> issue not me missing an instruction or so. >> >> Thanks a lot everyone. >> >> Regards, >> >> >> >> *Mohamed Meligy >> *Readify | Senior Developer >> >> M:+61 451 835006 | W: www.readify.net >> [image: Description: Description: Description: Description: rss_16] [image: >> Description: Description: Description: Description: >> cid:image003.png at 01CAF81D.6A076510] [image: >> Description: Description: Description: Description: >> cid:image005.png at 01CAF81D.6A076510] >> >> >> >> >> On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek < >> Tomas.Matousek at microsoft.com> wrote: >> >>> The fix is already checked into the main. So if there is still any >>> problem it's another bug. >>> >>> >>> >>> Build instructions are here: >>> >>> >>> >>> http://github.com/IronLanguages/main/wiki/Building >>> >>> >>> >>> let me know if anything there is not clear or doesn't work. >>> >>> >>> >>> Tomas >>> >>> >>> ------------------------------ >>> *From:* ironruby-core-bounces at rubyforge.org [ >>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>> eng.meligy at gmail.com] >>> *Sent:* Friday, December 17, 2010 6:05 AM >>> >>> *To:* ironruby-core at rubyforge.org >>> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem >>> this year? >>> >>> @Tomas, if it works on your local machine, maybe it's worth checking >>> it out and having a 1.1.2 release. >>> If your local repository is in sync already, then maybe there is some >>> other issues that needs to be fixed. >>> >>> If this is easy as repositories sync issue of existing working fix or >>> so, would really appreciate a 1.1.2 update. I'm new to Ruby and Rails and >>> would love to try the IronRuby Rails integration even better with Visual >>> Studio. >>> >>> I'm kind of lost in the source too. Not sure which VS solutions I >>> should build and where the output Ruby\bin kind-of-directory would then be, >>> neither how to get the MSI file for VS tools. >>> Will be great if there is some explanation to this (forgive me if it's >>> some readme already in the source), or else, then another release will be >>> much easier to deal with. >>> >>> >>> Thanks a lot. >>> >>> >>> Regards, >>> >>> >>> >>> *Mohamed Meligy >>> *Readify | Senior Developer >>> >>> M:+61 451 835006 | W: www.readify.net >>> [image: Description: Description: Description: Description: rss_16] [image: >>> Description: Description: Description: Description: >>> cid:image003.png at 01CAF81D.6A076510] >>> [image: Description: Description: Description: Description: >>> cid:image005.png at 01CAF81D.6A076510] >>> >>> >>> >>> >>> On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg < >>> albertjan at curit.com> wrote: >>> >>>> Hey, >>>> >>>> >>>> >>>> I looked into this also and read_nonblock will still return 0 bytes >>>> sometimes. I made a small hack in SocketStream.cs that forces the socket to >>>> return more than 0 bytes. >>>> >>>> >>>> >>>> *if* (bytesToRead > 0) { >>>> >>>> while(oldPos == _pos) { >>>> >>>> _pos += _socket.Receive(readBuffer, bytesToRead, >>>> SocketFlags.None); >>>> >>>> } >>>> >>>> } >>>> >>>> >>>> >>>> I know this is absolutely not the way to fix it but it does specify the >>>> source of the exception maybe a bit better. >>>> >>>> >>>> >>>> Regards, >>>> >>>> >>>> >>>> Albert-Jan >>>> >>>> >>>> >>>> *Van:* ironruby-core-bounces at rubyforge.org [mailto: >>>> ironruby-core-bounces at rubyforge.org] *Namens *Tomas Matousek >>>> *Verzonden:* vrijdag 17 december 2010 9:14 >>>> *Aan:* ironruby-core at rubyforge.org >>>> *Onderwerp:* Re: [Ironruby-core] Any coming IronRuby releases fixing >>>> igem this year? >>>> >>>> >>>> >>>> I believe I fixed this in main. So if you download the sources and build >>>> it should work. >>>> >>>> Let me know if it works for you. Maybe we should do a 1.1.2 release >>>> soon - it should be pretty easy - it might ease adoption of 1.1. >>>> >>>> >>>> >>>> Tomas >>>> >>>> >>>> ------------------------------ >>>> >>>> *From:* ironruby-core-bounces at rubyforge.org [ >>>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>>> eng.meligy at gmail.com] >>>> *Sent:* Thursday, December 16, 2010 4:29 PM >>>> *To:* ironruby-core at rubyforge.org >>>> *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem >>>> this year? >>>> >>>> Hello all, >>>> >>>> I noticed IronRuby 1.1.1 has problems in igem where it fails to installs >>>> gems due to some conversion issue from nil to string. IronRuby 1.0 is >>>> compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. >>>> >>>> >>>> >>>> I'm interested in learning Rails 3.0 on IronRuby and see how I can >>>> integrate .NET stuff with that. >>>> >>>> >>>> >>>> >>>> >>>> So, is there any coming patch release or even git code push that solves >>>> the igem issues? >>>> >>>> >>>> >>>> >>>> >>>> Will be great if I get something to play with in Christmas holidays, but >>>> this might be very unrealistic anyway. >>>> >>>> >>>> >>>> >>>> >>>> Thanks a lot. >>>> >>>> >>>> >>>> Regards, >>>> >>>> >>>> >>>> *Mohamed Meligy >>>> *Readify | Senior Developer >>>> >>>> M:+61 451 835006 | W: www.readify.net >>>> >>>> [image: Beschrijving: Description: Description: Description: >>>> Description: rss_16] [image: Beschrijving: Description: Description: >>>> Description: Description: cid:image003.png at 01CAF81D.6A076510] >>>> [image: Beschrijving: Description: Description: Description: >>>> Description: cid:image005.png at 01CAF81D.6A076510] >>>> [image: Beschrijving: >>>> http://gurustop.net/mail/signature/readify-50best.jpg][image: >>>> Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png] >>>> >>>> >>>> >>>> _______________________________________________ >>>> Ironruby-core mailing list >>>> Ironruby-core at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>> >>>> >>> >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >>> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tomas.Matousek at microsoft.com Mon Dec 20 02:36:24 2010 From: Tomas.Matousek at microsoft.com (Tomas Matousek) Date: Mon, 20 Dec 2010 07:36:24 +0000 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? In-Reply-To: References: <96697BDC863ACA41B6F3A3743B8CB75C88B4D7@idefix.Curit.local> , Message-ID: That should still be ok, I think :). If the problem is here (Languages\Ruby\StdLib\ruby\1.9.1\net\protocol.rb): def rbuf_fill begin @rbuf << @io.read_nonblock(BUFSIZE) rescue IO::WaitReadable if IO.select([@io], nil, nil, @read_timeout) retry else raise Timeout::Error end rescue IO::WaitWritable # OpenSSL::Buffering#read_nonblock may fail with IO::WaitWritable. # http://www.openssl.org/support/faq.html#PROG10 if IO.select(nil, [@io], nil, @read_timeout) retry else raise Timeout::Error end end end Then such an exception should be caught as IO::WaitReadable. The problem would be if the method returned nil instead of throwing an exception. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [shay.friedman at gmail.com] Sent: Sunday, December 19, 2010 1:19 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? You're right, there're more exceptions afterwards. The exception I suspect that causes the problems is on SocketStream, line 90: "A non-blocking socket operation could not be completed immediately". What do you think? Shay. On Sat, Dec 18, 2010 at 7:26 PM, Tomas Matousek > wrote: Isn't "no such file to load -- rubygems/defaults/operating_system" exception caught somewhere? I think this exception is common. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [shay.friedman at gmail.com] Sent: Saturday, December 18, 2010 6:18 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? My repo is synced with the recent changes and I still get the same error (which originates from a different one as I stated above)... Shay. On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy > wrote: @Tomas, Thanks a lot. I'm checking that now. @Shay Can you please confirm your repo is in sync and see if the problem is still the same for you? I'll be checking too, but if I get issues, will not be sure it's code issue not me missing an instruction or so. Thanks a lot everyone. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] [X][X] On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek > wrote: The fix is already checked into the main. So if there is still any problem it's another bug. Build instructions are here: http://github.com/IronLanguages/main/wiki/Building let me know if anything there is not clear or doesn't work. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Friday, December 17, 2010 6:05 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? @Tomas, if it works on your local machine, maybe it's worth checking it out and having a 1.1.2 release. If your local repository is in sync already, then maybe there is some other issues that needs to be fixed. If this is easy as repositories sync issue of existing working fix or so, would really appreciate a 1.1.2 update. I'm new to Ruby and Rails and would love to try the IronRuby Rails integration even better with Visual Studio. I'm kind of lost in the source too. Not sure which VS solutions I should build and where the output Ruby\bin kind-of-directory would then be, neither how to get the MSI file for VS tools. Will be great if there is some explanation to this (forgive me if it's some readme already in the source), or else, then another release will be much easier to deal with. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] [X][X] On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg > wrote: Hey, I looked into this also and read_nonblock will still return 0 bytes sometimes. I made a small hack in SocketStream.cs that forces the socket to return more than 0 bytes. if (bytesToRead > 0) { while(oldPos == _pos) { _pos += _socket.Receive(readBuffer, bytesToRead, SocketFlags.None); } } I know this is absolutely not the way to fix it but it does specify the source of the exception maybe a bit better. Regards, Albert-Jan Van: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] Namens Tomas Matousek Verzonden: vrijdag 17 december 2010 9:14 Aan: ironruby-core at rubyforge.org Onderwerp: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? I believe I fixed this in main. So if you download the sources and build it should work. Let me know if it works for you. Maybe we should do a 1.1.2 release soon - it should be pretty easy - it might ease adoption of 1.1. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Thursday, December 16, 2010 4:29 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I'm interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [Beschrijving: Description: Description: Description: Description: rss_16] [Beschrijving: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [Beschrijving: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] [Beschrijving: http://gurustop.net/mail/signature/readify-50best.jpg][Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png] _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: From eng.meligy at gmail.com Mon Dec 20 12:37:17 2010 From: eng.meligy at gmail.com (Mohamed Meligy) Date: Tue, 21 Dec 2010 04:37:17 +1100 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? In-Reply-To: References: <96697BDC863ACA41B6F3A3743B8CB75C88B4D7@idefix.Curit.local> Message-ID: Tried to sync my local copy again, and building from source. There is updated code, but the same error 1. I tried building every solution in the "\Solutions" folder. 2. Copied "\Languages\Ruby\Scripts\bin" *.bat files to "\bin\debug". 3. Started a console window in "\bin\debug". 4. Entered "igem install rails". Error: ERROR: While executing gem ... (TypeError) can't convert NilClass into String *Mohamed Meligy *Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [image: Description: Description: Description: Description: rss_16] [image: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [image: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] On Mon, Dec 20, 2010 at 6:36 PM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote: > That should still be ok, I think :). If the problem is here > (Languages\Ruby\StdLib\ruby\1.9.1\net\protocol.rb): > > > > def rbuf_fill > > begin > > @rbuf << @io.read_nonblock(BUFSIZE) > > rescue IO::WaitReadable > > if IO.select([@io], nil, nil, @read_timeout) > > retry > > else > > raise Timeout::Error > > end > > rescue IO::WaitWritable > > # OpenSSL::Buffering#read_nonblock may fail with IO::WaitWritable. > > # http://www.openssl.org/support/faq.html#PROG10 > > if IO.select(nil, [@io], nil, @read_timeout) > > retry > > else > > raise Timeout::Error > > end > > end > > end > > > > Then such an exception should be caught as IO::WaitReadable. The problem > would be if the method returned nil instead of throwing an exception. > > > > Tomas > > > ------------------------------ > *From:* ironruby-core-bounces at rubyforge.org [ > ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [ > shay.friedman at gmail.com] > *Sent:* Sunday, December 19, 2010 1:19 AM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem > this year? > > You're right, there're more exceptions afterwards. > > The exception I suspect that causes the problems is on SocketStream, line > 90: > "A non-blocking socket operation could not be completed immediately". > > What do you think? > > Shay. > > > > On Sat, Dec 18, 2010 at 7:26 PM, Tomas Matousek < > Tomas.Matousek at microsoft.com> wrote: > >> Isn't "no such file to load -- rubygems/defaults/operating_system" >> exception caught somewhere? >> >> I think this exception is common. >> >> >> >> Tomas >> >> >> ------------------------------ >> *From:* ironruby-core-bounces at rubyforge.org [ >> ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [ >> shay.friedman at gmail.com] >> *Sent:* Saturday, December 18, 2010 6:18 AM >> >> *To:* ironruby-core at rubyforge.org >> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem >> this year? >> >> My repo is synced with the recent changes and I still get the same >> error (which originates from a different one as I stated above)... >> >> Shay. >> >> >> >> On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy wrote: >> >>> @Tomas, >>> Thanks a lot. I'm checking that now. >>> >>> @Shay >>> Can you please confirm your repo is in sync and see if the problem is >>> still the same for you? >>> I'll be checking too, but if I get issues, will not be sure it's code >>> issue not me missing an instruction or so. >>> >>> Thanks a lot everyone. >>> >>> Regards, >>> >>> >>> >>> *Mohamed Meligy >>> *Readify | Senior Developer >>> >>> M:+61 451 835006 | W: www.readify.net >>> [image: Description: Description: Description: Description: rss_16] [image: >>> Description: Description: Description: Description: >>> cid:image003.png at 01CAF81D.6A076510] >>> [image: Description: Description: Description: Description: >>> cid:image005.png at 01CAF81D.6A076510] >>> >>> >>> >>> >>> On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek < >>> Tomas.Matousek at microsoft.com> wrote: >>> >>>> The fix is already checked into the main. So if there is still any >>>> problem it's another bug. >>>> >>>> >>>> >>>> Build instructions are here: >>>> >>>> >>>> >>>> http://github.com/IronLanguages/main/wiki/Building >>>> >>>> >>>> >>>> let me know if anything there is not clear or doesn't work. >>>> >>>> >>>> >>>> Tomas >>>> >>>> >>>> ------------------------------ >>>> *From:* ironruby-core-bounces at rubyforge.org [ >>>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>>> eng.meligy at gmail.com] >>>> *Sent:* Friday, December 17, 2010 6:05 AM >>>> >>>> *To:* ironruby-core at rubyforge.org >>>> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing >>>> igem this year? >>>> >>>> @Tomas, if it works on your local machine, maybe it's worth checking >>>> it out and having a 1.1.2 release. >>>> If your local repository is in sync already, then maybe there is some >>>> other issues that needs to be fixed. >>>> >>>> If this is easy as repositories sync issue of existing working fix or >>>> so, would really appreciate a 1.1.2 update. I'm new to Ruby and Rails and >>>> would love to try the IronRuby Rails integration even better with Visual >>>> Studio. >>>> >>>> I'm kind of lost in the source too. Not sure which VS solutions I >>>> should build and where the output Ruby\bin kind-of-directory would then be, >>>> neither how to get the MSI file for VS tools. >>>> Will be great if there is some explanation to this (forgive me if it's >>>> some readme already in the source), or else, then another release will be >>>> much easier to deal with. >>>> >>>> >>>> Thanks a lot. >>>> >>>> >>>> Regards, >>>> >>>> >>>> >>>> *Mohamed Meligy >>>> *Readify | Senior Developer >>>> >>>> M:+61 451 835006 | W: www.readify.net >>>> [image: Description: Description: Description: Description: rss_16] [image: >>>> Description: Description: Description: Description: >>>> cid:image003.png at 01CAF81D.6A076510] >>>> [image: Description: Description: Description: Description: >>>> cid:image005.png at 01CAF81D.6A076510] >>>> >>>> >>>> >>>> >>>> On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg < >>>> albertjan at curit.com> wrote: >>>> >>>>> Hey, >>>>> >>>>> >>>>> >>>>> I looked into this also and read_nonblock will still return 0 bytes >>>>> sometimes. I made a small hack in SocketStream.cs that forces the socket to >>>>> return more than 0 bytes. >>>>> >>>>> >>>>> >>>>> *if* (bytesToRead > 0) { >>>>> >>>>> while(oldPos == _pos) { >>>>> >>>>> _pos += _socket.Receive(readBuffer, bytesToRead, >>>>> SocketFlags.None); >>>>> >>>>> } >>>>> >>>>> } >>>>> >>>>> >>>>> >>>>> I know this is absolutely not the way to fix it but it does specify the >>>>> source of the exception maybe a bit better. >>>>> >>>>> >>>>> >>>>> Regards, >>>>> >>>>> >>>>> >>>>> Albert-Jan >>>>> >>>>> >>>>> >>>>> *Van:* ironruby-core-bounces at rubyforge.org [mailto: >>>>> ironruby-core-bounces at rubyforge.org] *Namens *Tomas Matousek >>>>> *Verzonden:* vrijdag 17 december 2010 9:14 >>>>> *Aan:* ironruby-core at rubyforge.org >>>>> *Onderwerp:* Re: [Ironruby-core] Any coming IronRuby releases fixing >>>>> igem this year? >>>>> >>>>> >>>>> >>>>> I believe I fixed this in main. So if you download the sources and >>>>> build it should work. >>>>> >>>>> Let me know if it works for you. Maybe we should do a 1.1.2 release >>>>> soon - it should be pretty easy - it might ease adoption of 1.1. >>>>> >>>>> >>>>> >>>>> Tomas >>>>> >>>>> >>>>> ------------------------------ >>>>> >>>>> *From:* ironruby-core-bounces at rubyforge.org [ >>>>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>>>> eng.meligy at gmail.com] >>>>> *Sent:* Thursday, December 16, 2010 4:29 PM >>>>> *To:* ironruby-core at rubyforge.org >>>>> *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem >>>>> this year? >>>>> >>>>> Hello all, >>>>> >>>>> I noticed IronRuby 1.1.1 has problems in igem where it fails to >>>>> installs gems due to some conversion issue from nil to string. IronRuby 1.0 >>>>> is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. >>>>> >>>>> >>>>> >>>>> I'm interested in learning Rails 3.0 on IronRuby and see how I can >>>>> integrate .NET stuff with that. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> So, is there any coming patch release or even git code push that solves >>>>> the igem issues? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Will be great if I get something to play with in Christmas holidays, >>>>> but this might be very unrealistic anyway. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Thanks a lot. >>>>> >>>>> >>>>> >>>>> Regards, >>>>> >>>>> >>>>> >>>>> *Mohamed Meligy >>>>> *Readify | Senior Developer >>>>> >>>>> M:+61 451 835006 | W: www.readify.net >>>>> >>>>> [image: Beschrijving: Description: Description: Description: >>>>> Description: rss_16] [image: Beschrijving: Description: Description: >>>>> Description: Description: cid:image003.png at 01CAF81D.6A076510] >>>>> [image: Beschrijving: Description: Description: Description: >>>>> Description: cid:image005.png at 01CAF81D.6A076510] >>>>> [image: Beschrijving: >>>>> http://gurustop.net/mail/signature/readify-50best.jpg][image: >>>>> Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png] >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Ironruby-core mailing list >>>>> Ironruby-core at rubyforge.org >>>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Ironruby-core mailing list >>>> Ironruby-core at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>> >>>> >>> >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >>> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eng.meligy at gmail.com Mon Dec 20 12:39:35 2010 From: eng.meligy at gmail.com (Mohamed Meligy) Date: Tue, 21 Dec 2010 04:39:35 +1100 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? In-Reply-To: References: <96697BDC863ACA41B6F3A3743B8CB75C88B4D7@idefix.Curit.local> Message-ID: Also, there are build errors when trying DLR.sln: Error 8 The best overloaded method match for 'IronRuby.Builtins.IListOps.Join(IronRuby.Runtime.JoinConversionStorage, System.Collections.IList, IronRuby.Builtins.MutableString)' has some invalid arguments ....\Hosts\IronRuby.Rack\Src\Utils.cs 120 20 IronRuby.Rack (Hosts\IronRuby.Rack\IronRuby.Rack) Error 9 Argument 1: cannot convert from 'IronRuby.Runtime.ConversionStorage' to 'IronRuby.Runtime.JoinConversionStorage' ...\Hosts\IronRuby.Rack\Src\Utils.cs 121 17 IronRuby.Rack (Hosts\IronRuby.Rack\IronRuby.Rack) *Mohamed Meligy *Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [image: Description: Description: Description: Description: rss_16] [image: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [image: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] On Tue, Dec 21, 2010 at 4:37 AM, Mohamed Meligy wrote: > Tried to sync my local copy again, and building from source. There is > updated code, but the same error > > 1. I tried building every solution in the "\Solutions" folder. > 2. Copied "\Languages\Ruby\Scripts\bin" *.bat files to "\bin\debug". > 3. Started a console window in "\bin\debug". > 4. Entered "igem install rails". > > > Error: > > ERROR: While executing gem ... (TypeError) > > can't convert NilClass into String > > > > *Mohamed Meligy > *Readify | Senior Developer > > M:+61 451 835006 | W: www.readify.net > [image: Description: Description: Description: Description: rss_16] [image: > Description: Description: Description: Description: > cid:image003.png at 01CAF81D.6A076510] [image: > Description: Description: Description: Description: > cid:image005.png at 01CAF81D.6A076510] > > > > > On Mon, Dec 20, 2010 at 6:36 PM, Tomas Matousek < > Tomas.Matousek at microsoft.com> wrote: > >> That should still be ok, I think :). If the problem is here >> (Languages\Ruby\StdLib\ruby\1.9.1\net\protocol.rb): >> >> >> >> def rbuf_fill >> >> begin >> >> @rbuf << @io.read_nonblock(BUFSIZE) >> >> rescue IO::WaitReadable >> >> if IO.select([@io], nil, nil, @read_timeout) >> >> retry >> >> else >> >> raise Timeout::Error >> >> end >> >> rescue IO::WaitWritable >> >> # OpenSSL::Buffering#read_nonblock may fail with IO::WaitWritable. >> >> # http://www.openssl.org/support/faq.html#PROG10 >> >> if IO.select(nil, [@io], nil, @read_timeout) >> >> retry >> >> else >> >> raise Timeout::Error >> >> end >> >> end >> >> end >> >> >> >> Then such an exception should be caught as IO::WaitReadable. The problem >> would be if the method returned nil instead of throwing an exception. >> >> >> >> Tomas >> >> >> ------------------------------ >> *From:* ironruby-core-bounces at rubyforge.org [ >> ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [ >> shay.friedman at gmail.com] >> *Sent:* Sunday, December 19, 2010 1:19 AM >> >> *To:* ironruby-core at rubyforge.org >> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem >> this year? >> >> You're right, there're more exceptions afterwards. >> >> The exception I suspect that causes the problems is on SocketStream, >> line 90: >> "A non-blocking socket operation could not be completed immediately". >> >> What do you think? >> >> Shay. >> >> >> >> On Sat, Dec 18, 2010 at 7:26 PM, Tomas Matousek < >> Tomas.Matousek at microsoft.com> wrote: >> >>> Isn't "no such file to load -- rubygems/defaults/operating_system" >>> exception caught somewhere? >>> >>> I think this exception is common. >>> >>> >>> >>> Tomas >>> >>> >>> ------------------------------ >>> *From:* ironruby-core-bounces at rubyforge.org [ >>> ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [ >>> shay.friedman at gmail.com] >>> *Sent:* Saturday, December 18, 2010 6:18 AM >>> >>> *To:* ironruby-core at rubyforge.org >>> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem >>> this year? >>> >>> My repo is synced with the recent changes and I still get the same >>> error (which originates from a different one as I stated above)... >>> >>> Shay. >>> >>> >>> >>> On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy wrote: >>> >>>> @Tomas, >>>> Thanks a lot. I'm checking that now. >>>> >>>> @Shay >>>> Can you please confirm your repo is in sync and see if the problem is >>>> still the same for you? >>>> I'll be checking too, but if I get issues, will not be sure it's code >>>> issue not me missing an instruction or so. >>>> >>>> Thanks a lot everyone. >>>> >>>> Regards, >>>> >>>> >>>> >>>> *Mohamed Meligy >>>> *Readify | Senior Developer >>>> >>>> M:+61 451 835006 | W: www.readify.net >>>> [image: Description: Description: Description: Description: rss_16] [image: >>>> Description: Description: Description: Description: >>>> cid:image003.png at 01CAF81D.6A076510] >>>> [image: Description: Description: Description: Description: >>>> cid:image005.png at 01CAF81D.6A076510] >>>> >>>> >>>> >>>> >>>> On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek < >>>> Tomas.Matousek at microsoft.com> wrote: >>>> >>>>> The fix is already checked into the main. So if there is still any >>>>> problem it's another bug. >>>>> >>>>> >>>>> >>>>> Build instructions are here: >>>>> >>>>> >>>>> >>>>> http://github.com/IronLanguages/main/wiki/Building >>>>> >>>>> >>>>> >>>>> let me know if anything there is not clear or doesn't work. >>>>> >>>>> >>>>> >>>>> Tomas >>>>> >>>>> >>>>> ------------------------------ >>>>> *From:* ironruby-core-bounces at rubyforge.org [ >>>>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>>>> eng.meligy at gmail.com] >>>>> *Sent:* Friday, December 17, 2010 6:05 AM >>>>> >>>>> *To:* ironruby-core at rubyforge.org >>>>> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing >>>>> igem this year? >>>>> >>>>> @Tomas, if it works on your local machine, maybe it's worth >>>>> checking it out and having a 1.1.2 release. >>>>> If your local repository is in sync already, then maybe there is some >>>>> other issues that needs to be fixed. >>>>> >>>>> If this is easy as repositories sync issue of existing working fix or >>>>> so, would really appreciate a 1.1.2 update. I'm new to Ruby and Rails and >>>>> would love to try the IronRuby Rails integration even better with Visual >>>>> Studio. >>>>> >>>>> I'm kind of lost in the source too. Not sure which VS solutions I >>>>> should build and where the output Ruby\bin kind-of-directory would then be, >>>>> neither how to get the MSI file for VS tools. >>>>> Will be great if there is some explanation to this (forgive me if it's >>>>> some readme already in the source), or else, then another release will be >>>>> much easier to deal with. >>>>> >>>>> >>>>> Thanks a lot. >>>>> >>>>> >>>>> Regards, >>>>> >>>>> >>>>> >>>>> *Mohamed Meligy >>>>> *Readify | Senior Developer >>>>> >>>>> M:+61 451 835006 | W: www.readify.net >>>>> [image: Description: Description: Description: Description: rss_16] [image: >>>>> Description: Description: Description: Description: >>>>> cid:image003.png at 01CAF81D.6A076510] >>>>> [image: Description: Description: Description: Description: >>>>> cid:image005.png at 01CAF81D.6A076510] >>>>> >>>>> >>>>> >>>>> >>>>> On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg < >>>>> albertjan at curit.com> wrote: >>>>> >>>>>> Hey, >>>>>> >>>>>> >>>>>> >>>>>> I looked into this also and read_nonblock will still return 0 bytes >>>>>> sometimes. I made a small hack in SocketStream.cs that forces the socket to >>>>>> return more than 0 bytes. >>>>>> >>>>>> >>>>>> >>>>>> *if* (bytesToRead > 0) { >>>>>> >>>>>> while(oldPos == _pos) { >>>>>> >>>>>> _pos += _socket.Receive(readBuffer, bytesToRead, >>>>>> SocketFlags.None); >>>>>> >>>>>> } >>>>>> >>>>>> } >>>>>> >>>>>> >>>>>> >>>>>> I know this is absolutely not the way to fix it but it does specify >>>>>> the source of the exception maybe a bit better. >>>>>> >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> >>>>>> >>>>>> Albert-Jan >>>>>> >>>>>> >>>>>> >>>>>> *Van:* ironruby-core-bounces at rubyforge.org [mailto: >>>>>> ironruby-core-bounces at rubyforge.org] *Namens *Tomas Matousek >>>>>> *Verzonden:* vrijdag 17 december 2010 9:14 >>>>>> *Aan:* ironruby-core at rubyforge.org >>>>>> *Onderwerp:* Re: [Ironruby-core] Any coming IronRuby releases fixing >>>>>> igem this year? >>>>>> >>>>>> >>>>>> >>>>>> I believe I fixed this in main. So if you download the sources and >>>>>> build it should work. >>>>>> >>>>>> Let me know if it works for you. Maybe we should do a 1.1.2 release >>>>>> soon - it should be pretty easy - it might ease adoption of 1.1. >>>>>> >>>>>> >>>>>> >>>>>> Tomas >>>>>> >>>>>> >>>>>> ------------------------------ >>>>>> >>>>>> *From:* ironruby-core-bounces at rubyforge.org [ >>>>>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>>>>> eng.meligy at gmail.com] >>>>>> *Sent:* Thursday, December 16, 2010 4:29 PM >>>>>> *To:* ironruby-core at rubyforge.org >>>>>> *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem >>>>>> this year? >>>>>> >>>>>> Hello all, >>>>>> >>>>>> I noticed IronRuby 1.1.1 has problems in igem where it fails to >>>>>> installs gems due to some conversion issue from nil to string. IronRuby 1.0 >>>>>> is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. >>>>>> >>>>>> >>>>>> >>>>>> I'm interested in learning Rails 3.0 on IronRuby and see how I can >>>>>> integrate .NET stuff with that. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> So, is there any coming patch release or even git code push that >>>>>> solves the igem issues? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Will be great if I get something to play with in Christmas holidays, >>>>>> but this might be very unrealistic anyway. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Thanks a lot. >>>>>> >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> >>>>>> >>>>>> *Mohamed Meligy >>>>>> *Readify | Senior Developer >>>>>> >>>>>> M:+61 451 835006 | W: www.readify.net >>>>>> >>>>>> [image: Beschrijving: Description: Description: Description: >>>>>> Description: rss_16] [image: Beschrijving: Description: Description: >>>>>> Description: Description: cid:image003.png at 01CAF81D.6A076510] >>>>>> [image: Beschrijving: Description: Description: Description: >>>>>> Description: cid:image005.png at 01CAF81D.6A076510] >>>>>> [image: Beschrijving: >>>>>> http://gurustop.net/mail/signature/readify-50best.jpg][image: >>>>>> Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png] >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Ironruby-core mailing list >>>>>> Ironruby-core at rubyforge.org >>>>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Ironruby-core mailing list >>>>> Ironruby-core at rubyforge.org >>>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Ironruby-core mailing list >>>> Ironruby-core at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>> >>>> >>> >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >>> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at slodge.com Wed Dec 22 06:42:04 2010 From: me at slodge.com (Stuart Lodge) Date: Wed, 22 Dec 2010 11:42:04 +0000 Subject: [Ironruby-core] Hello... Message-ID: Hello IronRuby Just thought I'd say hello and also thanks for all the effort the IronRuby team have put in. I've just created a new app for WP7 - Iron7 - which takes ruby scripts and runs them on the phone. Despite being an Iron-virgin and a Ruby-virgin, the integration of IronRuby and WP7 was very painless - I very much enjoyed it :) I've talked briefly this morning about the idea of getting some of the Iron7 code into GitHub - and I will find a way to do so in the new year - does anyone have anything they'd specifically like to see integrated? Anyways... that's my hello... and now I'm being dragged away into a wifi free zone for the next 2 weeks - happy holidays all :) Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonlimjap at gmail.com Wed Dec 22 07:00:21 2010 From: jonlimjap at gmail.com (Jonjon Limjap) Date: Wed, 22 Dec 2010 20:00:21 +0800 Subject: [Ironruby-core] Hello... In-Reply-To: References: Message-ID: Awesome Christmas gift for everyone Stuart! Anyway, saw Jimmy Schementi's tweet about it and just wanted to add the URL for Iron7: http://iron7.com -Jon 2010/12/22 Stuart Lodge > Hello IronRuby > > Just thought I'd say hello and also thanks for all the effort the IronRuby > team have put in. > > I've just created a new app for WP7 - Iron7 - which takes ruby scripts and > runs them on the phone. Despite being an Iron-virgin and a Ruby-virgin, the > integration of IronRuby and WP7 was very painless - I very much enjoyed it > :) > > I've talked briefly this morning about the idea of getting some of the > Iron7 code into GitHub - and I will find a way to do so in the new year - > does anyone have anything they'd specifically like to see integrated? > > Anyways... that's my hello... and now I'm being dragged away into a wifi > free zone for the next 2 weeks - happy holidays all :) > > Stuart > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at slodge.com Wed Dec 22 09:11:14 2010 From: me at slodge.com (Stuart Lodge) Date: Wed, 22 Dec 2010 14:11:14 +0000 Subject: [Ironruby-core] Hello... Message-ID: > Awesome Christmas gift for everyone Stuart! > > Anyway, saw Jimmy Schementi's tweet about it and just wanted to add the URL > for Iron7: http://iron7.com > > -Jon Thanks Jon v1 of the app is now approved in the app store, v1.1 is currently in testing with Microsoft (could be anywhere from 1 day to 1 week) and v1.2 is currently under dev. Because Microsoft charge for free app submissions/updates, I've made iron7 a paid app. However, anyone can select a "free trial", and this gives you 100% functionality and the trial never runs out - the only downside is that it does occasionally (approx 1 script in 5?) ask you if you'd like to purchase the full version. I'm currently working on a small website to accompany the app - just to help people share scripts online - hopefully I'll get this approved by the marketplace. Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tomas.Matousek at microsoft.com Wed Dec 22 18:03:47 2010 From: Tomas.Matousek at microsoft.com (Tomas Matousek) Date: Wed, 22 Dec 2010 23:03:47 +0000 Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? In-Reply-To: References: <96697BDC863ACA41B6F3A3743B8CB75C88B4D7@idefix.Curit.local> , Message-ID: I was able to repro this issue on my laptop and will check in a fix soon. Albert-Jan was right, the problem was in SocketStream.cs though the solution is to remove most of the code there rather then add any. I have no idea what was it supposed to achieve but it seems the class is a bit overengineered. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Monday, December 20, 2010 9:37 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Tried to sync my local copy again, and building from source. There is updated code, but the same error 1. I tried building every solution in the "\Solutions" folder. 2. Copied "\Languages\Ruby\Scripts\bin" *.bat files to "\bin\debug". 3. Started a console window in "\bin\debug". 4. Entered "igem install rails". Error: ERROR: While executing gem ... (TypeError) can't convert NilClass into String Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] [http://gurustop.net/mail/signature/readify-50best.jpg][http://gurustop.net/mail/signature/readify-partner2010.png] On Mon, Dec 20, 2010 at 6:36 PM, Tomas Matousek > wrote: That should still be ok, I think :). If the problem is here (Languages\Ruby\StdLib\ruby\1.9.1\net\protocol.rb): def rbuf_fill begin @rbuf << @io.read_nonblock(BUFSIZE) rescue IO::WaitReadable if IO.select([@io], nil, nil, @read_timeout) retry else raise Timeout::Error end rescue IO::WaitWritable # OpenSSL::Buffering#read_nonblock may fail with IO::WaitWritable. # http://www.openssl.org/support/faq.html#PROG10 if IO.select(nil, [@io], nil, @read_timeout) retry else raise Timeout::Error end end end Then such an exception should be caught as IO::WaitReadable. The problem would be if the method returned nil instead of throwing an exception. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [shay.friedman at gmail.com] Sent: Sunday, December 19, 2010 1:19 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? You're right, there're more exceptions afterwards. The exception I suspect that causes the problems is on SocketStream, line 90: "A non-blocking socket operation could not be completed immediately". What do you think? Shay. On Sat, Dec 18, 2010 at 7:26 PM, Tomas Matousek > wrote: Isn't "no such file to load -- rubygems/defaults/operating_system" exception caught somewhere? I think this exception is common. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [shay.friedman at gmail.com] Sent: Saturday, December 18, 2010 6:18 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? My repo is synced with the recent changes and I still get the same error (which originates from a different one as I stated above)... Shay. On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy > wrote: @Tomas, Thanks a lot. I'm checking that now. @Shay Can you please confirm your repo is in sync and see if the problem is still the same for you? I'll be checking too, but if I get issues, will not be sure it's code issue not me missing an instruction or so. Thanks a lot everyone. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] [X][X] On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek > wrote: The fix is already checked into the main. So if there is still any problem it's another bug. Build instructions are here: http://github.com/IronLanguages/main/wiki/Building let me know if anything there is not clear or doesn't work. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Friday, December 17, 2010 6:05 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? @Tomas, if it works on your local machine, maybe it's worth checking it out and having a 1.1.2 release. If your local repository is in sync already, then maybe there is some other issues that needs to be fixed. If this is easy as repositories sync issue of existing working fix or so, would really appreciate a 1.1.2 update. I'm new to Ruby and Rails and would love to try the IronRuby Rails integration even better with Visual Studio. I'm kind of lost in the source too. Not sure which VS solutions I should build and where the output Ruby\bin kind-of-directory would then be, neither how to get the MSI file for VS tools. Will be great if there is some explanation to this (forgive me if it's some readme already in the source), or else, then another release will be much easier to deal with. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] [X][X] On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg > wrote: Hey, I looked into this also and read_nonblock will still return 0 bytes sometimes. I made a small hack in SocketStream.cs that forces the socket to return more than 0 bytes. if (bytesToRead > 0) { while(oldPos == _pos) { _pos += _socket.Receive(readBuffer, bytesToRead, SocketFlags.None); } } I know this is absolutely not the way to fix it but it does specify the source of the exception maybe a bit better. Regards, Albert-Jan Van: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] Namens Tomas Matousek Verzonden: vrijdag 17 december 2010 9:14 Aan: ironruby-core at rubyforge.org Onderwerp: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? I believe I fixed this in main. So if you download the sources and build it should work. Let me know if it works for you. Maybe we should do a 1.1.2 release soon - it should be pretty easy - it might ease adoption of 1.1. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Thursday, December 16, 2010 4:29 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I'm interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [Beschrijving: Description: Description: Description: Description: rss_16] [Beschrijving: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] [Beschrijving: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] [Beschrijving: http://gurustop.net/mail/signature/readify-50best.jpg][Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png] _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tomas.Matousek at microsoft.com Wed Dec 22 18:33:31 2010 From: Tomas.Matousek at microsoft.com (Tomas Matousek) Date: Wed, 22 Dec 2010 23:33:31 +0000 Subject: [Ironruby-core] Hello... In-Reply-To: References: Message-ID: Very cool! Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Stuart Lodge [me at slodge.com] Sent: Wednesday, December 22, 2010 3:42 AM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Hello... Hello IronRuby Just thought I'd say hello and also thanks for all the effort the IronRuby team have put in. I've just created a new app for WP7 - Iron7 - which takes ruby scripts and runs them on the phone. Despite being an Iron-virgin and a Ruby-virgin, the integration of IronRuby and WP7 was very painless - I very much enjoyed it :) I've talked briefly this morning about the idea of getting some of the Iron7 code into GitHub - and I will find a way to do so in the new year - does anyone have anything they'd specifically like to see integrated? Anyways... that's my hello... and now I'm being dragged away into a wifi free zone for the next 2 weeks - happy holidays all :) Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: