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

Read More >

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’  #  […]

Read More >

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)

Read More >

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

Read More >

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* […]

Read More >