installation.adoc 1.1 KB
Newer Older
heywon.choi's avatar
heywon.choi committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
= Asciidoctor PDF 설치
Heywon Choi <heywon.choi@bankwareglobal.com>

[abstract]
.문서개요
--
이 문서는 Asciidoctor PDF를 설치하는 방법에 대해 설명합니다.
--

== 필수 구성 요소
* Ruby 2.7 이상 또는 JRuby 9.2 이상
* Asciidoctor
* Asciidoctor PDF

=== Ruby 설치
asciidoctor는 Ruby 기반으로 작동하므로, Ruby가 시스템에 설치되어 있어야 한다.

==== 설치 확인
콘솔에서 다음 명령어를 통해 Ruby가 설치되어 있다면 버전 정보를 확인할 수 있다.
[source,console]
----
ruby -v
----

==== 설치
https://www.ruby-lang.org/ko/downloads/[Ruby 다운로드^]에서 사용중인 플랫폼에 맞춰 도구나 installer를 이용하여 설치한다.

=== Asciidoctor 설치
asciidoctor-pdf는 Asciidoctor의 확장 기능으로, 먼저 Asciidoctor가 설치되어 있어야 한다. 콘솔에서 다음 명령어로 Asciidoctor를 설치한다.
[source,console]
----
gem install asciidoctor
----

=== Asciidoctor PDF 설치
콘솔에서 다음 명령어로 asciidoctor-pdf 확장을 설치한다.
[source,console]
----
gem install asciidoctor-pdf
----