From d2ad5209f98d8678c6317b49f13727b8605048b3 Mon Sep 17 00:00:00 2001 From: "M.Shibuya" Date: Fri, 24 Dec 2021 23:41:13 +0900 Subject: [PATCH] Fix NameError 'uninitialized constant RailsAdmin::Version' on install Fixes #3452 --- lib/generators/rails_admin/install_generator.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/generators/rails_admin/install_generator.rb b/lib/generators/rails_admin/install_generator.rb index 85f4e46c0d..6463144367 100644 --- a/lib/generators/rails_admin/install_generator.rb +++ b/lib/generators/rails_admin/install_generator.rb @@ -1,4 +1,5 @@ require 'rails/generators' +require 'rails_admin/version' require File.expand_path('utils', __dir__) module RailsAdmin