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
『AIに負けない』より『AIと遊ぶ』」〜ワクワクが最強のテスト・QA学習戦略_公開用
odan611
1
340
AIエージェントとPhysical AIが拓く製造業の変革(ハノーバーメッセリキャップ)
iotcomjpadmin
0
200
フルAIで個人開発して学んだあれこれ / yuruai vol.1
isaoshimizu
0
170
CVE-2026-20833_脆弱性対応とAES 化について
jukishiya
0
340
NDIAS CTF 2026 問題解説会資料
bata_24
0
160
MySQL & MySQL HeatWave Report - June 2026
freshdaz
0
280
LiDAR SLAMの実装とセンサ融合 ~Lie群からContinuous-Time LIOまで~
naokiakai
1
840
組織における AI-DLC 実践
askul
0
280
AIに障害切り分けを全部やってもらった。 。 。 。
estie
0
330
AIDLC_ヤフーショッピングの取り組み
lycorptech_jp
PRO
0
430
cccccc
moznion
0
1.2k
ご挨拶「10周年を迎える共創ラボのこれまでとこれから」
iotcomjpadmin
0
170
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
480
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
From π to Pie charts
rasagy
0
220
How STYLIGHT went responsive
nonsquared
100
6.2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The browser strikes back
jonoalderson
0
1.3k
Music & Morning Musume
bryan
47
7.3k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
550
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
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