[BUG] 디렉토리 생성 오류

4668 단어 rip

묘사

rip을 사용하는 동안 다음 오류가 발생했습니다.
MAC46SE ~: rip install git://github.com/defunkt/grit.git v1.1.1b
fatal: destination path 'grit-1dce6a545b29fd1845f9dc123ead7fa8' already exists and is not an empty directory.
rip: install failed
-> No such file or directory - /Users/same/.rip/rip-packages/grit-1dce6a545b29fd1845f9dc123ead7fa8
나는 무슨 문제인지 모르겠다.나는gem 설치를 사용했고 rip check 되돌아왔다all systems go.이 디렉터리들은 내 사용자에게 만들어진 것이기 때문에 나는 또 무슨 문제가 있는지 모르겠다.

토론 #1

당신은 어떤 버전의 루비와 OS를 사용합니까?

토론 #2

ruby-v:ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]Mac OS X 10.5.7

토론 #셋

비슷한 구성에서 비슷한 행동을 얻었습니다.이 테스트들은 f375cf0에서 실패하여 문제를 반영하였다.
$ ruby --version
ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]

$ rip list
ripenv: ripdev

fakefs (99880ea)
test-spec-mini.rb (2009-07-23)

$ ruby test/git_test.rb
Loaded suite test/git_test
Started
.E.EE
Finished in 0.502716 seconds.

  1) Error:
test_fails_on_an_unknown_version():
Errno::ENOENT: No such file or directory - /Users/carl/Projects/rip/test/ripdir/rip-packages/simple_c-156d7c2b9cfa0bab0ee4a6f118998e17
    /Users/carl/.rip/active/lib/fakefs.rb:338:in `chdir'
    /Users/carl/.rip/active/lib/fakefs.rb:256:in `chdir'
    /Users/carl/Projects/rip/lib/rip/packages/git_package.rb:62:in `remote_exists?'
    /Users/carl/Projects/rip/lib/rip/packages/git_package.rb:26:in `exists?'
    /Users/carl/Projects/rip/lib/rip/installer.rb:17:in `install'
    /Users/carl/Projects/rip/lib/rip/commands/install.rb:34:in `install'
    test/git_test.rb:21:in `test_fails_on_an_unknown_version'

  2) Error:
test_works_with_a_real_version():
Errno::ENOENT: No such file or directory - /Users/carl/Projects/rip/test/ripdir/rip-packages/simple_c-156d7c2b9cfa0bab0ee4a6f118998e17
    /Users/carl/.rip/active/lib/fakefs.rb:338:in `chdir'
    /Users/carl/.rip/active/lib/fakefs.rb:256:in `chdir'
    /Users/carl/Projects/rip/lib/rip/packages/git_package.rb:62:in `remote_exists?'
    /Users/carl/Projects/rip/lib/rip/packages/git_package.rb:26:in `exists?'
    /Users/carl/Projects/rip/lib/rip/installer.rb:17:in `install'
    /Users/carl/Projects/rip/lib/rip/commands/install.rb:34:in `install'
    test/git_test.rb:26:in `test_works_with_a_real_version'

  3) Error:
test_works_with_an_existing_sha():
Errno::ENOENT: No such file or directory - /Users/carl/Projects/rip/test/ripdir/rip-packages/simple_c-156d7c2b9cfa0bab0ee4a6f118998e17
    /Users/carl/.rip/active/lib/fakefs.rb:338:in `chdir'
    /Users/carl/.rip/active/lib/fakefs.rb:256:in `chdir'
    /Users/carl/Projects/rip/lib/rip/packages/git_package.rb:62:in `remote_exists?'
    /Users/carl/Projects/rip/lib/rip/packages/git_package.rb:26:in `exists?'
    /Users/carl/Projects/rip/lib/rip/installer.rb:17:in `install'
    /Users/carl/Projects/rip/lib/rip/commands/install.rb:34:in `install'
    test/git_test.rb:32:in `test_works_with_an_existing_sha'

5 tests, 2 assertions, 0 failures, 3 errors

토론 #4

defunkt를 사용하는 테스트를 검사한다. 그는git와 관련된 실패 테스트를 언급했다./
이것은 0.0.2

토론 #5

버전의 립이 아니라 edge입니다. 어떤 버전의 립을 실행하고 있습니까?
$ rip install git://github.com/defunkt/grit.git v1.1.1b
Successfully installed diff-lcs (491fbc0)
Successfully installed mime-types (v1.16)
Successfully installed grit (v1.1.1b)
$ rip --version
Rip 0.0.2
나는 엣지에서의 테스트가 실패했다는 것을 안다.

토론 #6

0.0.2의 깔끔한 설치를 실행합니다.
$ sudo gem install rip
Building native extensions.  This could take a while...
****************************************************
So far so good...

Rip needs certain env variables to run. We've tried
to install them automatically but may have failed.

Run `rip check` to check the status of your
installation.

Get started: `rip -h` or http://hellorip.com/

****************************************************
Successfully installed rip-0.0.2
1 gem installed
$ rip env create grit
ripenv: created grit
$ rip install git://github.com/defunkt/grit.git v1.1.1b
rip: install failed
-> No such file or directory - /Users/carl/.rip/rip-packages/grit-1dce6a545b29fd1845f9dc123ead7fa8
$ rip --version
Rip 0.0.2
나는 이 판본에서도 같은 테스트 실패를 만났다.

토론 #7

MAC46SE ~: rip --version
Rip 0.0.2

토론 #8

git 패키지를 설치할 때 디렉터리를 찾을 수 없음 오류를 복구합니다.2cd750fc51df7a8fcbddcf1249eb9bd8e2d02a50에서 닫기

좋은 웹페이지 즐겨찾기