Author: Ryan Sukale

0

Rvm install fails due to errors in apt-get update

Your RVM installation is failing because apt-get update has errors. The simplest way to fix this is 1) Identify the errors during apt-update sudo apt-get update | grep “Failed” 2) Comment out the failing...

1

How to completely uninstall docker from ubuntu

If you need a fresh start and completely uninstall docker, just run the following commands[source]. sudo apt-get purge docker-engine sudo apt-get autoremove –purge docker-engine rm -rf /var/lib/docker # This deletes all images, containers, and...

0

How to see the sql statements for rails commands

Just type the following command in your rails console to see the sql output of your rails commands ActiveRecord::Base.logger = Logger.new(STDOUT) NOTE: You will probably have to do this for every session. To avoid that, add...