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
[email protected]

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to