0
나는 현재 내가 이미 여기에 설명 된 몇 가지 초기 단계를 수행 한 맥 OS X의에 중매인을 설치하려고에 중매인을 설치하려고 :NoMethodError 때 맥
http://petertran.com.au/2013/02/23/how-to-install-middleman-mac-on-macosx/
을하지만 통해 기본 설치를 "보석 설치 중매인 "이 고장났다. 다음은 출력 결과입니다.
[..]
In file included from Variadic.c:35:
In file included from /usr/include/ffi/ffi.h:58:
/usr/include/ffi/fficonfig.h:120:9: warning: 'PACKAGE_TARNAME' macro redefined
#define PACKAGE_TARNAME "libffi"
^
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0/config.h:3:9: note: previous definition is here
#define PACKAGE_TARNAME ""
^
In file included from Variadic.c:35:
In file included from /usr/include/ffi/ffi.h:58:
/usr/include/ffi/fficonfig.h:123:9: warning: 'PACKAGE_VERSION' macro redefined
#define PACKAGE_VERSION "2.1"
^
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0/config.h:4:9: note: previous definition is here
#define PACKAGE_VERSION ""
^
5 warnings generated.
cc -arch i386 -arch x86_64 -pipe -bundle -undefined dynamic_lookup -o ffi_c.bundle AbstractMemory.o ArrayType.o Buffer.o Call.o ClosurePool.o DataConverter.o DynamicLibrary.o ffi.o Function.o FunctionInfo.o LastError.o LongDouble.o MappedType.o MemoryPointer.o MethodHandle.o Platform.o Pointer.o Struct.o StructByReference.o StructByValue.o StructLayout.o Thread.o Type.o Types.o Variadic.o -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lffi -lpthread -ldl -lobjc
make install
/usr/bin/install -c -m 0755 ffi_c.bundle ./.gem.20130626-33730-oxkffm
ERROR: While executing gem ... (NoMethodError)
undefined method `join' for nil:NilClass
입력 해 주셔서 감사합니다. 나는 루비 바이너리 또는이 ffi 모듈이 무엇이든 맥 오에스 텐 컴파일러 내용에 만족하지 않는다. 이 모든 경고들 (그리고 내가 인용 한 havent 한 것)은 또한 나에게 조금 이상해 보입니다.
루비 1.8.x와 비슷합니다. 중매인과 그것의 의존성은 여전히 그것을지지합니까? –
아마도 당신이 옳았을 것입니다. MacPorts를 제거하고 최신 1.9.x Ruby를 새로 설치 한 다음 MacPorts (최신 버전)를 재설치하고 중개자를 새로 설치했습니다. 이제 모든 것이 좋습니다. – Marc
나는 대답으로 게시 할 것을 제안합니다. –