Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Install Rails On Mac OS - RORLab Season 3-2

951 views

Published on

RORLab 에서 발표한 레일스 설치에 대한 내용

Published in: Technology
  • ACCESS that WEBSITE Over for All Ebooks (Unlimited) ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... DOWNLOAD FULL EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • ACCESS that WEBSITE Over for All Ebooks (Unlimited) ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... DOWNLOAD FULL EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes.........ACCESS WEBSITE Over for All Ebooks ..... (Unlimited) ......................................................................................................................... Download FULL PDF EBOOK here { https://urlzs.com/UABbn } .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • -- DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT -- ......................................................................................................................... ......................................................................................................................... Download FULL PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... (Unlimited)
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • (Unlimited)....ACCESS WEBSITE Over for All Ebooks ................ accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Install Rails On Mac OS - RORLab Season 3-2

  1. 1. GETTING STARTED WITH RAILS RORLab Season 3-2 2013. 3. 16
  2. 2. http://www.flickr.com/photos/mtaphotos/7440135244 Install Rails For Mac OS
  3. 3. REQUIREMENTS• Over Mac OS X Mountain Lion(10.8) 아마 10.7도 될거에요• Xcode or Command Line Tools for Xcode • 컴파일할때 필요합니다. 무료지만 Command Line Tools 만 받으려면 애플개발자 계정이 필요.
  4. 4. Command Line Tools for Xcode• http://developer.apple.com/downloads• 기존에 Xcode 를 설치했을경우 "Preferences > Downloads" 에서 설치
  5. 5. homebrew Mac OS 에서 설치를 쉽게 해주는 프로그램MySQL, Ruby, PostgreSQL 등을 명령어 한줄로 설치
  6. 6. ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
  7. 7. 설치 완료후 brew doctor 명령어를 실행해서 정상적 으로설치되었는지 확인
  8. 8. RBENV시스템에 여러개의 Ruby 를 설치하고 쉽게 전환할수 있게 해주는 프로그램. 기존에 RVM 이 설치되어 있는경우 제거해야함
  9. 9. $ brew update # homebrew 설치 스크립트를 최신으로 업데이트 $ brew install rbenv$ echo if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi >> ~/.profile # 쉘이 시작할때마다 rbenv 을 적용$ exec $SHELL -l # 쉘 변경사항을 적용하기 위해 다시 시작
  10. 10. ruby-buildRBENV와 연계하여 ruby를 쉽게 설치
  11. 11. $ 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 버전 설정
  12. 12. RBENV 사용법 시연
  13. 13. rails드디어 설치 :)
  14. 14. gem install rails
  15. 15. mysql아직은 많이 사용하는 DB
  16. 16. $ 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 비밀번호를 바꾸자

×