Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gem load fix #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Gem load fix #39

wants to merge 1 commit into from

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