今天在浏览Railscn的时候,发现bd7lx说rails已经升级到1.2.2了.于是赶紧准备gem update rails.
因为是在公司的电脑,上网需要加代理,于是用 gem update rails -p http://proxyaddress:port 来更新,可惜因为速度的关系没更新成功.只好把以下几个东西手动下载下来进行本地安装:
gem install activesupport-1.4.1.gem
gem install activerecord-1.15.2.gem
gem install actionpack-1.13.2.gem
gem install actionmailer-1.3.2.gem
gem install actionwebservice-1.2.2.gem
gem install activeresource-0.5.0.gem
gem install rake-0.7.1.gem
gem install rails-1.2.2.gem
按完最后一下回车,提示rails 1.2.2已经正常安装了,输入 rails -v检查成果:
C:\ruby>rails -v
Rails 1.2.2
好啦,继续去看书了.