1. ruby最强大的web框架ruby on rails .必学的.所以可以直接安装RailsInstaller.
地址:http://www.railsinstaller.org/en .安装过程默认勾选添加环境到PATH.
2. 更改gem镜像到http://ruby.taobao.org/
$ gem sources --remove https://rubygems.org/ $ gem sources -a https://ruby.taobao.org/ $ gem sources -l *** CURRENT SOURCES *** https://ruby.taobao.org # 请确保只有 ruby.taobao.org $ gem install rails
3. ri的安装
gem install rdoc-data # Regenerate system docs rdoc-data --install # Regenerate all gem docs gem rdoc --all --overwrite # Regenerate specific gem doc with specific version gem rdoc gemname -v 1.2.3 --overwrite
原文:http://www.cnblogs.com/liuxubuhuabukai/p/4261224.html