Hi All,
I'm a complete newby to ruby, installed all the latest versions, etc. Using
latest mySQL.
Running rake production db:bootstrap doesn't work for me. See output below.
For some reason it doesn't seem to go past migrating beyond version 3. And
therefor all else fails.
For those who read this and encountered the same issue: I found a workaround
by copying the database.yml file from my new project into the config
directory of the radiant gem, and then run:
C:\ruby\lib\ruby\gems\1.8\gems\radiant-0.6.2>rake production
db_schema_import
And then adding a user 'admin' in the database table users (with password
ba3043ba889540e17d38da8532f4f84eb0d53843 which is the hash for 'radiant')
However, I'd rather like to know why it didn't install correctly according
to the instructions in the INSTALL file and the website. Any help is
appreciated.
Regards,
Jimmy
--------------------------------------------------------------------
C:\temp\rails\myweb>rake production db:bootstrap
(in C:/temp/rails/myweb)
Extensions cannot be used until Radiant migrations are up to date.
This task will destroy any data in the database. Are you sure you want to
continue? [yn] y
== CreateRadiantTables: migrating
=============================================
-- create_table("config", {:force=>true})
-> 0.1310s
-- add_index("config", ["key"], {:unique=>true, :name=>"key"})
-> 0.5300s
-- create_table("pages", {:force=>true})
-> 0.1300s
-- create_table("page_parts", {:force=>true})
-> 0.1210s
-- create_table("snippets", {:force=>true})
-> 0.1400s
-- add_index("snippets", ["name"], {:unique=>true, :name=>"name"})
-> 0.4610s
-- create_table("layouts", {:force=>true})
-> 0.1400s
-- create_table("users", {:force=>true})
-> 0.2100s
-- add_index("users", ["login"], {:unique=>true, :name=>"login"})
-> 0.6410s
== CreateRadiantTables: migrated (2.5040s)
====================================
== InsertInitialData: migrating
===============================================
== InsertInitialData: migrated (0.0000s)
======================================
== RenameBehaviorColumn: migrating
============================================
-- rename_column(:pages, :behavior, :behavior_id)
-> 0.2910s
== RenameBehaviorColumn: migrated (0.2910s)
===================================
Create the admin user (press enter for defaults).
Name (Administrator):
Username (admin):
Password (radiant):
Initializing configuration.......OK
Select a database template:
1. Empty
2. Simple Blog
3. Styled Blog
[1-3]: 2
Creating Snippets...FAILED
rake aborted!
undefined method `filter_id' for #<Snippet:0x473009c>
(See full trace by running task with --trace)
C:\temp\rails\myweb>
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant