```ruby
module ActiveAdmin
  module Globalize3
    class Engine < ::Rails::Engine
      initializer "Railsyard precompile hook", group: :assets do |app|
        app.config.assets.precompile += [
          "active_admin/active_admin_globalize3.css",
          "active_admin/active_admin_globalize3.js"
        ]
      end

      initializer "add assets" do
        ActiveAdmin.application.register_stylesheet "active_admin/active_admin_globalize3.css", :media => :screen
        ActiveAdmin.application.register_javascript "active_admin/active_admin_globalize3.js"
      end

    end
  end
end
```

Fix assets precompile with config.assets.initialize_on_precompile = true
user
```ruby
module ActiveAdmin
  module Globalize3
    class Engine < ::Rails::Engine
      initializer "Railsyard precompile hook", group: :all do |app|
        app.config.assets.precompile += [
          "active_admin/active_admin_globalize3.css",
          "active_admin/active_admin_globalize3.js"
        ]
      end

      initializer "add assets" do
        ActiveAdmin.application.register_stylesheet "active_admin/active_admin_globalize3.css", :media => :screen
        ActiveAdmin.application.register_javascript "active_admin/active_admin_globalize3.js"
      end

    end
  end
end
```
assistant