From yakumo9275 at gmail.com Sat Nov 21 15:49:23 2009 From: yakumo9275 at gmail.com (Stuart George) Date: Sat, 21 Nov 2009 15:49:23 -0500 Subject: [Rant-cafe] ruby 1.9 Message-ID: <849b417c0911211249l55ad0c52sdc7740bbc715a43@mail.gmail.com> Anyone got any 1.9 patches? I've done a little patching on 5.8 but I saw all that done on the trunk. When I run ruby 1.9.1 against my rantfiles I get; rant: [ERROR] in file `/home/sgeorge/git/alfm/rantfile', line 295: rule target has to be a string or regular expression rant aborted! and the rule is; gen Rule, '.rlf' => '.rlf' do |t| end Not quite sure what I need to do to get things working with ruby 1.9 :: Stuart George :: http://mega-tokyo.com/family :: From russel.winder at concertant.com Sun Nov 22 05:05:45 2009 From: russel.winder at concertant.com (Russel Winder) Date: Sun, 22 Nov 2009 10:05:45 +0000 Subject: [Rant-cafe] ruby 1.9 In-Reply-To: <849b417c0911211249l55ad0c52sdc7740bbc715a43@mail.gmail.com> References: <849b417c0911211249l55ad0c52sdc7740bbc715a43@mail.gmail.com> Message-ID: <1258884346.4711.305.camel@balin> Stuart, Probably not what you want to hear but . . . I switched all my C, C++ and LaTeX work to SCons and Waf -- both Python based. In the JVM milieu I wrote Gant as a Groovy replacement for Ant and am involved with Gradle, a replacement for Maven. As far as I am aware Rake has as little support for C, C++, Fortran, Java, Scala, C#, LaTeX as it ever had, and (sadly) the active development activity of Rant (which remains far better than Rake) dissipated to nothing. It seemed easier to switch to SCons than to try and keep Rant alive as an active project. On Sat, 2009-11-21 at 15:49 -0500, Stuart George wrote: > Anyone got any 1.9 patches? > > I've done a little patching on 5.8 but I saw all that done on the trunk. > > When I run ruby 1.9.1 against my rantfiles I get; > > rant: [ERROR] in file `/home/sgeorge/git/alfm/rantfile', line 295: > rule target has to be a string or regular expression > rant aborted! > > and the rule is; > > gen Rule, '.rlf' => '.rlf' do |t| > end > > Not quite sure what I need to do to get things working with ruby 1.9 > > > > :: Stuart George :: http://mega-tokyo.com/family :: > _______________________________________________ > Rant-cafe mailing list > Rant-cafe at rubyforge.org > http://rubyforge.org/mailman/listinfo/rant-cafe -- Russel. ============================================================================= Dr Russel Winder Partner xmpp: russel at russel.org.uk Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203 41 Buckmaster Road, f: +44 8700 516 084 voip: sip:russel.winder at ekiga.net London SW11 1EN, UK m: +44 7770 465 077 skype: russel_winder -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From yakumo9275 at gmail.com Sun Nov 22 10:08:58 2009 From: yakumo9275 at gmail.com (Stuart George) Date: Sun, 22 Nov 2009 10:08:58 -0500 Subject: [Rant-cafe] ruby 1.9 In-Reply-To: <1258884346.4711.305.camel@balin> References: <849b417c0911211249l55ad0c52sdc7740bbc715a43@mail.gmail.com> <1258884346.4711.305.camel@balin> Message-ID: <849b417c0911220708i5bb15fe4k653cbb016ba9c49a@mail.gmail.com> On Sun, Nov 22, 2009 at 5:05 AM, Russel Winder wrote: > Stuart, > > Probably not what you want to hear but . . . > yeah :) I've investigated a few systems over the last year (premake4, waf, cmake, etc). Nothing impressed me. I looked at scons a looong time ago and hated it. I have no intention of learning python which was strikes against waf + scons. I also dont like that waf best practice is to include it in your program, it also feels inflexible. Ruby 1.8 is not going away anytime soon but I was hoping it would be easy to convert to 1.9 to 'keep up' so to speak I just dont know how to fix whats left. :: Stuart George :: http://mega-tokyo.com/family :: From russel.winder at concertant.com Sun Nov 22 10:47:46 2009 From: russel.winder at concertant.com (Russel Winder) Date: Sun, 22 Nov 2009 15:47:46 +0000 Subject: [Rant-cafe] ruby 1.9 In-Reply-To: <849b417c0911220708i5bb15fe4k653cbb016ba9c49a@mail.gmail.com> References: <849b417c0911211249l55ad0c52sdc7740bbc715a43@mail.gmail.com> <1258884346.4711.305.camel@balin> <849b417c0911220708i5bb15fe4k653cbb016ba9c49a@mail.gmail.com> Message-ID: <1258904866.4711.380.camel@balin> Stuart, On Sun, 2009-11-22 at 10:08 -0500, Stuart George wrote: > On Sun, Nov 22, 2009 at 5:05 AM, Russel Winder > > > > Probably not what you want to hear but . . . > > yeah :) I've investigated a few systems over the last year > (premake4, waf, cmake, etc). Nothing impressed me. > I looked at scons a looong time ago and hated it. I think there is definitely an element of personal preference with the various different computational models of the various build frameworks. The one good thing about SCons is that there is a lot of ready-made infrastructure, and a active community. The downside is that it can be very slow. > I have no intention of learning python which was strikes > against waf + scons. I also dont like that waf best practice > is to include it in your program, it also feels inflexible. Python is easy after Ruby :-) But choosing not to deal with Python is a perfectly reasonable personal choice. Sounds like you definitely want to stick with the Rake/Rant and Ruby versions: You could always take control of Rant development :-) > Ruby 1.8 is not going away anytime soon but I was hoping > it would be easy to convert to 1.9 to 'keep up' so to speak > I just dont know how to fix whats left. Stefan put in some effort this time last year to make everything work with 1.9 as well as 1.8, but I think you have dealt with all that. It sounds though as though it isn't enough for you. If you do find other fixes that need putting in place I can commit them up. We could even contemplate a new release, but I think we would need some extra unit and integration tests. If activity does start again on Rant then I would propose the first order of business to be switching to either Bazaar or Git as the VCS. Bazaar branches can be hosted in Subversion so choosing Bazaar would be an almost zero cost change. Switching to Git would require getting a transfer from Subversion to Git on Rubyforge. -- Russel. ============================================================================= Dr Russel Winder Partner xmpp: russel at russel.org.uk Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203 41 Buckmaster Road, f: +44 8700 516 084 voip: sip:russel.winder at ekiga.net London SW11 1EN, UK m: +44 7770 465 077 skype: russel_winder -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: