jbbarth / redmine_omniauth_cas

CAS authentication plugin for Redmine through OmniAuth
MIT License
20 stars 14 forks source link

Error installing #23

Open alexgrach opened 5 years ago

alexgrach commented 5 years ago

Hello. Unable to install plugin. Fails with error:

rake redmine:plugins RAILS_ENV=production --trace Invoke redmine:plugins (first_time) Execute redmine:plugins Invoke redmine:plugins:migrate (first_time) Invoke environment (first_time) ** Execute environment rake aborted! NameError: uninitialized constant ActiveSupport::Reloader /usr/share/redmine/plugins/redmine_omniauth_cas/init.rb:8:in <top (required)>' /usr/share/redmine/lib/redmine/plugin.rb:155:inblock in load' /usr/share/redmine/lib/redmine/plugin.rb:146:in each' /usr/share/redmine/lib/redmine/plugin.rb:146:inload' /usr/share/redmine/config/initializers/30-redmine.rb:21:in <top (required)>' /usr/lib/ruby/vendor_ruby/rails/engine.rb:652:inblock in load_config_initializer' /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:166:in instrument' /usr/lib/ruby/vendor_ruby/rails/engine.rb:651:inload_config_initializer' /usr/lib/ruby/vendor_ruby/rails/engine.rb:616:in block (2 levels) in <class:Engine>' /usr/lib/ruby/vendor_ruby/rails/engine.rb:615:ineach' /usr/lib/ruby/vendor_ruby/rails/engine.rb:615:in block in <class:Engine>' /usr/lib/ruby/vendor_ruby/rails/initializable.rb:30:ininstance_exec' /usr/lib/ruby/vendor_ruby/rails/initializable.rb:30:in run' /usr/lib/ruby/vendor_ruby/rails/initializable.rb:55:inblock in run_initializers' /usr/lib/ruby/2.5.0/tsort.rb:228:in block in tsort_each' /usr/lib/ruby/2.5.0/tsort.rb:350:inblock (2 levels) in each_strongly_connected_component' /usr/lib/ruby/2.5.0/tsort.rb:422:in block (2 levels) in each_strongly_connected_component_from' /usr/lib/ruby/2.5.0/tsort.rb:431:ineach_strongly_connected_component_from' /usr/lib/ruby/2.5.0/tsort.rb:421:in block in each_strongly_connected_component_from' /usr/lib/ruby/vendor_ruby/rails/initializable.rb:44:ineach' /usr/lib/ruby/vendor_ruby/rails/initializable.rb:44:in tsort_each_child' /usr/lib/ruby/2.5.0/tsort.rb:415:incall' /usr/lib/ruby/2.5.0/tsort.rb:415:in each_strongly_connected_component_from' /usr/lib/ruby/2.5.0/tsort.rb:349:inblock in each_strongly_connected_component' /usr/lib/ruby/2.5.0/tsort.rb:347:in each' /usr/lib/ruby/2.5.0/tsort.rb:347:incall' /usr/lib/ruby/2.5.0/tsort.rb:347:in each_strongly_connected_component' /usr/lib/ruby/2.5.0/tsort.rb:226:intsort_each' /usr/lib/ruby/2.5.0/tsort.rb:205:in tsort_each' /usr/lib/ruby/vendor_ruby/rails/initializable.rb:54:inrun_initializers' /usr/lib/ruby/vendor_ruby/rails/application.rb:352:in initialize!' /usr/share/redmine/config/environment.rb:14:in<top (required)>' /usr/lib/ruby/vendor_ruby/rails/application.rb:328:in require' /usr/lib/ruby/vendor_ruby/rails/application.rb:328:inrequire_environment!' /usr/lib/ruby/vendor_ruby/rails/application.rb:457:in block in run_tasks_blocks' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:273:inblock in execute' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:273:in each' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:273:inexecute' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:214:in block in invoke_with_call_chain' /usr/lib/ruby/2.5.0/monitor.rb:226:inmon_synchronize' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:194:in invoke_with_call_chain' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:238:inblock in invoke_prerequisites' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:236:in each' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:236:ininvoke_prerequisites' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:213:in block in invoke_with_call_chain' /usr/lib/ruby/2.5.0/monitor.rb:226:inmon_synchronize' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:194:in invoke_with_call_chain' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:183:ininvoke' /usr/share/redmine/lib/tasks/redmine.rake:57:in block (2 levels) in <top (required)>' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:273:inblock in execute' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:273:in each' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:273:inexecute' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:214:in block in invoke_with_call_chain' /usr/lib/ruby/2.5.0/monitor.rb:226:inmon_synchronize' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:194:in invoke_with_call_chain' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/task.rb:183:ininvoke' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:160:in invoke_task' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:116:inblock (2 levels) in top_level' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:116:in each' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:116:inblock in top_level' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:125:in run_with_threads' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:110:intop_level' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:83:in block in run' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:186:instandard_exception_handling' /var/lib/gems/2.5.0/gems/rake-12.3.2/lib/rake/application.rb:80:in run' /var/lib/gems/2.5.0/gems/rake-12.3.2/exe/rake:27:in<top (required)>' /usr/local/bin/rake:23:in load' /usr/local/bin/rake:23:in<top (required)>' /var/lib/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in load' /var/lib/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:inkernel_load' /var/lib/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in run' /var/lib/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:inexec' /var/lib/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' /var/lib/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:ininvoke_command' /var/lib/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in dispatch' /var/lib/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:indispatch' /var/lib/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in start' /var/lib/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:instart' /var/lib/gems/2.5.0/gems/bundler-1.17.3/exe/bundle:30:in block in <top (required)>' /var/lib/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:inwith_friendly_errors' /var/lib/gems/2.5.0/gems/bundler-1.17.3/exe/bundle:22:in <top (required)>' /usr/local/bin/bundle:23:inload' /usr/local/bin/bundle:23:in `

'

esbaixauli commented 4 years ago

Same error here on Redmine 3.4.11.stable, any luck installing?

nanego commented 4 years ago

With Redmine 3, you should use an older version, not the master branch of the plugin. You can use this tag: https://github.com/jbbarth/redmine_omniauth_cas/tree/v3.4.6