Skip to content
Open
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
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -287,4 +287,4 @@ DEPENDENCIES
webmock

BUNDLED WITH
1.14.6
1.15.1
13 changes: 11 additions & 2 deletions bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand All @@ -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