#972 ✓invalid
E

regardless of rails/hobo version setup Always fails migrations

Reported by E | October 20th, 2011 @ 07:04 PM

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 C:/Users/Joe/AppData/Local/Temp/hobo_app_template gemfile hobo (>= 1.3.0.pre18)

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 roo
t dir.) [y|n] n
=> "n" Please, remember to run hobo g setup_wizard from the application root dir, i n order to complete the Setup.

C:\Sites>cd r2

C:\Sites\r2>bindle install
'bindle' is not recognized as an internal or external command, operable program or batch file.

C:\Sites\r2>bundle install
Fetching source index for http://rubygems.org/
Using rake (0.9.2)
Using abstract (1.0.0)
Using activesupport (3.0.0)
Using builder (2.1.2)
Using i18n (0.4.2)
Using activemodel (3.0.0)
Using erubis (2.6.6)
Using rack (1.2.4)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.30)
Using actionpack (3.0.0)
Using mime-types (1.16)
Using polyglot (0.3.2)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.0)
Using arel (1.0.1)
Using activerecord (3.0.0)
Using activeresource (3.0.0)
Using bundler (1.0.18)
Using thor (0.14.6)
Using railties (3.0.0)
Using rails (3.0.0)
Using hobo_support (1.3.0.pre31)
Using dryml (1.3.0.pre31)
Using hobo_fields (1.3.0.pre31)
Using will_paginate (3.0.2)
Installing hobo (1.3.0.pre31)
Using sqlite3 (1.3.4)
Using sqlite3-ruby (1.3.3)
Your bundle is complete! Use bundle show [gemname] to see where a bundled gem
is installed.

C:\Sites\r2>hobo g setup_wizard
Hobo Command Line Interface 1.3.0.pre31

Hobo Setup Wizard 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: [=user|]
=> "user" Do you want to send an activation email to activate the user? [y|n] y
=> "y"

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

Templates Option Will your 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 create public/hobothemes/clean-sidemenu create public/hobothemes/clean-sidemenu/images/100-ACD3E6-DBE1E5-H.png create public/hobothemes/clean-sidemenu/images/100-DBE1E5-FCFEF5-H.png create public/hobothemes/clean-sidemenu/images/300-3B5F87-ACD3E6-H.png create public/hobothemes/clean-sidemenu/images/spinner.gif create public/hobothemes/clean-sidemenu/stylesheets/clean-sidemenu.css create app/views/taglibs/themes/clean-sidemenu create app/views/taglibs/themes/clean-sidemenu/clean-sidemenu.dryml

Front Controller Choose a name for the front controller: [=front|]
=> "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 create app/views/user_mailer/activation.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]igrat
e: [s|g|m] m
=> "m" Migrating...
rake db:setup WARNING: Global access to Rake DSL methods is deprecated. Please include
... Rake::DSL into classes and modules which use the Rake DSL methods. WARNING: DSL method R2::Application#task called at C:/RailsInstaller/Ruby1.9.2/l
ib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/application.rb:214:in `initiali
ze_tasks'
db/test.sqlite3 already exists
db/development.sqlite3 already exists
rake aborted!
uninitialized constant WillPaginate::Finders

Tasks: TOP => db:setup => db:schema:load => environment
(See full trace by running task with --trace) C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/hobo-1.3.0.pre31/lib/hobo/m
odel.rb:61:in patch_will_paginate': uninitialized constant WillPaginate::Finder s (NameError) from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/hobo-1.3.0.pre 31/lib/hobo/model.rb:17:inincluded'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/hobo-1.3.0.pre 31/lib/hobo/extensions/active_record/hobo_methods.rb:7:in include' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/hobo-1.3.0.pre 31/lib/hobo/extensions/active_record/hobo_methods.rb:7:inhobo_user_model'
from C:/Sites/r2/app/models/user.rb:3:in <class:User>' from C:/Sites/r2/app/models/user.rb:1:in' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport- 3.0.0/lib/active_support/inflector/methods.rb:124:in block in constantize' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport- 3.0.0/lib/active_support/inflector/methods.rb:123:ineach'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport- 3.0.0/lib/active_support/inflector/methods.rb:123:in constantize' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport- 3.0.0/lib/active_support/core_ext/string/inflections.rb:43:inconstantize'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/hobo_fields-1. 3.0.pre31/lib/generators/hobo/migration/migrator.rb:82:in block in load_rails_m odels' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/hobo_fields-1. 3.0.pre31/lib/generators/hobo/migration/migrator.rb:80:ineach'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/hobo_fields-1. 3.0.pre31/lib/generators/hobo/migration/migrator.rb:80:in load_rails_models' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/hobo_fields-1. 3.0.pre31/lib/generators/hobo/migration/migrator.rb:91:intable_model_classes'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/hobo_fields-1. 3.0.pre31/lib/generators/hobo/migration/migrator.rb:130:in models_and_tables' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/hobo_fields-1. 3.0.pre31/lib/generators/hobo/migration/migrator.rb:203:ingenerate'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/hobo_fields-1. 3.0.pre31/lib/generators/hobo/migration/migration_generator.rb:50:in migrate' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/task.rb:22:inrun'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/invocation.rb:118:in invoke_task' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/invocation.rb:124:inblock in invoke_all'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/invocation.rb:124:in each' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/invocation.rb:124:inmap'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/invocation.rb:124:in invoke_all' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/group.rb:226:indispatch'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/invocation.rb:109:in invoke' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/hobo-1.3.0.pre 31/lib/generators/hobo/setup_wizard/setup_wizard_generator.rb:196:ingenerate_m
igration'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/task.rb:22:in run' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/invocation.rb:118:ininvoke_task'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/invocation.rb:124:in block in invoke_all' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/invocation.rb:124:ineach'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/invocation.rb:124:in map' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/invocation.rb:124:ininvoke_all'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/group.rb:226:in dispatch' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/thor-0.14.6/li b/thor/base.rb:389:instart'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.0.0 /lib/rails/generators.rb:163:in invoke' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.0.0 /lib/rails/commands/generate.rb:10:in' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.0.0 /lib/rails/commands.rb:17:in <top (required)>' from script/rails:6:inrequire' from script/rails:6:in `'

C:\Sites\r2>

is there something Im missing thats not included in any tutorials? I have tried various releases of both hobo and rails and I am always stopped at that point with some error or another.

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