$30 off During Our Annual Pro Sale. View Details »
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
120
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
85
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
69
ActiveRecord Observers - RORLab Season 3-6
seapy
0
47
ActiveRecord Callbacks - RORLab Season 3-5
seapy
0
46
Other Decks in Programming
See All in Programming
AIエージェントを活かすPM術 AI駆動開発の現場から
gyuta
0
180
JEP 496 と JEP 497 から学ぶ耐量子計算機暗号入門 / Learning Post-Quantum Crypto Basics from JEP 496 & 497
mackey0225
2
540
GeistFabrik and AI-augmented software development
adewale
PRO
0
230
テストやOSS開発に役立つSetup PHP Action
matsuo_atsushi
0
130
Module Harmony
petamoriken
2
600
Google Antigravity and Vibe Coding: Agentic Development Guide
mickey_kubo
2
120
Reactive Thinking with Signals and the new Resource API
manfredsteyer
PRO
0
150
Micro Frontendsで築いた 共通基盤と運用の試行錯誤 / Building a Shared Platform with Micro Frontends: Operational Learnings
kyntk
1
1.9k
手軽に積ん読を増やすには?/読みたい本と付き合うには?
o0h
PRO
1
130
MAP, Jigsaw, Code Golf 振り返り会 by 関東Kaggler会|Jigsaw 15th Solution
hasibirok0
0
200
ZOZOにおけるAI活用の現在 ~モバイルアプリ開発でのAI活用状況と事例~
zozotech
PRO
8
3.9k
社内オペレーション改善のためのTypeScript / TSKaigi Hokuriku 2025
dachi023
1
320
Featured
See All Featured
Visualization
eitanlees
150
16k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Bash Introduction
62gerente
615
210k
How STYLIGHT went responsive
nonsquared
100
5.9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Building an army of robots
kneath
306
46k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Git: the NoSQL Database
bkeepers
PRO
432
66k
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 ࠺ߣഐܳ ߄Բ