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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yasuo Honda
November 29, 2025
Technology
230
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
290
Railsの話をしよう
yahonda
0
270
RailsのPostgreSQL 18対応
yahonda
0
3.3k
Contributing to Rails? Start with the Gems You Already Use
yahonda
2
240
PostgreSQL 18 cancel request key長の変更とRailsへの関連
yahonda
0
320
extensionとschema
yahonda
1
350
NOT VALIDな検査制約 / check constraint that is not valid
yahonda
1
290
今、始める、第一歩。 / Your first step
yahonda
3
1.5k
RailsのPull requestsのレビューの時に私が考えていること
yahonda
11
8.4k
Other Decks in Technology
See All in Technology
AmazonRoute 53ではじめてのドメイン取得!HTTPS化までの道のりを整理してみた
usanchuu
3
130
Agentic Web
dynamis
1
200
就職⽀援サービスにおけるキャリアアドバイザーのシフトスケジューリング
recruitengineers
PRO
1
130
地球に⽣きるAI —GeoAIと「中間領域」— / AI Living on Earth — GeoAI and the “Intermediate Layer” —
ykiyota
0
260
"何を作るか"を任される エンジニアは、どう育つのか
yutaokafuji
1
580
FDE という解 ― 暗黙知と明示知をつなぐ、伴走型エンジニアリング ―
otanet
0
130
Android の公式 Skill / Android skills
yanzm
0
120
攻撃者視点で考えるDetection Engineering
cryptopeg
0
830
ポケモンの型をTypeScriptの型システムで表現してみた
subroh0508
0
370
AGENTS.mdとSkillsで始めるAIエージェント活用
sonoda_mj
2
190
ルールやカスタム機能、どう活かす?ハンズオンで体感するIBM Bobの出力コントロール
muehara
1
130
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.9k
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Being A Developer After 40
akosma
91
590k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
360
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
190
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
How GitHub (no longer) Works
holman
316
150k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
Speed Design
sergeychernyshev
33
1.8k
The browser strikes back
jonoalderson
0
1.2k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
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