I'm not certain about the 0.7RC script/extension problem, but if you're using 0.6.9, and use script/extension install, go into vendor/extensions/page_attachments and run this:

git reset --hard 0.6.9

This will put the extension back onto a (hopefully) 0.6.9-compatible version. Now run `git submodule init && git submodule update` to get attachment_fu, and then run `rake db:migrate:extensions radiant:extensions:update_all` from the root of your project.

Going forward, we should be adding support for selecting specific tags/forks/etc from the extension installer. I'm going to reiterate my call for contributions to the extension registry. It essentially hasn't changed since I deployed it in August.

Sean

C. R. Oldham wrote:
I tried this with the 0.70rc, and script/extension install doesn't seem to do 
anything for me.  Is it disabled in the RC?

--cro

----- Original Message -----
From: "Guillermo Gómez" <[email protected]>
To: [email protected]
Sent: Thursday, January 8, 2009 4:29:25 PM GMT -07:00 US/Canada Mountain
Subject: [Radiant] problem installing extension page_attachments

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all :) (newbie at radiant here)

I tried

$ script/extension install page_attachments

It fails running the migrations, like these:

$ rake db:migrate:extensions
(in /home/gomix/radiant)
rake aborted!
undefined method `has_attachment' for PageAttachment(Table doesn't
exist):Class

(See full trace by running task with --trace)

The extension rake task should actually create the table, does someone
whats going on here?

regards

Guillermo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAklmjFUACgkQcSOFtc3tqRWMnQCgpcTqpWFQRG3VCoh9Mi/r7811
wsoAn0NVuprHj4G0hfTTvD/iuZuNnudX
=FJ5b
-----END PGP SIGNATURE-----
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant



_______________________________________________
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