[Radiant] Question about extension installation

2009-07-06 Thread Wentao Wang
Hey all,

I am a rookie user of radiant CMS. Currently I am stuck by the extenstion
installation (blog extension, and sns extension). What I did was to download
the extension zip file, unpack it into my project directory
(...vendor/extensions). And then I ran the command rake production db:
migrate: extensions
It gave me the following error message:
Could not load extension from file: blog_extension.
#NameError: uninitialized constant BlogExtension
Could not load extension from file: sns_extension.
#NameError: uninitialized constant SnsExtension
rake aborted!
Don't know how to build task 'db:'

I assume it might be configuration issue. I am using Windows Vista and the
latest version of radiant version.

But this is only my guess. Anyone have any idea with my problem. Any
suggestions are appreciated.

-- 
Thank you for your time and patience!

Best,

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


Re: [Radiant] Question about extension installation

2009-07-06 Thread David Cato
Wentao Wang wrote ...

 I am a rookie user of radiant CMS. Currently I am stuck by the extenstion
 installation (blog extension, and sns extension). What I did was to download
 the extension zip file, unpack it into my project directory
 (...vendor/extensions). And then I ran the command rake production db:
 migrate: extensions
 It gave me the following error message:
 Could not load extension from file: blog_extension.
 #NameError: uninitialized constant BlogExtension
 Could not load extension from file: sns_extension.
 #NameError: uninitialized constant SnsExtension
 rake aborted!
 Don't know how to build task 'db:'
 
 I assume it might be configuration issue. I am using Windows Vista and the
 latest version of radiant version.
 
 But this is only my guess. Anyone have any idea with my problem. Any
 suggestions are appreciated.

It looks like you have spaces in the rake command where they don't belong.
Try rake production db:migrate:extensions (note that there are no spaces
around the colons).

Also make sure the extensions live in their own subdirectory under
.../vendor/extensions (i.e., .../vendor/extensions/blog_extension and
.../vendor/extensions/sns_extension). I've never looked at a zip file
for an extension so I don't know how they're packaged, but if the
extension files are in the wrong location, that could be the cause of
the load errors.

-- 
David Cato
o...@crunchyfrog.net

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


Re: [Radiant] Question about extension installation

2009-07-06 Thread john muhl
you might have a look at:
http://wiki.github.com/radiant/radiant/installing-extensions and see
if that helps at all.

On Mon, Jul 6, 2009 at 3:40 PM, Wentao Wangedwardwen...@gmail.com wrote:
 Hey all,

 I am a rookie user of radiant CMS. Currently I am stuck by the extenstion
 installation (blog extension, and sns extension). What I did was to download
 the extension zip file, unpack it into my project directory
 (...vendor/extensions). And then I ran the command rake production db:
 migrate: extensions
 It gave me the following error message:
 Could not load extension from file: blog_extension.
 #NameError: uninitialized constant BlogExtension
 Could not load extension from file: sns_extension.
 #NameError: uninitialized constant SnsExtension
 rake aborted!
 Don't know how to build task 'db:'

 I assume it might be configuration issue. I am using Windows Vista and the
 latest version of radiant version.

 But this is only my guess. Anyone have any idea with my problem. Any
 suggestions are appreciated.

 --
 Thank you for your time and patience!

 Best,

 Wentao Wang
 ___
 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