Resolved, TextMate 2, ‘gem_original_require’ : no such file to load — json (LoadError)


아래 내용은 참고 사항입니다.


[62/293] Generate ‘/Users/x/build/Te...extMate/about/Contributions.html’…
FAILED: bin/gen_html > /Users/x/build/TextMate/Applications/TextMate/about/Contributions.html~ -h Applications/TextMate/templates/header.html -f Applications/TextMate/templates/footer.html Applications/TextMate/about/Contributions.md Applications/TextMate/references.md && mv /Users/x/build/TextMate/Applications/TextMate/about/Contributions.html~ /Users/x/build/TextMate/Applications/TextMate/about/Contributions.html
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- json (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./bin/gen_credits.rb:18
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from (erb):11
from bin/gen_html:104
from bin/gen_html:104:in `open'
from bin/gen_html:104
[62/293] Copy ‘"Frameworks/OakTextVi...esources/Bookmark Hover Add.pdf"’…
ninja: build stopped: subcommand failed.

저는 MacPorts 를 사용하기 때문에 ruby에 필요한 것들을 port로 설치하고
Ruby.framework의 ruby 실행 파일을 port 의 ruby 후 위 에러가 해결되었습니다.


xcave@x% cd /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin
xcave@x% ls -al
total 64
drwxr-xr-x 10 root wheel 340 11 16 06:09 ./
drwxr-xr-x 5 root wheel 170 9 7 22:44 ../
lrwxr-xr-x 1 root wheel 18 11 16 06:08 erb@ -> /opt/local/bin/erb
lrwxr-xr-x 1 root wheel 18 11 16 06:08 gem@ -> /opt/local/bin/gem
lrwxr-xr-x 1 root wheel 18 11 16 06:08 irb@ -> /opt/local/bin/irb
lrwxr-xr-x 1 root wheel 19 11 16 06:08 rake@ -> /opt/local/bin/rake
lrwxr-xr-x 1 root wheel 19 11 16 06:08 rdoc@ -> /opt/local/bin/rdoc
lrwxr-xr-x 1 root wheel 17 11 16 06:08 ri@ -> /opt/local/bin/ri
lrwxr-xr-x 1 root wheel 19 11 16 06:09 ruby@ -> /opt/local/bin/ruby
lrwxr-xr-x 1 root wheel 21 11 16 06:09 testrb@ -> /opt/local/bin/testrb

Advertisements

답글 남기기

아래 항목을 채우거나 오른쪽 아이콘 중 하나를 클릭하여 로그 인 하세요:

WordPress.com 로고

WordPress.com의 계정을 사용하여 댓글을 남깁니다. 로그아웃 / 변경 )

Twitter 사진

Twitter의 계정을 사용하여 댓글을 남깁니다. 로그아웃 / 변경 )

Facebook 사진

Facebook의 계정을 사용하여 댓글을 남깁니다. 로그아웃 / 변경 )

Google+ photo

Google+의 계정을 사용하여 댓글을 남깁니다. 로그아웃 / 변경 )

%s에 연결하는 중