无法创建Rails项目 [英] Rails project can not be created
问题描述
我想用Aptana Studio 3创建一个名为Pierre
的Rail项目,但是它写为:
I want to create a Rail project named Pierre
with Aptana Studio 3 but it's written :
Pierre @ PC-Pierre〜
$ rails新的. 无法在另一个目录中初始化新的Rails应用程序,请首先更改为非Rails目录. 键入"rails"以获取帮助.
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 ?
推荐答案
似乎您所描述的问题来自Aptana,而不是Rails.从cmd创建应用程序,然后将其导入到Aptana中,如下所示:
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
这篇关于无法创建Rails项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!