samvera-labs / fedora-migrate

Gem for migrating content to Fedora4
Other
10 stars 7 forks source link

FedoraMigrate::FileConfigurator cannot find 'get_config_path' method #46

Closed coblej closed 8 years ago

coblej commented 9 years ago

As I understand it, the 'get_config_path' method used to be present in AF::FileConfigurator but is not as 9.6.2.

2.1.5 :001 > FedoraMigrate.migrate_repository(namespace: "changeme", options: { convert: "descMetadata" })
NoMethodError: undefined method `get_config_path' for #<FedoraMigrate::FileConfigurator:0x007fc65ba03768>
    from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/fedora-migrate-0.2.0/lib/fedora_migrate/file_configurator.rb:11:in `load_fedora3_config'
    from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/fedora-migrate-0.2.0/lib/fedora_migrate/file_configurator.rb:5:in `fedora3_config'
    from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/fedora-migrate-0.2.0/lib/fedora-migrate.rb:41:in `fedora_config'
    from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/fedora-migrate-0.2.0/lib/fedora-migrate.rb:45:in `source'
    from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/fedora-migrate-0.2.0/lib/fedora_migrate/repository_migrator.rb:29:in `get_source_objects'
    from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/fedora-migrate-0.2.0/lib/fedora_migrate/repository_migrator.rb:14:in `initialize'
    from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/fedora-migrate-0.2.0/lib/fedora-migrate.rb:53:in `new'
    from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/fedora-migrate-0.2.0/lib/fedora-migrate.rb:53:in `migrate_repository'
    from (irb):1
    from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/railties-4.1.13/lib/rails/commands/console.rb:90:in `start'
    from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/railties-4.1.13/lib/rails/commands/console.rb:9:in `start'
    from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/railties-4.1.13/lib/rails/commands/commands_tasks.rb:69:in `console'
    from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/railties-4.1.13/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
    from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/railties-4.1.13/lib/rails/commands.rb:17:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'