关于Ruby的详细介绍我就不多说了,在网上都能够查到相关文章。我这里主要是要谈使用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
我用的是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
单击 确定 > 确定
你可以使用这个链接引用该篇文章 http://publishblog.blogchina.com/blog/tb.b?diaryID=3862369
| Building Ruby, Rails, LightTPD, and MySQL on Tiger | leeews |
| 2005年你们过得快乐吗?? | 精灵BABY |
| 我和Helen还有MP3 | 精灵BABY |
| 宝石珠宝英语词汇英汉对照 | 英语之家 |
| 一封应该让人伤心的信 | 黄河浪 |