Sha256: 87aa48cdd5c6b7219880397d0debc96ded34db68dc4320a753ea2306dde96357
Contents?: true
Size: 1.1 KB
Versions: 7
Compression:
Stored size: 1.1 KB
Contents
#!/bin/bash IFS=$/ if [[ -f .envrc.example ]] && ! [[ -f .envrc ]]; then cp -v .envrc.example .envrc fi if [[ -f .envrc.local.example ]] && ! [[ -f .envrc.local ]]; then cp -v .envrc.local.example .envrc.local fi gem inabox --host=http://localhost:9292 touch .envrc .envrc.local # Do any other automated setup that you need to do here echo "setup ok" [[ -f "/etc/profile.d/rvm.sh" ]] && . /etc/profile.d/rvm.sh if [[ ! -f ".rvmrc" ]]; then rvm rvmrc create rvm rvmrc trust . fi puts '== Installing dependencies ==' system! 'cd ./pkg && gem inabox *.gem -o && cd ..' system! 'bundle config --delete bin' #system! 'rails app:update::bin' #system! 'git add bin' system! 'gem install bundler --conservative' system 'bundle check' || system! 'bundle install' #puts "\n== Updating database ==" #system! 'bin/rails db:migrate' #puts "\n== Removing old logs and tempfiles ==" #system! 'bin/rails log:clear tmp:clear' #puts "\n== Restarting application server ==" #system! 'bin/rails restart' . .rvmrc rvm gemset use trop --create gem install bundler gem install -g bundle install
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
trop-0.8.6 | bin/setup |
trop-0.8.5 | bin/setup |
trop-0.8.1 | bin/setup |
trop-0.7.0 | bin/setup |
trop-0.6.19 | bin/setup |
trop-0.6.1 | bin/setup |
trop-0.5.33 | bin/setup |