Rails 4.0 project not starting through aptana stud

2019-01-23 20:56发布

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条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-01-23 21:13

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

查看更多
登录 后发表回答