Skip to content

Commit a7e0864

Browse files
committed
Commonmarker.to_html
1 parent e603d5a commit a7e0864

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ pkg/
44
Gemfile.lock
55
.project
66
.buildpath
7+
vendor/
78
*~

Diff for: Dockerfile

+9-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ RUN apt-get install -y \
3434
libxslt-dev \
3535
libxml2-dev \
3636
zlib1g-dev \
37-
libidn11-dev
37+
libidn11-dev \
38+
pandoc \
39+
vim-nox
3840

3941
ENV PATH $PATH:/opt/rakudo-pkg/bin
4042
RUN install-zef
@@ -44,19 +46,24 @@ RUN zef install Pod::To::HTML2
4446
RUN curl -L http://cpanmin.us | perl - App::cpanminus
4547
RUN cpanm --installdeps --notest Pod::Simple
4648

49+
RUN apt-get purge ruby -y
50+
4751
# Install Rbenv and Ruby
4852
RUN git clone https://github.com/rbenv/rbenv.git ~/.rbenv && echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc && echo 'eval "$(rbenv init -)"' >> ~/.bashrc
4953
RUN git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
5054
ENV PATH $PATH:/root/.rbenv/bin:/root/.rbenv/shims
5155
RUN cd /root/.rbenv/plugins/ruby-build && git pull && cd -
5256
ENV RUBY_VERSION 3.3.0
57+
RUN rbenv install -l
5358
RUN rbenv install $RUBY_VERSION && rbenv global $RUBY_VERSION && rbenv rehash
59+
RUN rbenv install --list-all
5460
RUN echo 'gem: --no-rdoc --no-ri' >> /.gemrc
61+
RUN gem install rubygems-update && update_rubygems
5562
RUN gem install bundler:2.4.22
5663

5764
RUN bundle config --global build.nokogiri --use-system-libraries
5865

59-
RUN dpkg -i https://github.com/jgm/pandoc/releases/download/3.1.12.1/pandoc-3.1.12.1-linux-amd64.tar.gz
66+
#RUN dpkg -i https://github.com/jgm/pandoc/releases/download/3.1.12.1/pandoc-3.1.12.1-1-amd64.deb
6067

6168
WORKDIR /data/github-markup
6269
COPY github-markup.gemspec .

Diff for: Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ gem "posix-spawn", :platforms => :ruby
66
gem "redcarpet", :platforms => :ruby
77
gem "kramdown", :platforms => :jruby
88
gem "RedCloth"
9-
gem "commonmarker", "= 1.0.4"
9+
gem "commonmarker", "~> 1.0.4"
1010
gem 'rdoc', '~> 6.6', '>= 6.6.2'
1111
gem 'org-ruby', '~> 0.9.12'
1212
gem 'creole', '~> 0.5.0'

0 commit comments

Comments
 (0)