Closed crowesn closed 3 years ago
Error in rake task on curly using positve? method to check for existing metadata profiles.
positve?
rake aborted! NoMethodError: undefined method `positive?' for #<Class:0x000000000d961858> /opt/bundle/ruby/2.7.0/gems/activerecord-5.2.4.4/lib/active_record/dynamic_matchers.rb:22:in `method_missing' /opt/hyrax/lib/tasks/metadata_profile.rake:6:in `block (2 levels) in <main>' /opt/bundle/ruby/2.7.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>' /opt/rh/rh-ruby27/root/usr/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load' /opt/rh/rh-ruby27/root/usr/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load' /opt/rh/rh-ruby27/root/usr/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run' /opt/rh/rh-ruby27/root/usr/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec' /opt/rh/rh-ruby27/root/usr/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /opt/rh/rh-ruby27/root/usr/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' /opt/rh/rh-ruby27/root/usr/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch' /opt/rh/rh-ruby27/root/usr/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch' /opt/rh/rh-ruby27/root/usr/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start' /opt/rh/rh-ruby27/root/usr/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start' /opt/rh/rh-ruby27/root/usr/share/gems/gems/bundler-2.1.4/libexec/bundle:46:in `block in <top (required)>' /opt/rh/rh-ruby27/root/usr/share/gems/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors' /opt/rh/rh-ruby27/root/usr/share/gems/gems/bundler-2.1.4/libexec/bundle:34:in `<top (required)>' /opt/rh/rh-ruby27/root/usr/local/bin/bundle:23:in `load' /opt/rh/rh-ruby27/root/usr/local/bin/bundle:23:in `<main>' Tasks: TOP => metadata_profile:load_default (See full trace by running task with --trace)
Error in rake task on curly using
positve?
method to check for existing metadata profiles.