Can't run rails app having Chamber gem

keys
envars

#1

I can’t set proper CHAMBER_KEY environment variable in Circle CI
Re: https://github.com/thekompanee/chamber/issues/42

In the case of Circle, because it’s never exposed to the repo, we can put CHAMBER_KEY with the value of our private .chamber.pem file.

I used this in my local machine and works well

bash-3.2$ export CHAMBER_KEY="-----BEGIN RSA PRIVATE KEY-----
>...
> -----END RSA PRIVATE KEY-----"

But it errors out in Circle CI with the same https://circleci.com/bb/insuranceco/insurance/edit#env-vars saying
OpenSSL::PKey::RSAError: Neither PUB key nor PRIV key:

Anything I’m doing wrong?


#2