ruby on rails - Figaro Gem Config Issues -
i'm trying setup figaro in rails 4, after setting correctly yaml such
application.yml
aws_access_key_id:'#' aws_secret_access_key:'#' fog_directory:'#'
carrierwave.rb
carrierwave.configure |config| config.fog_credentials = { provider: "aws", # required aws_access_key_id: env["aws_access_key_id"], # required aws_secret_access_key: env["aws_secret_access_key"], # required } config.fog_directory = env["fog_directory"] # required end
i keep getting error
`global_configuration': undefined method `reject' #<string:0x007f9c7a0d9a80> (nomethoderror)
i've looked similar problems haven't found right answer, yaml worked on http://www.yamllint.com/
the yaml file super sensitive , though passed on http://www.yamllint.com/, there formatting error didn't catch
Comments
Post a Comment