0
我目前想在Mac OS X上安裝中間人我已經做了這裏所描述的一些初步步驟安裝中間人時:但NoMethodError試圖在Mac
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
感謝您的任何意見。在Mac OS X編譯器中,我並不擅長使用ruby二進制文件或ffi模塊。所有這些警告(還有一些我沒有引用的警告)對我來說也顯得有點奇怪。
看起來像紅寶石1.8.x.中間人及其依賴依然支持嗎? –
也許你是對的。我卸載了MacPorts並徹底安裝了最新的1.9.x Ruby,重新安裝了MacPorts(最新版本),並重新安裝了中間人。現在一切都很好。 – Marc
我建議你發佈那個答案。 –