summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-01-01 20:57:55 -0700
committermo khan <mo@mokhan.ca>2015-01-01 20:57:55 -0700
commitbfdc92d9a73f966b15857f2e21cfa89955c4ba28 (patch)
tree14a1ef778b7907e590935c49323fff33fce992aa
parent724ce6d1a2f8188f7cd891838ef02d5561ba87b6 (diff)
upgrade to ruby 2.2.0
-rw-r--r--config/deploy.rb2
-rw-r--r--script/bootstrap-vagrant-user.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index e0ad2f0d..12a5581d 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -42,7 +42,7 @@ set :keep_releases, 3
set :ssh_options, { forward_agent: true }
set :rbenv_type, :user # or :system, depends on your rbenv setup
-set :rbenv_ruby, '2.1.5'
+set :rbenv_ruby, '2.2.0'
namespace :deploy do
desc 'Restart application'
diff --git a/script/bootstrap-vagrant-user.sh b/script/bootstrap-vagrant-user.sh
index 96f4471a..0baf50c0 100644
--- a/script/bootstrap-vagrant-user.sh
+++ b/script/bootstrap-vagrant-user.sh
@@ -7,8 +7,8 @@ git clone https://github.com/tpope/rbenv-ctags.git ~/.rbenv/plugins/rbenv-ctags
git clone https://github.com/rkh/rbenv-update.git ~/.rbenv/plugins/rbenv-update
git clone https://github.com/sstephenson/rbenv-gem-rehash.git ~/.rbenv/plugins/rbenv-gem-rehash
rbenv update
-rbenv install 2.1.5
-rbenv global 2.1.5
+rbenv install 2.2.0
+rbenv global 2.2.0
gem install bundler --no-ri --no-rdoc
rbenv rehash
cd /vagrant