From d65af73feb3f3a385ca14c1af8e7d493b55a8b99 Mon Sep 17 00:00:00 2001 From: Ahmed El-Helw Date: Wed, 21 Dec 2016 23:40:29 -0800 Subject: [PATCH] Upgrade ruby to 2.3.1 --- .travis.yml | 2 +- Dockerfile | 8 ++++---- Gemfile | 2 +- Gemfile.lock | 2 +- docker/backend.quran.com | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0868a1e2..0cbd12e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ git: submodules: false rvm: - - 2.2.3 + - 2.3.1 cache: bundler diff --git a/Dockerfile b/Dockerfile index 79339f8c..b1d31794 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM phusion/passenger-customizable:0.9.17 +FROM phusion/passenger-customizable:0.9.19 # set correct environment variables ENV HOME /root @@ -7,14 +7,14 @@ ENV HOME /root CMD ["/sbin/my_init"] # customizing passenger-customizable image -RUN /pd_build/ruby2.2.sh +RUN /pd_build/ruby-2.3.*.sh RUN /pd_build/redis.sh ENV RAILS_ENV production # native passenger -RUN ruby2.2 -S passenger-config build-native-support -RUN setuser app ruby2.2 -S passenger-config build-native-support +RUN ruby2.3 -S passenger-config build-native-support +RUN setuser app ruby2.3 -S passenger-config build-native-support # nginx RUN rm /etc/service/nginx/down diff --git a/Gemfile b/Gemfile index a07bf90c..eb7d3468 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source 'https://rubygems.org' -ruby '2.3.0' +ruby '2.3.1' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' #gem 'rails', '4.1.1' diff --git a/Gemfile.lock b/Gemfile.lock index d93c4fd8..d3b9bed2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -365,7 +365,7 @@ DEPENDENCIES zeus RUBY VERSION - ruby 2.3.0p0 + ruby 2.3.1 BUNDLED WITH 1.13.6 diff --git a/docker/backend.quran.com b/docker/backend.quran.com index 1bb36401..a92982cf 100644 --- a/docker/backend.quran.com +++ b/docker/backend.quran.com @@ -8,7 +8,7 @@ server { location / { passenger_enabled on; passenger_user app; - passenger_ruby /usr/bin/ruby2.2; + passenger_ruby /usr/bin/ruby2.3; passenger_app_env production; passenger_max_request_queue_size 200; root /home/app/quran/public;