문제

.specification 파일이없는 보석의 사양을 업데이트하려고했습니다.

1. cd {application_home_directory}
2. rake gems:refresh_specs

내가했을 때, 나는 재귀 경고를 받았다.

config.gem: Unpacked gem in vendor/gems has no specification file. 
Run 'rake gems:refresh_specs' to fix this.

또한 이것을 시도했는데 오류/경고없이 사양을 생성하지 못합니다.

1. cd vendor/gems/gemname
2. gem specification gemname > .specification

이 경우 GEM 사양 파일의 생성을 방해 할 수있는 것은 무엇입니까?

도움이 되었습니까?

해결책

당신은 가지고 있습니까? config.gem 환경에서 보석에 대한 진술 .RB 파일? 내 경험에 따르면, 당신은 보석을 구성에 설정해야합니다. rake gems:refresh_specs 그들에 대해 알고 있습니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top