Skip to content

Instantly share code, notes, and snippets.

@awead
Created July 24, 2013 14:38
Show Gist options
  • Save awead/6071183 to your computer and use it in GitHub Desktop.
Save awead/6071183 to your computer and use it in GitHub Desktop.
Running the tests for sufia
adamw:sufia adamw$ bundle exec rake jetty:start
D, [2013-07-24T10:25:05.435399 #11095] DEBUG -- : Starting jetty with these values:
D, [2013-07-24T10:25:05.435587 #11095] DEBUG -- : jetty_home: /Users/adamw/Projects/Github/projecthydra/sufia/jetty
D, [2013-07-24T10:25:05.435831 #11095] DEBUG -- : jetty_command: java -Djetty.port=8983 -Dsolr.solr.home=/Users/adamw/Projects/Github/projecthydra/sufia/jetty/solr -Xmx256m -XX:MaxPermSize=128m -jar start.jar
W, [2013-07-24T10:25:05.445949 #11095] WARN -- : Removing stale PID file at /Users/adamw/Projects/Github/projecthydra/sufia/tmp/pids/_Users_adamw_Projects_Github_projecthydra_sufia_jetty.pid
W, [2013-07-24T10:25:05.447547 #11095] WARN -- : Logging jettywrapper stdout to /Users/adamw/Projects/Github/projecthydra/sufia/jetty/jettywrapper.log
D, [2013-07-24T10:25:05.468910 #11095] DEBUG -- : Wrote pid file to /Users/adamw/Projects/Github/projecthydra/sufia/tmp/pids/_Users_adamw_Projects_Github_projecthydra_sufia_jetty.pid with value 11153
I, [2013-07-24T10:25:33.515951 #11095] INFO -- : Started jetty (28068.4ms)
jetty started at PID 11153
adamw:sufia adamw$ bundle exec rake clean
Removing sample rails app
adamw:sufia adamw$ bundle exec rake spec
installing bundler
Successfully installed bundler-1.3.5
1 gem installed
Generating rails app
Updating gemfile
Copying generator
installing bundler
Successfully installed bundler-1.3.5
1 gem installed
Bundle install
remote: Counting objects: 3179, done.
remote: Compressing objects: 100% (1895/1895), done.
remote: Total 3179 (delta 1543), reused 2670 (delta 1079)
Receiving objects: 100% (3179/3179), 590.56 KiB | 839 KiB/s, done.
Resolving deltas: 100% (1543/1543), done.
running test_app_generator
tables for vocabularies missing
Sufia-models is unable to load activerecord-import
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rubyzip-0.9.9/lib/zip/constants.rb:2: warning: already initialized constant VERSION
warning GENERATING BL
generate blacklight
tables for vocabularies missing
Sufia-models is unable to load activerecord-import
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rubyzip-0.9.9/lib/zip/constants.rb:2: warning: already initialized constant VERSION
Updating Mime Types
insert config/initializers/mime_types.rb
gemfile unicode
gemfile devise (3.0.0.rc)
gemfile devise-guests (~> 0.3)
run bundle install from "."
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.1.0)
Using i18n (0.6.4)
Using minitest (4.7.5)
Using multi_json (1.7.7)
Using atomic (1.1.10)
Using thread_safe (0.1.2)
Using tzinfo (0.3.37)
Using activesupport (4.0.0)
Using builder (3.1.4)
Using erubis (2.7.0)
Using rack (1.5.2)
Using rack-test (0.6.2)
Using actionpack (4.0.0)
Using mime-types (1.23)
Using polyglot (0.3.3)
Using treetop (1.4.14)
Using mail (2.5.4)
Using actionmailer (4.0.0)
Using deprecation (0.0.5)
Using mediashelf-loggable (0.4.9)
Using mini_portile (0.5.1)
Using nokogiri (1.6.0)
Using nom-xml (0.5.1)
Using activemodel (4.0.0)
Using daemons (1.1.9)
Using stomp (1.2.10)
Using xml-simple (1.1.2)
Using solrizer (3.1.1)
Using om (3.0.3)
Using addressable (2.3.5)
Using rdf (1.0.7)
Using rdf-xsd (1.0.2.1)
Using rdf-rdfxml (1.0.1)
Using rsolr (1.0.9)
Using equivalent-xml (0.3.0)
Using fastercsv (1.5.5)
Using hooks (0.3.1)
Using rest-client (1.6.7)
Using rubydora (1.6.5)
Using active-fedora (6.4.3)
Using activerecord-deprecated_finders (1.0.3)
Using arel (4.0.0)
Using activerecord (4.0.0)
Using rails-observers (0.1.2)
Using activeresource (4.0.0)
Using acts_as_follower (0.1.1)
Using backports (3.3.3)
Installing bcrypt-ruby (3.1.1)
Using sass (3.2.9)
Using bootstrap-sass (2.3.2.1)
Using kaminari (0.14.1) from git://github.com/harai/kaminari.git (at route_prefix_prototype)
Using marc (0.5.1)
Using bundler (1.3.5)
Using thor (0.18.1)
Using railties (4.0.0)
Using hike (1.2.3)
Using tilt (1.4.1)
Using sprockets (2.10.0)
Using sprockets-rails (2.0.0)
Using rails (4.0.0)
Using sass-rails (4.0.0)
Using blacklight (4.2.2)
Using combustion (0.5.0)
Using blankslate (2.1.2.4)
Using parslet (1.5.0)
Using blacklight_advanced_search (2.1.0)
Using block_helpers (0.3.3)
Using cancan (1.6.10)
Using xpath (2.0.0)
Using capybara (2.1.0)
Using json (1.8.0)
Using carrierwave (0.9.0)
Using ffi (1.9.0)
Using childprocess (0.3.9)
Using climate_control (0.0.3)
Using cocaine (0.5.1)
Using coffee-script-source (1.6.3)
Using execjs (1.4.0)
Using coffee-script (2.2.0)
Using coffee-rails (4.0.0)
Using foreigner (1.4.2)
Using curationexperts-mailboxer (0.10.3)
Installing orm_adapter (0.4.0)
Installing warden (1.2.3)
Installing devise (3.0.0.rc)
Installing devise-guests (0.3.2)
Using factory_girl (4.2.0)
Using factory_girl_rails (4.2.1)
Using font-awesome-sass-rails (3.0.2.2)
Using hydra-access-controls (6.3.2)
Using logger (1.2.8)
Using jettywrapper (1.4.1)
Using hydra-core (6.3.2)
Using hydra-head (6.3.2)
Using hydra-collections (1.0.0)
Using hydra-batch-edit (1.0.2)
Using jbuilder (1.4.2)
Using jquery-rails (3.0.4)
Using mail_form (1.3.0)
Using redis (3.0.4)
Using nest (1.1.2)
Using noid (0.6.6)
Using paperclip (3.4.2)
Using rack-protection (1.5.0)
Using rails_autolink (1.1.0)
Using rainbow (1.1.4)
Using rdoc (3.12.2)
Using redis-namespace (1.3.0)
Using sinatra (1.4.3)
Using vegas (0.1.11)
Using resque (1.23.1)
Using trollop (1.16.2)
Using resque-pool (0.3.0)
Using rmagick (2.13.2)
Using sdoc (0.3.20)
Using sqlite3 (1.3.7)
Using zipruby (0.3.6)
Using sufia-models (2.1.0.beta) from source at ../../../sufia
Using yaml_db (0.2.3)
Using sufia (2.1.0.beta) from source at ../../../sufia
Using turbolinks (1.3.0)
Using uglifier (2.1.2)
Installing unicode (0.4.4)
Your bundle is complete!
It was installed into ./.bundle
generate devise:install
tables for vocabularies missing
Sufia-models is unable to load activerecord-import
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rubyzip-0.9.9/lib/zip/constants.rb:2: warning: already initialized constant VERSION
Could not find generator devise:install.
generate devise
tables for vocabularies missing
Sufia-models is unable to load activerecord-import
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rubyzip-0.9.9/lib/zip/constants.rb:2: warning: already initialized constant VERSION
Could not find generator devise.
generate devise_guests
tables for vocabularies missing
Sufia-models is unable to load activerecord-import
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rubyzip-0.9.9/lib/zip/constants.rb:2: warning: already initialized constant VERSION
Could not find generator devise_guests.
generate devise:views
tables for vocabularies missing
Sufia-models is unable to load activerecord-import
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rubyzip-0.9.9/lib/zip/constants.rb:2: warning: already initialized constant VERSION
Could not find generator devise:views.
insert app/models/user.rb
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/thor-0.18.1/lib/thor/actions/inject_into_file.rb:99:in `binread': No such file or directory - /Users/adamw/Projects/Github/projecthydra/sufia/spec/internal/app/models/user.rb (Errno::ENOENT)
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/thor-0.18.1/lib/thor/actions/inject_into_file.rb:99:in `replace!'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/thor-0.18.1/lib/thor/actions/inject_into_file.rb:60:in `invoke!'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/thor-0.18.1/lib/thor/actions.rb:95:in `action'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/thor-0.18.1/lib/thor/actions/inject_into_file.rb:31:in `insert_into_file'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/blacklight-4.2.2/lib/generators/blacklight/blacklight_generator.rb:92:in `generate_devise_assets'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `block in invoke_all'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `each'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `map'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `invoke_all'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/thor-0.18.1/lib/thor/group.rb:233:in `dispatch'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/railties-4.0.0/lib/rails/generators.rb:156:in `invoke'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/railties-4.0.0/lib/rails/commands/generate.rb:11:in `<top (required)>'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/railties-4.0.0/lib/rails/commands.rb:49:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
warning GENERATING HH
generate hydra:head
tables for vocabularies missing
Sufia-models is unable to load activerecord-import
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rubyzip-0.9.9/lib/zip/constants.rb:2: warning: already initialized constant VERSION
gemfile group :development, :test
append Gemfile
gemfile rspec-rails
gemfile jettywrapper
append Gemfile
run bundle install from "."
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies....
Using rake (10.1.0)
Using i18n (0.6.4)
Using minitest (4.7.5)
Using multi_json (1.7.7)
Using atomic (1.1.10)
Using thread_safe (0.1.2)
Using tzinfo (0.3.37)
Using activesupport (4.0.0)
Using builder (3.1.4)
Using erubis (2.7.0)
Using rack (1.5.2)
Using rack-test (0.6.2)
Using actionpack (4.0.0)
Using mime-types (1.23)
Using polyglot (0.3.3)
Using treetop (1.4.14)
Using mail (2.5.4)
Using actionmailer (4.0.0)
Using deprecation (0.0.5)
Using mediashelf-loggable (0.4.9)
Using mini_portile (0.5.1)
Using nokogiri (1.6.0)
Using nom-xml (0.5.1)
Using activemodel (4.0.0)
Using daemons (1.1.9)
Using stomp (1.2.10)
Using xml-simple (1.1.2)
Using solrizer (3.1.1)
Using om (3.0.3)
Using addressable (2.3.5)
Using rdf (1.0.7)
Using rdf-xsd (1.0.2.1)
Using rdf-rdfxml (1.0.1)
Using rsolr (1.0.9)
Using equivalent-xml (0.3.0)
Using fastercsv (1.5.5)
Using hooks (0.3.1)
Using rest-client (1.6.7)
Using rubydora (1.6.5)
Using active-fedora (6.4.3)
Using activerecord-deprecated_finders (1.0.3)
Using arel (4.0.0)
Using activerecord (4.0.0)
Using rails-observers (0.1.2)
Using activeresource (4.0.0)
Using acts_as_follower (0.1.1)
Using backports (3.3.3)
Using bcrypt-ruby (3.1.1)
Using sass (3.2.9)
Using bootstrap-sass (2.3.2.1)
Using kaminari (0.14.1) from git://github.com/harai/kaminari.git (at route_prefix_prototype)
Using marc (0.5.1)
Using bundler (1.3.5)
Using thor (0.18.1)
Using railties (4.0.0)
Using hike (1.2.3)
Using tilt (1.4.1)
Using sprockets (2.10.0)
Using sprockets-rails (2.0.0)
Using rails (4.0.0)
Using sass-rails (4.0.0)
Using blacklight (4.2.2)
Using combustion (0.5.0)
Using blankslate (2.1.2.4)
Using parslet (1.5.0)
Using blacklight_advanced_search (2.1.0)
Using block_helpers (0.3.3)
Using cancan (1.6.10)
Using xpath (2.0.0)
Using capybara (2.1.0)
Using json (1.8.0)
Using carrierwave (0.9.0)
Using ffi (1.9.0)
Using childprocess (0.3.9)
Using climate_control (0.0.3)
Using cocaine (0.5.1)
Using coffee-script-source (1.6.3)
Using execjs (1.4.0)
Using coffee-script (2.2.0)
Using coffee-rails (4.0.0)
Using foreigner (1.4.2)
Using curationexperts-mailboxer (0.10.3)
Using orm_adapter (0.4.0)
Using warden (1.2.3)
Using devise (3.0.0.rc)
Using devise-guests (0.3.2)
Installing diff-lcs (1.2.4)
Using factory_girl (4.2.0)
Using factory_girl_rails (4.2.1)
Using font-awesome-sass-rails (3.0.2.2)
Using hydra-access-controls (6.3.2)
Using logger (1.2.8)
Using jettywrapper (1.4.1)
Using hydra-core (6.3.2)
Using hydra-head (6.3.2)
Using hydra-collections (1.0.0)
Using hydra-batch-edit (1.0.2)
Using jbuilder (1.4.2)
Using jquery-rails (3.0.4)
Using mail_form (1.3.0)
Using redis (3.0.4)
Using nest (1.1.2)
Using noid (0.6.6)
Using paperclip (3.4.2)
Using rack-protection (1.5.0)
Using rails_autolink (1.1.0)
Using rainbow (1.1.4)
Using rdoc (3.12.2)
Using redis-namespace (1.3.0)
Using sinatra (1.4.3)
Using vegas (0.1.11)
Using resque (1.23.1)
Using trollop (1.16.2)
Using resque-pool (0.3.0)
Using rmagick (2.13.2)
Installing rspec-core (2.14.4)
Installing rspec-expectations (2.14.0)
Installing rspec-mocks (2.14.1)
Installing rspec-rails (2.14.0)
Using sdoc (0.3.20)
Using sqlite3 (1.3.7)
Using zipruby (0.3.6)
Using sufia-models (2.1.0.beta) from source at ../../../sufia
Using yaml_db (0.2.3)
Using sufia (2.1.0.beta) from source at ../../../sufia
Using turbolinks (1.3.0)
Using uglifier (2.1.2)
Using unicode (0.4.4)
Your bundle is complete!
It was installed into ./.bundle
create app/controllers/catalog_controller.rb
create config/initializers/hydra_config.rb
insert config/initializers/hydra_config.rb
create config/initializers/action_dispatch_http_upload_monkey_patch.rb
create config/role_map_cucumber.yml
create config/role_map_development.yml
create config/role_map_production.yml
create config/role_map_test.yml
create config/jetty.yml
create config/solr.yml
create solr_conf
create solr_conf/conf/schema.xml
create solr_conf/conf/solrconfig.xml
create solr_conf/solr.xml
create config/fedora.yml
create fedora_conf
create fedora_conf/conf/development/fedora.fcfg
create fedora_conf/conf/test/fedora.fcfg
Failure Hydra requires a user object in order to apply access controls. This generators assumes that the model is defined in the file app/models/user.rb, which does not exist. If you used a different name, please re-run the generator and provide that name as an argument. Such as rails -g hydra:head client
insert config/routes.rb
warning GENERATING SUFIA
generate sufia
tables for vocabularies missing
Sufia-models is unable to load activerecord-import
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rubyzip-0.9.9/lib/zip/constants.rb:2: warning: already initialized constant VERSION
create db/migrate/20130724143652_acts_as_follower_migration.rb
create db/migrate/20130724143653_add_social_to_users.rb
create db/migrate/20130724143654_create_single_use_links.rb
create db/migrate/20130724143655_add_ldap_attrs_to_user.rb
create db/migrate/20130724143656_add_avatars_to_users.rb
create db/migrate/20130724143657_create_checksum_audit_logs.rb
create db/migrate/20130724143658_create_version_committers.rb
create db/migrate/20130724143659_add_groups_to_users.rb
create db/migrate/20130724143660_create_local_authorities.rb
create db/migrate/20130724143661_create_trophies.rb
Failure Sufia requires a user object. This generators assumes that the model is defined in the file app/models/user.rb, which does not exist. If you used a different name, please re-run the generator and provide that name as an argument. Such as rails -g sufia client
insert app/controllers/application_controller.rb
gsub app/controllers/application_controller.rb
create config/initializers/sufia.rb
create config/redis.yml
create config/initializers/redis_config.rb
create config/initializers/resque_admin.rb
force app/controllers/catalog_controller.rb
Failure Sufia requires a SolrDocument object. This generators assumes that the model is defined in the file app/models/solr_document.rb, which does not exist.
generate mailboxer:install
tables for vocabularies missing
Sufia-models is unable to load activerecord-import
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rubyzip-0.9.9/lib/zip/constants.rb:2: warning: already initialized constant VERSION
create config/initializers/mailboxer.rb
Copied migration 20130724143710_create_mailboxer.mailboxer_engine.rb from mailboxer_engine
Copied migration 20130724143711_add_notified_object.mailboxer_engine.rb from mailboxer_engine
Copied migration 20130724143712_add_notification_code.mailboxer_engine.rb from mailboxer_engine
Copied migration 20130724143713_add_attachments.mailboxer_engine.rb from mailboxer_engine
Copied migration 20130724143714_rename_receipts_read.mailboxer_engine.rb from mailboxer_engine
Copied migration 20130724143715_add_global_notification_support.mailboxer_engine.rb from mailboxer_engine
remove spec/factories/users.rb
remove public/index.html
Could not find "lib/tasks/rspec.rake" in any of your source paths. Your current source paths are:
/Users/adamw/Projects/Github/projecthydra/sufia/spec/support
rm: test/factories/users.rb: No such file or directory
running migrations
Sufia-models is unable to load activerecord-import
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rubyzip-0.9.9/lib/zip/constants.rb:2: warning: already initialized constant VERSION
rake aborted!
An error has occurred, this and all later migrations canceled:
SQLite3::SQLException: no such table: users: ALTER TABLE "users" ADD "facebook_handle" varchar(255)/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/sqlite3-1.3.7/lib/sqlite3/database.rb:91:in `initialize'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/sqlite3-1.3.7/lib/sqlite3/database.rb:91:in `new'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/sqlite3-1.3.7/lib/sqlite3/database.rb:91:in `prepare'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/sqlite3-1.3.7/lib/sqlite3/database.rb:134:in `execute'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:328:in `block in execute'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:425:in `block in log'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:420:in `log'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:328:in `execute'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/schema_statements.rb:360:in `add_column'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:451:in `add_column'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:625:in `block in method_missing'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:597:in `block in say_with_time'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:597:in `say_with_time'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:617:in `method_missing'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:383:in `method_missing'
/Users/adamw/Projects/Github/projecthydra/sufia/spec/internal/db/migrate/20130724143653_add_social_to_users.rb:17:in `up'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:534:in `up'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:574:in `exec_migration'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:555:in `block (2 levels) in migrate'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:554:in `block in migrate'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:294:in `with_connection'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:553:in `migrate'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:709:in `migrate'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:959:in `block in execute_migration_in_transaction'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:1005:in `block in ddl_transaction'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb:202:in `block in transaction'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb:210:in `within_new_transaction'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb:202:in `transaction'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/transactions.rb:209:in `transaction'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:1005:in `ddl_transaction'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:958:in `execute_migration_in_transaction'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:920:in `block in migrate'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:916:in `each'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:916:in `migrate'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:764:in `up'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/migration.rb:742:in `migrate'
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/activerecord-4.0.0/lib/active_record/railties/databases.rake:42:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
tables for vocabularies missing
== ActsAsFollowerMigration: migrating ========================================
-- create_table(:follows, {:force=>true})
-> 0.0759s
-- add_index(:follows, ["follower_id", "follower_type"], {:name=>"fk_follows"})
-> 0.0005s
-- add_index(:follows, ["followable_id", "followable_type"], {:name=>"fk_followables"})
-> 0.0007s
== ActsAsFollowerMigration: migrated (0.0774s) ===============================
== AddSocialToUsers: migrating ===============================================
-- add_column(:users, :facebook_handle, :string)
Done generating test app
/Users/adamw/.rbenv/versions/1.9.3-p286/bin/ruby -S rspec ../active_fedora/unsaved_digital_object_spec.rb ../controllers/authorities_controller_spec.rb ../controllers/batch_controller_spec.rb ../controllers/batch_edits_controller_spec.rb ../controllers/catalog_controller_spec.rb ../controllers/dashboard_controller_spec.rb ../controllers/downloads_controller_spec.rb ../controllers/generic_files_controller_spec.rb ../controllers/mailbox_controller_spec.rb ../controllers/single_use_link_controller_spec.rb ../controllers/users_controller_spec.rb ../features/users_spec.rb ../helpers/generic_file_helper_spec.rb ../helpers/sufia_helper_spec.rb ../lib/sufia/id_service_spec.rb ../models/audit_job_spec.rb ../models/batch_spec.rb ../models/batch_update_job_spec.rb ../models/characterize_job_spec.rb ../models/checksum_audit_log_spec.rb ../models/event_jobs_spec.rb ../models/file_content_datastream_spec.rb ../models/fits_datastream_spec.rb ../models/generic_file/web_form_spec.rb ../models/generic_file_spec.rb ../models/local_authority_spec.rb ../models/properties_datastream_spec.rb ../models/single_use_link_spec.rb ../models/solr_document_spec.rb ../models/transcode_audio_job_spec.rb ../models/transcode_video_job_spec.rb ../models/trophy_spec.rb ../models/unzip_job_spec.rb ../models/user_spec.rb ../rake/sufia_fixtures_spec.rb ../routing/route_spec.rb ../views/batch_edits/check_all_spec.rb --colour
tables for vocabularies missing
Sufia-models is unable to load activerecord-import
/Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rubyzip-0.9.9/lib/zip/constants.rb:2: warning: already initialized constant VERSION
/Users/adamw/Projects/Github/projecthydra/sufia/spec/factories/users.rb:2:in `block in <top (required)>': uninitialized constant User (NameError)
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/factory_girl-4.2.0/lib/factory_girl/syntax/default.rb:49:in `instance_eval'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/factory_girl-4.2.0/lib/factory_girl/syntax/default.rb:49:in `run'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/factory_girl-4.2.0/lib/factory_girl/syntax/default.rb:7:in `define'
from /Users/adamw/Projects/Github/projecthydra/sufia/spec/factories/users.rb:1:in `<top (required)>'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/factory_girl-4.2.0/lib/factory_girl/find_definitions.rb:20:in `block (2 levels) in find_definitions'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/factory_girl-4.2.0/lib/factory_girl/find_definitions.rb:19:in `each'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/factory_girl-4.2.0/lib/factory_girl/find_definitions.rb:19:in `block in find_definitions'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/factory_girl-4.2.0/lib/factory_girl/find_definitions.rb:15:in `each'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/factory_girl-4.2.0/lib/factory_girl/find_definitions.rb:15:in `find_definitions'
from /Users/adamw/Projects/Github/projecthydra/sufia/spec/spec_helper.rb:36:in `<top (required)>'
from /Users/adamw/Projects/Github/projecthydra/sufia/spec/active_fedora/unsaved_digital_object_spec.rb:1:in `require'
from /Users/adamw/Projects/Github/projecthydra/sufia/spec/active_fedora/unsaved_digital_object_spec.rb:1:in `<top (required)>'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rspec-core-2.14.4/lib/rspec/core/configuration.rb:896:in `load'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rspec-core-2.14.4/lib/rspec/core/configuration.rb:896:in `block in load_spec_files'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rspec-core-2.14.4/lib/rspec/core/configuration.rb:896:in `each'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rspec-core-2.14.4/lib/rspec/core/configuration.rb:896:in `load_spec_files'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rspec-core-2.14.4/lib/rspec/core/command_line.rb:22:in `run'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rspec-core-2.14.4/lib/rspec/core/runner.rb:80:in `run'
from /Users/adamw/Projects/Github/projecthydra/sufia/.bundle/gems/rspec-core-2.14.4/lib/rspec/core/runner.rb:17:in `block in autorun'
/Users/adamw/.rbenv/versions/1.9.3-p286/bin/ruby -S rspec ../active_fedora/unsaved_digital_object_spec.rb ../controllers/authorities_controller_spec.rb ../controllers/batch_controller_spec.rb ../controllers/batch_edits_controller_spec.rb ../controllers/catalog_controller_spec.rb ../controllers/dashboard_controller_spec.rb ../controllers/downloads_controller_spec.rb ../controllers/generic_files_controller_spec.rb ../controllers/mailbox_controller_spec.rb ../controllers/single_use_link_controller_spec.rb ../controllers/users_controller_spec.rb ../features/users_spec.rb ../helpers/generic_file_helper_spec.rb ../helpers/sufia_helper_spec.rb ../lib/sufia/id_service_spec.rb ../models/audit_job_spec.rb ../models/batch_spec.rb ../models/batch_update_job_spec.rb ../models/characterize_job_spec.rb ../models/checksum_audit_log_spec.rb ../models/event_jobs_spec.rb ../models/file_content_datastream_spec.rb ../models/fits_datastream_spec.rb ../models/generic_file/web_form_spec.rb ../models/generic_file_spec.rb ../models/local_authority_spec.rb ../models/properties_datastream_spec.rb ../models/single_use_link_spec.rb ../models/solr_document_spec.rb ../models/transcode_audio_job_spec.rb ../models/transcode_video_job_spec.rb ../models/trophy_spec.rb ../models/unzip_job_spec.rb ../models/user_spec.rb ../rake/sufia_fixtures_spec.rb ../routing/route_spec.rb ../views/batch_edits/check_all_spec.rb --colour failed
adamw:sufia adamw$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment