Rails project can not be created

无人久伴 提交于 2019-12-11 15:22:52

问题


I want to create a Rail project named Pierre with Aptana Studio 3 but it's written :

Pierre@PC-Pierre ~
$ rails new . Can't initialize a new Rails application within the directory of another, please change to a non-Rails directory first. Type 'rails' for help.

I have joined a screenshot of the repository where I created my project. Could someone help me to deal with that ?


回答1:


Seems like the issue you are describing comes from Aptana and not Rails. Create the App from cmd and then import it into Aptana like so: https://superuser.com/questions/324183/how-can-i-import-an-existing-project-in-aptana-without-moving-the-files



来源:https://stackoverflow.com/questions/48769538/rails-project-can-not-be-created

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