[Radiant] Ray extension problem

2009-07-28 Thread Jonathan Batchelor

I've been playing about with Radiant for a few days now and am really
liking it's simplicity and flexibility.

After installing on my MacBook and beginning some developmet I want to
install on my Dreamhost account. I have been migrated to a newer  
server by

Dreamhost and have Radiant 0.8.0 working now.

I started to install install extensions and took the advice on the wiki
page to use ray as it will automatically reload Passenger for me.  
However
although the script/extensions install command works fine, as did  
setting

the config for ray using rake ray:setup:restart server=passenger, when I
come to install an extension it does not work. I have included the -- 
trace

output below - can anyone help?

Thanks,
Jonathan.

$ rake production ray:extension:install name=dashboard --trace
(in /home//_radiant)
** Invoke production (first_time)
** Execute production
** Invoke environment (first_time)
** Execute environment
** Invoke ray:extension:install (first_time)
** Execute ray:extension:install
rake aborted!
undefined method `strip' for nil:NilClass
/home//_radiant/vendor/extensions/ray/lib/tasks/ 
ray_extension_tasks.rake:807:in

`get_download_preference'
/home//_radiant/vendor/extensions/ray/lib/tasks/ 
ray_extension_tasks.rake:151:in

`install_extension'
/home//_radiant/vendor/extensions/ray/lib/tasks/ 
ray_extension_tasks.rake:20

/home//.gems/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:597:in  
`invoke_with_call_chain'

/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:590:in  
`invoke_with_call_chain'

/home//.gems/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/home//.gems/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/home//.gems/gems/rake-0.8.7/bin/rake:31
/home//.gems/bin/rake:19:in `load'
/home//.gems/bin/rake:19
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Great community, great support

2009-07-28 Thread exitseven
On Sun, Jul 26, 2009 at 8:37 PM, Mohit Sindhwanit...@onghu.com wrote:
 exitseven wrote:

 Hey,

 just want to say that the radiant community is very helpful,
 responsive and nice. If you got any problem you ask a question and you
 will usually receive a helpful answer in no time. I will contribute
 too.

 Thanks,
 rainer


 Looking forward to your support :)

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


Re: [Radiant] Ray extension problem

2009-07-28 Thread john muhl
actually, this looks like an error someone else had with dreamhost,
you probably just need to delete the preferences file, then run

rake ray:setup:download
rake ray:setup:restart server=passenger

then try installing extensions. i have no idea why this only happens
with dreamhost.

On Tue, Jul 28, 2009 at 9:27 AM, john muhljohnm...@gmail.com wrote:
 can you post the contents of vendor/extensions/ray/preferences.yml

 On Tue, Jul 28, 2009 at 5:25 AM, Jonathan Batchelorj...@atuin.co.uk wrote:
 I've been playing about with Radiant for a few days now and am really
 liking it's simplicity and flexibility.

 After installing on my MacBook and beginning some developmet I want to
 install on my Dreamhost account. I have been migrated to a newer server by
 Dreamhost and have Radiant 0.8.0 working now.

 I started to install install extensions and took the advice on the wiki
 page to use ray as it will automatically reload Passenger for me. However
 although the script/extensions install command works fine, as did setting
 the config for ray using rake ray:setup:restart server=passenger, when I
 come to install an extension it does not work. I have included the --trace
 output below - can anyone help?

 Thanks,
 Jonathan.

 $ rake production ray:extension:install name=dashboard --trace
 (in /home//_radiant)
 ** Invoke production (first_time)
 ** Execute production
 ** Invoke environment (first_time)
 ** Execute environment
 ** Invoke ray:extension:install (first_time)
 ** Execute ray:extension:install
 rake aborted!
 undefined method `strip' for nil:NilClass
 /home//_radiant/vendor/extensions/ray/lib/tasks/ray_extension_tasks.rake:807:in
 `get_download_preference'
 /home//_radiant/vendor/extensions/ray/lib/tasks/ray_extension_tasks.rake:151:in
 `install_extension'
 /home//_radiant/vendor/extensions/ray/lib/tasks/ray_extension_tasks.rake:20
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:636:in `call'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:631:in `each'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2068:in
 `standard_exception_handling'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2068:in
 `standard_exception_handling'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
 /home//.gems/gems/rake-0.8.7/bin/rake:31
 /home//.gems/bin/rake:19:in `load'
 /home//.gems/bin/rake:19
 ___
 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


[Radiant] Caching problem with SNS extension?

2009-07-28 Thread Jørn Schou-Rode
I have a site running Radiant 0.8 with the head revision of the SNS
extension from the radiant hub, and I am experiencing a problem with
assets only being deliveried correctly to every second request.

When I navigate directly to my main stylesheet[1] in my browser, I get
the stylesheet or a completely blank screen (with Content-Length: 0 in
the HTTP headers). Pressing F5 to redo the request, I get the opposite.
Every second request gives my the stylesheet, every other a blank
response.

Does anyone know whats going on? How I done something wrong in my setup?

/Jørn Schou-Rode

[1]: http://215-221.dk/css/screen.css
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Caching problem with SNS extension?

2009-07-28 Thread Clinton R. Nixon
On Tue, Jul 28, 2009 at 12:18 PM, Jørn Schou-Rodej...@malamute.dk wrote:
 I have a site running Radiant 0.8 with the head revision of the SNS
 extension from the radiant hub, and I am experiencing a problem with
 assets only being deliveried correctly to every second request.

 When I navigate directly to my main stylesheet[1] in my browser, I get
 the stylesheet or a completely blank screen (with Content-Length: 0 in
 the HTTP headers). Pressing F5 to redo the request, I get the opposite.
 Every second request gives my the stylesheet, every other a blank
 response.

 Does anyone know whats going on? How I done something wrong in my setup?

I am having the same problem, but have not investigated it. If I find
anything, I'll let you know.

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


[Radiant] NYC Radiant Meetup #3

2009-07-28 Thread Charlie Robbins
Hey All,

 We had a really good turn out at last month's NYC Radiant Meetup.
Revival was a good, low-key place to hang out and talk shop so lets do it
again. These meetups will be held the last Wednesday of every month from
630-830 PM to gather ideas, meet other RadiantCMS developers, and talk about
whatever else we find interesting. Hope to see anyone in the area there!

http://anyvite.com/events/home/ftpytzulbt


Regards,

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


Re: [Radiant] Ray extension problem

2009-07-28 Thread john muhl
i've just fixed this, update ray and you shouldn't run into that anymore.

On Tue, Jul 28, 2009 at 5:25 AM, Jonathan Batchelorj...@atuin.co.uk wrote:
 I've been playing about with Radiant for a few days now and am really
 liking it's simplicity and flexibility.

 After installing on my MacBook and beginning some developmet I want to
 install on my Dreamhost account. I have been migrated to a newer server by
 Dreamhost and have Radiant 0.8.0 working now.

 I started to install install extensions and took the advice on the wiki
 page to use ray as it will automatically reload Passenger for me. However
 although the script/extensions install command works fine, as did setting
 the config for ray using rake ray:setup:restart server=passenger, when I
 come to install an extension it does not work. I have included the --trace
 output below - can anyone help?

 Thanks,
 Jonathan.

 $ rake production ray:extension:install name=dashboard --trace
 (in /home//_radiant)
 ** Invoke production (first_time)
 ** Execute production
 ** Invoke environment (first_time)
 ** Execute environment
 ** Invoke ray:extension:install (first_time)
 ** Execute ray:extension:install
 rake aborted!
 undefined method `strip' for nil:NilClass
 /home//_radiant/vendor/extensions/ray/lib/tasks/ray_extension_tasks.rake:807:in
 `get_download_preference'
 /home//_radiant/vendor/extensions/ray/lib/tasks/ray_extension_tasks.rake:151:in
 `install_extension'
 /home//_radiant/vendor/extensions/ray/lib/tasks/ray_extension_tasks.rake:20
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:636:in `call'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:631:in `each'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2068:in
 `standard_exception_handling'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:2068:in
 `standard_exception_handling'
 /home//.gems/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
 /home//.gems/gems/rake-0.8.7/bin/rake:31
 /home//.gems/bin/rake:19:in `load'
 /home//.gems/bin/rake:19
 ___
 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


[Radiant] updated_at is not touched on content changes?

2009-07-28 Thread Jørn Schou-Rode
Using the r:date for=updated_at / tag, it should AFAIK be possible
to print the date where the current page was last updated. The value is
drawn from the updated_at field in the pages table, which is updated
automagically by Rails whenever a row changes.

However, most of the updates I am doing only involves changing the
contents of the body part of a page. Such changes does not cause any
change on the pages table, as the parts are stored in page_parts.
Thus, the updated_at field is not updated with such changes.

Is this the expected behaviour, or is it a bug? If it is by design, how
would I go about getting a last modified dd/mm/ in the bottom of
my pages? Any extensions?

Thanks in advance.

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


[Radiant] extensions working and not in 0.8

2009-07-28 Thread Steven Southard
Are we keeping a list of extensions that have been updated to 0.8?   
Seems like it'd be a handy reference.


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


Re: [Radiant] updated_at is not touched on content changes?

2009-07-28 Thread Sean Cribbs

Jorn,

On which version of Radiant are you experiencing this problem?

Sean

Jørn Schou-Rode wrote:

Using the r:date for=updated_at / tag, it should AFAIK be possible
to print the date where the current page was last updated. The value is
drawn from the updated_at field in the pages table, which is updated
automagically by Rails whenever a row changes.

However, most of the updates I am doing only involves changing the
contents of the body part of a page. Such changes does not cause any
change on the pages table, as the parts are stored in page_parts.
Thus, the updated_at field is not updated with such changes.

Is this the expected behaviour, or is it a bug? If it is by design, how
would I go about getting a last modified dd/mm/ in the bottom of
my pages? Any extensions?

Thanks in advance.

/Jørn
___
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


[Radiant] nil configuration in Radiant 0.8?

2009-07-28 Thread Brian Gernhardt
I'm trying to set up a radiant installation on GoDaddy's shared  
hosting (which says it supports rails applications).  I created the  
radiant app on my local machine, froze it to the gem, then uploaded it  
to the server, at which point I start getting the following error:


undefined method `load_paths' for nil:NilClass

Looking at the full trace (duplicated below), I find the error in  
railsties/lib/initializer.rb:199
  load_paths = configuration.load_paths +  
configuration.framework_paths


Any idea how the configuration ends up being nil?  Any idea what parts  
I'm missing and/or how to fix it?


Help!
~~ Brian


local: ~$ radiant radiant
[normal output]
local: ~$ cd radiant
local: radiant$ rake radiant:freeze:gem
local: radiant$ vim config/database.yml
local: radiant$ cd ..
local: ~$ tar czf radiant.tar.gz radiant/*
local: ~$ scp radiant.tar.gz server:
local: ~$ ssh server
server: ~$ tar xzf radiant.tar.gz
server: ~$ cd radiant
server: radiant$ rake production db:bootstrap --trace
(in ~/radiant)
rake aborted!
undefined method `load_paths' for nil:NilClass
~/radiant/vendor/radiant/vendor/rails/railties/lib/initializer.rb: 
199:in `set_load_path'
~/radiant/vendor/radiant/vendor/rails/railties/lib/initializer.rb: 
97:in `run'

~/radiant/vendor/radiant/lib/radiant/initializer.rb:101:in `run'
~/radiant/config/boot.rb:72:in `load_initializer'
~/radiant/config/boot.rb:79:in `load_initializer'
~/radiant/config/boot.rb:61:in `run'
~/radiant/config/boot.rb:19:in `boot!'
~/radiant/config/boot.rb:164
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in  
`require'

~/radiant/Rakefile:1
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2359:in  
`raw_load_rakefile'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1993:in  
`load_rakefile'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in  
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1992:in  
`load_rakefile'

/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1976:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in  
`standard_exception_handling'

/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31
/usr/local/lib/ruby/gems/1.8/bin/rake:19
server: radiant$ rake -V
rake, version 0.8.4
server: radiant]$ ruby -v
ruby 1.8.4 (2005-12-24) [i686-linux]
server: radiant$ exit
local: ~$ rake -V
rake, version 0.8.7
local: ~$ ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]


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