简体   繁体   English

安装Aptana Studio时缺少Ruby / Rails选项

[英]Missing Ruby/Rails Options When Installing Aptana Studio

I've tried installing both the Aptana plugin (I'm running Juno) and Aptana studio itself from http://www.aptana.com/products/studio3/download . 我尝试从http://www.aptana.com/products/studio3/download安装Aptana插件(我正在运行Juno)和Aptana studio本身。

Just like with my previous experience with PyDev, I learned that I had to point Eclipse to my Ruby interpreter, but when I open my window > preferences dialog, there are no options for Ruby like what I've seen from tutorials and whatnot: 就像我以前在PyDev上的经验一样,我了解到必须将Eclipse指向我的Ruby解释器,但是当我打开window> preferences对话框时,没有Ruby的选项,就像我在教程中看到的一样:

Eclipse对话框缺少红宝石选项

Even though Eclipse will allow me to create a new project, I don't see any option to create a Ruby source file: 即使Eclipse允许我创建一个新项目,我也看不到创建Ruby源文件的任何选择:

在此处输入图片说明在此处输入图片说明

You can just create a simple file and put the .rb extension in it and all should work. 您可以只创建一个简单的文件,然后将.rb扩展名放入其中,所有文件均应正常工作。 Regarding the ruby configurations, I believe it expects ruby to be found in your PATH. 关于红宝石配置,我相信它期望在您的PATH中找到红宝石。

Aptana studio now works fine for Rails projects for some reason. 由于某些原因,Aptana工作室现在可以在Rails项目中正常工作。 The only explanation I can come up with is that the particular version of Aptana Studio I was using was giving me issues. 我能提出的唯一解释是,我使用的特定版本的Aptana Studio给了我一些问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM