Troubleshooting - portagenetwork/roadmap Wiki
The following are a series of common issues people have encountered. Please let us know if you find solutions to other issues that may be useful to the community.
1. pg Installation Error
If you find
pg gem cannot be installed after running
bundle install command, make sure you have PosgreSQL and/or its binary package installed on your machine.
For example, in Ubuntu 20, you need to run
sudo apt-get install postgresql libpq-dev first.
2. Cannot Edit Secret
EDITOR="Your_Favorite_Editor --wait" bin/rails secrets:edit could just resulting in some message in terminal without opening your favorite editor.
This could happens if you don't set up your editor correctly on your machine. Try
Your_Favorite_Editor such as
code in terminal to verify your editor could be open smoothly.
1. The page isn’t redirecting properly Error
After you finish the installation process and open the
localhost:3000 for the first time, you might see a
The page isn’t redirecting properly Error error message in your browser. This could be a reminder that your
RECAPTCHA_SECRET_KEY environment variables is not set properly.
.env file for the
RECAPTCHA_SECRET_KEY variables. After assigning the correct value, restart your server to solve this problem.