diff --git a/Gemfile.lock b/Gemfile.lock index 101ed20..d3d64b2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,7 +6,7 @@ GIT GIT remote: https://github.com/firstdraft/web_git.git - revision: 109d8edc73b3d13e3eb38bbe84fa88eda14fdc9e + revision: ad91fe4d4876393465589e32b8929316d0294982 specs: web_git (0.0.1) bootstrap (~> 4.0.0.alpha6) @@ -287,4 +287,4 @@ DEPENDENCIES webmock BUNDLED WITH - 1.14.6 + 1.15.1 diff --git a/bin/setup b/bin/setup index 78c4e86..eb526ee 100755 --- a/bin/setup +++ b/bin/setup @@ -13,8 +13,14 @@ end chdir APP_ROOT do # This script is a starting point to setup your application. # Add necessary setup steps to this file. - - puts '== Installing dependencies ==' + + puts "== Upgrading Ruby ==" + system! 'rvm install 2.3.4' + # system! 'rvm use 2.3.4 --default' + system! 'rvm alias create default 2.3.4' + + + puts "\n== Installing dependencies ==" system! 'gem install bundler --conservative' system('bundle check') || system!('bundle install') @@ -35,4 +41,7 @@ chdir APP_ROOT do puts "\n== Restarting application server ==" system! 'bin/rails restart' + + puts "\n== Installing diff2html-cli ==" + system! 'npm install -g diff2html-cli' end