Skip to content

Instantly share code, notes, and snippets.

@IamNaN
Created September 9, 2012 03:42
Show Gist options
  • Save IamNaN/3682443 to your computer and use it in GitHub Desktop.
Save IamNaN/3682443 to your computer and use it in GitHub Desktop.
command line output from radiant's rake seed task
webuser@cms-site:~/cmshome/current$ bundle exec rake production db:bootstrap
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.
This task will destroy any data in the database. Are you sure you want to
continue? [yn] y
-- drop_table("schema_migrations")
-> 0.0354s
-- drop_table("config")
-> 0.0029s
-- drop_table("sessions")
-> 0.0041s
-- drop_table("page_parts")
-> 0.0035s
-- drop_table("layouts")
-> 0.0031s
-- drop_table("extension_meta")
-> 0.0021s
-- drop_table("snippets")
-> 0.0031s
-- drop_table("users")
-> 0.0033s
-- drop_table("page_fields")
-> 0.0037s
-- drop_table("pages")
-> 0.0043s
-- drop_table("page_attachments")
-> 0.0026s
-- drop_table("assets")
-> 0.0026s
== CreateRadiantTables: migrating ============================================
-- create_table("config", {:force=>true})
NOTICE: CREATE TABLE will create implicit sequence "config_id_seq" for serial column "config.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "config_pkey" for table "config"
-> 0.0053s
-- add_index("config", ["key"], {:name=>"key", :unique=>true})
-> 0.0024s
-- create_table("pages", {:force=>true})
NOTICE: CREATE TABLE will create implicit sequence "pages_id_seq" for serial column "pages.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pages_pkey" for table "pages"
-> 0.0075s
=== snip etc, etc, etc... the database is created without error ===
== Dimensions: migrating =====================================================
-- add_column(:assets, :original_width, :integer)
-> 0.0009s
-- add_column(:assets, :original_height, :integer)
-> 0.0008s
-- add_column(:assets, :original_extension, :string)
-> 0.0006s
== Dimensions: migrated (0.0027s) ============================================
Create the admin user (press enter for defaults).
Name (Administrator):
Username (admin):
Password (radiant):
Initializing configuration...........OK
Select a database template:
1. Empty
2. High Five!
3. Roasters (a coffee-themed blog / brochure)
4. Simple Blog
5. Styled Blog
[1-5]: 5
rake aborted!
undefined method `keys' for #<Syck::Omap:0xb2ddd6c>
Tasks: TOP => db:bootstrap
(See full trace by running task with --trace)
webuser@cms-site:~/cmshome/current$
=== with trace turned on ===
Create the admin user (press enter for defaults).
Name (Administrator):
Username (admin):
Password (radiant):
Initializing configuration...........OK
Select a database template:
1. Empty
2. High Five!
3. Roasters (a coffee-themed blog / brochure)
4. Simple Blog
5. Styled Blog
[1-5]: 4
rake aborted!
undefined method `keys' for #<Syck::Omap:0xbcedb04>
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/radiant-1.1.0/lib/radiant/setup.rb:155:in `create_records'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/radiant-1.1.0/lib/radiant/setup.rb:86:in `load_database_template'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/radiant-1.1.0/lib/radiant/setup.rb:22:in `bootstrap'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/radiant-1.1.0/lib/radiant/setup.rb:10:in `bootstrap'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/radiant-1.1.0/lib/tasks/database.rake:43:in `block (2 levels) in <top (required)>'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/home/webuser/.rbenv/versions/1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/bin/rake:23:in `load'
/home/webuser/cmshome/shared/bundle/ruby/1.9.1/bin/rake:23:in `<main>'
Tasks: TOP => db:bootstrap
webuser@cms-site:~/cmshome/current$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment