首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

rails 三

2012-12-28 
rails 3Install environment:sudo aptitude install build-essential libopenssl-ruby libfcgi-devsudo ap

rails 3
Install environment:
sudo aptitude install build-essential libopenssl-ruby libfcgi-dev
sudo aptitude install ruby irb rubygems ruby1.8-dev
sudo aptitude install sqlite3 libsqlite3-dev

Using the gem update system:
sudo gem update --system
? Using the gem designed to update troublesome systems:
sudo gem install rubygems-update
sudo update_rubygems
? Using setup.rb, which is provided with rubygems-update:
sudo gem install rubygems-update
cd /var/lib/gems/1.8/gems/rubygems-update-*
sudo ruby setup.rb
? Finally, installing from source:
wget http://rubyforge.org/frs/download.php/69365/rubygems-1.3.6.tgz
tar xzf rubygems-1.3.6.tgz
cd rubygems-1.3.6
sudo ruby setup.rb

热点排行