No Sudo for You!
summary
Argues against using sudo for Ruby development and shows concrete replacements: avoid sudo gem install by using rvm gemsets per project and reinstalling Rubies when broken, manage system libraries with homebrew in /usr/local instead of macports, and keep a small global gemset for tools like hitch gem authorship. Demo compiles and runs multiple Ruby versions, runs specs under rvm (some failures appear then get fixed), and shows brew installs for imagemagick postgres mongodb working without root.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 2:10Avoid sudo in dev
- 4:37Sudo problems in Ruby
- 6:29Homebrew as package manager
- 8:18Ruby dev essentials
- 9:21Ruby Version Manager and its benefits
- 12:12Live demo RVM and gems
- 19:07Gem sets across Ruby versions
- 24:56Troubleshooting RVM
- 25:41Homebrew packages
- 26:53Dev setup guide
- 28:20Multi-user dev without sudo
- 31:07Global and project gems
- 32:40Q&A
related talks
35mPEACE: Programming Expertly Amid Corporations & Enterprises
11mLocking It Down with Ruby & Lockfiles
33mUsing Ruby to Automate Your Life
40mRuby's Environment Variable API
30mUsing Ruby to Automate Your Life
48mPolishing Rubygems
54mBuilding and Managing a Ruby Infrastructure
39mContainerizing Local Development... Is It Worth it?
