Sha256: 94e65443461b81825ab69623b0152b018eed3d3d9d787561ea7f2333c0468803

Contents?: true

Size: 676 Bytes

Versions: 272

Compression:

Stored size: 676 Bytes

Contents

#!/usr/bin/env ruby
require 'fileutils'
include FileUtils

# path to your application root.
APP_ROOT = File.expand_path('..', __dir__)

def system!(*args)
  system(*args) || abort("\n== Command #{args} failed ==")
end

chdir APP_ROOT do
  # This script is a way to update your development environment automatically.
  # Add necessary update steps to this file.

  puts '== Installing dependencies =='
  system! 'gem install bundler --conservative'
  system('bundle check') || system!('bundle install')

  puts "\n== Removing old logs and tempfiles =="
  system! 'bin/rails log:clear tmp:clear'

  puts "\n== Restarting application server =="
  system! 'bin/rails restart'
end

Version data entries

272 entries across 180 versions & 13 rubygems

Version Path
appmap-0.26.1 spec/fixtures/rails_users_app/bin/update
appmap-0.26.0 spec/fixtures/rails_users_app/bin/update
appmap-0.25.2 spec/fixtures/rails_users_app/bin/update
cypress-on-rails-1.6.0 spec/integrations/rails_5_2/bin/update
appmap-0.25.0 spec/fixtures/rails_users_app/bin/update
workarea-orderbot-1.0.1 test/dummy/bin/update
workarea-orderbot-1.0.0 test/dummy/bin/update
workarea-magento_migrator-1.0.1 test/dummy/bin/update
workarea-trustpilot_reviews-1.1.1 test/dummy/bin/update
workarea-trustpilot_reviews-1.1.0 test/dummy/bin/update
workarea-magento_migrator-1.0.0.pre test/dummy/bin/update
workarea-trustpilot_reviews-1.0.5.pre test/dummy/bin/update
workarea-callrail-1.0.3.pre test/dummy/bin/update
workarea-callrail-1.0.2.pre test/dummy/bin/update
workarea-trustpilot_reviews-1.0.4.pre test/dummy/bin/update
workarea-trustpilot_reviews-1.0.3.pre test/dummy/bin/update
workarea-callrail-1.0.1.pre test/dummy/bin/update
workarea-trustpilot_reviews-1.0.2.pre test/dummy/bin/update
workarea-image_decoration-1.0.0.pre test/dummy/bin/update
workarea-callrail-1.0.0.pre test/dummy/bin/update