~/talk

How Does Bundler Work, Anyway?

Talkat RailsConf 2015 · 2015-04-21..04-23· [ruby, developer-experience]
slides:none on file

History shows how require setup.rb and rubygems lead to bundler which does two concrete things it resolves versions ahead of time using heuristics for an NP complete dependency problem so bundle install writes a Gemfile.lock and installs an isolated app gemset and bundle exec rewrites the load path to those exact versions avoiding activation errors. Rubygems hosts ~100000 gems and ~1000000 versions. Bin stubs remove the need to type bundle exec and a 1.1 protocol change speeds installs by about 50 percent.

AI-written summary · about

  1. 0:00Start
  2. 0:53@indirect
  3. 1:06CLOUD CITY DEVELOPMENT
  4. 2:25$ bundle install
  5. 3:11History
  6. 3:46it loads the codes
  7. 10:08ruby setup.rb setup ruby setup.rb config ruby setup.rb install
  8. 11:06use ruby libraries 1. Find a cool library 2. Download the library 3. Untar the library 4. Run 'ruby setup.rball
  9. 13:33gem install gem uninstall gem list rails
  10. 14:20gem install rails -v 4.1 gem install rails -v 4.2 gem install rails -v 5.0
  11. 14:52gem "rack", "1.0" require "rack"
  12. 16:32100,000 gems 1,000,000 versions
  13. 22:34how common can they be, really?
  14. 24:48the moral runtime resolution w install-time resolution
  15. 25:44how do we resolve at install-time?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.