Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
私のRails開発環境
Search
Yasuo Honda
November 29, 2025
Technology
240
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
私のRails開発環境
Yasuo Honda
November 29, 2025
More Decks by Yasuo Honda
See All by Yasuo Honda
PostgreSQL 18のNOT ENFORCEDな制約とDEFERRABLEの関係
yahonda
1
320
Railsの話をしよう
yahonda
0
280
RailsのPostgreSQL 18対応
yahonda
0
3.6k
Contributing to Rails? Start with the Gems You Already Use
yahonda
2
250
PostgreSQL 18 cancel request key長の変更とRailsへの関連
yahonda
0
330
extensionとschema
yahonda
1
360
NOT VALIDな検査制約 / check constraint that is not valid
yahonda
1
300
今、始める、第一歩。 / Your first step
yahonda
3
1.5k
RailsのPull requestsのレビューの時に私が考えていること
yahonda
11
8.5k
Other Decks in Technology
See All in Technology
AI時代におけるエンジニアの新たな役割──FDEとクオリアの探求/登壇資料(戸井田 裕貴)
hacobu
PRO
0
620
脱Jenkins、インターン生が挑んだCIツールGitHubActions移行
mixi_engineers
PRO
1
240
論語・武士道・産業革命から見る かわるもの、かわらないもの
ichimichi
8
1.5k
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/aidevday2026
thara0402
0
120
AIで楽になるはずが、なぜ疲れる?
kinopeee
0
130
人依存からAIネイティブの体制へ:バックエンド開発の裏側【SORACOM Discovery 2026】
soracom
PRO
0
120
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
53k
AIエージェントがあれば技術書なんてすぐ書けるでしょ→無理でした
watany
6
1.1k
Webアプリ認証の全体像 / The Big Picture of Web App Authentication
kitano_yuichi
1
480
データエンジニアこそ組織のオントロジーに向き合うべき — 問いに答えるAIから、事業を動かすAIへ
gappy50
4
1.1k
AI エージェント時代のデジタルアイデンティティ
fujie
0
980
AI時代の開発生産性を捉え直す — 経営と現場をつなぐ「開発組織のオブザーバビリティ」— / AI Dev Ex Conference 2026
tkyowa
1
1.9k
Featured
See All Featured
Building Adaptive Systems
keathley
44
3.1k
Code Reviewing Like a Champion
maltzj
528
40k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Everyday Curiosity
cassininazir
0
260
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
520
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
A designer walks into a library…
pauljervisheath
211
24k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
220
The Limits of Empathy - UXLibs8
cassininazir
1
560
Designing for Performance
lara
611
70k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Transcript
私の Rails 開発環境 Yasuo Honda TokyuRuby 会議 16 - Nov
29, 2025 #tqrk16 1
Yasuo Honda @yahonda Rails Committer Maintainer of Active Record Oracle
enhanced adapter Find me on: GitHub: https://github.com/yahonda X: https://x.com/yahonda Bluesky: https://bsky.app/profile/yahonda.bsky.social Mastodon: https://mastodon.social/@yahonda 2
Railsフレームワーク開発環境の話です Railsアプリケーション開発環境の話ではありません 表記されているバージョンは2025年11月28日現在です 3
Development Containers https://guides.rubyonrails.org/contributing_to_ruby_on_rails.html#using-vs-code- remote-containers macOS Tahoe 26.1 (Apple M1 Max)
/ Docker Desktop / Visual Studio Code Debian 13 "trixie" ベースのイメージ (amd64とarm64が存在) Ruby 3.4.7 MySQL clientはMariaDBのもの mysql from 11.8.3-MariaDB, client 15.2 for debian-linux-gnu (aarch64) using EditLine wrapper postgres:latest (18.1) / mysql:latest (9.5.0 Innovation) 最初のRails開発環境としてお勧めします 4
Development Containers環境の最近の修正 MariaDBなmysqlクライアントとMySQL Server接続のためにTLSを無効 https://github.com/rails/rails/pull/56176 MySQLなmysqlクライアントにしなかった理由 https://dev.mysql.com/downloads/mysql/ ではDebian 13はx86_64のみでarm64 版のクライアントがない
macOSのDocker Desktopではファイル共有に gRPC FUSE を利用する FileUpdateChecker を修正、テストしない場合はデフォルトのVirtioFSで良い https://github.com/rails/rails/issues/54619 Debian 13 "trixie"で分離した tzdata-legacy パッケージを追加 https://github.com/rails/rails/pull/56066 5
rails-dev-box https://guides.rubyonrails.org/contributing_to_ruby_on_rails.html#using-rails-dev- box VirtualBox Vagrant Ubuntu 24.04以降、公式Vagrantのboxが提供されないこともあり更新停止中 https://github.com/rails/rails-dev-box/issues/215 Apple Apple
silicon対応はないとされていたが、Virtual Box 7.1から対応 最近は全く使っていない 6
macOS as host macOS Tahoe 26.1 (Apple M1 Max) Homebrew
for macOS brew bundle で Brewfile に記録されたパッケージがインストールされる https://github.com/rails/rails/blob/main/Brewfile mysql2 gemのインストール --with-ldflags=-L/opt/homebrew/opt/zstd/lib" が必要など あまり使ってない 7
macOS as client これから紹介するLinux環境(いわゆるミニPC)へのクライアントとして利用 Tailscale/MagicDNSを通じて自宅でも外出先でも同じホスト名で接続 Visual Studio Code の Remote-SSH
extension https://code.visualstudio.com/docs/remote/ssh 8
Rails開発環境に必要なこと Rubyのmasterブランチで任意のコミットでビルドできること git bisectして問題が発生するcommit特定のため Rails CIが利用しているのと同じOSであること DebianとUbuntu PostgreSQLのmasterブランチをビルドできること PostgreSQL新機能の対応やregressionの確認など MariaDB,MySQL
LTS/Innovationなどが利用できること データベースのバージョンの違いによる差異を確認するため 9
Ubuntu 25.10 https://guides.rubyonrails.org/development_dependencies_install.html#ubuntu AMD Ryzen 9 7940HS Ruby master branchは
mise https://mise.jdx.dev を通じてインストール https://techlife.cookpad.com/entry/2015/12/09/163746 を参考にtrunkという名称 Rails Nightly CIがredになったらgit bisectごとにRubyをビルドする https://buildkite.com/rails/rails-nightly メインの開発環境 10
Debian 13 "trixie" https://guides.rubyonrails.org/development_dependencies_install.html#debian Intel(R) N100 "2.2.4. MariaDB replaces MySQL"
https://www.debian.org/releases/stretch/amd64/release-notes.en.txt MariaDBの新しいバージョンが出る時やUbuntuとの差異を確認するため利用 11
MariaDB環境の最近の修正 MariaDB 11.6.2, 11.7.1から innodb_snapshot_isolation のデフォルトが ON Railsフレームワークのテストをする際はOFFに https://github.com/rails/rails/issues/53727 MariaDB
12.1.1から外部キーのエラーメッセージが変更 https://github.com/rails/rails/pull/56121 12
Fedora 43 Intel(R) Core(TM) i5-6260U (だいぶ昔) MySQL 8.4.6 LTS LTSとInnovationの際を確認
PostgreSQL master branch (PostgreSQL 19devel)ビルドのため利用 https://www.slideshare.net/slideshow/postgresql-meson-build-pgunconf39- nttdata/255944951 を参照 https://kaigionrails.org/2025/talks/yahonda/#day1 のPostgreSQL 18対応もこの環 境 13
FFmpeg (not distribution) Active Storage がffprobeをビデオファイルのメタデータを取得するために利用している ディストリビューションのバージョンが上がり、FFmpegのバージョンが上がることも ある バージョンごとにメタデータのフォーマットが変わるため不安定 https://github.com/rails/rails/issues/49650
https://github.com/rails/rails/issues/50924 14
Omarchy https://omarchy.org Arch Linux + Hyprland AMD Ryzen 7 7735HS
(ThinkPad E14) Hyprlandありきの環境なのでノートPC Arch Linuxの手順でRailsフレームワーク開発環境として利用可能 https://guides.rubyonrails.org/development_dependencies_install.html#arch-linux PostgreSQLのinitdbの手順が不足していたので追加 https://github.com/rails/rails/pull/56178 動作確認は https://www.vultr.com でArch Linux環境を構築している インストールは4分51秒(LTに間に合う) 15
End 16