anteo / redmine_custom_workflows

Allows to create custom workflows for Redmine
http://www.redmine.org/plugins/custom-workflows
GNU General Public License v2.0
182 stars 72 forks source link

Getting NameError: uninitialized constant RedmineExtensions Error in installation #218

Closed gaurav-cointab closed 3 years ago

gaurav-cointab commented 3 years ago

I executed this command after bundle install bundle exec rake db:migrate RAILS_ENV=production

This was the output. Can you help what should I do? NameError: uninitialized constant RedmineExtensions /usr/local/www/redmine/plugins/redmine_custom_workflows/lib/redmine_custom_workflows/patches/attachment_patch.rb:64:in <top (required)>' /usr/local/www/redmine/plugins/redmine_custom_workflows/lib/redmine_custom_workflows.rb:30:in<top (required)>' /usr/local/www/redmine/plugins/redmine_custom_workflows/after_init.rb:23:in <top (required)>' /usr/local/www/redmine/plugins/redmine_custom_workflows/init.rb:43:inrequire_relative' /usr/local/www/redmine/plugins/redmine_custom_workflows/init.rb:43:in <top (required)>' /usr/local/www/redmine/lib/redmine/plugin.rb:187:inblock in load' /usr/local/www/redmine/lib/redmine/plugin.rb:178:in each' /usr/local/www/redmine/lib/redmine/plugin.rb:178:inload' /usr/local/www/redmine/config/initializers/30-redmine.rb:20:in <top (required)>' /usr/local/www/redmine/config/environment.rb:16:in<top (required)>' /usr/local/bin/bundle:23:in load' /usr/local/bin/bundle:23:in

'

Redmine 4.2 Ruby 2.7.3 Rails 5.2.5

gaurav-cointab commented 3 years ago

This was fixed by installing the "redmine_extensions" gem, and later had to add one more gem "acts_as_list" in the Gemfile.local in the redmine root directory.