如何使用Eclipse for Ruby on Rails(RoR) [英] How to use Eclipse for Ruby on Rails (RoR)

查看:109
本文介绍了如何使用Eclipse for Ruby on Rails(RoR)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Ruby的新手。我在Windows 7上安装了Ruby on Rails。我参观了以下选择一个合适的IDE / Editor来编写Ruby代码:



http://rubyonrails.org/download



我发现了以下Ruby编辑器: p>

VIM for Rails,RadRails,RubyMine,3rd Rail,Netbeans for Ruby



我熟悉Eclipse,因为我使用Eclipse进行java。我可以使用Eclipse for Ruby吗?如果是这样,在Eclipse中为Ruby项目需要什么配置?

解决方案

为了在Eclipse中保存一些脚步:


  1. 转到帮助 - >安装新软件...

  2. 点击添加(弹出窗口右上角)

  3. 输入名称如RadRails2

  4. 输入位置为 http://download.aptana.com/tools/radrails/plugin/install/radrails-bundle (对于完整的Aptana studio Studio 3而言输入 http://download.aptana.com/studio3/plugin/install

  5. 单击确定

  6. 重新启动Eclipse

  7. 转到窗口 - >首选项。你会看到Ruby在左边的小组中被登记。

你完成了...



现在,当您使用新建菜单时,您可以选择制作Ruby项目(除其他外)。


I am new in Ruby. I have installed Ruby on Rails on Windows 7. I visited the following to choose a suitable IDE/Editor for writing Ruby code:

http://rubyonrails.org/download

I found the following Editors for Ruby:

VIM for Rails, RadRails, RubyMine, 3rd Rail, Netbeans for Ruby

I am familiar with Eclipse as I am using Eclipse for java. Can I use Eclipse for Ruby? If so, what configuration is necessary in Eclipse for Ruby project?

解决方案

To save you some legwork, in Eclipse:

  1. Go to Help -> Install New Software...
  2. Click add (top right of popup)
  3. Enter a Name like "RadRails2"
  4. Enter the location as http://download.aptana.com/tools/radrails/plugin/install/radrails-bundle (for the full Aptana studio Studio 3, instead enter http://download.aptana.com/studio3/plugin/install)
  5. Click ok
  6. Restart Eclipse
  7. Go to Window -> Preferences. You will see Ruby is enlisted at left panel

You are done...

Now when you use the "New" menu, you'll have the option to make a Ruby project (among other things).

这篇关于如何使用Eclipse for Ruby on Rails(RoR)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆