Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gh394] Remove the Figaro gem dependency - Andy changes #411

Conversation

andyduong1920
Copy link
Member

close #

What happened 👀

Provide a description of the changes this pull request brings to the codebase. Additionally, when the pull request is still being worked on, a checklist of the planned changes is welcome to track progress.

Insight 📝

Describe in detail why this solution is the most appropriate, which solution you tried but did not go with, and how to test the changes. References to relevant documentation are welcome as well.

Proof Of Work 📹

Show us the implementation: screenshots, GIFs, etc.

@andyduong1920 andyduong1920 self-assigned this Jun 12, 2023
@andyduong1920 andyduong1920 force-pushed the feature/gh394-remove-figaro-gem-dependency-andy branch from c206733 to 07b67f5 Compare June 12, 2023 16:59
@andyduong1920 andyduong1920 force-pushed the feature/gh394-remove-figaro-gem-dependency-andy branch from f4df671 to ac3f64f Compare June 13, 2023 03:17

if rails_env == 'production'
# Read the contents of the .env file
File.readlines('.env.development.local.example').each do |line|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

@andyduong1920 andyduong1920 Jun 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried the env_file but not sure why the ENV can't find there...still need time to figure out @olivierobert :D

# And it requires the envs as we always use `ENV.fetch` to setup the variables
#
# Related issue: https://github.com/rails/rails/issues/32947
# TODO: https://github.com/nimblehq/rails-templates/issues/326
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically, DHH gave a solution that works with a dummy key: rails/rails#32947 (comment)

@malparty malparty added this to the 5.7.0 milestone Jun 22, 2023
@andyduong1920
Copy link
Member Author

I'm closing this PR as we might not need to remove the figaro way as the new figaro fork solved the issue #419

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants