Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.08 KB

Ruby.md

File metadata and controls

21 lines (17 loc) · 1.08 KB

Chruby / ruby-install

TODO

  • Manager: gem (Ruby) - hooks/packages/rubygems

  • Ruby Version Changer: chruby

    • because system versions of ruby are often EOL-ed
    • because it's simple (~100 LoC, making it much easier to troubleshoot)
    • because it offloads installation to another tool: ruby-install
    • because it leans into the sandboxing features already built into tools like rubygems and bundler (unlike rvm)
    • because it points directly to executables instead of using shims (unlike rbenv)
    • because it optionally obeserves directory-specific configurations (.ruby-version)
    • because releases are signed with GPG keys
  • Feature: gem installs to directory in user space, so no sudo is required for install

  • bundle search to search within every gem and dependency in a Gemfile

  • catch-gem-failures to fix issues on bundle install with Try: gem pristine some_gem --version 0.3.2 errors