Pete Matsyburka
Pete Matsyburka
@tonchev-ivan did you remove `bootsnap` from your rails app? Bootsnap doesnt work in ruby packer and it breaks native extensions loading.
@kritik it looks like you need to remove the following lines from the complile.rb file: https://github.com/omohokcoj/ruby-packer/commit/dd10cc2bf83d5089d46e1755b76b14167f33cc2f#diff-a67b64a1d376c4e42cc056616662c72abd161952b3799ced47c68a4a0c05db0aR332 You can try my working ruby-packer fork https://github.com/motor-admin/ruby-packer - https://github.com/motor-admin/motor-admin has been packed into...
@kritik I assume you're referring to the linked extensions replaced in the ruby-packer fork? I compiled pg and mysql2 native extensions using static linker to make the executable even more...
@kritik ruby packer packs compiled dynamic libs (.so for linux and .bundle for macos) into a squashfs - but the problem is that `dlopen` doesn't work in the virtual filesystem....
@kritik https://github.com/motor-admin/motor-admin/blob/master/config/boot.rb#L29 - i had to warn you that the `require` method monkey patch is not reliable and probably works only for my application. You can try to remove the...
@ericbeland sure, feel free to reuse those monkey patches
@ruanltbg can we create symlink instead of copying a file?
@ruanltbg yeah you're right - looks like we can't use symlink because of `pt: to pt-BR:`. Actually i don't think creating a copy of `pt.yml` file is a good idea....
@ruanltbg it doesn't seem like there will be many changes in the pr-BR motor.yml ? I think you can simply create some `locales/motor-admin/pt-BR.yml` to add fixes to the pt.yml default...
@zahraj3 do you have some custom AR serializer for your json field? Default AR jsonb fields work with motor admin without additional configurations.