Installing ruby on rails on windows from Ubuntu bash
-
(Optional) Install PogreSQL
-
Install ruby + rails
-
If you install rails 6+, you need to install yarn.
Error: You must install at least one postgresql-client-<version> package
Solution:
sudo apt-get install postgresql-client
No pg_config... trying anyway. If building fails, please try again with --with-pg-config=/path/to/pg_config
Solution:
sudo apt-get install postgresql-client libpq5 libpq-dev
gem install pg