Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails 4.0 project not starting through aptana studio 3

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?

like image 814
rovgo Avatar asked Dec 03 '22 21:12

rovgo


1 Answers

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

like image 107
Dinkar Thakur Avatar answered Dec 30 '22 18:12

Dinkar Thakur