summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/bootstrap-vagrant.sh1
-rw-r--r--script/ci.sh2
-rwxr-xr-xscript/restart_delayed_job2
3 files changed, 2 insertions, 3 deletions
diff --git a/script/bootstrap-vagrant.sh b/script/bootstrap-vagrant.sh
index be2f90cf..11d0cc1b 100644
--- a/script/bootstrap-vagrant.sh
+++ b/script/bootstrap-vagrant.sh
@@ -7,7 +7,6 @@ source /home/vagrant/.profile
source /home/vagrant/.rvm/scripts/rvm
rvm install 2.0.0
-rvm install 1.9.3
rvm use 2.0.0 --default
#gem source -r http://rubygems.org/
diff --git a/script/ci.sh b/script/ci.sh
index e827238a..f4f7a5b5 100644
--- a/script/ci.sh
+++ b/script/ci.sh
@@ -3,7 +3,7 @@ echo "load bashrc"
source ~/.bashrc
echo 'switch gemset'
-rvm use ruby-1.9.3-p429@cakeside
+rvm use ruby-2.0.0-p195@cakeside --create
echo 'bundle install'
bundle install --without production
diff --git a/script/restart_delayed_job b/script/restart_delayed_job
index deea4e01..38569d5d 100755
--- a/script/restart_delayed_job
+++ b/script/restart_delayed_job
@@ -4,7 +4,7 @@
# 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-1.9.3-p392@cakeside
+source /usr/local/rvm/environments/ruby-2.0.0-p195@cakeside
cd /home/cakeside/apps/www.cakeside.com/current/
script/delayed_job restart