Questions tagged [figaro-ruby]

Figaro is a Rails app configuration library.

Figaro is a configuration library that exposes configuration data, stored in application.yml file or in environmental variables pre-loaded in Ruby's ENV object, to the Rails app. It is inspired by the Twelve-factor app methodology.

Questions should mostly be about the library itself or its integrations in apps.

External resources:

Related tags: ,

53 questions
0
votes
0 answers

Unable to access Figaro variables in engine.rb

This is my engine.rb file. I am able to access Figaro variable in the middleware. But the Stripe.api_key=Figaro.env.stripe_secret is not working. Stripe api_key not set error is being shown . module Stripo require 'figaro' class…
raj
  • 5,989
  • 7
  • 30
  • 62
0
votes
0 answers

How to share protected credentials with team members?

If you use Figaro or dotenv in your Rails app to ensure private credentials never get pushed source control how do you share that information with team members? For example, if I bring in a new team member tomorrow she won't be able to start…
RobertJoseph
  • 7,968
  • 12
  • 68
  • 113
0
votes
0 answers

Rails app figaro gem - application file gets deleted on each deploy

I am using figaro gem to store my environment variables in both deployment and production environments. However on each deploy the production application.yml file gets deleted (which I create manually, because my development application.yml is…
mohnstrudel
  • 639
  • 8
  • 22
0
votes
1 answer

rails figaro database configuration is not working

I am using rails figaro with the following variables. DEFAULT_URL_HOST: 'localhost' DATABASE_URL: "postgresql://localhost/database_name?user=database_user" When I am trying to run the server I am getting fe_sendauth: no password supplied the…
user3814030
  • 1,263
  • 3
  • 20
  • 37
0
votes
2 answers

Installed Figaro, but can't see config/applicaton.yml in terminal

So I put figaro into my Gem file and did a bundle install, but when I try to go to my config/application.yml file it is not there. Any idea why it would download figaro and not install that file. Also, this isn't the first time I have downloaded a…
0
votes
2 answers

S3, Fog, Figaro, Carrierwave: Excon::Errors::Forbidden (Expected(200) <=> Actual(403 Forbidden)

I'm using Carrierwave/Fog/S3 with Figaro to upload images for a yelp-style site. The entire site works beautifully locally, no problems. And on heroku, it works great, too, until I create a new restaurant with an image or try to update the image on…
Sue
  • 5
  • 5
0
votes
1 answer

Change Figaro gem environment variables heroku

I'm developing an app for a client. I wanted to be able to get it up and running, so I used my own API keys for Facebook and Google (also for Amazon AWS) so that they could at least see how it looked before they created their accounts on those same…
0
votes
1 answer

Twitter Rails gem "Unable to verify your credentials", Initializer not working

I'm using the Twitter Gem and Figaro but my credentials aren't being stored. Here's my setup: config/initializers/twitter.rb client = Twitter::REST::Client.new do |config| config.consumer_key = ENV["TWITTER_CONSUMER_KEY"] …
1 2 3
4