谈使用Eclipse 设置Rails在windows下开发环境的配置
原文地址(英文):http://www.napcs.com/howto/railsonwindows.html
首先你要下载并安装Ruby:http://rubyforge.org/projects/rubyinstaller/
One-Click Installer - Windows
我是安装在d:\ruby你可以根据你的要求选择安装路径
打开dos 命令窗口并执行:gem install rails --include-dependencies
第二、安装Eclipse
我用的是Eclipse3.1.1 下载地址http://www.eclipse.org/downloads/index.php 并解压到:d:\eclipse3.1 双击eclipse.exe启动eclipse
第三、好了基本工作已经做好了,现在就开始配置Rails、
1.安装Ruby开发工具包
选择Help→Software Updates→Find and Install
选择Search for new features to install 点击Next
选择 New Remote Site
name: Ruby Developer Tools
URL: http://rubyeclipse.sourceforge.net/nightlyBuild/updateSite/
点击 OK
检查RDT 点击Next,选择feature RDT 点击Next
2.配置RDT plugin
选择 Windows > Prefrences > Ruby
选择Installed Interpreters
选择Add
interpreter name : ruby.exe
path: 例如d:\ruby\bin\ruby.exe
单击 确定 > 确定