Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Rails 開発環境としての Windows という選択肢
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
tikkss
July 14, 2018
Programming
510
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rails 開発環境としての Windows という選択肢
tikkss
July 14, 2018
Other Decks in Programming
See All in Programming
iOSDC2026登壇資料.pdf
riofujimon
0
170
Java 27新機能 / Java 27 new features
kishida
2
150
App Intentsのビルドプロセスを支える技術
kntkymt
0
400
SREの越境 / SRE Collaboration
y0hgi
2
250
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
420
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
1
150
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.1k
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
310
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
220
SONY CISC-NEWS NWS-1750 + NWB-225 フレームバッファの NetBSD/news68k ドライバ実装 / OSC2026Hiroshima
tsutsui
0
120
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
130
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
500
Featured
See All Featured
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
890
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Become a Pro
speakerdeck
PRO
31
6.3k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Speed Design
sergeychernyshev
33
2.1k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
Being A Developer After 40
akosma
91
590k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
570
Transcript
Rails ։ൃڥͱͯ͠ͷ Windows ͱ͍͏બࢶ Rails Developers Meetup Day 3 Extreme
2018/7/14 উ෦ ษ a.k.a. @tikkss
ࣗݾհ • GitHub, Twitter: @tikkss • ᰤࢠ͕ר͚Δ Rails ΤϯδχΞ •
Rails 2 ܥͷࠒ͔Β Rails Ͱडୗ։ൃͯ͠·͢ • from ౡࠜݝग़Ӣࢢ
None
None
None
Unix ܥ OS Ͱͷ;ͭ͏Λ Windows ʹ
;ͭ͏ͱʁ
;ͭ͏ਓʹΑͬͯҧ͏
Rails ͷ;ͭ͏
CoC ઃఆΑΓن
Unix ܥ OS ͷ;ͭ͏Λ Windows ʹऔΓೖΕΕ ָͰ͖ΔͷͰʁ
ࠓͲ͖ͷ;ͭ͏ͳ։ൃϑϩʔ 1. Zsh, fish, Tmux ͷڧྗͳCLIπʔϧ 2. ghq, peco/fzf ΛͬͨϩʔΧϧϦϙδτϦ
ͷ౷Ұతɾޮతͳཧ 3. Docker Compose ͷίϚϯυҰͭͰ։ൃ ڥ্ཱͪ͛
ࠓͲ͖ͷ;ͭ͏ͳ։ൃϑϩʔ 1. Zsh, fish, Tmux ͷڧྗͳCLIπʔϧ 2. ghq, peco/fzf ΛͬͨϩʔΧϧϦϙδτϦ
ͷ౷Ұతɾޮతͳཧ 3. Docker Compose ͷίϚϯυҰͭͰ։ൃ ڥ্ཱͪ͛
ࠓͲ͖ͷ;ͭ͏ͳ։ൃϑϩʔ 1. Zsh, fish, Tmux ͷڧྗͳCLIπʔϧ 2. ghq, peco/fzf ΛͬͨϩʔΧϧϦϙδτϦ
ͷ౷Ұతɾޮతͳཧ 3. Docker Compose ͷίϚϯυҰͭͰ։ൃ ڥ্ཱͪ͛
ࠓͲ͖ͷ;ͭ͏ͳ։ൃϑϩʔ 1. Zsh, fish, Tmux ͷڧྗͳCLIπʔϧ 2. ghq, peco/fzf ΛͬͨϩʔΧϧϦϙδτϦ
ͷ౷Ұతɾޮతͳཧ 3. Docker Compose ͷίϚϯυҰͭͰ։ൃ ڥ্ཱͪ͛
Windows Ͱશͯͷ ”;ͭ͏” Λຬͨ͢͜ͱͰ͖ͳ͔ͬͨ
ͦΕ WSL Ͱग़དྷΔΑ
ࠓͲ͖ͷ;ͭ͏ͳ։ൃϑϩʔ 1. Zsh, fish, Tmux ͷڧྗͳCLIπʔϧ 2. ghq, peco/fzf ΛͬͨϩʔΧϧϦϙδτϦ
ͷ౷Ұతɾޮతͳཧ 3. Docker Compose ͷίϚϯυҰͭͰ։ൃ ڥ্ཱͪ͛
1. Zsh, fish, Tmux ͷڧྗͳCLI πʔϧ • ύοέʔδϚωʔδϟͰ;ͭ͏ʹΠϯετʔ ϧͰ͖ΔʢUbuntu ͷ߹ʣ
• $ sudo apt-get install zsh fish tmux • WSL ͱ Unix ܥ OS ͷ dotfiles Λڞ༗Ͱ͖Δ
2. ghq, peco/fzf ΛͬͨϩʔΧϧ ϦϙδτϦͷ౷Ұతɾޮతͳཧ • Windows -> WSL: ϑΝΠϧࢀরɾॻࠐɾ࣮ߦɹඇਪ
• WSL -> Windows: ϑΝΠϧࢀরɾॻࠐɾ࣮ߦɹOK • Windows ͷϑΝΠϧ /mnt/c/ ʹϘϦϡʔϜϚϯτ͞ΕΔ • Windows ͷϗʔϜσΟϨΫτϦԼʹϩʔΧϧϦϙδτϦΛ ஔ • WSL ͷϗʔϜσΟϨΫτϦʹ Windows ͷϗʔϜσΟϨΫτϦͷ ϩʔΧϧϦϙδτϦͷγϯϘϦοΫϦϯΫΛషΔ
γϯϘϦοΫϦϯΫΛషΔ $ ln -s /c/Users/xxxxx/src ~/src # => xxxxx ෦ҙͷϢʔβ໊
3. Docker Compose ͷίϚ ϯυҰͭͰ։ൃڥ্ཱͪ͛ • 2ͭͷน • Linux σʔϞϯ͕ಈ͔ͳ͍
• Docker Compose ͕ಈ͔ͳ͍
Linux σʔϞϯ͕ಈ͔ͳ͍
Linux σʔϞϯ͕ಈ͔ͳ͍ • Docker daemon ͕ಈ͔ͳ͍ • Docker Client
WSL ͷ·· • Docker daemon Docker for Windows Λ ͏
Linux σʔϞϯ͕ಈ͔ͳ͍ • Docker daemon ͕ಈ͔ͳ͍ • Docker Client
WSL ͷ·· • Docker daemon Docker for Windows Λ͏ • ࠓʢ2018ʣͷय़͔ΒσʔϞϯ͕ಈ͘Α͏ʹͳͬͨ • WSL ͚ͩͰ Docker ͕ಈ͘ʢୠ͠Ұ෦ͷVerݶఆʣ
Docker Compose ͕ಈ͔ͳ͍
Docker Compose ͕ಈ͔ͳ͍ • Docker for Windows ͷ Docker daemon
ͱ WSL ͷύεͷϛεϚονͰɺϘϦϡʔϜͷ૬ ରύεࢦఆ͕ಈ͔ͳ͍ • Docker for Windows: /c/ • WSL: /mnt/c/
Docker Compose ͕ಈ͔ͳ͍ • Docker for Windows ͷ Docker daemon
ͱ WSL ͷύεͷ ϛεϚονͰɺϘϦϡʔϜͷ૬ରύεࢦఆ͕ಈ͔ͳ͍ • Docker for Windows: /c/ • WSL: /mnt/c/ • ࠓʢ2018ʣͷय़͔Β WSL ͷϚϯτύεΛม͑ΕΔ • WSL /c/ ʹมߋ͢ΕϛεϚονղܾ
/etc/wsl.conf $ sudo vim /etc/wsl.conf [automount] root = / #
=> ઃఆޙɺWindowsΛ࠶ىಈ $ ln -s /c/Users/xxxxx/src ~/src # => લड़ͷϗʔϜσΟϨΫτϦͷγϯϘϦοΫϦϯΫ ͷύε͔Β /mnt ΛऔΔ
None
None
Unix ܥ OS Ͱͷ;ͭ͏Λ Windows ʹ
·ͱΊ • ;ͭ͏ਓʹΑͬͯೝ͕ࣝҧ͏ • ;ͭ͏ͷೝࣝΛ͋ΘͤΔͱ Rails ͷΑ͏ʹָͰ͖Δ • WSL ʹΑͬͯ
Unix ܥ OS Ͱͷ։ൃϑϩʔͷ “;ͭ͏” Λɺ Windows ʹऔΓೖΕΔ͜ͱ͕Ͱ͖ͨ • “;ͭ͏” ͷϨʔϧʹΕͨͷͰ Unix ܥ OS ͱ Windows ྆ํͰര։ൃͰ͖Δͧ