- -| 回首页 | 2005年索引 | - -工具开发学习

Ruby on rails学习笔记

关键词Ruby    rails                                          

关于Ruby的详细介绍我就不多说了,在网上都能够查到相关文章。我这里主要是要谈使用Eclipse 设置Railswindows下开发环境的配置,我弄了一天,终于有了结果。感觉很舒服。所以我就写下了这篇文章以供像我一样的初学者参考。

原文地址(英文)http://www.napcs.com/howto/railsonwindows.html

首先你要下载并安装Rubyhttp://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
单击 确定 > 确定

【作者: billbai】【访问统计:】【2005年12月13日 星期二 09:28】【 加入博采】【打印

Trackback

你可以使用这个链接引用该篇文章 http://publishblog.blogchina.com/blog/tb.b?diaryID=3862369

博客手拉手

Building Ruby, Rails, LightTPD, and MySQL on Tiger leeews
2005年你们过得快乐吗?? 精灵BABY
我和Helen还有MP3 精灵BABY
宝石珠宝英语词汇英汉对照 英语之家
一封应该让人伤心的信 黄河浪

回复

评论内容: