Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dougs-MacBook:websites doug$ padrino g project doug --template sampleblog
- apply https://github.com/padrino/padrino-recipes/raw/master/templates/sampleblog_template.rb
- => Executing: padrino-gen project doug --bundle=true --orm=activerecord --renderer=haml --script=jquery --stylesheet=sass --test=shoulda -r=/Users/doug/Dropbox/websites
- create
- create .gitignore
- create config.ru
- create config/apps.rb
- create config/boot.rb
- create public/favicon.ico
- create public/images
- create public/javascripts
- create public/stylesheets
- create tmp
- create .components
- create app
- create app/app.rb
- create app/controllers
- create app/helpers
- create app/views
- create app/views/layouts
- create Gemfile
- applying activerecord (orm)...
- apply orms/activerecord
- insert Gemfile
- insert Gemfile
- insert app/app.rb
- create config/database.rb
- applying shoulda (test)...
- apply tests/shoulda
- insert Gemfile
- insert Gemfile
- create test/test_config.rb
- insert test/test_config.rb
- create test/test.rake
- skipping mock component...
- applying jquery (script)...
- apply scripts/jquery
- create public/javascripts/jquery.js
- create public/javascripts/jquery-ujs.js
- create public/javascripts/application.js
- applying haml (renderer)...
- apply renderers/haml
- insert Gemfile
- applying sass (stylesheet)...
- apply stylesheets/sass
- insert Gemfile
- insert app/app.rb
- create lib/sass_init.rb
- create app/stylesheets
- identical .components
- Bundling application dependencies using bundler...
- run bundle install from "."
- Fetching gem metadata from http://rubygems.org/.........
- Using rake (0.9.2.2)
- Using i18n (0.6.0)
- Using multi_json (1.3.5)
- Using activesupport (3.2.3)
- Using builder (3.0.0)
- Using activemodel (3.2.3)
- Using arel (3.0.2)
- Using tzinfo (0.3.33)
- Using activerecord (3.2.3)
- Using bundler (1.1.0)
- Using haml (3.1.5)
- Using rack (1.4.1)
- Using url_mount (0.2.1)
- Using http_router (0.10.2)
- Using mime-types (1.18)
- Using polyglot (0.3.3)
- Using treetop (1.4.10)
- Using mail (2.3.3)
- Using rack-protection (1.2.0)
- Using tilt (1.3.3)
- Using sinatra (1.3.2)
- Using thor (0.14.6)
- Using padrino-core (0.10.6)
- Using padrino-helpers (0.10.6)
- Using padrino-admin (0.10.6)
- Using padrino-cache (0.10.6)
- Using padrino-gen (0.10.6)
- Using padrino-mailer (0.10.6)
- Using padrino (0.10.6)
- Using rack-test (0.6.1)
- Using sass (3.1.18)
- Using shoulda-context (1.0.0)
- Using shoulda-matchers (1.0.0)
- Using shoulda (3.0.1)
- Using sinatra-flash (0.3.0)
- Using sqlite3 (1.3.6)
- Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
- =================================================================
- doug is ready for development!
- =================================================================
- $ cd /Users/doug/Dropbox/websites/doug
- =================================================================
- insert app/app.rb
- => Executing: padrino-gen admin -r=/Users/doug/Dropbox/websites/doug
- force .components
- create admin
- exist admin
- create admin/controllers/base.rb
- create admin/controllers/sessions.rb
- create public/admin
- create public/admin/stylesheets/base.css
- create public/admin/stylesheets/themes/amro/style.css
- create public/admin/stylesheets/themes/bec-green/style.css
- create public/admin/stylesheets/themes/bec/style.css
- create public/admin/stylesheets/themes/blue/style.css
- create public/admin/stylesheets/themes/default/style.css
- create public/admin/stylesheets/themes/djime-cerulean/style.css
- create public/admin/stylesheets/themes/kathleene/style.css
- create public/admin/stylesheets/themes/olive/style.css
- create public/admin/stylesheets/themes/orange/style.css
- create public/admin/stylesheets/themes/reidb-greenish/style.css
- create public/admin/stylesheets/themes/ruby/style.css
- create public/admin/stylesheets/themes/warehouse/style.css
- create admin/app.rb
- append config/apps.rb
- insert admin/app.rb
- apply orms/activerecord
- apply tests/shoulda
- create models/account.rb
- create test/models/account_test.rb
- create db/migrate/001_create_accounts.rb
- create admin/views/accounts
- create admin/controllers/accounts.rb
- create admin/views/accounts/_form.haml
- create admin/views/accounts/edit.haml
- create admin/views/accounts/index.haml
- create admin/views/accounts/new.haml
- insert admin/app.rb
- force models/account.rb
- create db/seeds.rb
- exist admin/controllers
- exist admin/views
- create admin/views/base
- create admin/views/layouts
- create admin/views/sessions
- create admin/views/base/_sidebar.haml
- create admin/views/base/index.haml
- create admin/views/layouts/application.haml
- create admin/views/sessions/new.haml
- insert admin/app.rb
- insert Gemfile
- gsub admin/views/accounts/_form.haml
- gsub admin/controllers/accounts.rb
- =================================================================
- The admin panel has been mounted! Next, follow these steps:
- =================================================================
- 1) Run 'bundle install'
- 2) Run 'padrino rake ar:migrate'
- 3) Run 'padrino rake seed'
- 4) Visit the admin panel in the browser at '/admin'
- =================================================================
- => Executing Rake ar:create ar:migrate seed ...
- /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:8:in `<class:TaskLib>': uninitialized constant Rake::DSL (NameError)
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:6:in `<module:Rake>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:3:in `<top (required)>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/testtask.rb:4:in `<top (required)>'
- from test/test.rake:1:in `<top (required)>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:4:in `block in <top (required)>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:2:in `each'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:2:in `<top (required)>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake.rb:12:in `init'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/base.rb:55:in `rake'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/bin/padrino:9:in `<main>'
- => Executing: padrino-gen model post title:string body:text -r=/Users/doug/Dropbox/websites/doug
- apply orms/activerecord
- apply tests/shoulda
- create models/post.rb
- create test/models/post_test.rb
- create db/migrate/002_create_posts.rb
- insert db/migrate/002_create_posts.rb
- => Executing Rake ar:migrate ...
- /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:8:in `<class:TaskLib>': uninitialized constant Rake::DSL (NameError)
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:6:in `<module:Rake>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:3:in `<top (required)>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/testtask.rb:4:in `<top (required)>'
- from test/test.rake:1:in `<top (required)>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:4:in `block in <top (required)>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:2:in `each'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:2:in `<top (required)>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake.rb:12:in `init'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/base.rb:55:in `rake'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/bin/padrino:9:in `<main>'
- => Executing: padrino-gen controller posts get:index get:show -r=/Users/doug/Dropbox/websites/doug
- create app/controllers/posts.rb
- create app/helpers/posts_helper.rb
- create app/views/posts
- apply tests/shoulda
- create test/app/controllers/posts_controller_test.rb
- gsub app/controllers/posts.rb
- insert app/controllers/posts.rb
- insert app/controllers/posts.rb
- insert app/controllers/posts.rb
- => Executing: padrino-gen admin_page post -r=/Users/doug/Dropbox/websites/doug
- create admin/views/posts
- create admin/controllers/posts.rb
- create admin/views/posts/_form.haml
- /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/connection_adapters/sqlite_adapter.rb:465:in `table_structure': Could not find table 'posts' (ActiveRecord::StatementInvalid)
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/connection_adapters/sqlite_adapter.rb:346:in `columns'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/model_schema.rb:228:in `yield'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/model_schema.rb:228:in `default'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/model_schema.rb:228:in `columns'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-admin-0.10.6/lib/padrino-admin/generators/orm.rb:51:in `columns'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-admin-0.10.6/lib/padrino-admin/generators/orm.rb:83:in `column_fields'
- from (erb):1:in `template'
- from /Users/doug/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/erb.rb:753:in `eval'
- from /Users/doug/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/erb.rb:753:in `result'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/file_manipulation.rb:111:in `block in template'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:54:in `call'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:54:in `render'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:63:in `block (2 levels) in invoke!'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:63:in `open'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:63:in `block in invoke!'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/empty_directory.rb:114:in `call'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/empty_directory.rb:114:in `invoke_with_conflict_check'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:61:in `invoke!'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions.rb:95:in `action'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:26:in `create_file'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/file_manipulation.rb:110:in `template'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-admin-0.10.6/lib/padrino-admin/generators/admin_page.rb:41:in `block in create_controller'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-admin-0.10.6/lib/padrino-admin/generators/admin_page.rb:35:in `each'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-admin-0.10.6/lib/padrino-admin/generators/admin_page.rb:35:in `create_controller'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `block in invoke_all'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `each'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `map'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `invoke_all'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/group.rb:226:in `dispatch'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-gen-0.10.6/lib/padrino-gen/generators/cli.rb:51:in `setup'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `block in invoke_all'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `each'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `map'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `invoke_all'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/group.rb:226:in `dispatch'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-gen-0.10.6/bin/padrino-gen:16:in `<main>'
- => Executing: padrino-gen migration AddAccountToPost account_id:integer -r=/Users/doug/Dropbox/websites/doug
- apply orms/activerecord
- create db/migrate/003_add_account_to_post.rb
- insert models/post.rb
- => Executing Rake ar:migrate ...
- /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:8:in `<class:TaskLib>': uninitialized constant Rake::DSL (NameError)
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:6:in `<module:Rake>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:3:in `<top (required)>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/testtask.rb:4:in `<top (required)>'
- from test/test.rake:1:in `<top (required)>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:4:in `block in <top (required)>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:2:in `each'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:2:in `<top (required)>'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake.rb:12:in `init'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/base.rb:55:in `rake'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
- from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/bin/padrino:9:in `<main>'
- insert admin/controllers/posts.rb
- insert app/controllers/posts.rb
- create app/views/posts/index.haml
- create app/views/posts/_post.haml
- create app/views/posts/show.haml
- create app/views/layouts/application.haml
- create public/stylesheets/reset.css
- create app/stylesheets/application.sass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement