I'm trying to run the following code for a Ruby On Rails Bootcamp Course but when running the 3rd step to create the rails new app it returns the errors shown below:
1st step - docker run --rm --user "$(id -u):$(id -g)" -v $(pwd):/usr/src -w /usr/src -ti ruby:2.5.1 bash
2nd step - gem install rails 5.2
3rd step - rails new OneBitExchange --database=postgresql --skip-bundle
exit
cd OneBitExchange
and then returns the following errors as shown on the prints below:




I'm trying to run the following code for a Ruby On Rails Bootcamp Course but when running the 3rd step to create the rails new app it returns the errors shown below:
1st step - docker run --rm --user "$(id -u):$(id -g)" -v $(pwd):/usr/src -w /usr/src -ti ruby:2.5.1 bash
2nd step - gem install rails 5.2
3rd step - rails new OneBitExchange --database=postgresql --skip-bundle
exit
cd OneBitExchange
and then returns the following errors as shown on the prints below:



