ruby-on-railsaptanaaptana3

Rails project can not be created


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 ? enter image description hereenter image description here


Solution

  • 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