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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
280
今、始める、第一歩。 / Your first step
yahonda
3
1.5k
RailsのPull requestsのレビューの時に私が考えていること
yahonda
11
8.4k
Other Decks in Technology
See All in Technology
AIにフローを作らせようとして挫折した話
hamatsutaichi
0
200
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development with AI-DLC
yoshidashingo
0
140
Platform engineering for developers, architects & the rest of us (AI agents)
danielbryantuk
0
180
正解のないAIプロダクトをどう導くか?dodaが挑む、ユーザーの『本音』を構造化する評価設計と検証のリアル
techtekt
PRO
0
180
実装は速くなった、レビューはどうする? ― 自身のレビューをAIで再現させるサーヴァントエンジニアリングのすゝめ / Implementation got faster. So what about reviews? — An invitation to Servant Engineering: Recreating your own code reviews with AI
nrslib
7
3.9k
GoとSIMDとWasmの今。
askua
3
510
さきさん文庫の書籍ができるまで
sakiengineer
0
370
「気づいたら仕事が終わっている」バクラクAIエージェント本番運用の裏側 / layerx-bakuraku-aie2026
yuya4
18
10k
AI Engineering Summit Tokyo 2026 AIの前に、やることがある 〜医療データ企業の4フェーズ〜
dtaniwaki
0
1.9k
Dario Amodi『Policy on the AI Exponential』を理解する
nagatsu
0
190
形式手法特論:公平性制約の位相的特徴づけ #kernelvm / Kernel VM Study Kansai 12th
ytaka23
1
760
「嘘をつくテスト」の失敗例から学ぶ 良いテストコード #frontend_phpcon_do
asumikam
0
480
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
22k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
A Soul's Torment
seathinner
6
2.9k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
320
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.6k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
430
HDC tutorial
michielstock
2
690
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
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