Re: [Radiant] How to make extension backwards compatible 0.8.0 -> 0.7.1

2009-06-19 Thread Jim Gay
I'm glad it's working for you. For future reference, just start out by providing your code and error messages first. On Jun 19, 2009, at 11:09 AM, Daniel O'Connell wrote: Ah, the was in the original e-mail you sent me via GitHub :) Anyhoo tried it and although the server now boots fine

Re: [Radiant] How to make extension backwards compatible 0.8.0 -> 0.7.1

2009-06-19 Thread Daniel O'Connell
Ah, the was in the original e-mail you sent me via GitHub :) Anyhoo tried it and although the server now boots fine, I'm still getting the usual "application" error : "# It' not a problem for me, as I have already updated, all but one of my extensions, to work with 0.8.0. I was just tes

Re: [Radiant] How to make extension backwards compatible 0.8.0 -> 0.7.1

2009-06-19 Thread Jim Gay
Remove and . That's HTML and doesn't belong in the extension file. On Jun 19, 2009, at 1:50 AM, Daniel O'Connell wrote: Jim, here is the code. begin require_dependency 'application_controller' rescue MissingSourceFile require_dependency 'application' end -d On Jun 18, 2009, at

Re: [Radiant] How to make extension backwards compatible 0.8.0 -> 0.7.1

2009-06-18 Thread Daniel O'Connell
Jim, here is the code. begin require_dependency 'application_controller' rescue MissingSourceFile require_dependency 'application' end -d On Jun 18, 2009, at 11:26 PM, Jim Gay wrote: All of these errors point to syntax and have as the culprit Do you have in your code? Can you

Re: [Radiant] How to make extension backwards compatible 0.8.0 -> 0.7.1

2009-06-18 Thread Jim Gay
All of these errors point to syntax and have as the culprit Do you have in your code? Can you paste the code too? On Jun 19, 2009, at 12:21 AM, Daniel O'Connell wrote: Jim, Thanks for the reply. Yes running 0.8.0 production on my developer machine.Below are my pasties for errors covering

Re: [Radiant] How to make extension backwards compatible 0.8.0 -> 0.7.1

2009-06-18 Thread Jim Gay
Hmm. This should work in any name_extension.rb If you are running Radiant 0.8.0 the first require will work. If you are running 0.7.1 the first should fail with a MissingSourceFile exception and then try the second require. Unless I've only run into this in my setup and something different