From 54ed2a79469d4b39fb9d2b2edf9323eea51ed6df Mon Sep 17 00:00:00 2001 From: Alec Glassford Date: Mon, 30 Oct 2017 19:56:13 -0700 Subject: [PATCH] Update to ruby 2.3.4 in Dockerfile + some docs --- Dockerfile | 2 +- install_on_ubuntu.md | 10 +++++----- klaxon-nginx-vhost-example.txt | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index b3a6f643..eabc4fcf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.3.0 +FROM ruby:2.3.4 # throw errors if Gemfile has been modified since Gemfile.lock RUN bundle config --global frozen 1 diff --git a/install_on_ubuntu.md b/install_on_ubuntu.md index ce7001ec..e494f99f 100644 --- a/install_on_ubuntu.md +++ b/install_on_ubuntu.md @@ -1,15 +1,15 @@ ## Install Klaxon on Ubuntu 14.04 (with CapHub or capistrano) -First, ensure that you have the libpq-dev package, ruby 2.3.0 and the bundler gem installed: +First, ensure that you have the libpq-dev package, ruby 2.3.4 and the bundler gem installed: * sudo apt-get install libpq-dev - + * gem install bundler (required both locally and on remote server) - * rvm install ruby-2.3.0 (This assumes you have installed RVM.) - + * rvm install ruby-2.3.4 (This assumes you have installed RVM.) + ## Deploy with capitrano or caphub. - + Properly creating a capistrano deployment task is beyond the scope of these instructions. But additional information can be found below: * https://github.com/capistrano/capistrano diff --git a/klaxon-nginx-vhost-example.txt b/klaxon-nginx-vhost-example.txt index b0100e71..8f4372e3 100644 --- a/klaxon-nginx-vhost-example.txt +++ b/klaxon-nginx-vhost-example.txt @@ -3,7 +3,7 @@ server { server_name klaxon-domain.yourdomain.com; root /path/to_/code/rack_apps/klaxon/current/public; - passenger_ruby /home/user_name/.rvm/wrappers/ruby-2.3.0/ruby; + passenger_ruby /home/user_name/.rvm/wrappers/ruby-2.3.4/ruby; passenger_enabled on; rails_env production;