无法在 Aptana 中运行 ruby​​ hello world 应用程序 [英] Can't run a ruby hello world application in Aptana

查看:27
本文介绍了无法在 Aptana 中运行 ruby​​ hello world 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
无法在 Aptana 中运行 ruby​​ hello world 应用程序

我刚刚安装了最新版本的 Aptana.

I've just installed the latest version of Aptana.

然后我尝试创建一个项目,驻留在 C:\Users\User\My Documents\Aptana Studio 3 Workspace\abc 中,该项目只包含一个 main.rb 文件,内容如下:

I've then tried to create a project, residing in C:\Users\User\My Documents\Aptana Studio 3 Workspace\abc that only contains a single main.rb file with the following contents:

puts "hello world"

尝试运行它时,它会吐出以下消息:

When trying to run it, it spits out the following message:

c:\Ruby192\bin\rubyw.EXE: 没有那个文件或目录 --用户/AppData/Local/Aptana (LoadError)

c:\Ruby192\bin\rubyw.EXE: No such file or directory -- User/AppData/Local/Aptana (LoadError)

c:\Ruby192\bin\rubyw.EXE 文件名似乎正确.查看配置选项时,要运行的文件的完整文件名似乎也是正确的.

The c:\Ruby192\bin\rubyw.EXE file name seems correct. When looking in the configuration options, the full filename of the file to be run also seems correct.

我尝试将 main.rb 复制到 C:\,因为它乍一看是因为问题可能与空格有关,但即使然后错误保持不变!

I've tried to copy the main.rb to C:\, as it looked at first glance as the problem could be related with white spaces, but even then the error remains the same!

我想知道可能是什么问题?

I wonder what the problem might be?

推荐答案

我不知道这是否会解决它,但是 Max 给出了以下答案a我问过的类似问题:

I don't know if this will fix it, but Max gave the following answer to a similar problem I had asked about:

此问题已在 3.0.4 中修复,现在正在 QA 中并将公开本周早些时候.您可以选择等待或切换到 Beta构建以下说明http://wiki.appcelerator.org/display/tis/Changing++更新+类型

This has been fixed in 3.0.4 which is now under QA and will be public early this week. You have a choice of either wait or switch to Beta builds following instructions at http://wiki.appcelerator.org/display/tis/Changing+the+Update+Type

干杯,麦克斯

这篇关于无法在 Aptana 中运行 ruby​​ hello world 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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