Rails 4.0 项目不是通过 aptana studio 3 开始的 [英] Rails 4.0 project not starting through aptana studio 3

查看:22
本文介绍了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 可执行文件,而它移至 rails 4.0 中的 bin.有没有可用的解决方法/修复程序?

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 并将 bin 文件夹中的 rails 文件放置到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天全站免登陆