#894 ✓wontfix
Betelgeuse

Rails 3 setup wizard failed to generate initial migration

Reported by Betelgeuse | December 27th, 2010 @ 08:22 PM

betelgeuse@pena ~/hobo $ bundle exec hobo new signup_copypaste --wizard
Hobo Command Line Interface 1.3.0.pre25
Generating Rails infrastructure...
      create  
      create  README
      create  Rakefile
      create  config.ru
      create  .gitignore
      create  Gemfile
      create  app
      create  app/controllers/application_controller.rb
      create  app/helpers/application_helper.rb
      create  app/mailers
      create  app/models
      create  app/views/layouts/application.html.erb
      create  config
      create  config/routes.rb
      create  config/application.rb
      create  config/environment.rb
      create  config/environments
      create  config/environments/development.rb
      create  config/environments/production.rb
      create  config/environments/test.rb
      create  config/initializers
      create  config/initializers/backtrace_silencers.rb
      create  config/initializers/inflections.rb
      create  config/initializers/mime_types.rb
      create  config/initializers/secret_token.rb
      create  config/initializers/session_store.rb
      create  config/locales
      create  config/locales/en.yml
      create  config/boot.rb
      create  config/database.yml
      create  db
      create  db/seeds.rb
      create  doc
      create  doc/README_FOR_APP
      create  lib
      create  lib/tasks
      create  lib/tasks/.gitkeep
      create  log
      create  log/server.log
      create  log/production.log
      create  log/development.log
      create  log/test.log
      create  public
      create  public/404.html
      create  public/422.html
      create  public/500.html
      create  public/favicon.ico
      create  public/index.html
      create  public/robots.txt
      create  public/images
      create  public/images/rails.png
      create  public/stylesheets
      create  public/stylesheets/.gitkeep
      create  public/javascripts
      create  public/javascripts/application.js
      create  public/javascripts/controls.js
      create  public/javascripts/dragdrop.js
      create  public/javascripts/effects.js
      create  public/javascripts/prototype.js
      create  public/javascripts/rails.js
      create  script
      create  script/rails
      create  test
      create  test/fixtures
      create  test/functional
      create  test/integration
      create  test/performance/browsing_test.rb
      create  test/test_helper.rb
      create  test/unit
      create  tmp
      create  tmp/sessions
      create  tmp/sockets
      create  tmp/cache
      create  tmp/pids
      create  vendor/plugins
      create  vendor/plugins/.gitkeep
       apply  /tmp/hobo_app_template
     gemfile    hobo (>= 1.3.0.pre25)
  
 Hobo Setup Wizard                                                                                                                                                                 
  Do you want to start the Setup Wizard now?                                                                                                                                       
(Choose 'n' if you need to manually customize any file before running the Wizard.                                                                                                  
You can rerun it at any time with `hobo g setup_wizard` from the application root dir.) [y|n] y                                                                                    
    => "y"

 Startup                                                                                                                                                                           
Installing Hobo assets...                                                                                                                                                          
      create  app/views/taglibs/application.dryml
      create  public/stylesheets/application.css
      create  public/javascripts/dryml-support.js
      create  config/initializers/dryml_taglibs.rb
      create  app/models/guest.rb

 Test Framework                                                                                                                                                                    
Do you want to customize the test_framework? [y|n] n                                                                                                                               
  => "n"

 User Resource                                                                                                                                                                     
Choose a name for the user resource: [<enter>=user|<custom_name>]                                                                                                                  
  => "user"
Do you want to send an activation email to activate the user? [y|n] n
  => "n"

 Invite Only Option                                                                                                                                                                
Do you want to add the features for an invite only website? [y|n] n                                                                                                                
  => "n"

 Templates Option                                                                                                                                                                  
Will you application use only hobo/dryml web page templates?                                                                                                                       
(Choose 'n' only if you also plan to use plain rails/erb web page templates) [y|n] y                                                                                               
  => "y"
      remove  app/views/layouts/application.html.erb
      remove  app/helpers/application_helper.rb

 Hobo Rapid                                                                                                                                                                        
Installing Hobo Rapid and default theme...                                                                                                                                         
      create  public/javascripts/hobo-rapid.js
      create  public/javascripts/lowpro.js
      create  public/javascripts/IE7.js
      create  public/javascripts/ie7-recalc.js
      create  public/javascripts/blank.gif
      create  public/stylesheets/reset.css
      create  public/stylesheets/hobo-rapid.css
      create  public/hobothemes/clean
      create  public/hobothemes/clean/images/101-3B5F87-ACD3E6.png
      create  public/hobothemes/clean/images/30-3E547A-242E42.png
      create  public/hobothemes/clean/images/30-DBE1E5-FCFEF5.png
      create  public/hobothemes/clean/images/300-ACD3E6-fff.png
      create  public/hobothemes/clean/images/50-ACD3E6-fff.png
      create  public/hobothemes/clean/images/fieldbg.gif
      create  public/hobothemes/clean/images/pencil.png
      create  public/hobothemes/clean/images/small_close.png
      create  public/hobothemes/clean/images/spinner.gif
      create  public/hobothemes/clean/stylesheets/clean.css
      create  public/hobothemes/clean/stylesheets/rapid-ui.css
      create  app/views/taglibs/themes/clean
      create  app/views/taglibs/themes/clean/clean.dryml

 Front Controller                                                                                                                                                                  
Choose a name for the front controller: [<enter>=front|<custom_name>]                                                                                                              
  => "front"
Installing front controller...
      create  app/controllers/front_controller.rb
      create  app/helpers/front_helper.rb
      invoke  test_unit
      create    test/unit/helpers/front_helper_test.rb
      invoke  test_unit
      create    test/functional/front_controller_test.rb
      create  app/views/front/index.dryml
      remove  public/index.html
       route  match 'search' => 'front#search', :as => 'site_search'
       route  root :to => 'front#index'
Installing 'user' resources...
      create  app/models/user.rb
      invoke  test_unit
      create    test/unit/user_test.rb
      create    test/fixtures/users.yml
      insert  app/models/user.rb
      create  app/mailers/user_mailer.rb
      create  app/views/user_mailer/forgot_password.erb
      invoke  test_unit
      create    test/functional/user_mailer_test.rb
      create  app/controllers/users_controller.rb
      invoke  test_unit

 DB Migration                                                                                                                                                                      
Initial Migration: [s]kip, [g]enerate migration file only, generate and [m]igrate: [s|g|m] m                                                                                       
  => "m"
Migrating...
        rake  db:setup
(in /home/betelgeuse/hobo/signup_copypaste)
/home/betelgeuse/hobo/signup_copypaste/db/schema.rb doesn't exist yet. Run "rake db:migrate" to create it then try again. If you do not intend to use a database, you should instead alter /home/betelgeuse/hobo/signup_copypaste/config/application.rb to limit the frameworks that will be loaded
/usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require': no such file to load -- sqlite3 (LoadError)
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:in `new_constants_in'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/core_ext/kernel/requires.rb:9:in `require_library_or_gem'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/core_ext/kernel/reporting.rb:22:in `with_warnings'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/core_ext/kernel/requires.rb:7:in `require_library_or_gem'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-3.0.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `sqlite3_connection'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:228:in `send'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:228:in `new_connection'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:236:in `checkout_new_connection'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:190:in `checkout'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:186:in `loop'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:186:in `checkout'
        from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:185:in `checkout'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:93:in `connection'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:316:in `retrieve_connection'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:97:in `retrieve_connection'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:89:in `connection'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-3.0.3/lib/active_record/migration.rb:486:in `initialize'
        from /usr/local/lib/ruby/gems/1.8/gems/hobo_fields-1.3.0.pre25/lib/generators/hobo/migration/migration_generator.rb:94:in `new'
        from /usr/local/lib/ruby/gems/1.8/gems/hobo_fields-1.3.0.pre25/lib/generators/hobo/migration/migration_generator.rb:94:in `migrations_pending?'
        from /usr/local/lib/ruby/gems/1.8/gems/hobo_fields-1.3.0.pre25/lib/generators/hobo/migration/migration_generator.rb:47:in `migrate'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `invoke_all'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `map'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/core_ext/ordered_hash.rb:73:in `each'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `map'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `invoke_all'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/group.rb:226:in `dispatch'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:109:in `send'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:109:in `invoke'
        from /usr/local/lib/ruby/gems/1.8/gems/hobo-1.3.0.pre25/lib/generators/hobo/setup_wizard/setup_wizard_generator.rb:196:in `generate_migration'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `invoke_all'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `map'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/core_ext/ordered_hash.rb:75:in `each'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `map'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `invoke_all'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/group.rb:226:in `dispatch'
        from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
        from /usr/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/generators.rb:163:in `invoke'
        from /usr/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/commands/generate.rb:10
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:in `new_constants_in'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/commands.rb:17
        from script/rails:6:in `require'
        from script/rails:6

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages