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
67
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
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
890
Benchmark
sysong
0
270
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
360
AIプログラマーDevinは PHPerの夢を見るか?
shinyasaita
1
120
[初登壇@jAZUG]アプリ開発者が気になるGoogleCloud/Azure+wasm/wasi
asaringo
0
130
XSLTで作るBrainfuck処理系
makki_d
0
210
来たるべき 8.0 に備えて React 19 新機能と React Router 固有機能の取捨選択とすり合わせを考える
oukayuka
2
860
エンジニア向け採用ピッチ資料
inusan
0
160
Code as Context 〜 1にコードで 2にリンタ 34がなくて 5にルール? 〜
yodakeisuke
0
100
Result型で“失敗”を型にするPHPコードの書き方
kajitack
4
380
CursorはMCPを使った方が良いぞ
taigakono
1
180
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
390
Featured
See All Featured
Become a Pro
speakerdeck
PRO
28
5.4k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
107
19k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.4k
Scaling GitHub
holman
459
140k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Speed Design
sergeychernyshev
32
1k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Thoughts on Productivity
jonyablonski
69
4.7k
Unsuck your backbone
ammeep
671
58k
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 ࠺ߣഐܳ ߄Բ