Undefined method `sub!' for nil:NilClass on foreman 1.14

Hi guys ,

Im getting "undefined methodsub!' for nil:NilClass" error on foreman
1.14 when i try to edit host. A lot of forums pointing to ruby 2.2 and
rails > 4.2 so i have successfully installed those requirements but still
getting error . i did not get any similar error at foreman 1.13

Regards
Karen

The stacktrace would provide more information about what is calling the
method, and show you the likely location to fix (particularly if it's a
plugin).

Otherwise please use the bug tracker and attach the log with the full
error message: Foreman

··· On 19/12/16 11:13, Karen Harutyunyan wrote: > Hi guys , > > I`m getting "undefined method `sub!' for nil:NilClass" error on foreman > 1.14 when i try to edit host. A lot of forums pointing to ruby 2.2 and > rails > 4.2 so i have successfully installed those requirements but > still getting error . i did not get any similar error at foreman 1.13


Dominic Cleal
dominic@cleal.org

Hi Dominic

It has to be related with cockpit plugin, so if im using
–enable-foreman-plugin-cockpit option then foreman has error as shown
above . Later on I`ll contact with cockpit plugin authors but for now at
least you know where is the exact problem.)

Regards
Karen