0
因爲sqlite3
和mysql2
不會在Leopard上編譯,所以我試過升級到雪豹,然後安裝的XCode 3.2.6,並升級到新的RVM 1.5.2,但是當我做升級到Snow Leopard後,現在「rvm install 1.9.2」會說「文件是爲i386建立的,而不是被鏈接的架構(x86_64)」
rvm install 1.9.2
它會說
ld: warning: in dmyext.o, file was built for i386 which is not the architecture
being linked (x86_64)
另外,如果我做了bundle install
,它會說
/Users/peter/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
checking for sqlite3.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
有沒有一種公民的方式來處理這個問題?