Sha256: a14b60e57c38dfe074d5f07618badfb5ac7d6ddd5cc5f480d8d08e9a6e0a632b

Contents?: true

Size: 579 Bytes

Versions: 14

Compression:

Stored size: 579 Bytes

Contents

#!/usr/bin/env ruby
require 'pathname'

# path to your application root.
APP_ROOT = Pathname.new File.expand_path('../../',  __FILE__)

Dir.chdir APP_ROOT do
  # This script is a starting point to setup your application.
  # Add necessary setup steps to this file:

  puts "== Installing dependencies =="
  system "gem install bundler --conservative"
  system "bundle check || bundle install"

  puts "\n== Removing old logs and tempfiles =="
  system "rm -f log/*"
  system "rm -rf tmp/cache"

  puts "\n== Restarting application server =="
  system "touch tmp/restart.txt"
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
latexpdf-0.4.11 test/dummy/bin/setup
latexpdf-0.4.10 test/dummy/bin/setup
latexpdf-0.4.9 test/dummy/bin/setup
latexpdf-0.4.8 test/dummy/bin/setup
latexpdf-0.4.7 test/dummy/bin/setup
breadcrumb_trail-0.2.1 spec/dummy/bin/setup
latexpdf-0.4.6 test/dummy/bin/setup
latexpdf-0.4.5 test/dummy/bin/setup
latexpdf-0.4.4 test/dummy/bin/setup
latexpdf-0.4.3 test/dummy/bin/setup
latexpdf-0.4.2 test/dummy/bin/setup
latexpdf-0.4.1 test/dummy/bin/setup
breadcrumb_trail-0.2.0 spec/dummy/bin/setup
breadcrumb_trail-0.1.0 spec/dummy/bin/setup