2.1.5 :002 > FedoraMigrate.migrate_repository(namespace: "changeme")
NoMethodError: undefined method `fetch' for nil:NilClass
from /Users/coblej/.rvm/gems/ruby-2.1.5@dul-hydra-f4/gems/fedora-migrate-0.2.0/lib/fedora_migrate/repository_migrator.rb:13: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):2
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>'
If you follow the instructions in the 'Usage' portion of the README and only include the namespace parameter in the call to FedoraMigrate.migrate_repository, the options instance variable ends up being nil in FedoraMigrate::RepositoryMigrator and causes an error at https://github.com/projecthydra-labs/fedora-migrate/blob/master/lib/fedora_migrate/repository_migrator.rb#L13 .