2016-11-06 3 views
0

레일 패키지를 개발하려고하는 우분투 기반 컴퓨터에 옴니버스 패키지와 함께 gitlab을 설치했습니다. gitlab은 루비와 레일 프레임 워크를 자체적으로 설치하기 때문에 새로운 레일 애플리케이션을 만들 때 사용할 수 있습니까? 내 홈 디렉토리 아래에 gitlab-rails new app_name를 실행하면 나는라는 오류 메시지가 얻을 :gitlab-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 프로젝트 디렉토리 아래에서 새 앱을 만들려고한다고 가정합니다.

+0

나는 이것이 심지어 의미가 있다고 생각하지 않습니다. – sevenseacat

답변

1

내가 아는 한, 이것은 gitlab-rails 명령의 목적이 아니며 지원되는 기능이 아닙니다. Rails 젬을 사용하여 새로운 Rails 애플리케이션을 만드는 것이 훨씬 더 좋은 생각입니다.

관련 문제