JackyCheng2007 发表于 2013-1-30 01:08:11

RoR开发环境搭建

1. 安装Ruby
1)下载RubyInstaller: http://rubyforge.org/frs/download.php/74298/rubyinstaller-1.9.2-p180.exe
2)运行rubyinstaller-1.9.2-p180.exe,根据向导安装,我是安装到c盘:C:\Ruby192并且勾选那两个选项:Add Ruby executables to your PATH Associate...
3) 验证: 打开命令行,输入ruby -v:
C:\Documents and Settings\Administrator>ruby -v ruby 1.9.2p180 (2011-02-18)
2. 安装Rubygems
RubyGems 是标准的ruby包管理器,就像 apt-get, emerge, and other OS package managers. 利用它,可以很方便的安装,更新和管理ruby的安装包。
1)下载Rubygems:http://rubyforge.org/frs/download.php/74446/rubygems-1.6.2.zip
2)解压并运行setup.rb
3)验证: 打开命令行,输入gem -v:
C:\Documents and Settings\Administrator>gem -v 1.6.2
3. 安装Sqlite3
SQLite 是一个嵌入式的数据库引擎.
1)下载Sqlite3:http://www.sqlite.org/download.html http://www.sqlite.org/sqlite-shell-win32-x86-3070500.zip http://www.sqlite.org/sqlite-dll-win32-x86-3070500.zip http://www.sqlite.org/sqlite-analyzer-win32-x86-3070500.zip
2)解压,并把所有文件复制到C:\Ruby192\bin
<div class="quote_title">引用
页: [1]
查看完整版本: RoR开发环境搭建