-
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…
-
Handling
-
Solaris dependency issues: No version matching ‘require’ dependency can be installed and pkgmogrify
Errors with installing a Solaris p5p package Say you’re packaging a package for Solaris yourself and you need to install it on a slightly older machine than where it was built. When running a sudo pkg install -g myinstall.p5p myinstall , you run into the following errors: pkgdepend resolve Per the documentation above, this command…