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