问题
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