Code, Strings, and Keys

    • About Thomas Powell
    • Account
    • It’s been [0] days since [program] last updated
    • Login
    • Password Reset
    • Pianist / Accompanist / Music Director Resume
    • Reading List 2025
    • Register
    • Running Gear – Shoes, Treadmill, and Bandages
    • Site Map
Illustration of a bird flying.
  • gem install no implicit conversion of String into Integer

    Here’s a puzzle You’re coming back to your ruby environment after a hiatus doing other programming things and doing a basic gem install produces something like the following with doing any gem install operation SSL Verify Mode in the .gemrc The ~/.gemrc file had a setting on the problem environment for ssl_verify_mode, but it turned…

    December 27, 2024
  • gem environment, or where are my gems being loaded from, etc.

    Ever have a problem with the wrong gem loading or the gem you’re expecting not being found? You can use the gem environment command to output various information about the RubyGems environment: If you export GEM_PATH=/path:/path2… those paths will be added to the GEM You can also see the remote sources, and the gem configuration…

    December 16, 2024
  • Extending Immediate Types and Source Locations in Ruby

    Overridding singleton classes of instances In Ruby, most types allow you to open up their singleton classes to override instance methods: Immediate values Some objects are implemented as immediate values in Ruby, and cannot be implemented have singleton methods defined on them directly: Fixnum, true, nil, and false are implemented as immediate values. With immediate values, variables hold the…

    December 2, 2024
←Previous Page
1 … 3 4 5 6 7 … 312
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress