I am working through the Ruby on Rails Tutorial (Rails5) by Michael Hartl in the AWS Cloud9 environment. I\'m finishing chapter 11 now. (new to programming as well)
It a
So I was able to fix this by:
Installing libcurl developer version:
sudo yum install libcurl libcurl-devel
Once that was complete I ran bundle update which now made it further in the install - to fail at this point Installing pg 0.20.0 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
Running sudo yum install postgresql-devel
resolved the pg 0.20.0 issue and I am now able to complete the bundle update and rails seems to be working again.
Rails server had an issue booting after all of this. This command got it working again: bin/rails db:migrate RAILS_ENV=development
After that the environment and rails all seems to be working fine again.