Skip to content

Commit

Permalink
Forcing bundler 1.16.0 to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocorbucci committed Dec 29, 2017
1 parent 6b2f1e5 commit c797af5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV HOME=/app PATH=/app/bin:$PATH
CMD [ "bundler", "exec", "puma", "--bind", "tcp://0.0.0.0:3000" ]
EXPOSE 3000

RUN gem install bundler
RUN gem install bundler -v 1.16.0
COPY Gemfile Gemfile.lock ./
COPY vendor ./vendor
RUN bundle install --without development test
Expand Down
3 changes: 2 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
dependencies:
pre:
- gem update --system
- gem install bundler
- gem uninstall bundler -a -x
- gem install bundler -v 1.16.0
test:
override:
- bundle exec rake ci
Expand Down
4 changes: 2 additions & 2 deletions lib/tasks/ci.rake
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ begin
RuboCop::RakeTask.new(:rubocop)

task :brakeman do
sh 'bundler exec brakeman -z --no-pager'
sh 'bundle exec brakeman -z --no-pager'
end

task :'codeclimate-test-reporter' do
sh 'if [ ! -z "${CODECLIMATE_REPO_TOKEN}" ]; then\
bundler exec codeclimate-test-reporter;\
bundle exec codeclimate-test-reporter;\
fi'
end

Expand Down

0 comments on commit c797af5

Please sign in to comment.