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
Install Rails On Mac OS - RORLab Season 3-2
Search
seapy
March 16, 2013
Programming
0
110
Install Rails On Mac OS - RORLab Season 3-2
RORLab 에서 발표한 레일스 설치에 대한 내용.
동영상 :
http://youtu.be/lBnO2xvwO0k
seapy
March 16, 2013
Tweet
Share
More Decks by seapy
See All by seapy
Lambda + S3 썸네일 생성 및 운영 - AWSKRUG 정기 세미나 (2016년 9월)
seapy
1
550
형태소 분석기를 적용한 elasticsearch 운영
seapy
0
480
Amazon ec2 container service 소개
seapy
0
84
boot2docker 사용시 컨테이너에서 생성한 데이터를 유지하기
seapy
0
81
Elasticsearch + fluentd for Log analysis
seapy
3
10k
ActiveRecord Associations(2) - RORLab Season 3-8
seapy
0
47
ActiveRecord Associations(1) - RORLab Season 3-7
seapy
0
68
ActiveRecord Observers - RORLab Season 3-6
seapy
0
47
ActiveRecord Callbacks - RORLab Season 3-5
seapy
0
45
Other Decks in Programming
See All in Programming
Cache Me If You Can
ryunen344
2
1.4k
Design Foundational Data Engineering Observability
sucitw
3
200
ぬるぬる動かせ! Riveでアニメーション実装🐾
kno3a87
1
220
「手軽で便利」に潜む罠。 Popover API を WCAG 2.2の視点で安全に使うには
taitotnk
0
860
Introducing ReActionView: A new ActionView-compatible ERB Engine @ Rails World 2025, Amsterdam
marcoroth
0
690
実用的なGOCACHEPROG実装をするために / golang.tokyo #40
mazrean
1
280
Tool Catalog Agent for Bedrock AgentCore Gateway
licux
6
2.5k
Deep Dive into Kotlin Flow
jmatsu
1
350
Android 16 × Jetpack Composeで縦書きテキストエディタを作ろう / Vertical Text Editor with Compose on Android 16
cc4966
2
230
はじめてのMaterial3 Expressive
ym223
2
740
そのAPI、誰のため? Androidライブラリ設計における利用者目線の実践テクニック
mkeeda
2
310
🔨 小さなビルドシステムを作る
momeemt
4
680
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
The Invisible Side of Design
smashingmag
301
51k
The Cost Of JavaScript in 2023
addyosmani
53
8.9k
Raft: Consensus for Rubyists
vanstee
140
7.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Visualization
eitanlees
148
16k
We Have a Design System, Now What?
morganepeng
53
7.8k
Why Our Code Smells
bkeepers
PRO
339
57k
How GitHub (no longer) Works
holman
315
140k
Site-Speed That Sticks
csswizardry
10
820
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Transcript
GETTING STARTED WITH RAILS RORLab Season 3-2 2013. 3. 16
Install Rails For Mac OS http://www.flickr.com/photos/mtaphotos/7440135244
REQUIREMENTS • Over Mac OS X Mountain Lion(10.8) ই݃ 10.7ب
ؼѢীਃ • Xcode or Command Line Tools for Xcode • ஹੌ ೡٸ ਃפ. ޖܐ݅ Command Line Tools ݅ ߉ਵ۰ݶ গѐߊ ҅ ਃ.
Command Line Tools for Xcode • http://developer.apple.com/downloads • ӝઓী Xcode
ܳ ࢸ೮ਸ҃ "Preferences > Downloads" ীࢲ ࢸ
homebrew Mac OS ীࢲ ࢸܳ औѱ ೧ח ۽Ӓ۔ MySQL, Ruby,
PostgreSQL ١ਸ ݺ۸য ೠ۽ ࢸ
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
ࢸ ৮ܐറ brew doctor ݺ۸যܳ प೯೧ࢲ ࢚ ਵ۽ࢸغח ഛੋ
RBENV दझమী ৈ۞ѐ Ruby ܳ ࢸೞҊ औѱ ജೡࣻ ѱ ೧ח
۽Ӓ۔. ӝઓী RVM ࢸغয ח҃ ઁѢ೧ঠೣ
$ echo 'if which rbenv > /dev/null; then eval "$(rbenv
init -)"; fi' >> ~/.profile # ऌ दೡٸ݃ rbenv ਸ ਊ $ exec $SHELL -l # ऌ ߸҃ࢎ೦ਸ ਊೞӝ ਤ೧ द द $ brew update # homebrew ࢸ झ݀ܳ ୭नਵ۽ সؘ $ brew install rbenv
ruby-build RBENV৬ ো҅ೞৈ rubyܳ औѱ ࢸ
$ brew install ruby-build $ rbenv install -l # ࢸоמೠ
ruby ݾ۾ ࠁӝ $ rbenv install 1.9.3-p392 $ rbenv rehash # ࢜۽ ruby ܳ ࢸೞѢա command ݺ۸যܳ ઁҕ ೞח gem ࢸद ݃ प೯೧যঠ ೠ. $ rbenv global 1.9.3-p392 # ݽٚ ऌীࢲ ࢎਊೡ ruby ߡ ࢸ $ rbenv local 1.9.3-p392 # ౠ ಫ؊ ೞਤীࢲ ࢎਊೡ ruby ߡ ࢸ
RBENV ࢎਊߨ दো
rails ٘٣য ࢸ :)
gem install rails
mysql ই ݆ ࢎਊೞח DB
$ brew install mysql $ mkdir /usr/local/var/mysql # ؘఠܳ ೡ
ಫ؊ ܻ ࢤࢿ $ mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp # ୡӝ ࢸ. homebrewܳ ਊ೧ ࢸೞݶ աয়ח ݫदী ݺ۸যܳ प೯ೞۄҊ ݺद $ mysql.server start # mysql ࢲߡ द. ઙܐח stop $ mysql -uroot $ /usr/local/opt/mysql/bin/mysqladmin -u root password 'new-password' # ࠁউਸ ਤ೧ࢲ root ࠺ߣഐܳ ߄Բ