dependency update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM ruby:2.2.0
|
||||
FROM ruby:2.3.0-slim
|
||||
|
||||
# throw errors if Gemfile has been modified since Gemfile.lock
|
||||
RUN bundle config --global frozen 1
|
||||
@@ -20,7 +20,7 @@ COPY Gemfile.lock /usr/src/app/
|
||||
#COPY vendor/cache /usr/src/app/vendor/cache
|
||||
#RUN bundle install --local
|
||||
RUN rm -rf /usr/src/app/.bundle
|
||||
RUN bundle install
|
||||
#RUN bundle install
|
||||
|
||||
COPY . /usr/src/app
|
||||
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
gem "couchrest"
|
||||
gem "pry"
|
||||
#gem "couchrest"
|
||||
#gem "pry"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Make drb server
|
||||
require 'rubygems'
|
||||
require 'drb'
|
||||
require 'pry'
|
||||
#require 'pry'
|
||||
#require File.expand_path('../lib/in_memory_q_counter', File.dirname(__FILE__))
|
||||
# This is a non thread safe replacement for the
|
||||
# couchbase counter mechanism since every test needs
|
||||
@@ -106,5 +106,5 @@ class InMemoryQCounter
|
||||
end
|
||||
drb_port = 9022
|
||||
environment = (%w[production staging development test] & ARGV).first || 'development'
|
||||
DRb.start_service "druby://:#{drb_port}", InMemoryQCounter.new(reload_stats: true, environment: environment)
|
||||
DRb.start_service "druby://:#{drb_port}", InMemoryQCounter.new(reload_stats: false, environment: environment)
|
||||
DRb.thread.join
|
||||
|
||||
Reference in New Issue
Block a user