Problem with PG gem
siba2893 opened this issue · 3 comments
siba2893 commented
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 commented
See #16 (comment)
siba2893 commented
Got it makes sense.
carldaws commented
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.