Re: [Ironruby-core] IronRuby version of existing gems

2010-03-11 Thread Will Green
Updated my patch to Ruby Gems to match on "universal-dotnetX.X", where X.X is the version number. This will allow for the creation of .NET-specific gems with names like: - gemname-dotnet - gemname-dotnet-2.0 - gemname-dotnet-4.0 - gemname-universal-dotnet - gemname-universal-dotnet-2.0 - gemname-u

Re: [Ironruby-core] FYI Code Review: config

2010-03-11 Thread Will Green
+1000 on cleaning up RbConfig. Perhaps a bost-build step that writes out rbconfig.rb? What is MQ? -- Will Green http://hotgazpacho.org/ On Thu, Mar 11, 2010 at 2:53 PM, Jim Deville wrote: > Looks good. As part of MQ, we should look deeply at the compilation based > variables and see if they c

Re: [Ironruby-core] The Proper way to detect the Windows Platform in Ruby

2010-03-11 Thread Mark Ryall
I've been trying to writing a lot of dubious cross platform command line tools with ruby lately and have wanted to isolate the detection of various platform specific capabilities (playing audio files, accessing the clipboard, launching a browser) to a gem: http://github.com/markryall/splat It is

Re: [Ironruby-core] The Proper way to detect the Windows Platform in Ruby

2010-03-11 Thread Will Green
Yikes! Well, those are all OSS projects. We should fork them, fix them, and send pull requests/patches ;-) -- Will Green http://hotgazpacho.org/ On Thu, Mar 11, 2010 at 4:39 PM, Tomas Matousek < tomas.matou...@microsoft.com> wrote: > Sure, using RUBY_PLATFORM is not good. However if you searc

[Ironruby-core] Code Review: InvalidNames

2010-03-11 Thread Tomas Matousek
tfpt review "/shelveset:InvalidNames;REDMOND\tomat" Comment : Adds filtering of invalid names from the lists that are produced by methods, instance_methods, constants, etc. Fixes Dev.bat. Environment variables are incorrectly expanded on 64 machines. Tomas InvalidNames.diff Descripti

Re: [Ironruby-core] The Proper way to detect the Windows Platform in Ruby

2010-03-11 Thread Ivan Porto Carrero
I've been using ENV['OS'] == 'Windows_NT' to detect windows relaibly On Thursday, March 11, 2010, Will Green wrote: > Thought I'd share this with everyone: > http://blog.emptyway.com/2009/11/03/proper-way-to-detect-windows-platform-in-ruby/ > > > From one of the JRuby core > team. 

Re: [Ironruby-core] IronRuby version of existing gems

2010-03-11 Thread Ivan Porto Carrero
I don't care either way as long as it's lower-case On Thursday, March 11, 2010, Orion Edwards wrote: >>> The name is spelled as “.NET”, and so "gemname-universal-dotNET" would read >>> better than just "gemname-universal-dotnet". > > > dotNET looks awful. Microsoft are well known for terrible ma

[Ironruby-core] The Proper way to detect the Windows Platform in Ruby

2010-03-11 Thread Will Green
Thought I'd share this with everyone: http://blog.emptyway.com/2009/11/03/proper-way-to-detect-windows-platform-in-ruby/ >From one of the JRuby core team. -- Will Green http://hotgazpacho.org/ ___

Re: [Ironruby-core] FYI Code Review: config

2010-03-11 Thread Will Green
I still have misgivings about RUBY_PLATFORM identifying the underlying OS, when in reality, the platform that Ruby is running on is the CLR. Based on this change, I will update my patch for Ruby Gems and resubmit to that team. -- Will Green http://hotgazpacho.org/ On Thu, Mar 11, 2010 at 2:53 P

Re: [Ironruby-core] IronRuby version of existing gems

2010-03-11 Thread Orion Edwards
>> The name is spelled as “.NET”, and so "gemname-universal-dotNET" would read better than just "gemname-universal-dotnet". dotNET looks awful. Microsoft are well known for terrible marketing and terrible naming, so I'd argue that "use the correct spelling" is an anti-feature :-) Personally, I

Re: [Ironruby-core] FYI Code Review: config

2010-03-11 Thread Jim Deville
Looks good. As part of MQ, we should look deeply at the compilation based variables and see if they can be removed or picked up from the arguments to csc. JD -Original Message- From: Shri Borde Sent: Thursday, March 11, 2010 11:36 AM To: IronRuby External Code Reviewers Cc: ironruby-co

[Ironruby-core] FYI Code Review: config

2010-03-11 Thread Shri Borde
tfpt review "/shelveset:config;REDMOND\sborde" Comment : Change RbConfig::CONFIG["arch"] to "universal-dotnet2.0" (or "universal-dotnet4.0" on .NET 4) Also changed RbConfig::CONFIG["host_os"] to be based on RUBY_PLATFORM so that it will be mswin32 on Windows and linux on Linux. Remove

Re: [Ironruby-core] IronRuby version of existing gems

2010-03-11 Thread cory . foy
There's pretty strong use of "dotnet" in other open source projects, and I think that would be best in case gems ever need to decide between dotnet and mono (which is rare, but could happen). Cory Sent from my Verizon Wireless BlackBerry -Original Message- From: Will Green Date: Thu, 1

Re: [Ironruby-core] RCov

2010-03-11 Thread Shri Borde
Any guesses what this code prints? SCRIPT_LINES__ = {} require "rubygems" puts SCRIPT_LINES__.size If you thought 0 like me, you are wrong. Its prints 31 with MRI. I was trying to get IronRuby to work with rcov in the pure Ruby mode, and was completely baffled why it was not working for IronRub

Re: [Ironruby-core] IronRuby version of existing gems

2010-03-11 Thread Will Green
Probably, as it would cover both .NET and Mono. If you look at the JRuby stuff in Ruby Gems, the gems are either "java" or "jruby". We could do "dotnet" and "ironruby", and even "clr", but I think we should standardize on one. My vote is for "dotnet". On Thursday, March 11, 2010, Tomas Matousek

Re: [Ironruby-core] IronRuby version of existing gems

2010-03-11 Thread Shri Borde
Thinking about it, lower-case “dotnet” sounds fine. Since we don’t know how the value will be used, its better to be conservative and follow existing naming patterns (lower case letters) Any votes for “clr”? Else, I will change RbConfig::CONFIG[“arch”] to “universal-dotnet2.0” /“universal-dotne

Re: [Ironruby-core] IronRuby version of existing gems

2010-03-11 Thread Jim Deville
I’d also like to echo and +1 the *nix users vote for keeping things lowercase. JD From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Tomas Matousek Sent: Thursday, March 11, 2010 9:11 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core]

Re: [Ironruby-core] IronRuby version of existing gems

2010-03-11 Thread Tomas Matousek
Wouldn’t “clr” be better after all? Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Will Green Sent: Thursday, March 11, 2010 8:47 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] IronRuby version of existing gems Then why

Re: [Ironruby-core] Rails deployment in IIS

2010-03-11 Thread Ivan Porto Carrero
I've been trying too. The file isn't missing for me but I have other issues. I think I've submitted bugs for those. I still have 1 issue I need to deal with and that is the fact that currently it won't work in a virtual directory. But I'm actively looking at making ironruby.rack working again. I n

[Ironruby-core] Rails deployment in IIS

2010-03-11 Thread Matthew Snyder
I'm looking into using IronRuby.Rack (http://github.com/tenball/ironruby/tree/master/Merlin/Main/Hosts/IronRuby.Rack/ ) to deploy a Ruby on Rails app on an IIS server. However there appears to be a project file missing in github for the Microsoft.Dynamic project, because when I open the soluti

Re: [Ironruby-core] IronRuby version of existing gems

2010-03-11 Thread Ivan Porto Carrero
+1 for lowercase --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Web: http://whiterabbitconsulting.eu - http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) Microsoft IronRuby/C# MVP On Thu, Mar 11, 2010

Re: [Ironruby-core] IronRuby version of existing gems

2010-03-11 Thread Will Green
Then why is RbConfig['arch'] "universal-.net2.0" and not "universal-.NET2.0"? -- Will Green http://hotgazpacho.org/ On Thu, Mar 11, 2010 at 10:45 AM, Shri Borde wrote: > The name is spelled as “.NET”, and so "gemname-universal-dotNET" would > read better than just "gemname-universal-dotnet". >

Re: [Ironruby-core] IronRuby version of existing gems

2010-03-11 Thread cory . foy
Yes, but those of us on case-sensitive operating systems prefer all lower case, if possible. Cory Sent from my Verizon Wireless BlackBerry -Original Message- From: Shri Borde Date: Thu, 11 Mar 2010 15:45:50 To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] IronRuby version o

Re: [Ironruby-core] IronRuby version of existing gems

2010-03-11 Thread Shri Borde
The name is spelled as “.NET”, and so "gemname-universal-dotNET" would read better than just "gemname-universal-dotnet". From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Will Green Sent: Wednesday, March 10, 2010 8:57 PM To: ironruby-core Subjec