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를 설치하고
요렇게 별 문제없이 잘 설치된다
'컴퓨터기타 > Mac' 카테고리의 다른 글
[mac] Developer ColorPicker 추가하기 (0) | 2013.07.03 |
---|---|
[mac] pure ftp로 ftp 서버 설정 (0) | 2013.06.29 |
[Mac] rails 가 깔리지 않을 때 (0) | 2013.01.17 |
[mac] SourceTree에서 develop과 release의 소스를 같이 수정하면 어떻게 될까? (0) | 2012.09.21 |
[mac] SourceTree에서 release branch 완료하기 (0) | 2012.09.21 |
[mac] SourceTree에서 release branch 생성하기 (0) | 2012.09.21 |
댓글을 달아 주세요