ruby $ sudo apt-get install ruby ruby-dev irb libopenssl-ruby gem $ sudo apt-get install rubygems $ vi ~/.bashrc # gemにパスを通す export PATH="$PATH":/var/lib/gems/1.8/bin $ source ~/.bashrc rails $ sudo gem install rails passenger $ sudo gem install passenger $ sudo /var/lib/gems/1.8/bin/passenger-install-apache2-module Checking for required software... * GNU C++ compiler... found at /usr/bin/g++ * Ru