-
Codecast: Install RVM and Ruby with Troubleshooting
In this setup and configuration codecast, Mike installs RVM, Ruby 2.7 and Ruby 3.0 on a new Ubuntu 20.04 desktop. This video covers: 0:02:06 – Install gpg2 0:02:37 -Import the RVM GPG keys 0:02:44 -Add the RVM PPA 0:03:58 -Install RVM 0:04:36 -Add user to the RVM group (or by specific username if not the…
-
Codecast: Create a RubyGem 26: Goodbye, Travis! Hello GitHub Actions!
This is the 26th video in the NerdDice create a RubyGem series. Things didn’t work out with Travis, so Mike finds another CI tool and settles on GitHub actions due to its wide adoption on the most frequently downloaded gems. After an unsuccessful attempt to add the plugin via the command line, Mike is able…
-
Codecast: Create a RubyGem 23: Release version 0.2.0 of the gem
This is the 23rd video in the NerdDice create a RubyGem series. In this video, Mike puts the finishing touches on version 0.2.0, ensures the CHANGELOG is up-to-date, updates dependencies, and handles the build, push, and tag of the gem. This video covers: 00:00:12 Introduction 00:00:48 Troubleshoot bundling the gem. Use gem build instead of…
-
Codecast: Create a RubyGem 21: Change total_dice to use keyword arguments
This is the 21st video in the NerdDice create a RubyGem series. In this video, Mike improves the user experience by converting the options of the :total_dice method from a default empty hash argument to keyword arguments by using the Hash de-reference (or double-splat) operator. This affords the user more flexibility in how they invoke…
-
Codecast: Create a RubyGem 20: Change bonus option to use duck-typing
This is the 20th video in the NerdDice create a RubyGem series. In this video, Mike makes life a little easier on the future users of the gem by using Ruby’s powerful “duck-typing” (if it looks like a duck, and it quacks like a duck…) feature for the :total_dice bonus option. Instead of checking to…
-
Codecast: Create a RubyGem 19: End of an Epic – Finish the configurable generator story
This is the 19th video in the NerdDice create a RubyGem series. In this video, Mike finishes up getting all of the RSpec scenarios passing, updates the README, updates the CHANGELOG, fixes RuboCop offenses, opens a pull request, merges it, and closes the story. This resolves the issue (that was more of an epic than…
