Rails 4.0项目无法通过aptana Studio 3启动 [英] Rails 4.0 project not starting through aptana studio 3

查看:76
本文介绍了Rails 4.0项目无法通过aptana Studio 3启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前使用Eclipse(3.4.2)的Aptana Studio 3插件,但是我无法启动rails 4.0项目.

Currently using the Aptana Studio 3 plugin for eclipse (3.4.2) and I'm unable to start my rails 4.0 project.

错误:Ruby程序/xx/xx/xx/xx/HelloRails/script/rails不存在.

Error: Ruby program /xx/xx/xx/xx/HelloRails/script/rails does not exist.

当Aptana移至rails 4.0中的bin中时,它似乎仍在脚本中寻找rails可执行文件.有任何解决方法/修复程序可用吗?

It looks like Aptana is still looking for the rails executable in script, while it moved to bin in rails 4.0. Is there any workaround/fix available for this?

推荐答案

在应用程序的根目录中创建一个文件夹script,并将rails文件从bin文件夹放置到script文件夹,然后它将起作用. 您可能还需要在aptana设置中更改Web服务器选项.

Create a folder script in the root of the app and place rails file from the bin folder to the script folder then it will work. You might need to change the web-server options in the aptana setting also.

我遇到了同样的问题,但此修复程序已解决

I was having the same problem but this fix fixed it

这篇关于Rails 4.0项目无法通过aptana Studio 3启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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