0
我已經在基於Ubuntu的機器上安裝了帶有omnibus軟件包的gitlab,我也試圖開發rails應用程序。由於gitlab爲自己安裝ruby和rails框架,我可以使用它來創建新的rails應用程序嗎?當我我的主目錄下運行gitlab-rails new app_name
我收到一條錯誤信息:我可以使用gitlab-rails來創建一個新的rails應用程序嗎?
/usr/bin/gitlab-rails error: could not load /opt/gitlab/etc/gitlab-rails/gitlab-rails-rc
Either you are not allowed to read the file, or it does not exist yet.
You can generate it with: sudo gitlab-ctl reconfigure
當我運行sudo gitlab-rails new app_name
,我得到:
Can't initialize a new Rails application within the director of another, please change to a non-Rails directory first.
Type 'rails' for help
我一直在努力,在新創建的空運行此目錄,但不斷收到相同的信息。我認爲gitlab-rails
會嘗試在gitlab項目目錄下創建新的應用程序?
我不認爲這是有道理的。 – sevenseacat