The error messages references a line in the gem, but I'm suspecting my trouble lay in my .yml
file, which is here (with phony ids)
S3_KEY:ANGELINAANGELINA
S3_SECRET:becaUSEILIKEherthatiswhy
S3_BUCKET:nameofmybucket
/home/tom/.rvm/gems/ruby-2.1.0/gems/figaro-0.7.0/lib/figaro.rb:39:in flatten': undefined method
reject' for # (NoMethodError
)
Well if you're just handing out green checks... I'll take one! :)
Parsing error, have a space after each :
Figaro doesn't parse tab space either. That means that if you want any indentation, you will need to use single spaces. You can use an online parser to validate your code and play around. Here's one: http://www.yamllint.com/
S3_KEY: ANGELINAANGELINA
S3_SECRET: becaUSEILIKEherthatiswhy
S3_BUCKET: nameofmybucket
Terminal : figaro install, To create the yml file and use the above format
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With