Sha256: 9b5aa85ed6f1261292078a507a433947fb12934d0078b14d92792f609a6aee54

Contents?: true

Size: 538 Bytes

Versions: 13

Compression:

Stored size: 538 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

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

  puts "\n== Preparing database =="
  system "bin/rake db:setup"

  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

13 entries across 13 versions & 1 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/bin/setup
spree_purchase_order-3.6.0 spec/dummy/bin/setup
spree_purchase_order-3.5.0 spec/dummy/bin/setup
spree_purchase_order-3.5.0.rc1 spec/dummy/bin/setup
spree_purchase_order-3.4.0 spec/dummy/bin/setup
spree_purchase_order-3.3.0 spec/dummy/bin/setup
spree_purchase_order-3.2.0 spec/dummy/bin/setup
spree_purchase_order-2.2.0 spec/dummy/bin/setup
spree_purchase_order-2.3.0 spec/dummy/bin/setup
spree_purchase_order-2.4.0 spec/dummy/bin/setup
spree_purchase_order-3.1.0 spec/dummy/bin/setup
spree_purchase_order-3.0.0 spec/dummy/bin/setup
spree_purchase_order-3.2.0.rc1 spec/dummy/bin/setup