From 22c056df8d2a7f781f4eb7fca3fe54d637e1fd6d Mon Sep 17 00:00:00 2001 From: Kevin Lyda <kevin@ie.suberic.net> Date: Thu, 9 Feb 2017 21:14:11 +0000 Subject: [PATCH] Some other changes. --- .gitignore | 1 + puma/Gemfile | 4 ++++ puma/run.sh | 4 ++++ ruby/Gemfile.lock | 19 ------------------- ruby/run.sh | 2 +- 5 files changed, 10 insertions(+), 20 deletions(-) create mode 100644 puma/Gemfile create mode 100755 puma/run.sh delete mode 100644 ruby/Gemfile.lock diff --git a/.gitignore b/.gitignore index bd2248c..9923f10 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.pyc /metrics +Gemfile.lock diff --git a/puma/Gemfile b/puma/Gemfile new file mode 100644 index 0000000..7d29574 --- /dev/null +++ b/puma/Gemfile @@ -0,0 +1,4 @@ +# frozen_string_literal: true +source "https://rubygems.org" + +gem 'puma', git: 'https://github.com/puma/puma.git', :branch => 'master' diff --git a/puma/run.sh b/puma/run.sh new file mode 100755 index 0000000..2ce2575 --- /dev/null +++ b/puma/run.sh @@ -0,0 +1,4 @@ +#! /bin/sh + +test -f Gemfile.lock && rm Gemfile.lock +DEBUG_RESOLVER=1 bundle install diff --git a/ruby/Gemfile.lock b/ruby/Gemfile.lock deleted file mode 100644 index 5f39f92..0000000 --- a/ruby/Gemfile.lock +++ /dev/null @@ -1,19 +0,0 @@ -GIT - remote: https://github.com/lyda/mmap.git - revision: 5d7015bae9b841ae798982c175ffa9f018887405 - branch: non-global-version - specs: - mmap (0.2.7b) - -GEM - remote: https://rubygems.org/ - specs: - -PLATFORMS - ruby - -DEPENDENCIES - mmap! - -BUNDLED WITH - 1.14.3 diff --git a/ruby/run.sh b/ruby/run.sh index f9b8e9d..dba0ed9 100755 --- a/ruby/run.sh +++ b/ruby/run.sh @@ -1,5 +1,5 @@ #! /bin/sh test -f Gemfile.lock && rm Gemfile.lock -DEBUG_RESOLVER=1 bundle install +DEBUG_RESOLVER=2 bundle install bundle exec ruby test.rb -- GitLab