Skip to content

Comments

Gem load fix#39

Open
duhast wants to merge 1 commit intofog:masterfrom
duhast:fix
Open

Gem load fix#39
duhast wants to merge 1 commit intofog:masterfrom
duhast:fix

Conversation

@duhast
Copy link

@duhast duhast commented Aug 30, 2022

Fixes an exception during gem load:

Uncaught exception: wrong constant name CDN v2
	/home/duhast/.rvm/gems/ruby-2.7.6@mpsweb/gems/fog-core-2.3.0/lib/fog/core/provider.rb:48:in `const_defined?'
	/home/duhast/.rvm/gems/ruby-2.7.6@mpsweb/gems/fog-core-2.3.0/lib/fog/core/provider.rb:48:in `service_klass'
	/home/duhast/.rvm/gems/ruby-2.7.6@mpsweb/gems/fog-core-2.3.0/lib/fog/core/provider.rb:37:in `service'
	/home/duhast/.rvm/gems/ruby-2.7.6@mpsweb/gems/fog-rackspace-0.1.6/lib/fog/rackspace.rb:54:in `<module:Rackspace>'
	/home/duhast/.rvm/gems/ruby-2.7.6@mpsweb/gems/fog-rackspace-0.1.6/lib/fog/rackspace.rb:28:in `<module:Fog>'
	/home/duhast/.rvm/gems/ruby-2.7.6@mpsweb/gems/fog-rackspace-0.1.6/lib/fog/rackspace.rb:10:in `<top (required)>'
	/home/duhast/.rvm/gems/ruby-2.7.6@mpsweb/gems/bundler-1.17.3/lib/bundler/runtime.rb:95:in `require'

@duhast
Copy link
Author

duhast commented Aug 30, 2022

However, even after the fix, the following warning appears:

[fog][DEPRECATION] Unable to load Fog::Rackspace::Databases
[fog][DEPRECATION] Falling back to deprecated constant Fog::Databases::Rackspace. The preferred format of service provider constants has changed from service::provider to provider::service. Please update this service provider to use the preferred format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant