diff --git a/.gitignore b/.gitignore index bd2248c9786805a399cdaf2d709c5620bf627203..9923f107f826d9db3875c83fe55ec03ce039d310 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 0000000000000000000000000000000000000000..7d29574d2481c50bb84e4f1b5a92e2399ca20cfe --- /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 0000000000000000000000000000000000000000..2ce25756d2e4095ca271fe116653e79c1389eed4 --- /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 5f39f92eb64d56144874101da5acac847a0343da..0000000000000000000000000000000000000000 --- 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 f9b8e9dd4b8efa8a68a5654c8589717c585f2c73..dba0ed98270b458c7c11f0a753f1b091bd2d90e7 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