Commit 32c3a58f
Changed files (6)
config
recipes
config/recipes/rbenv.rb
@@ -1,4 +1,4 @@
-set_default :ruby_version, "2.0.0-p353"
+set_default :ruby_version, "2.1.1"
namespace :rbenv do
desc "install rbenv"
script/bootstrap-vagrant.sh
@@ -6,8 +6,8 @@ cd /home/vagrant
source /home/vagrant/.profile
source /home/vagrant/.rvm/scripts/rvm
-rvm install 2.0.0
-rvm use 2.0.0 --default
+rvm install 2.1.1
+rvm use 2.1.1 --default
#gem source -r http://rubygems.org/
#gem install bundler
script/ci.sh
@@ -4,7 +4,7 @@ echo "load bashrc"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
echo 'switch gemset'
-rvm use ruby-2.0.0-p353@cakeside --create
+rvm use ruby-2.1.1@cakeside --create
echo 'bundle install'
bundle install --without production
script/deploy-production.sh
@@ -3,7 +3,7 @@ echo "load bashrc"
source ~/.bashrc
echo 'switch gemset'
-rvm use ruby-2.0.0-p353@cakeside --create
+rvm use ruby-2.1.1@cakeside --create
echo 'bundle install'
git checkout master
script/deploy-staging.sh
@@ -3,7 +3,7 @@ echo "load bashrc"
source ~/.bashrc
echo 'switch gemset'
-rvm use ruby-2.0.0-p353@cakeside --create
+rvm use ruby-2.1.1@cakeside --create
echo 'bundle install'
bundle exec rake ci:deploy:staging --trace
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-2.0.0-p353@cakeside
+source /usr/local/rvm/environments/ruby-2.1.1@cakeside
cd /home/cakeside/apps/www.cakeside.com/current/
script/delayed_job restart