[Radiant] Highline

2008-06-20 Thread Jamey Cribbs
The version of highline that comes with radiant 0.6.7 is 1.2.6.  I am trying
to use the latest net-ssh gem in my radiant extension, which requires a
later version of highline that includes the track_eof= class method.  I have
highline 1.4.0 installed on my box as a gem, but I can't get the radiant app
to use it.  It keeps using the version of highline (1.2.6), which does not
have the eof= class method.  Therefore, the net-ssh library bombs out.  I
have tried various ways to force the reloading of 1.4.0, including doing a
gem 'highline', '= 1.4.0', but so far nothing works.
Anybody have any ideas?  I'm sure this is going to be some easy thing that I
didn't think of.  I've googled a lot, but have not found anything.  Is my
only alternative to manually replace the older version of highline in the
radiant gem's vendor directory with the newer version of highline?

Any help would be greatly appreciated.

Jamey
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Highline

2008-06-20 Thread Sean Cribbs

Jamey,

I imagine we're do for an update of highline and our other libraries 
too.  I'm not keen on switching back to gem dependencies, but we can 
update the vendor version.


Sean

Jamey Cribbs wrote:

The version of highline that comes with radiant 0.6.7 is 1.2.6.  I am trying
to use the latest net-ssh gem in my radiant extension, which requires a
later version of highline that includes the track_eof= class method.  I have
highline 1.4.0 installed on my box as a gem, but I can't get the radiant app
to use it.  It keeps using the version of highline (1.2.6), which does not
have the eof= class method.  Therefore, the net-ssh library bombs out.  I
have tried various ways to force the reloading of 1.4.0, including doing a
gem 'highline', '= 1.4.0', but so far nothing works.
Anybody have any ideas?  I'm sure this is going to be some easy thing that I
didn't think of.  I've googled a lot, but have not found anything.  Is my
only alternative to manually replace the older version of highline in the
radiant gem's vendor directory with the newer version of highline?

Any help would be greatly appreciated.

Jamey
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

  


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Highline

2008-06-20 Thread John W. Long


On Jun 20, 2008, at 9:27 AM, Jamey Cribbs wrote:

I've googled a lot, but have not found anything.  Is my
only alternative to manually replace the older version of highline  
in the

radiant gem's vendor directory with the newer version of highline?


You could try that. The other alternative would be to freeze Radiant  
into your vendor directory and make your changes there.


If you really wanted to get your hands dirty, forking Radiant on  
github, updating and testing the new lib, and then submitting a pull  
request would be ideal.


--
John Long
http://wiseheartdesign.com
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] inherited page parts?

2008-06-20 Thread Alex Wayne
Basically, I want a page to have a sidebar part.  Now a child of this
page has no sidebar part.  So on this child page I want to display the
sidebar of its parent.  And if I am 10 levels deep, I want it to look
back up the tree as far as it needs to to find a part of the name I need
for display.

I think I could write a custom tag to walk of the tree and ask the pages
wether it has a part for that.  Is that possible?

Can this be done without a custom tag?  That would probably be better.

Any ideas?
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant