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 설치 확인
※ 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
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
'컴퓨터 > 기타' 카테고리의 다른 글
메타블로그 가입 (0) | 2010.01.07 |
---|---|
VBA]ListBox- 선택한 줄의 2번째 컬럼 값 가지고 오기 (0) | 2009.12.18 |
Rails]Rails를 이용한 DB Table 생성(sqlite3) (0) | 2009.12.14 |
Ant]pass parameter (0) | 2009.12.12 |
rails를 이용한 Web Application 만들기 (0) | 2009.12.06 |