使用Aptana RadRails创建Plain .rb文件 [英] Creating Plain .rb Files with Aptana RadRails

查看:242
本文介绍了使用Aptana RadRails创建Plain .rb文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚买了一台MacBook用于一些红宝石开发,就像Aptana Studio的外观一样,是一个非常好的IDE。

I have just bought a MacBook for some ruby development and like the look of Aptana Studio as a really nice IDE.

然而,我的问题是,我想知道(在深入研究之前,可能浪费时间)是否可以创建普通的旧.rb文件而不附加rails框架?另外,我可以直接从IDE执行ruby文件,还是必须使用终端?

The question I have, however, is that I want to know (before getting too deep into it, and potentially wasting time) is can I create plain old .rb files without the rails framework attached? Also, can I execute the ruby file straight from the IDE, or will I have to use Terminal?

正如我所说,我只是学习Ruby而我正在工作通过我购买的一些书籍,虽然我希望很快进入轨道,但我觉得正确地学习语言非常重要,然后才能让我为我做很多事情。

As I said, I am only just learning Ruby and I am working through some books I have bought, and while I do wish to get into rails soon, I feel its important to learn the language properly, before asking rails to do a lot of stuff for me.

关于最佳实践和其他潜在IDE的任何其他想法也将受到赞赏。

Any other thoughts on best practices and other potential IDE's would also be appreciated.

推荐答案

我建议< a href =http://www.netbeans.org/downloads/ =nofollow noreferrer> Netbeans (显然是Ruby版)或Jetbrain的 RubyMine 超过Aptana。我尝试过时遇到了Aptana和Ruby的问题。 Rubymine仍处于公开预览版状态,但在一个月左右发布时它将成为付费产品。它是由制作IntelliJ IDEA的人开发的。 Netbeans实际上非常适合ruby和rails,并且它是免费的。两者都允许你从IDE中执行ruby并拥有rails支持。

I'd recommend Netbeans (Ruby Edition obviously) or Jetbrain's RubyMine over Aptana. I've had issues with Aptana and Ruby when I tried it. Rubymine is still in public preview release status, but it will be a paid product when it's released in a month or so. It's developed by the same people who made IntelliJ IDEA. Netbeans actually works very well with ruby and rails and it's free. Both allow you to execute ruby from within the IDE and have rails support.

我还发现irb非常有用,Netbeans允许你在IDE中运行irb作为好。开始时,代码完成和内联文档很有用。

I've also found irb very useful, Netbeans allows you to run irb from within the IDE as well. Having code completion and inline documentation helpful when starting out.

这篇关于使用Aptana RadRails创建Plain .rb文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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