Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ git:
submodules: false

rvm:
- 2.2.3
- 2.3.1

cache: bundler

Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ DEPENDENCIES
zeus

RUBY VERSION
ruby 2.3.0p0
ruby 2.3.1

BUNDLED WITH
1.13.6
2 changes: 1 addition & 1 deletion docker/backend.quran.com
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down