imagekit-developer / imagekit-ruby

Ruby On Rails SDK for ImageKit.io API.
https://imagekit.io
MIT License
19 stars 9 forks source link

can not initialize the Gem #37

Closed HeshamMagdy97 closed 2 years ago

HeshamMagdy97 commented 2 years ago

when trying to config /config/initializers/imagekitio.rb with

ImageKitIo.configure do |config|
  if Rails.env.development?
    config.public_key = 'your_public_api_key'
    config.private_key = 'your_private_api_key'
    config.url_endpoint = 'https://ik.imagekit.io/your_imagekit_id/'
  end
  config.service = :active_storage
end

I got uninitialized constant ImageKitIo (NameError)

Any Help?

bishosilwal commented 2 years ago

What is the imagekitio gem version?

HeshamMagdy97 commented 2 years ago

What is the imagekitio gem version?

1.0.9

bishosilwal commented 2 years ago

Please use latest version > 2.0.0