Hunter的大杂烩 技术学习笔记

2007-04-28

rail 1.2.3安装

Filed under: Linux — hunter @ 11:21 am

windows:

 

 

linux:

1. 下载ruby 1.8.6

    a. http://rubyforge.org/projects/ruby/

    b. tar -jxvf ruby-1.8.6.tar.bz2
    c. ./configure;make;make install

2. 安装 rubygems-0.9.2.tgz

    a. http://rubyforge.org/projects/rubygems/

    b. tar zxvf rubygems-0.9.2.tgz

    c.  cd rubygems-0.9.2
         ruby setup.rb

3. 挨个下载rail套件(only gem)

http://rubyforge.org逐个下载Rails框架所需的各个安装包,这种方法比较麻烦,但是能够保证安装成功。
需要下载的安装如下
a.activesupport-1.4.2(下载地址http://rubyforge.org/projects/activesupport
b.activerecord-1.15.3(下载地址http://rubyforge.org/projects/activerecord/
c.actionpack-1.13.3(下载地址http://rubyforge.org/projects/actionpack/
d.actionmailer-1.3.3(下载地址http://rubyforge.org/projects/actionmailer/
e.actionwebservice-1.2.3(包下载地址http://rubyforge.org/projects/aws
f.rail-1.2.3 (http://rubyforge.org/projects/rails/)

4. 按顺序install以上gem

gem install activesupport-1.4.2.gem
gem install activerecord-1.15.3.gem
gem install actionpack-1.13.3.gem
gem install actionmailer-1.3.3.gem
gem install actionwebservice-1.2.3.gem
gem install rails-1.2.3.gem

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress