Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # gollum ## FOR MAC OSX ``` 1.HOMEBREW를 설치 한다. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2.gollum git hub 사이트로 가서 설치 법을 확인! https://github.com/gollum/gollum/wiki 3.brew install icu4c 4.sudo gem install charlock_holmes -- --with-icu-dir=/usr/local/opt/icu4c 5.sudo gem install gollum 6.실행: gollum --port 8099 [폴더명] -> 폴더명을 지정해주지 않으면 실행하는 곳에 파일을 만든다. 7.해당 폴더에 git init를 해주지 않으면 제대로 동작하지 않는다. 8.가끔 incompatible character encodings: UTF-8 and ASCII-8BIT 에러가 발생한다. 9.나 같은 경우 집에서 윈도우로 이미 PUSH 한 데이터를 내려 받아 MAC에서 다시 PUSH 할 경우 이러한 문제가 발생했다. 10.gollum-rugged_adapter를 설치해 주면 된다. 11.brew install cmake 12.brew install pkg-config 13.sudo gem install gollum-rugged_adapter 14.gollum --adapter rugged ``` ### config.rb <code> Precious::App.set(:default_markup, :asciidoc) </code> ## 실행 <code> gollum -c config.rb </code> ## static site - https://github.com/dreverri/gollum-site - [[gollum-site]] ### error <code> Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/ffi-1.0.11 for inspection. Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-20/2.6.0/ffi-1.0.11/gem_make.out </code> <code> gem install ffi -v '1.12.2' </code> <code> sudo gem install gollum-site </code> ### error <code> cannot load such file -- nokogiri/nokogiri (LoadError) </code> <code> sudo gem uninstall nokogiri </code> ## Refs - https://hunamkyu.tistory.com/16 open/gollum.txt Last modified: 2024/10/05 06:15by 127.0.0.1