Skip to content

Commit

Permalink
Merge pull request #85 from tungleduyxyz/killbill_admin_ui_issue_440
Browse files Browse the repository at this point in the history
Override the jar file
  • Loading branch information
pierre authored Jan 20, 2025
2 parents 4586f6d + 8f8b123 commit 1b84f65
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
2 changes: 0 additions & 2 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ class Application < Rails::Application
Kaui.current_tenant_user_options(user, session)
end
Deposit.layout = Kaui.config[:layout]

require Rails.root.join('lib/custom_rack.rb')
end
end
end
9 changes: 9 additions & 0 deletions config/initializers/jruby_rack.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# frozen_string_literal: true

# This is temporary until the issue is fixed and released https://github.com/jruby/jruby-rack/pull/252
module JRubyJars
def self.jruby_rack_jar_path
File.expand_path('../../lib/jruby-rack-custom.jar', __dir__)
end
require jruby_rack_jar_path if defined?(JRUBY_VERSION)
end
10 changes: 0 additions & 10 deletions lib/custom_rack.rb

This file was deleted.

Binary file added lib/jruby-rack-custom.jar
Binary file not shown.

0 comments on commit 1b84f65

Please sign in to comment.