# 다음 명령들을 수행한다.
apt-get install ruby apt-get install rubygems gem update --system gem update apt-get install ruby1.8-dev apt-get install libzlib-ruby apt-get install libyaml-ruby apt-get install libdrb-ruby apt-get install liberb-ruby apt-get install rdoc apt-get install zlib1g-dev apt-get install libopenssl-ruby |
# Mongrel 설치
gem install daemons gem_plugin mongrel mongrel_cluster --include-dependencies |
..dependency을 확인하여 각각 설치할 것인지 물어본다.
#필수
- apt-get install ruby rubygems irb ri rdoc ruby1.8-dev build-essential
- gem install rails --include-dependencies
- export PATH=$PATH:/var/lib/gems/1.8/bin
$> gem install -v=1.2.3 rails )
#옵션
- apt-get install libmysql-ruby mysql-server
(mysql이 설치되어있다면, mysql-server는 패스)
- apt-get install libopenssl-ruby
(SSL Support)
- apt-get install imagemagick
dgpk -l | grep magick
apt-get install libmagick9-dev
gem install rmagick
(ImageMagick Support)
#참고
- Ubuntu 7.04 (Fiesty) 경우, 다음 버전 필수
Rails >= 1.2.1 , Ruby >= 1.8.2 , Ruby 1.8 >= 1.8.5, Rubygmes >= 0.9.0