Skip to content

Commit

Permalink
Fixes #28355 - Uninitialized constant ForemanAzureRM::AzureSDKAdapter (
Browse files Browse the repository at this point in the history
  • Loading branch information
apuntamb authored and ShimShtein committed Nov 26, 2019
1 parent 006bb23 commit 23f39d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cache:
- npm
- bundler
rvm:
- 2.3
- 2.4
install:
- unset BUNDLE_GEMFILE
- cd ..
Expand Down
4 changes: 2 additions & 2 deletions lib/foreman_azure_rm/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ class Engine < ::Rails::Engine
engine_name 'foreman_azure_rm'

#autoloading all files inside lib dir
config.autoload_paths += Dir["#{config.root}/lib"]
config.autoload_paths += Dir["#{config.root}/app/models/concerns/foreman_azure_rm/vm_extensions/"]
config.eager_load_paths += Dir["#{config.root}/lib"]
config.eager_load_paths += Dir["#{config.root}/app/models/concerns/foreman_azure_rm/vm_extensions/"]

initializer 'foreman_azure_rm.register_plugin', :before => :finisher_hook do
Foreman::Plugin.register :foreman_azure_rm do
Expand Down

0 comments on commit 23f39d6

Please sign in to comment.