블로그 이미지
언제나 늘 푸른 소나무처럼. 자신의 의지로 오롯이 서기
예섬수진

공지사항

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함

calendar

1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

Mongrel 설치 & 실행 on Win32

2009. 12. 5. 16:37 | Posted by 예섬수진
1. Ruby 설치 (V1.8.6)
  ※ Ruby 설치 버젼 확인 : ruby -v

2. RubyGem Update 
   1) RubyForge에서 최신 RubyGem 압축 파일(.zip)을 받음
   2) 로컬에서 압축을 푼 후, cmd prompt에서 그 압축 폴더로 이동함
   3) ruby setup.rb를 입력함

  ※ 또는 cmd propt에서 gem update --system을 입력함

3. Rails 설치
    gem install rails --include-dependencies

4. Mongrel 설치
    gem install mongrel --include-dependencies
    gem install mongrel_service --include-dependencies
    gem install win32-service --include-dependencies

5. Mongrel 설치 확인
    mongrel_rails start -h

6. Rails를 이용한 Web Application 작성
   http://www.advanceecomsolutions.com/resources/developing_web_applications_using_Ruby_on_Rails_framework.asp
   rails web_application_name

7. Mongrel을 이용한 Web Server 실행
   web_application_foloder]mongrel_rails start -p port_num -a host_ip
    ※ Web Server 실행 확인 : http://host_ip:port_num