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
450
Amazon ec2 container service 소개
seapy
0
82
boot2docker 사용시 컨테이너에서 생성한 데이터를 유지하기
seapy
0
79
Elasticsearch + fluentd for Log analysis
seapy
3
9.9k
ActiveRecord Associations(2) - RORLab Season 3-8
seapy
0
45
ActiveRecord Associations(1) - RORLab Season 3-7
seapy
0
64
ActiveRecord Observers - RORLab Season 3-6
seapy
0
45
ActiveRecord Callbacks - RORLab Season 3-5
seapy
0
41
Other Decks in Programming
See All in Programming
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
890
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.4k
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
120
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
430
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
Click-free releases & the making of a CLI app
oheyadam
2
110
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
1
290
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
610
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
24k
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
CSC509 Lecture 12
javiergs
PRO
0
160
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
Featured
See All Featured
KATA
mclloyd
29
14k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Code Review Best Practice
trishagee
64
17k
Scaling GitHub
holman
458
140k
It's Worth the Effort
3n
183
27k
Site-Speed That Sticks
csswizardry
0
23
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
The Invisible Side of Design
smashingmag
298
50k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
A Tale of Four Properties
chriscoyier
156
23k
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 ࠺ߣഐܳ ߄Բ