Bump docs & build config ruby versions

This commit is contained in:
Luke Barratt 2014-10-09 23:52:32 +01:00
parent 7804545c89
commit 73ac7d589b
2 changed files with 7 additions and 7 deletions

View file

@ -5,7 +5,7 @@ addons:
code_climate: code_climate:
repo_token: b3db5b7df9a0a1d0fd3503e72d7431ffbfa172492c2840d590ccb2fafd9172d3 repo_token: b3db5b7df9a0a1d0fd3503e72d7431ffbfa172492c2840d590ccb2fafd9172d3
rvm: rvm:
- 2.1.2 - 2.1.3
env: env:
- MYSQL_USERNAME=travis - MYSQL_USERNAME=travis
- APP_SECRET=2d3a08dfea079fe45bcb7f830b010eda - APP_SECRET=2d3a08dfea079fe45bcb7f830b010eda

View file

@ -1,4 +1,4 @@
# Production Install (Ubuntu 13.10 x64 or Debian 7) # Production Install (Ubuntu 14.04 x64 or Debian 7)
## Capistrano setup ## Capistrano setup
@ -49,17 +49,17 @@ Switch user to deploy, and install rbenv
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL exec $SHELL
rbenv install 2.1.1 rbenv install 2.1.3
rbenv global 2.1.1 rbenv global 2.1.3
echo "gem: --no-ri --no-rdoc" > ~/.gemrc echo "gem: --no-ri --no-rdoc" > ~/.gemrc
gem install bundler gem install bundler
## Install the ENSL site ## Install the ENSL site
Create the `.env` file with the appropriate credentials. Create the `.env` file by copying `.env.example` with the appropriate credentials.
touch /var/www/virtual/ensl.org/deploy/shared/.env cp /var/www/virtual/ensl.org/deploy/shared/.env.example /var/www/virtual/ensl.org/deploy/shared/.env
# Deployment # Deployment