Tag: ruby

  • 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…

  • Some detailed information on how irb works and…

    Some detailed information on how irb works and configuration options possible: https://docs.ruby-lang.org/en/3.0/IRB.html Predefined global variables https://docs.ruby-lang.org/en/3.0/globals_rdoc.html