Rails 4.0 project not starting through aptana studio 3

心已入冬 提交于 2019-11-27 03:06:11

问题


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

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

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?


回答1:


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



来源:https://stackoverflow.com/questions/19704541/rails-4-0-project-not-starting-through-aptana-studio-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!