Class: Esse::CLI::ExtensionsLoader
- Inherits:
-
Object
- Object
- Esse::CLI::ExtensionsLoader
- Defined in:
- lib/esse/cli/extensions_loader.rb
Constant Summary collapse
- GEMS =
%w[ esse-rails esse-active_record esse-sequel esse-kaminari esse-pagy esse-will_paginate esse-jbuilder esse-redis_storage esse-async_indexing ].freeze
Class Method Summary collapse
Class Method Details
.load! ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/esse/cli/extensions_loader.rb', line 18 def self.load! GEMS.each do |gem_name| Kernel.require(gem_name) rescue LoadError # do nothing end end |