본문 바로가기

개발/Ruby

코드라이언 - 새로운 프로젝트 만들기

brandpage라는 새로운 레일즈 프로젝트 만들기


1.

rails new brandpage --skip-bundle

(--skip-bundle은 bundle isntall을 스킵해주는 명령어. 어차피 나중에 다시 하게됨)


2.

cd brandpage


3.

gemfile 수정 

gem 'therubyracer' 활성화


4.

bundle install


5.

git init 후 .gitignore에 *.swp 추가


6.

rails s로 실행

포트 있으면 rails s -p 3000

'개발 > Ruby' 카테고리의 다른 글

rails tutorial  (0) 2016.04.14
[Code School] Rails for Zombies 2  (0) 2016.04.12
[Code School] Rails for Zombie  (0) 2016.04.12