On Mon, Feb 1, 2010 at 2:48 PM, Ming Pan <[email protected]> wrote: > Dear List, > > I was trying to install the "mailer" extension. First I tried > "./script/extension install mailer", and I got the following errors: > > +++++++++++++++++++++++++++++++++++++++++++++ > Initialized empty Git repository in /tmp/mailer/.git/ > remote: Counting objects: 184, done. > remote: Compressing objects: 100% (168/168), done. > remote: Total 184 (delta 72), reused 25 (delta 1) > Receiving objects: 100% (184/184), 35.66 KiB, done. > Resolving deltas: 100% (72/72), done. > rake aborted! > Mysql::Error: Table 'lovebaob_radiantdev.extension_meta' doesn't > exist: SELECT schema_version FROM extension_meta WHERE name = 'Mailer' > > (See full trace by running task with --trace) > rake aborted! > Don't know how to build task 'radiant:extensions:mailer:update' > > (See full trace by running task with --trace) > +++++++++++++++++++++++++++++++++++++++++++++ > > > Then I tried to do it manually, and the errors are basically the same: > > +++++++++++++++++++++++++++++++++++++++++++++ > (in /home/lovebaob/radapp) > rake aborted! > Mysql::Error: Table 'lovebaob_radiantdev.extension_meta' doesn't > exist: SELECT schema_version FROM extension_meta WHERE name = 'Mailer' > > (See full trace by running task with --trace) > +++++++++++++++++++++++++++++++++++++++++++++ > > I checked my databases and the table "extension_meta" only exists in > my production database and not in the development database. Any idea > how I should fix the problem?
run the install command against your production database like so `script/extension install mailer RAILS_ENV=production` _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
