webistrano 4 安装
webistrano 的安装
?
yum install mysql-server
yum install mysql mysql-devel mysql-server
if ?yum can install 1.8.7 ?then : yum install ? ? ? ? ?ruby ruby-devel ruby-irb ruby-mysql ruby-rdoc ruby-ri
source install ruby ??ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p352.zip
unzip ??ruby-1.8.7-p352.zip
cd ??ruby-1.8.7-p352
./configure --prefix=/opt/ruby1.8.7
make
make install
wget?http://production.cf.rubygems.org/rubygems/rubygems-1.8.11.zip
unzip?rubygems-1.8.11.zip
cd?rubygems-1.8.11
ruby setup.rb
gem install ? ? addressable ? version
[root@webistrano ~]# ?gem install?addressable ? builder ? capistrano ? crazycode-cap-recipes ? fastthread ? highline ? i18n ? json ? memcache-client ? mocha ? mysql ? net-scp ? net-sftp ? net-ssh ? net-ssh-gateway ? ? ?passenger ? rack ? rake ? ruby-ole ? spreadsheet ? tzinfo
也可以到http://rubygems.org?手动下载每个gem包再安装
rails(不需要下载安装 webistrano默认带rails 235) rest-open-uri
gem 一直网络错误无法安装,写了下载gem的脚本,已经增加下载依赖,直接安装gem的功能。?wgetgems.rb? 增加指定版本功能 ?./wgetgem3.rb ?rake-0.8.7 ?rack-1.0.1 ......