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

Problem with PG gem #24

Closed
siba2893 opened this issue Mar 24, 2023 · 3 comments
Closed

Problem with PG gem #24

siba2893 opened this issue Mar 24, 2023 · 3 comments

Comments

@siba2893
Copy link

siba2893 commented Mar 24, 2023

If trying to create a rails app from scratch using the --database=postgresql flag it will run into an error where the pg gem wont install because it lacks of a psql installation.

@durierem
Copy link
Contributor

See #16 (comment)

@siba2893
Copy link
Author

Got it makes sense.

@carldaws
Copy link

For anyone interested in using other databases / javascript options from the beginning in a Dockerized Rails app, I wrote a bash script which should do the trick. It uses dockerfile-rails to generate a compose file, which it then copies and edits to provide the dev enviroment.

@rafaelfranca rafaelfranca closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2023
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

No branches or pull requests

4 participants