表参道.rb #42

表参道.rb #42 に行った。会場は外苑前のビジネスバンクグループさん。

omotesandorb.connpass.com

テーマが Ruby 2.6 ということで、@okuramasafumi は例外の cause に関するコードを使ったプレゼン、@Kirika_K2Ruby 2.6 以上を要求する Gem の調査とその結果として RubyVM::AbstractSyntaxTree を使った Gem の台頭に関する話、うなすけメンバー は Docker イメージの話といった内容が話されていた。

自分は Ruby 2.6 そのものの機能はいろいろなところで取り上げられたりしているので、そこから少し外して『Beyond Ruby 2.6.0』というタイトルを銘打ちつつもその実は "ちょっと先" の話などをしていた。

f:id:koic:20190114212921j:plain:w400

本会の1時間前に申し込んで、タブブラウザを切り替えて話すという形で話した。以下ざっくりと話したこと。

  • RubyGem 3.0 と Bundler 2.0 がリリースされているのでアップグレードしていきましょうというのと、それぞれのアップグレードの方法について
  • Travis CI で Bundler 2.0 のあるエラーが起きた時の対処について
  • 平成の終わりについて U+32FF のコードポイント
  • 平成の終わりにある RailsConf 2019
  • ちょうど当日にコメントされた Ruby 3.0 での frozen-string-literals の default について検討されていた件のお見送りについて

会場には Matz がおられて特に最後の項目について話を伺えたり、いろいろと雑談の機会を得ることができた。

最後、おまけに発表の30分くらい前に macOS 向けに書いたスクリプトは以下。

[
  # About me
  'https://twitter.com/koic',
  # RuboCop contributors 2018
  'https://github.com/rubocop-hq/rubocop/graphs/contributors?from=2018-01-01&to=2018-12-31&type=c',
  # Rails Developers Meetup 2018
  'https://railsdm.github.io/',
  # Rails/OSS patch meetup
  'https://blog.agile.esm.co.jp/entry/rails-oss-patch-meetup-20190124',
  # RubyGems 3.0 / Bundler 2.0
  'http://koic.hatenablog.com/entry/update_rubygems_and_bundler_via_http',
  # --no-rdoc option and --no-ri option are removed in RubyGems 3.0
  'https://github.com/yahonda/rails-dev-box/pull/32',
  # Travis CI
  'http://koic.hatenablog.com/entry/ruby-2-2-or-lower-with-gem-install-bundler-on-travis-ci',
  # Ruby 2.6.1 and 2.6.2
  'https://twitter.com/hsbt/status/1077879542256029697',
  # Ruby 2.6.2 (Maybe)
  'https://twitter.com/mametter/status/1078459004404158464',
  # U+32FF
  'https://32ff.info/',
  # RailsConf 2019
  'https://railsconf.com/',
  # Developers Meetup
  'https://docs.google.com/document/d/1W_wrFsFxxU1MepA6HBpfl-9h-nLD8EBsgMsS7yTDvHE/edit',
  # About frozen-string-literals default
  'https://bugs.ruby-lang.org/issues/11473#note-53',
  # RubyKaigi 2019
  'https://rubykaigi.org/2019',
  # Ruby 2.7
  'https://twitter.com/k0kubun/status/1077564205581008896',
  # Ruby 2.7.0-dev
  'https://github.com/rbenv/ruby-build/pull/1270',
  # おまけ
  'https://twitter.com/y_yagi/status/1077884294574395392',
  'https://twitter.com/kamipo/status/1077889915063459841'
].reverse_each do |url|
  `open #{url}`
end

楽しかったです。ありがとうございました。