-
Quiet “Don’t run bundler as root” warnings, Bundler >= 2.3.7
Silence “Don’t run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.” warning
-
I forgot how much setup was required to…
I forgot how much setup was required to go from a base Ubuntu install to bundling and running ruby things: “mkmf.rb can’t find header files for ruby” and other header files messages with bundler… new to also install ruby-dev with your ruby package install in Ubuntu On Ubuntu… need the following: apt-get install -y ruby…
-
Time zone conversion cheat sheet at the shell with Ruby
Why would you need a command line time zone conversion? Imagine that you’re troubleshooting a problem. Add that your team is distributed across multiple timezones. Now add that database times are generally recorded in UTC, but your alerting all displays in local time. If you’re trying to pinpoint when an event happened and comparing notes…