NoMethodError: undefined method `represent_boolean_as_integer=' for nil:NilClass encountered with Redmine 4.1.0-9
Closed this issue · 2 comments
Hello, May I ask help on this? Tried to install the plugin in redmine-4.1.0-9, but an error is logged as below.
...\view_customize>bundle exec rake redmine:plugins:migrate RAILS_ENV=production --trace (in .../redmine/htdocs)
rake aborted!
NoMethodError: undefined method `represent_boolean_as_integer=' for nil:NilClass
The bundle install command seems to be successful with the log as follows.
..\htdocs\plugins\view_customize>bundle install --without development test
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/.
. . .
Bundle complete! 3 Gemfile dependencies, 50 gems now installed.
Gems in the groups development and test were not installed.
Usebundle info [gemname]
to see where a bundled gem is installed.
Any feedback would be much appreciated. Thank you.
I did not know if the following command is correct.
C:\Bitnami\redmine-4.1.0-9\ruby\bin\bundle exec C:\Bitnami\redmine-4.1.0-9\ruby\bin\rake redmine:plugins:migrate RAILS_ENV=production --trace
Could you also try the following designation?
C:\Bitnami\redmine-4.1.0-9\ruby\bin\bundle exec rake redmine:plugins:migrate RAILS_ENV=production --trace
Also, go to C:\Bitnami\redmine-4.1.0-9\apps\redmine\htdocs
and run it.
Thanks.