How To Secure Nginx with Let’s Encrypt on Ubuntu 20.04 Ref: www.rosehosting.com/blog/how-to-secure-nginx-with-lets-encrypt-on-ubuntu-20-04/
Initial Server Setup (Ubuntu)
Initial Server Setup with Ubuntu 20.04 Ref: www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-20-04 How To Install and Use Docker on Ubuntu 20.04 Ref: www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04 How To Install and Use Docker Compose on Ubuntu 20.04 Ref: www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04
Bundle install
Error: [!] There was an error parsing `Gemfile`: syntax error, unexpected string literal, expecting `do’ or ‘{‘ or ‘(‘ – gem ‘addressable’, ‘2.2.6’ ^ /home/ots/onetimesecret/Gemfile:7: syntax error, unexpected ‘,’, expecting end-of-input gem ‘addressable’, ‘2.2.6’ ^ . Bundler cannot continue. # from /home/ots/onetimesecret/Gemfile:7 # ——————————————- # gem ‘bundler’, ‘2.3.17’, > gem ‘addressable’, ‘2.2.6’ # […]
Bundle
Error during bundle install: “The –deployment flag requires a Gemfile.lock. Please make sure you have checked your Gemfile.lock into version control before deploying.” Solution: Remove BUNDLE_FROZEN: “true” from .bundle/config file and run bundle again. (remove the line from ~/.bundle/config)
Bundle install gets killed
It’s because you are running out of memory. Try adding more swap: www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04. Or bump up to a bigger droplet. Ref: www.digitalocean.com/community/questions/bundle-install-gets-killed
How To Add Swap Space on Ubuntu 20.04
www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-20-04
Check and fix Github SSH access
*Check access to Github* You should verify your connection by typing: |$ ssh -T git@github.com > Hi USERNAME! You’ve successfully authenticated…| Ref: docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey?platform=linux *Generating a new SSH key and adding it to the ssh-agent* Ref: docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent?platform=linux *Fix for SSH config: bad configuration option: usekeychain* Ref: www.unixtutorial.org/ssh-bad-configuration-option-usekeychain/ *Adding a new SSH key to your GitHub account* […]
How To Install Ruby on Rails with rbenv on Ubuntu 20.04
How To Install Ruby on Rails with rbenv on Ubuntu 20.04: Ref: www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-20-04 Rails versions: rubygems.org/gems/rails/versions/6.0.2
To fix installation problems with Ruby on Ubuntu 20.04
To fix installation problems with Ruby on Ubuntu 20.04 type: |RUBY_CONFIGURE_OPTS=–disable-install-doc rbenv install 3.1.2 –verbose | Ref: www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-20-04
Node.js versions / Installation instructions
github.com/nodesource/distributions/blob/master/README.md#debinstall