summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/ci.sh6
-rw-r--r--script/deploy-production.sh7
-rw-r--r--script/deploy-staging.sh7
-rwxr-xr-xscript/restart_delayed_job10
4 files changed, 0 insertions, 30 deletions
diff --git a/script/ci.sh b/script/ci.sh
index 2265bf1e..ff393fad 100644
--- a/script/ci.sh
+++ b/script/ci.sh
@@ -1,10 +1,4 @@
#!/bin/bash -x
-echo "load bashrc"
-#source ~/.bashrc
-[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
-
-echo 'switch gemset'
-rvm use ruby-2.1.1@cakeside --create
echo 'bundle install'
bundle install --without production
diff --git a/script/deploy-production.sh b/script/deploy-production.sh
index 0365e8fb..3b21466d 100644
--- a/script/deploy-production.sh
+++ b/script/deploy-production.sh
@@ -1,10 +1,3 @@
#!/bin/bash -x
-echo "load bashrc"
-source ~/.bashrc
-
-echo 'switch gemset'
-rvm use ruby-2.1.1@cakeside --create
-
-echo 'bundle install'
git checkout master
bundle exec rake ci:deploy:production --trace
diff --git a/script/deploy-staging.sh b/script/deploy-staging.sh
index dac1c812..12b3801e 100644
--- a/script/deploy-staging.sh
+++ b/script/deploy-staging.sh
@@ -1,9 +1,2 @@
#!/bin/bash -x
-echo "load bashrc"
-source ~/.bashrc
-
-echo 'switch gemset'
-rvm use ruby-2.1.1@cakeside --create
-
-echo 'bundle install'
bundle exec rake ci:deploy:staging --trace
diff --git a/script/restart_delayed_job b/script/restart_delayed_job
deleted file mode 100755
index 63a11dae..00000000
--- a/script/restart_delayed_job
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env bash
-
-# example crontab entry
-# RAILS_ENV=production
-# SHELL=/usr/local/rvm/bin/rvm-shell
-# 0 * * * * /home/cakeside/apps/www.cakeside.com/current/script/restart_delayed_job >> /home/cakeside/apps/www.cakeside.com/current/log/cron.log 2>&1
-source /usr/local/rvm/environments/ruby-2.1.1@cakeside
-
-cd /home/cakeside/apps/www.cakeside.com/current/
-script/delayed_job restart