[fixes #46203421] do not autoload unnecessary resources
added JRuby related Gemfile.lock