follow me

Rails on CentOS5

Ruby on RailsRuby on Railsの環境構築メモです。
うん簡単。
特に引っかかる所もなし。

yumで必要なもの導入。
# yum install ruby ruby-libs rdoc
Gemsをダウンロード
# wget http://rubyforge.org/frs/download.php/35283/rubygems-1.1.1.tgz
Gemsを導入
# ruby setup.rb
install -c -m 0644 ubygems.rb /usr/lib/ruby/site_ruby/1.8/ubygems.rb
install -c -m 0644 rubygems.rb /usr/lib/ruby/site_ruby/1.8/rubygems.rb
mkdir -p /usr/lib/ruby/site_ruby/1.8/rubygems
.....
Railsを導入
恐ろしく時間がかかります。
CPU 100%使ってました。
Swapをかなり使ってましたので、メモリ多く取って置いた方が良さそうです。
# gem install rails
Bulk updating Gem source index for: http://gems.rubyforge.org/
        Bulk updating Gem source index for: http://gems.rubyforge.org/
Successfully installed rake-0.8.1
Successfully installed activesupport-2.0.2
Successfully installed activerecord-2.0.2
Successfully installed actionpack-2.0.2
Successfully installed actionmailer-2.0.2
Successfully installed activeresource-2.0.2
Successfully installed rails-2.0.2
7 gems installed
Installing ri documentation for rake-0.8.1...
Installing ri documentation for activesupport-2.0.2...
Installing ri documentation for activerecord-2.0.2...
Installing ri documentation for actionpack-2.0.2...
Installing ri documentation for actionmailer-2.0.2...
Installing ri documentation for activeresource-2.0.2...
Installing RDoc documentation for rake-0.8.1...
Installing RDoc documentation for activesupport-2.0.2...
Installing RDoc documentation for activerecord-2.0.2...
Installing RDoc documentation for actionpack-2.0.2...
Installing RDoc documentation for actionmailer-2.0.2...
Installing RDoc documentation for activeresource-2.0.2...
確認
rails -v
Rails 2.0.2
Rails on CentOS5 | 0 件のコメント | アカウント登録
サイト管理者はコメントに関する責任を負いません。