Comments (7)
Thanks for pointing that out. Could you please submit a pull request?
from figaro.
Do you plan to work on this? If not, I can when I'm free (someday)!
from figaro.
Sorry, I forgot about this one :) Well, I won't have the time to code until early March (vacation, yeah!).
from figaro.
I just noticed this issue mentions the same redundant key as issue #35.
from figaro.
With pull request #39, at least for Rails apps, the Figaro Rake task you mention (rake figaro:heroku
) works, without setting either RAILS_ENV or RACK_ENV as Heroku config keys.
To enable pure Rack apps, the Figaro Rake task code could use RACK_ENV instead. I tried this, and it worked:
$ heroku run "echo \$RACK_ENV"
Running `echo $RACK_ENV` attached to terminal... up, run.6334
production
from figaro.
Figaro isn't intended for pure Rack apps. The new way in which Figaro looks for your remote Rails.env
(as of v0.6.2) should properly read RAILS_ENV
from Heroku.
from figaro.
@laserlemon Makes sense, this is a nice compromise. Thank you!
from figaro.
Related Issues (20)
- figaro prevents rake tasks from working in ruby 2.3.2 and rails 5.0.2 HOT 2
- Dynamically load development or test default values HOT 2
- Can't push application.yml keys to heroku
- figaro heroku:set => “Could not find command heroku:set” HOT 1
- Using with docker and ENV.fetch HOT 1
- ar
- Override contents of generated `application.yml`
- Figaro 2 HOT 3
- Options for Figaro on Elastic BeanStalk HOT 2
- Not working HOT 1
- Environment variables in config/keycloak.yml files, not supported?
- Herarchical structure
- Project status? HOT 15
- Remove escape characters when loading environment values
- Rails and heroku failing tests
- Any npm packages that could use the same secrets? HOT 4
- Starting Rails app through `foreman` doesn't load ENV vars on `config/puma.rb` file
- What do you think about HashiCorp Vault integration?
- `visit_Psych_Nodes_Alias': Unknown alias: shared (Psych::BadAlias) error with ruby 3.1 HOT 3
- Project status (2022) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from figaro.