Skip to content

Commit

Permalink
Use org-ruby master instead of packaged by debian
Browse files Browse the repository at this point in the history
Because there are too many commits between the master branch and the tag which the package points.
  • Loading branch information
niku committed Jul 15, 2017
1 parent bcec180 commit 04ee7ee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -7,7 +7,7 @@ RUN mkdir /app
COPY . /app
WORKDIR /app

RUN DEPS="git ruby ruby-bundler rake ruby-rugged ruby-org ruby-nokogiri" && \
RUN DEPS="git ruby ruby-bundler rake ruby-rugged ruby-nokogiri" && \
apt-get update -qq && \
apt-get install --no-install-recommends --no-install-suggests -y $DEPS && \
bundle install --jobs 4
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
@@ -1,4 +1,6 @@
source 'https://rubygems.org'

gem 'org-ruby', git: 'https://github.com/wallyqs/org-ruby'

# Specify your gem's dependencies in nwiki.gemspec
gemspec
4 changes: 3 additions & 1 deletion nwiki.gemspec
Expand Up @@ -31,6 +31,8 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake", "= 10.5.0" # rake https://packages.debian.org/stretch/rake

spec.add_dependency "rugged", "= 0.24.0" # ruby-rugged https://packages.debian.org/stretch/ruby-rugged
spec.add_dependency "org-ruby", "= 0.9.12" # ruby-org https://packages.debian.org/stretch/ruby-org
spec.add_dependency "nokogiri", "= 1.6.8.1" # ruby-nokogiri https://packages.debian.org/stretch/ruby-nokogiri
# It can't use ruby-org package in the debian.
# Because there are too many commits between the master branch and the tag which the package points.
spec.add_dependency "org-ruby", "~> 0.9"
end

0 comments on commit 04ee7ee

Please sign in to comment.