Figaro Gem Config Issues

David Johnson

I'm trying to setup Figaro in Rails 4, but after setting up the correctly yaml as such

application.yml

aws_access_key_id:'#' 
aws_secret_access_key:'#' 
fog_directory:'#' 

CarrierWave.rb

CarrierWave.configure do |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 this error

`global_configuration': undefined method `reject' for #<String:0x007f9c7a0d9a80> (NoMethodError)

I've looked into similar problems but haven't found the right answer, the YAML worked on http://www.yamllint.com/

David Johnson

The yaml file is super sensitive and even though it passed on http://www.yamllint.com/, there was a formatting error it didn't catch

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Figaro Gem - Declare a variable for 2 environment

From Dev

ENV variables only available in production console, not in app -- Rails, Figaro Gem

From Dev

Uninitialized constant Project (NameError) in setting up Figaro gem

From Dev

Why is the Figaro gem working only if I use erb syntax?

From Dev

ENV variables only available in production console, not in app -- Rails, Figaro Gem

From Dev

Byebug gem configuraiton issues

From Dev

Ruby and Rails gem install issues

From Dev

'Bundle' issues with ruby gem 'gamebox'

From Dev

Error when pushing to Heroku: Figaro::MissingKeys: Missing required configuration keys: ["config.secret_key"]

From Dev

How to use the rails config gem?

From Dev

Figaro - syntax

From Dev

compass config issues on compilation / watch

From Dev

input json to logstash - config issues?

From Dev

Openvpn issues with routing and config pushing

From Dev

Sitecore, Solr, CommerceServer config issues

From Dev

noi4r gem install issues

From Dev

AWS EB with Docker, Node and Nginx Config Issues

From Dev

severals issues with my unit test config

From Dev

Is there a way to use figaro with foreman?

From Dev

jira-ruby gem limiting number of returned issues?

From Dev

Rails Masonry GEM issues with Bootstrap Tab-pane

From Dev

List all issues for a repo using github_api gem

From Dev

Ruby - Can I import a gem under an alias to avoid dependency issues?

From Dev

Where to place my environment dependent gem config in Rails 4?

From Dev

Require gem dependency for rails engine development (with bundler config.local)

From Dev

Figaro "undefined method `require_keys' for Figaro:Module (NoMethodError)"

From Dev

Passing function as argument in Scala/Figaro

From Dev

"Could not find generator figaro:install"

From Dev

Devise gem: what's the difference between config.remember_for and config.timeout_in?

Related Related

  1. 1

    Figaro Gem - Declare a variable for 2 environment

  2. 2

    ENV variables only available in production console, not in app -- Rails, Figaro Gem

  3. 3

    Uninitialized constant Project (NameError) in setting up Figaro gem

  4. 4

    Why is the Figaro gem working only if I use erb syntax?

  5. 5

    ENV variables only available in production console, not in app -- Rails, Figaro Gem

  6. 6

    Byebug gem configuraiton issues

  7. 7

    Ruby and Rails gem install issues

  8. 8

    'Bundle' issues with ruby gem 'gamebox'

  9. 9

    Error when pushing to Heroku: Figaro::MissingKeys: Missing required configuration keys: ["config.secret_key"]

  10. 10

    How to use the rails config gem?

  11. 11

    Figaro - syntax

  12. 12

    compass config issues on compilation / watch

  13. 13

    input json to logstash - config issues?

  14. 14

    Openvpn issues with routing and config pushing

  15. 15

    Sitecore, Solr, CommerceServer config issues

  16. 16

    noi4r gem install issues

  17. 17

    AWS EB with Docker, Node and Nginx Config Issues

  18. 18

    severals issues with my unit test config

  19. 19

    Is there a way to use figaro with foreman?

  20. 20

    jira-ruby gem limiting number of returned issues?

  21. 21

    Rails Masonry GEM issues with Bootstrap Tab-pane

  22. 22

    List all issues for a repo using github_api gem

  23. 23

    Ruby - Can I import a gem under an alias to avoid dependency issues?

  24. 24

    Where to place my environment dependent gem config in Rails 4?

  25. 25

    Require gem dependency for rails engine development (with bundler config.local)

  26. 26

    Figaro "undefined method `require_keys' for Figaro:Module (NoMethodError)"

  27. 27

    Passing function as argument in Scala/Figaro

  28. 28

    "Could not find generator figaro:install"

  29. 29

    Devise gem: what's the difference between config.remember_for and config.timeout_in?

HotTag

Archive