Tag: ruby

  • TIL https en wikipedia org wiki Billion laughs…

    TIL https://en.wikipedia.org/wiki/Billion_laughs_attack Looks like Nokogiri is too simplistic (by default) to be affected, but the Psych parser in Ruby isn’t so lucky (if you expand to ruby objects, of course… it parses to a Psych object just fine.)

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