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
プロパティベーステストによるUIテスト: LLMによるプロパティ定義生成でエッジケースを捉える
tetta_pdnt
0
1.7k
旅行プランAIエージェント開発の裏側
ippo012
2
910
ユーザーも開発者も悩ませない TV アプリ開発 ~Compose の内部実装から学ぶフォーカス制御~
taked137
0
180
もうちょっといいRubyプロファイラを作りたい (2025)
osyoyu
1
440
Testing Trophyは叫ばない
toms74209200
0
880
Ruby×iOSアプリ開発 ~共に歩んだエコシステムの物語~
temoki
0
320
print("Hello, World")
eddie
2
530
Reading Rails 1.0 Source Code
okuramasafumi
0
220
How Android Uses Data Structures Behind The Scenes
l2hyunwoo
0
460
アルテニア コンサル/ITエンジニア向け 採用ピッチ資料
altenir
0
110
rage against annotate_predecessor
junk0612
0
170
Processing Gem ベースの、2D レトロゲームエンジンの開発
tokujiros
2
130
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
188
55k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
112
20k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
840
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
A Tale of Four Properties
chriscoyier
160
23k
The Invisible Side of Design
smashingmag
301
51k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.9k
Automating Front-end Workflow
addyosmani
1370
200k
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 ࠺ߣഐܳ ߄Բ