The cloudinary.yml file includes the settings for the different environments of Rails (development, production, test).
The recommended option is to define the 'CLOUDINARY_URL' environment variable. Alternatively, the configuration can be defined programatically in Sinatra initialization code as explained here:
Cloudinary.config do |config|
config.cloud_name = 'sample'
config.api_key = '874837483274837'
config.api_secret = 'a676b67565c6767a6767d6767f676fe1'
config.cdn_subdomain = true
Please sign in to leave a comment.