컴퓨터기타/Mac2013. 1. 17. 18:43


   
sudo gem install rails --no-ri --no-rdoc



   
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h

Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/패키지명 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/sqlite3-1.3.4/ext/sqlite3/gem_make.out



이런 식의 에러가 뜨는데, Xcode 를 설치하고, 설정의 Dwonloads에 가서 Command Line Tools를 설치하고 





요렇게 별 문제없이 잘 설치된다 

Posted by 쎄미

댓글을 달아 주세요