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
310
Railsの話をしよう
yahonda
0
280
RailsのPostgreSQL 18対応
yahonda
0
3.5k
Contributing to Rails? Start with the Gems You Already Use
yahonda
2
250
PostgreSQL 18 cancel request key長の変更とRailsへの関連
yahonda
0
320
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
Why is RC4 still being used?
tamaiyutaro
0
270
プライバシー保護の理論と実践
lycorptech_jp
PRO
1
230
なぜ人は自分のプロジェクトを 「なんちゃってアジャイル」と 自嘲するのか
kozotaira
0
230
技術・能力を向上する原理原則 #きのこセッションa #きのこ2026
bash0c7
0
190
トークン最適化のためのユーザーストーリー分析 / User Story Analysis for Token Optimization
oomatomo
0
160
Mastraエージェント、どのクラウドにデプロイする?
minorun365
PRO
2
130
5分でわかるDuckDB Quack
chanyou0311
4
300
AI時代における最適なQA組織の作り方
ymty
3
330
ご挨拶「10周年を迎える共創ラボのこれまでとこれから」
iotcomjpadmin
0
170
組織における AI-DLC 実践
askul
0
280
記録をかんたんに、提案をパーソナルに ── AIであすけんが目指すもの
oprstchn
0
110
水を運ぶ人としてのリーダーシップ
izumii19
4
1.2k
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
6k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
The Limits of Empathy - UXLibs8
cassininazir
1
380
Navigating Team Friction
lara
192
16k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
[SF Ruby Conf 2025] Rails X
palkan
2
1.1k
Designing for humans not robots
tammielis
254
26k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
190
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
380
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